1. 一個很不錯的vim中文文檔網站
          http://vcd.gro.clinux.org/
          看了下里面的vim用戶手冊,翻譯得很不錯,以后不用再啃英文文檔了 ^_^
          2. 設置tab的格數
          setlocal softtabstop=4
          set shiftwidth=4
          3. [zz]Java Complete
          http://www.vim.org/scripts/script.php?script_id=1785
          install details
          1. Place javacomplete.vim in the autoload directory, e.g. $VIM/vimfiles/autoload
          2. Place classes of Reflection into classpath.
          set CLASSPATH=path_of_Reflection.class;%CLASSPATH%
          or in linux/unix
          export CLASSPATH=path_of_Reflection.class:$CLASSPATH
          You can also recompile Reflection.java by yourself. Use jdk1.2 (and above)
          3. Set 'omnifunc' option if necessary. e.g.
          :set omnifunc=javacomplete#Complete
          You can do it in a script like ftplugin/java_fc.vim.
          Or, use autocmd:
          " Only do this part when compiled with support for autocommands.
          if has("autocmd")
          autocmd Filetype java setlocal omnifunc=javacomplete#Complete
          endif
          4. Add more jars or class directories to classpath, if you like. e.g.
          let g:java_classpath = '.;C:\java\lib\servlet.jar;C:\java\classes;C:\webapp\WEB-INF\lib\foo.jar;C:\webapp\WEB-INF\classes'
          or in unix/linux
          let g:java_classpath = '.:~/java/lib/servlet.jar:~/java/classes:~/java/webapp/WEB-INF/lib/foo.jar:~/java/webapp/WEB-INF/classes'
          Besides g:java_classpath, you can set local b:classpath and it is preferred.

          posts - 403, comments - 310, trackbacks - 0, articles - 7
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          2.10 Linux notes

          Posted on 2007-04-22 20:23 ZelluX 閱讀(429) 評論(0)  編輯  收藏 所屬分類: Linux
          2007-02-10 22:59:59
          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 阿瓦提县| 三台县| 抚宁县| 通化市| 高邑县| 彭阳县| 吉林省| 峨边| 永安市| 桃园市| 寻乌县| 平遥县| 云霄县| 独山县| 抚顺县| 扎囊县| 社会| 万安县| 永康市| 平顶山市| 伽师县| 瑞昌市| 琼海市| 中方县| 邹城市| 孟州市| 芜湖市| 五常市| 永登县| 龙门县| 金寨县| 英超| 桂东县| 湘潭市| 江源县| 莒南县| 乌苏市| 突泉县| 秭归县| 罗江县| 谢通门县|