nvim: keymappings: Map ;; to :

Let's us get over the annoyance of having to press shift for using :.
This commit is contained in:
Sanchayan Maity 2021-07-01 16:50:53 +05:30
parent 6c3886aff0
commit ffadf1cf4f
1 changed files with 3 additions and 0 deletions

View File

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