diff options
Diffstat (limited to '.vimrc')
| -rw-r--r-- | .vimrc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -3,6 +3,8 @@ "set t_te= t_ti= set ls=1 ruler set ai ts=4 sw=4 noet +set nohlsearch +set nois "set mouse=a syntax off filetype on @@ -10,6 +12,11 @@ filetype plugin on filetype plugin indent on let mapleader = "," +" Save all undo and swapfiles at the same place +set directory^=$HOME/.vim/swap// +set undodir=$HOME/.vim/undo// +set undofile + "set rtp+=/opt/homebrew/opt/fzf let g:fzf_preview = 'cat {}' |
