fix nvim
This commit is contained in:
parent
8a695283e3
commit
88707adc32
@ -22,7 +22,7 @@ local function create_function_tabdo(command)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
map('n', '<Leader>hc', create_function_tabdo('set cursorline!'),
|
map('n', '<Leader>hl', create_function_tabdo('set cursorline!'),
|
||||||
{desc = "Toggle line highlighting"})
|
{desc = "Toggle line highlighting"})
|
||||||
|
|
||||||
map('n', '<Leader>cs',
|
map('n', '<Leader>cs',
|
||||||
@ -41,7 +41,7 @@ map('v', '<C-f>', '"fy:set hlsearch<CR>/\\V<C-r>f\\C<CR>')
|
|||||||
-- copy word under cursor to search line
|
-- copy word under cursor to search line
|
||||||
map('n', '<C-f>', ':set hlsearch<CR>/\\V<C-r><C-w>\\C<CR>')
|
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()'),
|
map('n', '<Leader>hn', create_function_tabdo('lua toggle_number_style()'),
|
||||||
{desc = "Toggle line number style"})
|
{desc = "Toggle line number style"})
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user