From eb0c63c1758bc7257e278480c824d2a68af77974 Mon Sep 17 00:00:00 2001 From: jdhao Date: Wed, 16 Dec 2020 01:33:03 +0800 Subject: Make a plugin for leaving insert mode --- core/mappings.vim | 3 --- core/plugins.vim | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'core') diff --git a/core/mappings.vim b/core/mappings.vim index ee51d53..a7c76c9 100644 --- a/core/mappings.vim +++ b/core/mappings.vim @@ -8,9 +8,6 @@ xnoremap ; : " Quicker way to open command window nnoremap q; q: -" Quicker in insert mode -inoremap k utils#EscapeInsertOrNot() - " Turn the word under cursor to upper case inoremap viwUea diff --git a/core/plugins.vim b/core/plugins.vim index 91bb736..a4f81db 100644 --- a/core/plugins.vim +++ b/core/plugins.vim @@ -162,6 +162,7 @@ Plug 'tpope/vim-repeat' " Show the content of register in preview window " Plug 'junegunn/vim-peekaboo' +Plug 'jdhao/better-escape.vim' "}} "{{ Linting, formating -- cgit v1.2.3