nvim: remove mapping : to paste selected
This commit is contained in:
parent
3f530e3803
commit
6777c7a02d
@ -26,9 +26,6 @@ map('n', '/', ':set hlsearch<CR>/')
|
||||
-- copy selection to search line
|
||||
map('v', '<C-f>', '"fy:set hlsearch<CR>/<C-r>f<CR>')
|
||||
|
||||
-- copy selection to command line
|
||||
map('v', ':', '"fy:<C-r>f<C-b>')
|
||||
|
||||
map('n', '<Leader>hl', create_function_tabdo('lua toggle_number_style()'),
|
||||
{desc = "Toggle line number style"})
|
||||
|
||||
|
||||
@ -126,14 +126,14 @@ opt.langmap = 'ФИСВУАПРШОЛДЬТЩЗЙКЫЕГМЦЧНЯ;ABCDEFGHIJKL
|
||||
|
||||
|
||||
vim.api.nvim_create_autocmd("BufWinLeave", {
|
||||
pattern = {"*"},
|
||||
pattern = {"*.*"},
|
||||
callback = function()
|
||||
vim.cmd.mkview(1)
|
||||
end
|
||||
})
|
||||
|
||||
vim.api.nvim_create_autocmd("BufWinEnter", {
|
||||
pattern = {"*"},
|
||||
pattern = {"*.*"},
|
||||
callback = function()
|
||||
vim.cmd('silent! loadview 1')
|
||||
end,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user