【轉】水木社區VIM版版友推薦插件列表

轉載:水木社區VIM版版友推薦插件列表(06年12月)
http://www.newsmth.net/bbscon.php?bid=731&id=24898&ftype=11
-----------------------------------------------------------------------
BufExplorer   Taglist   latex-suite     word_complete  Sketch
DrawIt        Mark      SearchComplete  vcscommand     switchtags
ccal.rb       viki      NERD_tree       fencview       matrix
taglis        Tetris    BlockComment
-----------------------------------------------------------------------
 (1) [ 插件的名稱 ]
  BufExplorer
 (2) [ 插件的功能 ]
  方便切換 buffer,切換 buffer 後列表自動關閉。
 (3) [ 插件的下載地址 ]
  http://www.vim.org/scripts/script.php?script_id=42
 (4) [ 備註或特別提醒 ]
  裝完後 Normal mode 下輸入 \be 便可打開這個列表,
  光標放在某一個文件上按回車能夠打開這個文件。
 (5) [ 推薦人id ]
  Dieken
-----------------------------------------------------------------------
 (1) [ 插件的名稱 ]
  Taglist
 (2) [ 插件的功能 ]
  實現類或者函數列表功能,支持 C/C++, Java, Perl, Python,
  TCL, SQL, PHP 等語言,它能夠在VIM中建立一個窗口,列出編輯
  的源文件中的類、函數、變量定義列表,並且更方便的是這個列表
  也插入在了右鍵菜單中,分類存放,訪問很是方便。
 (3) [ 插件的下載地址 ]
  http://www.vim.org/scripts/script.php?script_id=273
 (4) [ 備註或特別提醒 ]
  依賴於 Exuberant Ctags,能夠在 http://ctags.sourceforge.net 下載。
 (5) [ 推薦人id ]
  Dieken
-----------------------------------------------------------------------
 (1) [ 插件的名稱 ]
  word_complete
 (2) [ 插件的功能 ]
  Insert模式下在輸入的時候自動補全單詞,若是補全正確
  能夠按Tab鍵接受,不然能夠無論它繼續輸入或者按Ctrl-n,
  Ctrl-p切換補全。注意是輸入三個字符後纔開始補全。
 (3) [ 插件的下載地址 ]
  http://www.vim.org/scripts/script.php?script_id=73
 (4) [ 備註或特別提醒 ]
  在 工具 菜單中選擇 Word completion 開啓這個功能。
 (5) [ 推薦人id ]
  Dieken
-----------------------------------------------------------------------
 (1) [ 插件的名稱 ]
  Sketch
 (2) [ 插件的功能 ]
  在 VIM 裏頭畫 ASCII 圖,支持填充,剪切,拷貝等,很是有創意。
 (3) [ 插件的下載地址 ]
  http://www.vim.org/scripts/script.php?script_id=705
 (4) [ 備註或特別提醒 ]
  Draw with mouse: boxes, arrows, lines, fills.
  Transparent/opaque drag and drop.
 (5) [ 推薦人id ]
  Dieken
-----------------------------------------------------------------------
 (1) [ 插件的名稱 ]
  DrawIt
 (2) [ 插件的功能 ]
  方便的畫連線圖。
 (3) [ 插件的下載地址 ]
  http://www.vim.org/scripts/script.php?script_id=40
 (4) [ 備註或特別提醒 ]
 (5) [ 推薦人id ]
  Dieken
-----------------------------------------------------------------------
 (1) [ 插件的名稱 ]
  Mark
 (2) [ 插件的功能 ]
  同時高亮顯示屢次搜索結果,這個特性很是有利於顯示代碼
  中某些變量或函數的調用位置。
 (3) [ 插件的下載地址 ]
  http://www.vim.org/scripts/script.php?script_id=1238
 (4) [ 備註或特別提醒 ]
  相似的還有:
  MultipleSearch
  http://www.vim.org/scripts/script.php?script_id=479
  MultipleSearch2
  http://www.vim.org/scripts/script.php?script_id=1183
  otf
  http://www.vim.org/scripts/script.php?script_id=634
 (5) [ 推薦人id ]
  Dieken
-----------------------------------------------------------------------
 (1) [ 插件的名稱 ]
  SearchComplete
 (2) [ 插件的功能 ]
  用 / 或者 ? 搜索時按 tab 補全要搜索的單詞。
 (3) [ 插件的下載地址 ]
  http://www.vim.org/scripts/script.php?script_id=474
 (4) [ 備註或特別提醒 ]
 (5) [ 推薦人id ]
  Dieken
