neovim: Add binding for sorting in visual mode
This commit is contained in:
parent
c09d54513b
commit
35e6bf8185
|
@ -118,6 +118,9 @@ in
|
|||
" Close terminal with double-Esc
|
||||
tnoremap <Esc><Esc> <C-\><C-n>
|
||||
|
||||
" Sort in visual mode
|
||||
vnoremap <Leader>s :sort<CR>
|
||||
|
||||
" Jump to the last position
|
||||
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
|
||||
\| exe "normal! g`\"" | endif
|
||||
|
|
Loading…
Reference in a new issue