nvim C-f mapping

This commit is contained in:
thek4n 2024-01-31 15:59:45 +03:00
parent 7a62a3686e
commit a578186c4f

View File

@ -24,7 +24,7 @@ map('n', '<Leader>h/',
map('n', '/', ':set hlsearch<CR>/') map('n', '/', ':set hlsearch<CR>/')
-- copy selection to search line -- copy selection to search line
map('v', '<C-f>', '"fy:set hlsearch<CR>/<C-r>f<CR>') map('v', '<C-f>', '"fy:set hlsearch<CR>/\\V<C-r>f/C<CR>')
map('n', '<Leader>hl', create_function_tabdo('lua toggle_number_style()'), map('n', '<Leader>hl', create_function_tabdo('lua toggle_number_style()'),
{desc = "Toggle line number style"}) {desc = "Toggle line number style"})