-----------------------------------------------------------------------
 (1) [ 插件的名稱 ]
  vcscommand
 (2) [ 插件的功能 ]
  集成 cvs 和 svn 到 vim 中,能夠在 vim 中看 log,diff,
  annotate,commit 等等。須要安裝 cvs 和 svn 的命令行版本。
 (3) [ 插件的下載地址 ]
  http://www.vim.org/scripts/script.php?script_id=90
 (4) [ 備註或特別提醒 ]
 (5) [ 推薦人id ]
 (3) [ 插件的下載地址 ]
  http://www.vim.org/scripts/script.php?script_id=90
 (4) [ 備註或特別提醒 ]
 (5) [ 推薦人id ]
  Dieken
-----------------------------------------------------------------------
 (1) [ 插件的名稱 ]
  switchtags
 (2) [ 插件的功能 ]
  根據當前編輯文件的全路徑名切換 tags 選項,這樣就能夠
  在 vim 中同時查看多個項目的代碼時 Ctrl-] 不會互相串。
 (3) [ 插件的下載地址 ]
  http://www.vim.org/scripts/script.php?script_id=1344
 (4) [ 備註或特別提醒 ]
  老早之前寫的,也許有點用,推薦一下。
  須要Perl 插件支持(官方提供的 gvim70.exe 包含這個)。
 (5) [ 推薦人id ]
  Dieken
-----------------------------------------------------------------------
 (1) [ 插件的名稱 ]
  ccal.rb
 (2) [ 插件的功能 ]
  Add Chinese lunar calender functionality to calendar.vim
 (3) [ 插件的下載地址 ]
  本版文章號:8906(如有變,請搜索版面)
 (4) [Appendix]
  * Feature
  Support 200 years(1900-2100) lunar calendar calculation
  * Requirements:
  vim-ruby interface (For WinXP, if you do not wish to install Ruby, just put
  msvcrt-ruby18.dll in PATH)
  * Usage:
  a) put ccal.rb in $VIM/vimfiles/plugin dir
  b) Add following lines in .vimrc
  c) Open calendar window via :Calendar or :CalendarH, place cursor on a date,
     press 'gc'
   "------------------------------------------------------------
   " Lunar calendar function for calendar.vim plugin
   "------------------------------------------------------------
  function! s:GetLunarDate(day, month, year, week, dir)
  ruby << EOF
  $:.unshift(VIM::evaluate("expand('$VIM/vimfiles/plugin')"))
  require 'ccal'
  d, m, y = VIM::evaluate("a:day").to_i, VIM::evaluate("a:month").to_i,
  VIM::evaluate("a:year").to_i
  cc = Calendar::ChineseCalendar.new(y, m, d)
  # print the pretty date text
  season_color = case m
    when 12, 1, 2: 'AliceBlue'          # winter white
    when 3..5:     'MediumSpringGreen'  # spring green
    when 6..8:     'DeepSkyBlue1'       # summer night
    when 9..11:    '#eec080'            # autumn gold
  end
  VIM::command("highlight DateColor gui=none guifg=#{season_color}")
  VIM::command("echohl DateColor | echo '#{cc.chinese_format}' | echohl None")
  EOF
  endfunction
   "------------------------------------------------------------
   " customize calendar action
   "------------------------------------------------------------
  function! s:CalendarDoCustom(action)
  let l:tmpvar = g:calendar_action
  let g:calendar_action = a:action
  exe "normal \<CR>"
  let g:calendar_action = l:tmpvar
  endfunction
  " Use the following format to map new calendar actions
  autocmd BufNewFile __Calendar nmap <buffer><silent>gc :call <SID>
  CalendarDoCustom("<SID>GetLunarDate")<CR>
  * Screenshot
   附件
  * Only tested on WinXP
-----------------------------------------------------------------------
 (1) [ 插件的名稱 ]
  Viki/Deplate
 (2) [ 插件的功能 ]
  This plugin adds wiki-like hypertext capabilities to Vim.
  You can use viki as a "minor" mode (i.e., as an add-on to any other mode)
  or as a full-fledged wiki mode. There is also an add-on plugin for "
 (3) [ 插件的下載地址 ]
  http://www.vim.org/scripts/script.php?script_id=861
-----------------------------------------------------------------------
 (1) [ 插件的名稱 ]
  NERD_tree
 (2) [ 插件的功能 ]
  The NERD tree allows you to explore your filesystem and to open files
  and directories. It presents the filesystem to you in the form of a tree
  which you manipulate with the keyboard and/or mouse.
 (3) [ 插件的下載地址 ]
  http://www.vim.org/scripts/script.php?script_id=1658
 (4) [ 備註或特別提醒 ]
  The following features and functionality are provided by the NERD tree:
  * Files and directories are displayed in a hierarchical tree structure
  * Different highlighting is provided for the following types of nodes:
  * files
  * directories
  * sym-links
  * windows .lnk files
  * read-only files
 (5) [ 推薦人id ] 
   runsnake
