From 9d8238cef09d8cb7c270b616ec56a335e0ac0854 Mon Sep 17 00:00:00 2001 From: René Neumann Date: Tue, 4 Sep 2012 16:20:28 +0200 Subject: Move to bundles in vim -- also remove old craft --- .vim/ftplugin/java/java.vim | 84 --------------------------------------------- 1 file changed, 84 deletions(-) delete mode 100644 .vim/ftplugin/java/java.vim (limited to '.vim/ftplugin/java/java.vim') diff --git a/.vim/ftplugin/java/java.vim b/.vim/ftplugin/java/java.vim deleted file mode 100644 index e442356..0000000 --- a/.vim/ftplugin/java/java.vim +++ /dev/null @@ -1,84 +0,0 @@ - -" Editing settings -"set tabstop=4 shiftwidth=4 expandtab textwidth=90 - -" Syntax highlighting settings. -"let g:java_allow_cpp_keywords=1 -"syntax on - -" Comma (,) prefixes a KEYWORD abbreviation -inoremap ,c class -inoremap ,i interface -inoremap ,I implements -inoremap ,m import -inoremap ,f final -inoremap ,s static -inoremap ,y synchronized -inoremap ,e extends -inoremap ,p public -inoremap ,P private -inoremap ,o protected -inoremap ,f final -inoremap ,s static -inoremap ,y synchronized -inoremap ,a package - -" Colon (:) prefixes a FLOW abbreviation - -inoremap :f for -inoremap :w while -inoremap :s switch -inoremap :C case -inoremap :b break -inoremap :d default -inoremap :i if -inoremap :r return -inoremap :t try -inoremap :c catch -inoremap :f finally -inoremap :T throws -inoremap :R throw - -" CTRL + T (^T) prefixes a TYPE abbreviation - -inoremap i int -inoremap I Integer -inoremap l long -inoremap L Long -inoremap b boolean -inoremap B Boolean -inoremap c char -inoremap C Char -inoremap d Double -inoremap D Double -inoremap v void -inoremap V Void -inoremap s String -inoremap S String -inoremap e Exception -inoremap E Exception - -" CTRL + Underscore (_) prefixes a GENERAL abbreviation - -inoremap m public static void main(String args[]) -inoremap o System.out.println(X);FXs -inoremap e System.err.println(X);FXs -inoremap t true -inoremap f false -inoremap E e.printStackTrace(); -inoremap C -inoremap c - -" Helpful mappings when creating a new object -" Type: Object o -" Get: Object o = new Object(); -" F3 leaves the cursor between the parentheses. -inoremap A = new ^yEpA(); -inoremap A = new ^yEpA(); - -" To create a javadoc comment above the current line -nnoremap Zc O/****/ - -" Useful when editing javadoc comments -nnoremap ZR :se formatoptions+=ro -nnoremap Zr :se formatoptions-=ro -- cgit v1.2.3-70-g09d2