nvim: keymap for better search results navigation

This commit is contained in:
Fernando Schauenburg 2023-01-29 20:20:04 +01:00
parent 95021fe33b
commit 55239a2977

View file

@ -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')