Restore swap with a more useful config
This commit is contained in:
parent
7cdc256c08
commit
3475ed33b2
1 changed files with 3 additions and 2 deletions
5
init.vim
5
init.vim
|
@ -81,8 +81,9 @@ if !exists('g:vscode')
|
||||||
set ignorecase
|
set ignorecase
|
||||||
set smartcase
|
set smartcase
|
||||||
" disable outdated data loss protections
|
" disable outdated data loss protections
|
||||||
set nobackup
|
" set nobackup
|
||||||
set noswapfile
|
" set noswapfile
|
||||||
|
set directory=$HOME/.var/nvim/swp//
|
||||||
" make pastemode more accessible
|
" make pastemode more accessible
|
||||||
set pastetoggle=<F2>
|
set pastetoggle=<F2>
|
||||||
" save when moving away
|
" save when moving away
|
||||||
|
|
Loading…
Reference in a new issue