Skip to content

Commit

Permalink
[nvim] let's try saving the undo history
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitmel committed Jul 8, 2021
1 parent b3ee573 commit 7ded0bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nvim/plugin/files.vim
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ set wildignore+=.git,.svn,.hg,.DS_Store,*~
" arguably one of the most useful mappings
nnoremap <silent><expr> <CR> empty(&buftype) ? ":write<bar>wall\<CR>" : "\<CR>"
set undofile


" ripgrep (rg) {{{
if executable('rg')
Expand Down

0 comments on commit 7ded0bf

Please sign in to comment.