vim-latex-suite无法使用
发表于 : 2016-01-10 21:18
debian8,apt-get安装了vim,vim-latexsuite,但是打开.tex文件的时候<F5>键和ctrl-j什么的不起效果啊?
求教大神~~~~
求教大神~~~~
代码: 全选
vim-addons install latex-suite
代码: 全选
filetype plugin on
set grepprg=grep\ -nH\ $*
filetype indent on
let g:tex_flavor='latex'
参考/usr/share/doc/vim-latexsuite/README.Debian 写了: Dear user, this package provides the vim addon latex-suite, but it is not enabled per default. If you want to enable it for your user account execute:
vim-addons install latex-suite
Similarly, to enable it for all users of this system execute (as root):
vim-addons -w install latex-suite
vim-addons is provided by the vim-addon-manager package, have a look at its manpage for more information.
Additionally, you need to add the following lines
filetype plugin on
set grepprg=grep\ -nH\ $*
filetype indent on
let g:tex_flavor='latex'
to ~/.vimrc (or to /etc/vim/vimrc as root) for full usability.
For more info about this lines, type ":help ls_1" in vim (after enabling this plugin with vim-addons).
太感谢了,我一开始大致的看了一下help,没有看仔细,多谢告诉我啊。vickycq 写了:看说明,默认未启用
需要安装 vim-addon-manager 后运行并将以下内容加入 vimrc代码: 全选
vim-addons install latex-suite
代码: 全选
filetype plugin on set grepprg=grep\ -nH\ $* filetype indent on let g:tex_flavor='latex'
参考/usr/share/doc/vim-latexsuite/README.Debian 写了: Dear user, this package provides the vim addon latex-suite, but it is not enabled per default. If you want to enable it for your user account execute:
vim-addons install latex-suite
Similarly, to enable it for all users of this system execute (as root):
vim-addons -w install latex-suite
vim-addons is provided by the vim-addon-manager package, have a look at its manpage for more information.
Additionally, you need to add the following lines
filetype plugin on
set grepprg=grep\ -nH\ $*
filetype indent on
let g:tex_flavor='latex'
to ~/.vimrc (or to /etc/vim/vimrc as root) for full usability.
For more info about this lines, type ":help ls_1" in vim (after enabling this plugin with vim-addons).
https://packages.debian.org/jessie/vim-latexsuite
太感谢了,我一开始大致的看了一下help,没有看仔细,多谢告诉我啊。vickycq 写了:看说明,默认未启用
需要安装 vim-addon-manager 后运行并将以下内容加入 vimrc代码: 全选
vim-addons install latex-suite
代码: 全选
filetype plugin on set grepprg=grep\ -nH\ $* filetype indent on let g:tex_flavor='latex'
参考/usr/share/doc/vim-latexsuite/README.Debian 写了: Dear user, this package provides the vim addon latex-suite, but it is not enabled per default. If you want to enable it for your user account execute:
vim-addons install latex-suite
Similarly, to enable it for all users of this system execute (as root):
vim-addons -w install latex-suite
vim-addons is provided by the vim-addon-manager package, have a look at its manpage for more information.
Additionally, you need to add the following lines
filetype plugin on
set grepprg=grep\ -nH\ $*
filetype indent on
let g:tex_flavor='latex'
to ~/.vimrc (or to /etc/vim/vimrc as root) for full usability.
For more info about this lines, type ":help ls_1" in vim (after enabling this plugin with vim-addons).
https://packages.debian.org/jessie/vim-latexsuite