parent
79973e3eb3
commit
f2bc6066d3
|
@ -60,6 +60,7 @@ rec {
|
||||||
nvim-web-devicons
|
nvim-web-devicons
|
||||||
oil-nvim
|
oil-nvim
|
||||||
refactoring-nvim
|
refactoring-nvim
|
||||||
|
sort-nvim
|
||||||
standard-vim
|
standard-vim
|
||||||
tabline-vim
|
tabline-vim
|
||||||
treesj
|
treesj
|
||||||
|
|
10
plugin/sort.lua
Normal file
10
plugin/sort.lua
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
require("sort").setup()
|
||||||
|
|
||||||
|
vim.cmd([[
|
||||||
|
nnoremap <silent> go" vi"<Esc><Cmd>Sort<CR>
|
||||||
|
nnoremap <silent> go' vi'<Esc><Cmd>Sort<CR>
|
||||||
|
nnoremap <silent> go( vi(<Esc><Cmd>Sort<CR>
|
||||||
|
nnoremap <silent> go[ vi[<Esc><Cmd>Sort<CR>
|
||||||
|
nnoremap <silent> gop vip<Esc><Cmd>Sort<CR>
|
||||||
|
nnoremap <silent> go{ vi{<Esc><Cmd>Sort<CR>
|
||||||
|
]])
|
Reference in a new issue