feat: nvim: added the shortcut to select the pasted text.

This commit is contained in:
Andrey Parhomenko 2024-01-18 10:20:18 +03:00
parent 895179490e
commit 65e323c1e6

View file

@ -43,6 +43,11 @@ local opts = {nowait=true, silent = true}
map('n', '\\lex', ":Lexplore\n", opts)
map('n', '\\ex', ":Explore\n", opts)
-- Literal tabs with Shift-Tab
map('i', '<S-Tab>', '\t', opts)
map('n', '<Backspace>', 'hx', opts)
map('n', 'gp', '`[v`]', opts)
-- Search
map('n', '\\noh', ':noh\n', opts)
@ -52,10 +57,6 @@ local opts = {nowait=true, silent = true}
-- Fold
map('n', '<2-LeftMouse>', 'za', opts)
-- Insert
-- Literal tabs with Shift-Tab
map('i', '<S-Tab>', '\t', opts)
map('n', '<Backspace>', 'hx', opts)
-- Empty
map('n', '<C-l>', '', opts)