一些好用的Vim scripts

下午閒來無事,逛逛vim.org,發現一些還蠻不錯的scripts。
趁機記下來,免得老是忘了有這些功能可以用 XD


MultipleSearch.vim

Highlight multiple searches at the same time, each with a different color.

:Search <pattern1>
:Search <pattern2>

:SearchReset

ZoomWin.vim

Brief-like ability to zoom into/out-of a window

Press <c -w>o : the current window zooms into a full screen
Press </c><c -w>o again: the previous set of windows is restored

SearchComplete.vim

Tab completion of words inside of a search (‘/’)

懶人用好東西:p

ShowMarks

Visually shows the location of marks

mt : Toggles ShowMarks on and off.
mh : Hides an individual mark.
ma : Hides all marks in the current buffer.
mm : Places the next available mark.

vimspell.vim

ispell or aspell based spell checker with fly-spelling

TagList

Source code browser (supports C/C++, java, perl, python, tcl, sql, php, etc)
(其實是tag brower,要搭配ctags使用)

One thought on “一些好用的Vim scripts

  1. Pingback: Proactol For Easy Weight Loss

留言給我吧!