nvim: keymappings: Better behaviour for '0'
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
3c0e1088ad
commit
c94132b1e6
1 changed files with 6 additions and 0 deletions
|
@ -164,3 +164,9 @@ nnoremap <silent> <LocalLeader> :<C-U>WhichKey ','<CR>
|
|||
" Tag helpers
|
||||
nnoremap <C-\> :vsp <CR>:exec("tag ".expand("<cword>"))<CR>
|
||||
nnoremap <A-]> :sp <CR>:exec("tag ".expand("<cword>"))<CR>
|
||||
|
||||
" Move across wrapped lines like regular lines
|
||||
" Go to the first non-blank character of a line
|
||||
noremap 0 ^
|
||||
" Just in case you need to go to the very beginning of a line
|
||||
noremap ^ 0
|
||||
|
|
Loading…
Reference in a new issue