Use Vim + Taglist + Ctags to read and edit the code-Linux general technology-Linux programming and kernel information. The following is a detailed description. In fact, this combination is very practical and basically reaches the source insight realm without a mouse. The most important thing is that it can run in text mode.
The platform used is Fedora 8.
Vim and Ctags are available after F8 is installed.
You need to download the Taglist by yourself.
1. Download a zip file of Taglist, decompress it, and copy taglist. vim ~ /. Vim/plugin directory.
2. Modify ~ /. Vim/plugin/taglist. vim
In if! Exists ('loaded _ taglist ')
Let Tlist_Ctags_Cmd = "/usr/bin/ctags"
Result:
CODE: "Line continuation used here Let s: cpo_save = & cpo Set cpo & vim
Let Tlist_Ctags_Cmd = "/usr/bin/ctags"
If! Exists ('loaded _ taglist ') "First time loading the taglist plugin " "To speed up the loading of Vim, the taglist plugin uses autoload "Mechanic to load the taglist functions. "Only define the configuration variables, user commands and some "Auto-commands and finish sourcing the file
"The taglist plugin requires the built-in Vim system () function. If this "Function is not available, then don't load the plugin. If! Exists ('* system ') Echomsg 'taglist: Vim system () built-in function is not available .'. \ 'Plugin is not loaded .' Let loaded_taglist = 'no' Let & cpo = s: cpo_save Finish Endif |