【发布时间】:2013-01-10 16:31:49
【问题描述】:
我已经安装了vim-latex-suite,我想自定义折叠以与labbook 包一起使用。 labbook 包使用\labday、\experiment 和\subexperiment 代替\chapter、\section 和\subsection。
我想在 Vim 中使用 vim-latex-suite 自定义折叠选项,以便 \labday、\experiment 和 \subexperiment 像传统的切片命令一样折叠。
我尝试将以下内容添加到我的~/.vim/after/ftplugin/tex.vim(但没有成功)
" Folding sections
let g:Tex_FoldedSections = ',labday,experiment,subexperiment'
" Folding commands
let g:Tex_FoldedCommands = ',labday,experiment,subexperiment'
谁能告诉我如何自定义 labbook 包的折叠方式?
【问题讨论】: