Browse Source

Add vim swapfile support

master
Arti Zirk 5 years ago
parent
commit
c19f359ba8
  1. 0
      .config/nvim/backup/.keep
  2. 5
      .config/nvim/init.vim
  3. 0
      .config/nvim/swap/.keep
  4. 0
      .config/nvim/undodir/.keep

0
.config/nvim/backup/.keep

5
.config/nvim/init.vim

@ -1,3 +1,8 @@ @@ -1,3 +1,8 @@
" show some context lines up/down of the cursor
set scrolloff=3
set ignorecase
set cursorline
" configure reasonable swap file
" https://begriffs.com/posts/2019-07-19-history-use-vim.html?hn=3#backups-and-undo
runtime swap.vim

0
.config/nvim/swap/.keep

0
.config/nvim/undodir/.keep

Loading…
Cancel
Save