星期五, 十月 30, 2009

[Tools]用vim写latex的插件:Vim-latex (cont.)

visually select a word and excute a command on it:

`sf
\textsf{word}

,se
\section{section name}

,ce
\centerline{word}
`(  encloses selection in \left( and \right) `[  encloses selection in \left[ and \right] `{  encloses selection in \left\{ and \right\} `$  encloses selection in $$ or \[ \] depending on characterwise or                                       linewise selection

g:Tex_Leader

Type String
Default Value '`'

g:Tex_Leader2

Type String
Default Value ','

Reference:
http://vim-latex.sourceforge.net/documentation/latex-suite.html

没有评论: