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
          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 宜兴市| 石河子市| 汉沽区| 天门市| 通许县| 阳城县| 徐闻县| 民勤县| 平安县| 民丰县| 高碑店市| 北票市| 赤峰市| 麦盖提县| 青河县| 双流县| 乌鲁木齐市| 巨鹿县| 新疆| 武冈市| 登封市| 墨江| 博兴县| 衡水市| 肥城市| 武邑县| 晋江市| 桑日县| 军事| 通许县| 当雄县| 西青区| 方正县| 遂平县| 广汉市| 百色市| 江口县| 梁平县| 中牟县| 福清市| 曲沃县|