Vim-laTeX

Vi関連に戻る


インストールと初期設定

ダウンロード

まずは公式サイトhttp://vim-latex.sourceforge.net/ へ。
左上のロゴの下にあるDownloadからダウンロードページへ行けるので、ファイルを落としてくる。

ファイル展開

WindowsとUnix系でファイルを置く場所が違う。
  • Windowsの場合
~/vimfiles
  • Unix系の場合
~/.vim
に展開する。
ディレクトリが存在しないのならば作成する。

初期設定

~/.vimrcに
" REQUIRED. This makes vim invoke latex-suite when you open a tex file.
filetype plugin on

" IMPORTANT: win32 users will need to have 'shellslash' set so that latex
" can be called correctly.
set shellslash

" IMPORTANT: grep will sometimes skip displaying the file name if you
" search in a singe file. This will confuse latex-suite. Set your grep
" program to alway generate a file-name.
set grepprg=grep\ -nH\ $*

" OPTIONAL: This enables automatic indentation as you type.
filetype indent on
と追加。


名前:
コメント:
最終更新:2008年08月20日 19:47
ツールボックス

下から選んでください:

新しいページを作成する
ヘルプ / FAQ もご覧ください。