From ae07aba78576269129f92215dba6011f1cdcdacd Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Fri, 4 Dec 2015 14:41:56 +0100 Subject: Set Java specific identation behavior --- vim/.vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vim/.vimrc b/vim/.vimrc index 7c8317b..e34fb73 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -44,7 +44,9 @@ map s :let @/="" 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 -- cgit v1.2.3