mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] modify <CR> mapping to write all files
This commit is contained in:
parent
9e2fe80dde
commit
207bf799cf
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ set fileformats=unix,dos,mac
|
|||
set wildignore+=.git,.svn,.hg,.DS_Store,*~
|
||||
|
||||
" arguably one of the most useful mappings
|
||||
nnoremap <silent><expr> <CR> &buftype is# '' ? ":write\<CR>" : "\<CR>"
|
||||
nnoremap <silent><expr> <CR> &buftype is# '' ? ":write<bar>wall\<CR>" : "\<CR>"
|
||||
|
||||
|
||||
" ripgrep (rg) {{{
|
||||
|
|
Loading…
Reference in a new issue