Taglist installation
Taglist is a popular Vim plugin and it requires Ctags. c9s has
given a detailed description of the installation of Ctags.
I’ve found out that putting the whole ctags58
folder under the C
drive and adding it to the PATH
environment variable will do. You
don’t need to copy ctags.exe
under the C
drive or $VIMRUNTIME
.
TheGeekStuff has a web page which described numerous powerful functions of Taglist.
Some VIMRC settings
I’ve learnt something about Vim keyboard mappings by reading Le’s post on customized VIMRC settings. Using this knowledge, I can do something that I couldn’t do last month.
Automatic completion of unclosed braces/brackets
Unmatched brackets/braces are the cause of a host of syntax errors in source code. Some novices probably spend hours to find it out, and then say something that their high school teachers will never approve. Tips 630 in Vim Tips Wiki contains a simple solution that enable users to get the job done. However, I’m not accustomed to its differences with Vim-$\rm \LaTeX$, so I decided to add the following lines of code into my VIMRC file:
1 2 3 4 5 6 7 8 9 10 11 12 |
|
After the user types <C-j>
, the cursor will jump to the position of
the placeholder <++>
and the whole placeholder will disappear, just
like $\rm \LaTeX$-Suite.
(Added on DEC 13, 2014)
These custom mappings will interfere with those of
$\rm \LaTeX$-Suite if one typed :so foo.tex
in a
buffer in which an HTML file is opened. Now, I have
improved my mappings.
New keyboard shortcuts of my GVim
Finally, I decided to use <F3>
and <F12>
in normal mode for
toggling NERDTree and Taglist respectively.
1 2 |
|