-----------------------------------------------------------------------
 (1) [ 插件的名稱 ]
  fencview.vim
 (2) [ 插件的功能 ]
  我就來推薦一下我本身的插件^_^新版本完善之後就會更新到vim.org
  FencView.vim : View a multi-byte encoded file in different encodings.
  script karma  Rating 30/12, Downloaded by 139
  created by
  Ming Bai
  script type
  utility
  description
  Install:
  Copy FencView.vim to your plugin directory.
  Usage:
  Select a encoding from the Tools/Encoding menu just like what you did in
  Firefox/IE or you can use ":FencView"  command to open the encoding
  list window and "Enter" key to select the encoding under cursor to
  reload the file.
  ScreenShot:
  http://mbbill.googlepages.com/fenc.png
 (3) [ 插件的下載地址 ]
  http://www.vim.org/scripts/script.php?script_id=1708
 (4) [ 備註或特別提醒 ]
 (5) [ 推薦人id ]
  mbbill
-----------------------------------------------------------------------
 (1) [ 插件的名稱 ]
  matrix
 (2) [ 插件的功能 ]
  是的,說的就是電影 Matrix!Vim 的腳本並非都幹「正經事」的
 (3) [ 插件的下載地址 ]
  http://www.vim.org/scripts/script.php?script_id=1189
 (4) [ 備註或特別提醒 ]
  想看一下電影裏那些酷酷的字符在 Vim 的窗口裏翻滾嗎?
  發一個命令「:Matrix」便可按任意鍵退出
 (5) [ 推薦人id ]
  runsnake
-----------------------------------------------------------------------
(1) [ 插件的名稱 ] 
  taglist
(2) [ 插件的功能 ] 
  程序員必備插件
(3) [ 插件的下載地址 ] 
  本版文章號:8911(如有變更,請搜索本版)
(4) [ 備註或特別提醒 ]
  附件taglist跟原版taglist幾乎如出一轍,不過容許用戶自定義一個filter,
  把要顯示的tag name修改一下。filter的原形是FilterName(filetype, tagname),
  返回值做爲顯示在taglist窗口中的標籤。原由是我在用taglist查看Java native
  函數時,因爲Java native函數名是Java_packagename_ClassName_methodName的形式,
  名稱太長,在taglist窗口裏看不到實際的函數名,因而就作了點手腳,把tag名字處理了一下。
  * 示例:
  前述的filter能夠定義爲以下,放在vimrc中:
  function! TagNameFilter(ft, tag)
  let l:newtag = a:tag
  " Filter the Java native method names, remove package qualification.
  " (change Java_some_package_ClassName_methodName to ClassName_methodName)
  if a:ft == 'c' && a:tag =~ 'Java_\(\w\+_\)\+'
    let l:reserve_classname = 1  " indicate we need class name
    let l:pad = matchstr(a:tag, '^\s*') " leading space is required by taglist
    let l:idx = strridx(a:tag, '_')
    if l:reserve_classname
      let l:idx = strridx(a:tag, '_', l:idx - 1)
    endif
    let l:newtag = l:pad . strpart(a:tag, l:idx + 1)
  endif
  return l:newtag
  endfunction
  " if g:tag_name_filter is not set, fall back to default filter
  let g:tag_name_filter = "TagNameFilter"
-----------------------------------------------------------------------
 (1) [ 插件的名稱 ]
  Tetris
 (2) [ 插件的功能 ]
  俄羅斯方塊遊戲
 (3) [ 插件的下載地址 ]
  http://www.vim.org/scripts/script.php?script_id=172
 (4) [ 備註或特別提醒 ]
  呵呵,玩到100分就算很不錯了。\te開始遊戲,儘可能不要在gui模式下玩
 (5) [ 推薦人id ]
  vimmer
-----------------------------------------------------------------------
 (1) [ 插件的名稱 ] 
  BlockComment
 (2) [ 插件的功能 ]
  塊註釋插件,幾乎是原插件的重寫
 (3) [ 插件的下載地址 ]
  本版文章號:8914(如有變更,請搜索本版)
 (4) [ 備註或特別提醒 ]
  * Usage
    \c  Comment (linewise/blockwise)
    \v  UnComment (linewise/blockwise)
    \b  UnCommentBlock (Uncomment the whole commented block)
    \d  DeleteComment (Delete whole commented block)
    \j  Javadoc style Comment (No command to uncomment it yet)
    It is easy to add new comment type, see CommentStr function in
    BlockComment.vim
  * Example
    The \v command allows user uncomment part of a commented block:
    /*---------                                  /*---------
    * line1                                      * line1
    * line2         place cursor on line2, =>    *---------*/
    * line3         press \v line2 uncommented   line2
    *---------*/                                 /*---------
                                                 * line3
                                                 *---------*/php

相關文章
相關標籤/搜索