diff options
| author | jdhao <jdhao@hotmail.com> | 2020-12-16 01:33:03 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2020-12-16 01:33:03 +0800 |
| commit | eb0c63c1758bc7257e278480c824d2a68af77974 (patch) | |
| tree | 40e6cf52887df9468ee7a6920928da9331beae62 /core | |
| parent | c3cdad554ba848552014415362f2029319d85dbf (diff) | |
Make a plugin for leaving insert mode
Diffstat (limited to 'core')
| -rw-r--r-- | core/mappings.vim | 3 | ||||
| -rw-r--r-- | core/plugins.vim | 1 |
2 files changed, 1 insertions, 3 deletions
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 <Esc> in insert mode -inoremap <expr> k utils#EscapeInsertOrNot() - " Turn the word under cursor to upper case inoremap <c-u> <Esc>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 |
