nvim: keymappings: Drop mapping for copying whole buffer

Now that we have a text object for the whole buffer, this is not
required anymore.
This commit is contained in:
Sanchayan Maity 2021-05-21 15:40:11 +05:30
parent 66b022dcb0
commit f846dace39

View file

@ -120,10 +120,6 @@ remap('n', '<F1>', ':call SyntaxAttr#SyntaxAttr()<CR>', { noremap = true })
remap('v', '<', '<gv', { noremap = true })
remap('v', '>', '>gv', { noremap = true })
-- Copy whole buffer
remap('', '<C-c><C-c>', ':norm gg0VG$"*y<CR>', { noremap = false })
remap('i', '<C-c><C-c>', ':norm jkgg0VG$"*y<CR>', { noremap = false })
-- Marks
-- '0 - Position of cursor when last exited Vim.
-- '" - Position of cursor when last exited the current buffer.