[vim] added swap and undo stuff, dumped old crap
This commit is contained in:
parent
52870676fb
commit
6c9f277db3
7 changed files with 8 additions and 16 deletions
1
vim/autoload/.gitignore
vendored
1
vim/autoload/.gitignore
vendored
|
@ -1 +0,0 @@
|
|||
plug.vim
|
2
vim/backup/.gitignore
vendored
2
vim/backup/.gitignore
vendored
|
@ -1,2 +0,0 @@
|
|||
*
|
||||
!.gitignore
|
2
vim/plugged/.gitignore
vendored
2
vim/plugged/.gitignore
vendored
|
@ -1,2 +0,0 @@
|
|||
*
|
||||
!.gitignore
|
2
vim/swap/.gitignore
vendored
2
vim/swap/.gitignore
vendored
|
@ -1,2 +0,0 @@
|
|||
*
|
||||
!.gitignore
|
2
vim/undo/.gitignore
vendored
2
vim/undo/.gitignore
vendored
|
@ -1,2 +0,0 @@
|
|||
*
|
||||
!.gitignore
|
|
@ -10,6 +10,10 @@ set shiftwidth=2
|
|||
set softtabstop=2
|
||||
set tabstop=2
|
||||
|
||||
set directory=~/.local/share/vim/swap,/tmp
|
||||
set undodir=~/.local/share/vim/undo,/tmp
|
||||
set undofile
|
||||
|
||||
autocmd FileType php setlocal sw=4 sts=4 ts=4
|
||||
autocmd FileType gitcommit,markdown,text setlocal nosi spell tw=80 wm=2
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue