aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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