[nvim] Recognize :x<cr> in edit mode
Along with pre-existing :w<cr> and :q<cr>
This commit is contained in:
parent
b400763a4b
commit
bbf8d18d09
1 changed files with 1 additions and 0 deletions
|
@ -181,6 +181,7 @@ command W :execute ':silent w !sudo tee % > /dev/null' | :edit!
|
|||
noremap <leader>m `
|
||||
|
||||
inoremap :w<cr> <esc>:w<cr>
|
||||
inoremap :x<cr> <esc>:x<cr>
|
||||
inoremap :q<cr> <esc>:q<cr>
|
||||
|
||||
" Consistent aliases to jump to first non-whitespace character and last character
|
||||
|
|
Loading…
Reference in a new issue