nvim: keymap for better search results navigation
This commit is contained in:
parent
95021fe33b
commit
55239a2977
1 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,10 @@ map('n', '-', '<c-x>')
|
|||
map('v', '+', 'g<c-a>')
|
||||
map('v', '-', 'g<c-x>')
|
||||
|
||||
-- place next/previous search result in center of screen
|
||||
map('n', 'n', 'nzzzv')
|
||||
map('n', 'N', 'Nzzzv')
|
||||
|
||||
-- select all
|
||||
map('n', '<c-a>', 'gg<s-v>G')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue