aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-12-26 11:20:12 +0100
committerAdrian Kummerlaender2014-12-26 11:20:12 +0100
commit8f12e5bdd0ca97ef348b8a0d80d3890474eb3362 (patch)
treec7528e2c8b55c748e5f29e3824dab1245756fd7a
parentf3ca1097ac424cd6d779ca479805e52bc8b096a1 (diff)
downloaddotfiles-8f12e5bdd0ca97ef348b8a0d80d3890474eb3362.tar
dotfiles-8f12e5bdd0ca97ef348b8a0d80d3890474eb3362.tar.gz
dotfiles-8f12e5bdd0ca97ef348b8a0d80d3890474eb3362.tar.bz2
dotfiles-8f12e5bdd0ca97ef348b8a0d80d3890474eb3362.tar.lz
dotfiles-8f12e5bdd0ca97ef348b8a0d80d3890474eb3362.tar.xz
dotfiles-8f12e5bdd0ca97ef348b8a0d80d3890474eb3362.tar.zst
dotfiles-8f12e5bdd0ca97ef348b8a0d80d3890474eb3362.zip
Use unique names for `vim` swapfiles, added type specific rules
* added custom tabulator rules for _scheme_
-rw-r--r--vim/.vimrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 94dd3c8..dbe7672 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -10,7 +10,7 @@ set background=dark
set lazyredraw
set ttyfast
-set directory=~/.vim/swap,.
+set directory=~/.vim/swap//,.
set wrap
set tabstop=4 shiftwidth=4
@@ -61,3 +61,6 @@ let g:airline#extensions#tabline#right_alt_sep=''
let g:airline#extensions#tabline#show_close_button=0
let g:vimwiki_list = [{'path': '~/note/'}]
+
+autocmd FileType scheme setlocal shiftwidth=2 tabstop=2 expandtab
+autocmd FileType vimwiki setlocal noswapfile