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:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user