1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Make a plugin for leaving insert mode

This commit is contained in:
jdhao
2020-12-16 01:33:03 +08:00
parent c3cdad554b
commit eb0c63c175
3 changed files with 1 additions and 33 deletions

View File

@@ -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

View File

@@ -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