nvim: Make 0 go to beggining of line instead of first non-space character
This commit is contained in:
@@ -157,9 +157,6 @@ au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g
|
|||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
" => Editing mappings
|
" => Editing mappings
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
" Remap VIM 0 to first non-blank character
|
|
||||||
map 0 ^
|
|
||||||
|
|
||||||
" Move a line of text using ALT+[jk] or Command+[jk] on mac
|
" Move a line of text using ALT+[jk] or Command+[jk] on mac
|
||||||
nmap <M-j> mz:m+<cr>`z
|
nmap <M-j> mz:m+<cr>`z
|
||||||
nmap <M-k> mz:m-2<cr>`z
|
nmap <M-k> mz:m-2<cr>`z
|
||||||
|
|||||||
Reference in New Issue
Block a user