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 smartcase
|
||||
" disable outdated data loss protections
|
||||
set nobackup
|
||||
set noswapfile
|
||||
" set nobackup
|
||||
" set noswapfile
|
||||
set directory=$HOME/.var/nvim/swp//
|
||||
" make pastemode more accessible
|
||||
set pastetoggle=<F2>
|
||||
" save when moving away
|
||||
|
|
Loading…
Reference in a new issue