Next: Vi with Ctags
Up: Edit latex file using
Previous: Edit latex file using
- Setup latex-suite:
You have to install Perl and Python in order to use the latex-suite
smoothly. Make sure install at least ActivePython 2.5.1.1
- To use Alt Key Macros Put:
set winaltkeys=no
in $VIM/ftplugin/tex.vim in order to use these maps.
- Insert ref and citation:
type F9 after \ref{ or \cite{, then you can select
fig, eq, sec or citation as you want!
- Folding operations
zr //unfold one level
zR //unfold all levels
zm //fold one level
zM //fold all levels
- Forward and backward searching
\ls
viewer will display the portion of the DVI file
- Backward searching:
In xdvi: ctrl+ left click; kdvi: middle button; for Yap, double click.
In yap, you need to set inverse search at opion menu with command:
~\vim71\gvim.exe --remote +%l %f
the dvi has to be compiled using
latex --src-specials filename
- Jump to next place holder: Ctrl-j
After having typed in some characters, you can press Ctrl-j (while still in
insert-mode). This will take you directly to the next "place-holder", e.g.,
<+caption text+> will be visually selected with Vim in select mode
again for typing in the caption. This saves on a lot of key presses.
Next: Vi with Ctags
Up: Edit latex file using
Previous: Edit latex file using
Tony X. Han
2008-03-31