From 032ec69522889a7ff72c90291cc3a8159cff9578 Mon Sep 17 00:00:00 2001 From: Fuad Saud Date: Tue, 19 Nov 2013 15:31:01 -0200 Subject: [PATCH] Add Java whitespace settings for vim --- vim/rc.vim | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/vim/rc.vim b/vim/rc.vim index 22eca81..a63b1ee 100644 --- a/vim/rc.vim +++ b/vim/rc.vim @@ -56,8 +56,7 @@ endif set omnifunc=syntaxcomplete#Complete " completion stuff -" set background=dark -" colorscheme solarized +colorscheme hemisu filetype plugin indent on syntax on @@ -72,7 +71,8 @@ if has("autocmd") " Customisations based on house-style (arbitrary) autocmd FileType html setlocal ts=2 sts=2 sw=2 expandtab autocmd FileType css setlocal ts=2 sts=2 sw=2 expandtab - autocmd FileType javascript setlocal ts=4 sts=4 sw=4 expandtab + autocmd FileType javascript setlocal ts=2 sts=2 sw=2 expandtab + autocmd FileType java setlocal ts=4 sts=4 sw=4 expandtab autocmd FileType cpp setlocal ts=4 sts=4 sw=4 expandtab autocmd FileType c setlocal ts=4 sts=4 sw=4 expandtab @@ -81,13 +81,13 @@ if has("autocmd") " Seeing is Believing let g:xmpfilter_cmd = 'seeing_is_believing' - autocmd FileType ruby nmap m (seeing_is_believing-mark) - autocmd FileType ruby xmap m (seeing_is_believing-mark) - autocmd FileType ruby imap m (seeing_is_believing-mark) + autocmd FileType ruby nmap h (seeing_is_believing-mark) + autocmd FileType ruby xmap h (seeing_is_believing-mark) + autocmd FileType ruby imap h (seeing_is_believing-mark) - autocmd FileType ruby nmap M (seeing_is_believing-clean) - autocmd FileType ruby xmap M (seeing_is_believing-clean) - autocmd FileType ruby imap M (seeing_is_believing-clean) + autocmd FileType ruby nmap H (seeing_is_believing-clean) + autocmd FileType ruby xmap H (seeing_is_believing-clean) + autocmd FileType ruby imap H (seeing_is_believing-clean) autocmd FileType ruby nmap S (seeing_is_believing-run_-x) autocmd FileType ruby xmap S (seeing_is_believing-run_-x)