nvim: keymappings: Miscellaneous key mappings
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
01eb979b2c
commit
1a061f6ec8
1 changed files with 8 additions and 0 deletions
|
@ -170,3 +170,11 @@ nnoremap <A-]> :sp <CR>:exec("tag ".expand("<cword>"))<CR>
|
|||
noremap 0 ^
|
||||
" Just in case you need to go to the very beginning of a line
|
||||
noremap ^ 0
|
||||
|
||||
" Make j and k move to the next row, not file line
|
||||
nnoremap j gj
|
||||
nnoremap k gk
|
||||
" Make dot work on visually selected lines
|
||||
vnoremap . :norm.<CR>
|
||||
" Go to the last file we changed
|
||||
nnoremap <BS> <C-^>
|
||||
|
|
Loading…
Reference in a new issue