[nvim] modify <CR> mapping to write all files

This commit is contained in:
Dmytro Meleshko 2019-09-28 00:02:23 +03:00
parent 9e2fe80dde
commit 207bf799cf
1 changed files with 1 additions and 1 deletions

View File

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