nvim: keymappings: Add a key mapping to select last pasted/yanked text

This commit is contained in:
Sanchayan Maity 2021-05-24 15:59:29 +05:30
parent 66f07fba89
commit 25afe0527c

View file

@ -120,6 +120,9 @@ remap('n', '<F1>', ':call SyntaxAttr#SyntaxAttr()<CR>', { noremap = true })
remap('v', '<', '<gv', { noremap = true })
remap('v', '>', '>gv', { noremap = true })
-- Select last pasted/yanked text
remap('n', 'g<C-v>', '`[v`]', { noremap = true })
-- Marks
-- '0 - Position of cursor when last exited Vim.
-- '" - Position of cursor when last exited the current buffer.