diff --git a/.vim/vimrc b/.vim/vimrc index 168ae44..21dc809 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -929,6 +929,13 @@ if !isdirectory(expand(&undodir)) call mkdir(expand(&undodir), 'p') endif +set nobackup +set nowritebackup +set directory=~/.vim/swp// +if !isdirectory(expand(&directory)) + call mkdir(expand(&directory), 'p') +endif + set laststatus=2 " show powerline status bar set t_Co=256