下午閒來無事,逛逛vim.org,發現一些還蠻不錯的scripts。
趁機記下來,免得老是忘了有這些功能可以用 XD
Highlight multiple searches at the same time, each with a different color.
:Search <pattern1>
:Search <pattern2>
…
:SearchReset
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
Tab completion of words inside of a search (‘/’)
懶人用好東西:p
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.
ispell or aspell based spell checker with fly-spelling
Source code browser (supports C/C++, java, perl, python, tcl, sql, php, etc)
(其實是tag brower,要搭配ctags使用)