mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] change :w to :update in the <CR> mapping
This commit is contained in:
parent
a838ded382
commit
05a31ea2b5
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ set foldmethod=marker
|
||||||
" Mappings {{{
|
" Mappings {{{
|
||||||
|
|
||||||
" arguably one of the most useful mappings
|
" arguably one of the most useful mappings
|
||||||
nnoremap <silent><expr> <CR> &buftype is# '' ? ":w\<CR>" : "\<CR>"
|
nnoremap <silent><expr> <CR> &buftype is# '' ? ":update\<CR>" : "\<CR>"
|
||||||
|
|
||||||
" stay in the Visual mode when using shift commands
|
" stay in the Visual mode when using shift commands
|
||||||
xnoremap < <gv
|
xnoremap < <gv
|
||||||
|
|
Loading…
Reference in a new issue