feat: nvim: added the shortcut to select the pasted text.
This commit is contained in:
parent
895179490e
commit
65e323c1e6
1 changed files with 5 additions and 4 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue