aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/.vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 7c8317b..e34fb73 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -44,7 +44,9 @@ map <leader>s :let @/=""<CR>
autocmd InsertEnter * :setlocal nohlsearch
autocmd InsertLeave * :setlocal hlsearch
+
autocmd FileType scheme setlocal shiftwidth=2 tabstop=2 expandtab
+autocmd FileType java setlocal shiftwidth=4 tabstop=4 expandtab
autocmd FileType vimwiki setlocal noswapfile
vnoremap cc "+y