nvim: mapping C-f for word
This commit is contained in:
parent
a578186c4f
commit
90a1a11f08
@ -26,6 +26,9 @@ map('n', '/', ':set hlsearch<CR>/')
|
||||
-- copy selection to search line
|
||||
map('v', '<C-f>', '"fy:set hlsearch<CR>/\\V<C-r>f/C<CR>')
|
||||
|
||||
-- copy word under cursor to search line
|
||||
map('n', '<C-f>', ':set hlsearch<CR>/\\V<C-r><C-w>/C<CR>')
|
||||
|
||||
map('n', '<Leader>hl', create_function_tabdo('lua toggle_number_style()'),
|
||||
{desc = "Toggle line number style"})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user