aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2015-12-04 14:41:56 +0100
committerAdrian Kummerlaender2015-12-04 14:41:56 +0100
commitae07aba78576269129f92215dba6011f1cdcdacd (patch)
tree4b1841d61796d924416fa3af6503e4826f11b653
parent32d65d31902c59fa626671123eb4fec15d5a6a63 (diff)
downloaddotfiles-ae07aba78576269129f92215dba6011f1cdcdacd.tar
dotfiles-ae07aba78576269129f92215dba6011f1cdcdacd.tar.gz
dotfiles-ae07aba78576269129f92215dba6011f1cdcdacd.tar.bz2
dotfiles-ae07aba78576269129f92215dba6011f1cdcdacd.tar.lz
dotfiles-ae07aba78576269129f92215dba6011f1cdcdacd.tar.xz
dotfiles-ae07aba78576269129f92215dba6011f1cdcdacd.tar.zst
dotfiles-ae07aba78576269129f92215dba6011f1cdcdacd.zip
Set Java specific identation behavior
-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