*[[Vim:http://www.vim.org/]] [#c1593263]
*[[Vim:https://www.vim.org/]] [#c1593263]

#ref(http://upload.wikimedia.org/wikipedia/commons/thumb/9/9f/Vimlogo.svg/200px-Vimlogo.svg.png,right,around,nolink,Vim)

&color(White,#5F2F2F){  ''◆目次◆''  };&br;

----
#contents
----

#img(,clear)

*Vim とは [#h0ea1272]

[[Vim>WikiPedia.ja:Vim]] は Bram Moolenaar 氏を中心に開発が行われているエディタです.~
Vim は,他の多くのエディタと異なり,「モード」という概念が存在します.~
モードを切り替えることで,一つのキーに対して複数の意味を割り当てることができます.~
ある程度快適に使用するためには練習が必要になりますが,習熟すれば高速で効率のよい編集が可能になります.~
Vim は,チャリティウェアです.[[VIM ライセンス:http://code.google.com/p/vim/source/browse/runtime/doc/uganda.txt]] ([[日本語訳:http://vim-jp.org/vimdoc-ja/uganda.html]]) でリリースされています.~
[[Vim>Wikipedia.ja:Vim]] は Bram Moolenaar 氏を中心に開発が行われているエディタです.
Vim は,他の多くのエディタと異なり,「モード」という概念が存在します.
モードを切り替えることで,一つのキーに対して複数の意味を割り当てることができます.
ある程度快適に使用するためには練習が必要になりますが,習熟すれば高速で効率のよい編集が可能になります.

GVim 7.3.034 よりも前のバージョンには DLL 読み込みに関する脆弱性が存在します.~
最新版へアップデートしてください.~
詳細は [[GVim における DLL 読み込みに関する脆弱性:http://jvn.jp/jp/JVN27868039/]] を参照してください.~

GVim 7.3.344 で UNIX 系 の GVim で起動時にハングしたり起動が遅くなったりしていた問題が修正されました.~
Gvim 7.3.520 で Ubuntu 12.04 でパッケージマネージャ経由でインストールされた GVim が起動時に数十秒ハングする問題が修正されました.~

-[[Vim 公式サイト:http://www.vim.org/]]
-[[Vim 公式サイト:https://www.vim.org/]]
--ftp://ftp.vim.org/pub/vim/
---ftp://ftp.vim.org/pub/vim/pc
---ftp://ftp.vim.org/pub/vim/unix/
-[[Vim 開発サイト:http://code.google.com/p/vim/]]
--[[コミットログ:http://code.google.com/p/vim/source/list]]
-https://github.com/vim/vim
--https://github.com/vim/vim/commits/master
-https://github.com/vim/vim-win32-installer
--https://github.com/vim/vim-win32-installer/releases
-[[vim-jp » Vimのユーザと開発者を結ぶコミュニティサイト:http://vim-jp.org/]]
--[[twitter:http://twitter.com/vim_jp]]
--[[twitter:https://twitter.com/vim_jp]]
-[[vim-jp's Profile - GitHub:https://github.com/vim-jp]]
--[[vim-jp/vimdoc-ja - GitHub:https://github.com/vim-jp/vimdoc-ja]]
--[[UNIX系GUI版で起動時にハングしたり起動が遅くなったりしていた問題が修正されました。:http://vim-jp.org/2011/10/21/patch_7.3.344.html]]
//[[Vim team:http://sourceforge.net/project/memberlist.php?group_id=8]
//[[develop:http://sourceforge.net/projects/vim/develop]]
//-https://sourceforge.net/projects/vim/
//--[[Vim team:https://sourceforge.net/p/vim/_members/]
-[[Vim Advent Calendar 2014 - Qiita:http://qiita.com/advent-calendar/2014/vim]]

**動作環境 [#w6b94f3c]
[[download : vim online:https://www.vim.org/download.php]] を参照.

**License [#w85a7064]
Vim は,チャリティウェアです.~
[[VIM ライセンス:https://github.com/vim/vim/blob/master/runtime/doc/uganda.txt]] ([[日本語訳:http://vim-jp.org/vimdoc-ja/uganda.html]]) でリリースされています.~

**リリース情報/ChangeLog [#n22b1c9a]

https://github.com/vim/vim/commits/master を参照.~

**派生版 [#ka1322d7]
***Neovim [#i20f720c]

-[[Home - Neovim:http://neovim.org/]]
-https://github.com/neovim/neovim

***Windows [#mcb80f41]
-[[KaoriYa (香り屋) 版:http://www.kaoriya.net/software/vim]]
Vim オリジナルに,日本語を扱う上で便利な設定やスクリプトが追加されている
--[[koron (MURAOKA Taro) · GitHub:https://github.com/koron]]
--[[Vim昔語/遭遇編 — KaoriYa:http://www.kaoriya.net/blog/201108/20110811]]
--[[コミットログ:https://github.com/splhack/macvim/commits/master]]
-[[vim-win3264:http://code.google.com/p/vim-win3264/]]
-[[gVim Portable:http://sf.net/projects/portableapps/files/gVim%20Portable/]]

***Windows, Linux [#o0f5036e]
//-[[gVim Portable:http://sf.net/projects/portableapps/files/gVim%20Portable/]]
-[[Vim UTF-8 日本語版 - fudist:https://sites.google.com/site/fudist/Home/vim-nihongo-ban]]
UTF-8 化した vim/gvim

***Windows, GNU/Linux, FreeBSD [#q4511794]
-[[Cream:http://cream.sf.net/]]
モーダルな Vim をモードレスに

***OS X [#gb7dcad0]
-[[MacVim-KaoriYa:http://code.google.com/p/macvim-kaoriya/]]
***macOS [#gb7dcad0]
-[[MacVim-KaoriYa:https://github.com/splhack/macvim-kaoriya]]
香り屋さんの Windows 版の使い勝手に近い MacVim を勝手に目指すプロジェクト
-[[MacVim:https://github.com/b4winckler/macvim/downloads]]
--[[コミットログ:https://github.com/splhack/macvim-kaoriya/commits/master]]
-[[MacVim:https://github.com/macvim-dev/macvim/releases]]
--[[コミットログ:https://github.com/b4winckler/macvim/commits/master]]
-[[vim-cocoa:http://code.google.com/p/vim-cocoa/]]
--[[コミットログ:https://github.com/jjgod/vim-cocoa/commits/master]]
-[[MacOSX Vim:http://sf.net/projects/macosxvim/files/]]

***iOS [#o6e8ea48]
-[[Applidium — Vim:http://applidium.com/en/applications/vim/]]
--[[App Store - Vim:http://itunes.apple.com/jp/app/vim/id492668168?mt=8]]

***Android [#o2329571]
-[[Vim for Android:http://ux.getuploader.com/vim/]]
-[[DroidVim:https://github.com/shiftrot/droidvim]]
--[[DroidVim - Google Play:https://play.google.com/store/apps/details?id=com.droidvim&hl=ja]]

***Web [#s4320361]
-Vim.js
--http://coolwanglu.github.io/vim.js/web/vim.html
--http://coolwanglu.github.io/vim.js/experimental/vim.html
--https://github.com/coolwanglu/vim.js

**ヘルプ [#b043417b]
-[[Vim documentation: help:http://vim-jp.org/vimdoc-ja/]]
Vim のヘルプを和訳したもの
-[[Vim-users.jp:http://vim-users.jp/]]
-[[名無しのvim使い:http://nanasi.jp/]]
-[[ずんWiki - vim:http://www.kawaz.jp/pukiwiki/?vim]]
-[[VimWiki:http://vimwiki.net/]]
-[[Vim Tips Wiki:http://vim.wikia.com/]]

**スクリーンショット [#p2c08dcd]
[[&ref(http://linux.dsplabs.com.au/files/p54-resume/resume-latex-vim-small.png,nolink,Vim で LaTeX ファイルを編集している画面);>http://linux.dsplabs.com.au/files/p54-resume/resume-latex-vim.png]]

*不具合 [#h94d310c]
**Ubuntu 12.04 の gvim がまともに動かない → [[Patch 7.3.520 にて修正されました:http://vim-jp.org/blog/2012/05/20/patch_7.3.520.html]] [#fba97189]
回避策:gvim -f で起動~
-[[GTK版GVimが起動時に数十秒待たされる問題が修正されました。:http://vim-jp.org/blog/2012/05/20/patch_7.3.520.html]]
-[[Issue #193: Ubuntu 12.04 の gvim がまともに動かない · vim-jp/issues · GitHub:https://github.com/vim-jp/issues/issues/193]]
-[[Bug #987707 “gvim in Precise can't connect to ibus and takes a l...” : Bugs : “vim” package : Ubuntu:https://bugs.launchpad.net/ubuntu/+source/vim/+bug/987707]]
-https://github.com/vim-jp/issues/issues

**Ubuntu 11.10 や GNOME 3 で GVim を起動すると入力するまでに時間がかかる → [[Patch 7.3.344 にて修正されました:http://vim-jp.org/2011/10/21/patch_7.3.344.html]] [#i39ca67b]
回避策:gvim -f で起動~
[[Patch 7.3.344 にて修正されました:http://vim-jp.org/2011/10/21/patch_7.3.344.html]]

-[[UNIX系GUI版で起動時にハングしたり起動が遅くなったりしていた問題が修正されました。:http://vim-jp.org/2011/10/21/patch_7.3.344.html]]
--[[version 7.3.344:http://code.google.com/p/vim/source/detail?r=v7-3-344]]
--[[version 7.3.315:http://code.google.com/p/vim/source/detail?r=v7-3-315]]
-[[#85: gvimの起動が遅い - Issues - vim-jp/issues - GitHub:https://github.com/vim-jp/issues/issues/85]]
-[[Bug #877193 in vim (Ubuntu): “gvim freezes when started from a terminal”:https://bugs.launchpad.net/ubuntu/+source/vim/+bug/877193]]
-[[Bug #872095 in vim (Ubuntu): “gvim from vim-gnome hang up on start”:https://bugs.launchpad.net/ubuntu/+source/vim/+bug/872095]]
-[[Bug #771810 in vim (Ubuntu): “gvim occasionally shows error "Unable to register window with path... Timeout was reached" ”:https://bugs.launchpad.net/ubuntu/+source/vim/+bug/771810]]
-[[GNOME3とGVim:http://hackathon.g.hatena.ne.jp/zrail/20110808/1312835084]]
-[[Slow response in gvim, gnome3:http://forums.fedoraforum.org/showthread.php?p=1464463]]
-[[IBUS-WARNING **: Create input context failed:http://fairladyx.zapto.org/node/15]]

*Vim で LaTeX [#i2be46c6]

**tex.vim [#y0b061e7]
Vim は拡張子“tex”のファイルを [[Plain TeX|(Plain)TeX]] として読み込む——
(Plain)TeX 用のシンタックスハイライト(構文強調)に設定する——
ようです。
そのため多くの場合 [[LaTeX]] の構文が正しく解釈されません。
最も簡単な方法は LaTeX 記法で記述された原稿の拡張子を“ltx”にすることでしょう。
これで,気持ち良く LaTeX on Vim できますね。 

$HOME/vimfiles/ftplugin/tex.vim (Windows), $HOME/.vim/ftplugin/tex.vim (OS X, Linux) に設定を記述することで Vim からコンパイル・プレビューができます.~

tex.vim を使用する場合は $HOME/_vimrc (Windows), $HOME/.vimrc (OS X, Linux) に

 filetype plugin on

を記述しておく必要があります.

***Windows の場合 [#kf0c55a9]
----
-$HOME/vimfiles/ftplugin/tex.vim
----
 function! PdfpLaTeX()
   if &ft != 'tex'
     echo "calling PdfpLaTeX from a non-tex file"
     return ''
   end
 
   :w
 
   let currentDir = getcwd()
   let currentTeXFile = expand("%:t")
   let currentBaseName = expand("%:t:r")
   let execString = 'cd /d ' . currentDir . ' && ' . 'tasklist /fi "IMAGENAME eq AcroRd32.exe" /nh | findstr "AcroRd32.exe" > nul && echo exit | pdfdde & platex -synctex=1 -guess-input-enc -kanji=utf8 -sjis-terminal -jobname=' . currentBaseName . ' ' . currentTeXFile . ' && ' . 'dvipdfmx ' . currentBaseName
 
   exec 'silent! !' execString
   :redraw!
   return ''
 endfunction
 
 function! BibTeX()
   if &ft != 'tex'
     echo "calling BibTeX from a non-tex file"
     return ''
   end
 
   :w
 
   let currentDir = getcwd()
   let currentBaseName = expand("%:t:r")
   let execString = 'cd /d ' . currentDir . ' && ' . 'pbibtex -kanji=utf8 -sjis-terminal' . ' ' . currentBaseName
 
   exec 'silent! !' execString
   :redraw!
   return ''
 endfunction
 
 function! MakeIndex()
   if &ft != 'tex'
     echo "calling MakeIndex from a non-tex file"
     return ''
   end
 
   :w
 
   let currentDir = getcwd()
   let currentBaseName = expand("%:t:r")
   let execString = 'cd /d ' . currentDir . ' && ' . 'mendex -U -ST' . ' ' . currentBaseName
 
   exec 'silent! !' execString
   :redraw!
   return ''
 endfunction
 
 function! TeXworks()
   if &ft != 'tex'
     echo "calling TeXworks from a non-tex file"
     return ''
   end
 
   let currentDir = getcwd()
   if glob('C:/w32tex/share/texworks/TeXworks.exe') != ''
     let viewer = '"' . glob('C:/w32tex/share/texworks/TeXworks.exe') . '"'
   elseif glob('C:/texlive/*/tlpkg/texworks/texworks.exe') != ''
     let viewer = '"' . glob('C:/texlive/*/tlpkg/texworks/texworks.exe') . '"'
   else
     let viewer = 'TeXworks.exe'
   endif
   let currentPDFFile = expand("%:r") . '.pdf'
   let execString = 'cd /d ' . currentDir . ' && echo ' . viewer . ' ' . currentPDFFile . ' | cmd'
 
   exec 'silent! !' execString
   :redraw!
   return ''
 endfunction
 
 function! SumatraPDF()
   if &ft != 'tex'
     echo "calling SumatraPDF from a non-tex file"
     return ''
   end
 
   let currentDir = getcwd()
   if glob('C:/Program Files/SumatraPDF/SumatraPDF.exe') != ''
     let viewer = '"' . glob('C:/Program Files/SumatraPDF/SumatraPDF.exe') . '"'
   elseif glob('C:/Program Files (x86)/SumatraPDF/SumatraPDF.exe') != ''
     let viewer = '"' . glob('C:/Program Files (x86)/SumatraPDF/SumatraPDF.exe') . '"'
   else
     let viewer = 'SumatraPDF.exe'
   endif
   let currentTeXFile = expand("%:t")
   let currentPDFFile = expand("%:r") . '.pdf'
   let execString = 'cd /d ' . currentDir . ' && echo ' . viewer . ' -reuse-instance ' . currentPDFFile . ' -forward-search ' . currentTeXFile . ' ' . line(".") . ' | cmd'
 
   exec 'silent! !' execString
   :redraw!
   return ''
 endfunction
 
 function! AdobeReader()
   if &ft != 'tex'
     echo "calling Adobe Reader from a non-tex file"
     return ''
   end
 
   let currentDir = getcwd()
   if glob('C:/Program Files/Adobe/Reader */Reader/AcroRd32.exe') != ''
     let viewer = '"' . glob('C:/Program Files/Adobe/Reader */Reader/AcroRd32.exe') . '"'
   elseif glob('C:/Program Files (x86)/Adobe/Reader */Reader/AcroRd32.exe') != ''
     let viewer = '"' . glob('C:/Program Files (x86)/Adobe/Reader */Reader/AcroRd32.exe') . '"'
   else
     let viewer = 'pdfopen --file'
   endif
   let currentPDFFile = expand("%:r") . '.pdf'
   let execString = 'cd /d ' . currentDir . ' && echo ' . viewer . ' ' . currentPDFFile . ' | cmd'
 
   exec 'silent! !' execString
   :redraw!
   return ''
 endfunction
 
 no <expr> <C-K>f PdfpLaTeX()
 no <expr> <C-K>b BibTeX()
 no <expr> <C-K>i MakeIndex()
 no <expr> <C-K>v TeXworks()
 no <expr> <C-K>s SumatraPDF()
 no <expr> <C-K>a AdobeReader()
----

>
|COLOR(#FFF):BGCOLOR(#070):CENTER:~ノーマルモード|COLOR(#FFF):BGCOLOR(#070):CENTER:~機能|
|<Ctrl-K> f|pdfpLaTeX (platex + dvipdfmx) を実行|
|<Ctrl-K> b|pBibTeX を実行|
|<Ctrl-K> i|Mendex を実行|
|<Ctrl-K> v|TeXworks で PDF ファイルを開く|
|<Ctrl-K> s|SumatraPDF で PDF ファイルを開いて forward search を実行|
|<Ctrl-K> a|Adobe Reader で PDF ファイルを開く|
<

***Linux の場合 [#q23aa2de]

fwdevince は [[Evince - TeX Wiki>Evince]] の fwdevince を使用します.~
GVim を使用するとエラーが発生しても表示されずに GVim が固まったように見える (x を入力して <Enter> を入力すると OK です) ので,コンソール版の Vim を使用することをおすすめします.~

----
-$HOME/.vim/ftplugin/tex.vim
----
 function! PdfpLaTeX()
   if &ft != 'tex'
     echo "calling PdfpLaTeX from a non-tex file"
     return ''
   end
 
   :w
 
   let currentDir = getcwd()
   let currentTeXFile = expand("%:t")
   let currentBaseName = expand("%:t:r")
   let execString = 'cd ' . currentDir . ' && ' . 'platex -synctex=1' . ' ' . currentTeXFile . ' && ' . 'dvipdfmx ' . currentBaseName
 
   exec 'silent! !' execString
   :redraw!
   return ''
 endfunction
 
 function! BibTeX()
   if &ft != 'tex'
     echo "calling BibTeX from a non-tex file"
     return ''
   end
 
   :w
 
   let currentDir = getcwd()
   let currentBaseName = expand("%:t:r")
   let execString = 'cd ' . currentDir . ' && ' . 'pbibtex' . ' ' . currentBaseName
 
   exec 'silent! !' execString
   :redraw!
   return ''
 endfunction
 
 function! MakeIndex()
   if &ft != 'tex'
     echo "calling MakeIndex from a non-tex file"
     return ''
   end
 
   :w
 
   let currentDir = getcwd()
   let currentBaseName = expand("%:t:r")
   let execString = 'cd ' . currentDir . ' && ' . 'mendex' . ' ' . currentBaseName
 
   exec 'silent! !' execString
   :redraw!
   return ''
 endfunction
 
 function! TeXworks()
   if &ft != 'tex'
     echo "calling TeXworks from a non-tex file"
     return ''
   end
 
   let currentDir = getcwd()
   let viewer = 'texworks'
   let currentPDFFile = expand("%:r") . '.pdf'
   let execString = 'cd ' . currentDir . ' && ' . viewer . ' ' . currentPDFFile . ' &'
 
   exec 'silent! !' execString
   :redraw!
   return ''
 endfunction
 
 function! FwdEvince()
   if &ft != 'tex'
     echo "calling FwdEvince from a non-tex file"
     return ''
   end
 
   let currentDir = getcwd()
   let viewer = 'fwdevince'
   let currentTeXFile = expand("%:t")
   let currentPDFFile = expand("%:r") . '.pdf'
   let execString = 'cd ' . currentDir . ' && ' . viewer . ' ' . currentPDFFile . ' ' . line(".") . ' ' . currentTeXFile . ' &'
 
   exec 'silent! !' execString
   :redraw!
   return ''
 endfunction
 
 function! AdobeReader()
   if &ft != 'tex'
     echo "calling Adobe Reader from a non-tex file"
     return ''
   end
 
   let currentDir = getcwd()
   let viewer = 'acroread'
   let currentPDFFile = expand("%:r") . '.pdf'
   let execString = 'cd ' . currentDir . ' && ' . viewer . ' ' . currentPDFFile . ' &'
 
   exec 'silent! !' execString
   :redraw!
   return ''
 endfunction
 
 no <expr> <C-K>f PdfpLaTeX()
 no <expr> <C-K>b BibTeX()
 no <expr> <C-K>i MakeIndex()
 no <expr> <C-K>v TeXworks()
 no <expr> <C-K>e FwdEvince()
 no <expr> <C-K>a AdobeReader()
----

>
|COLOR(#FFF):BGCOLOR(#070):CENTER:~ノーマルモード|COLOR(#FFF):BGCOLOR(#070):CENTER:~機能|
|<Ctrl-K> f|pdfpLaTeX (platex + dvipdfmx) を実行|
|<Ctrl-K> b|pBibTeX を実行|
|<Ctrl-K> i|Mendex を実行|
|<Ctrl-K> v|TeXworks で PDF ファイルを開く|
|<Ctrl-K> e|Evince で PDF ファイルを開いて forward search を実行|
|<Ctrl-K> a|Adobe Reader で PDF ファイルを開く|
<

**その他のプラグイン [#g8a1b1b6]
-[[tex.vim>Vim/tex.vim]]
-[[VimTeX]]
-[[quickrun]]
-[[neocomplete &amp; neosnippet>neocomplete]]
-[[UltiSnips:https://github.com/SirVer/ultisnips]]
-[[YouCompleteMe:https://github.com/Valloric/YouCompleteMe]]
-[[Vim-LaTeX]]
-[[Automatic LaTeX Plugin for Vim (ATP)>ATP]]
-[[neocomplcache]]
-[[latex-support.vim : LaTeX-IDE for Vim/gVim :https://www.vim.org/scripts/script.php?script_id=4405]]
-[[vim-latex-live-preview:https://www.vim.org/scripts/script.php?script_id=4524]]
-[[platex-suite:https://github.com/lambdalisue/platex.vim]]
-[[LaTeX Box:http://www.vim.org/scripts/script.php?script_id=3109]]
--[[LaTeX-Box-Team/LaTeX-Box - GitHub:https://github.com/LaTeX-Box-Team/LaTeX-Box]]
--[[vim-scripts/LaTeX-Box - GitHub:https://github.com/vim-scripts/LaTeX-Box]]
--[[Latexmkとvim, vim-boxの設定:http://d.hatena.ne.jp/wal-neko/20101119/1290158352]]
-[[auctex.vim:http://www.math.rochester.edu/people/faculty/cmlr/Latex/]]
-[[TeX 9 : A semi-automatic LaTeX ftplugin with lots of firepower!:https://www.vim.org/scripts/script.php?script_id=3508]]
--[[vim-scripts/TeX-9 · GitHub:https://github.com/vim-scripts/TeX-9]]
-[[auctex.vim:https://www.vim.org/scripts/script.php?script_id=162]]
--[[vim-scripts/auctex.vim - GitHub:https://github.com/vim-scripts/auctex.vim]]
-[[tex.vim : Indent file for TeX:http://www.vim.org/scripts/script.php?script_id=218]]
-[[tex.vim : Indent file for TeX:https://www.vim.org/scripts/script.php?script_id=218]]
--[[vim-scripts/tex.vim--Tanzler - GitHub:https://github.com/vim-scripts/tex.vim--Tanzler]]
-[[vim-latex-omnifunc:https://github.com/igrep/vim-latex-omnifunc]]
-[[vim-latex-live-preview:https://github.com/xuhdev/vim-latex-live-preview]]
-[[Whizzy4Vim (WhizzyTeX for Vim):http://www.pakunet.jp/whizzy4vim]]
-[[unite-bibtex:https://github.com/termoshtt/unite-bibtex]]
-[[CygwinでvimでTeXのコンパイル:http://d.hatena.ne.jp/interferobserver/20130815/1376517041]]
-[[瞬間没入感:http://kwakita.wordpress.com/2013/03/22/immersion/]]
-[[vim 快適な論文執筆環境の整備 -その1-:http://kuni255.blogspot.jp/2011/12/vim-1.html]]
-[[vim 快適な論文執筆環境の整備 -その2-:http://kuni255.blogspot.jp/2011/12/vim-2.html]]
-[[vim 快適な論文執筆環境の整備 -その3-:http://kuni255.blogspot.jp/2011/12/vim-3.html]]
-[[VIMで日本語文章中の半角「,」を全角「,」に変える方法:http://ututel.blog121.fc2.com/blog-date-20130128.html]]
-[[unite.vimとunite-outlineでlatexファイルの編集が楽になった:http://hinagishi.hateblo.jp/entry/2011/11/18/135701]]
-[[Vimで保存時に自動的にTeXをコンパイル (適当編):http://blomott.mobi/rubyneko/entry%2CsCKhEg6WPUiQnldaTG1j9w%2C%2C%2C%2C.html]]
-[[ファイルの変更を監視してmake:http://d.hatena.ne.jp/hakobe932/20081221/1229874843]]
-[[TexのMakefileとvimの設定:http://bkc.g.hatena.ne.jp/hakobe932/20081211/1228975757]]
-[[ftpluginのtex.vim:http://blog.mountrice.com/2009/10/tex-for-snow-leopard.html]]
-[[Vim/TeXShop integration:http://reference-man.blogspot.com/2009/01/vimtexshop-integration.html]]
-[[zencoding-vim:https://github.com/mattn/zencoding-vim]]
--[[[TeX]記事一覧 - blob glob:http://d.hatena.ne.jp/cobodo/archive?word=*%5bTeX%5d]]
---[[zen-codingっぽくTeX(etc.):http://d.hatena.ne.jp/cobodo/20100416/1271408225]]
-[[snipMate - TextMate-style snippets for Vim:https://github.com/msanders/snipmate.vim]]
-[[snippetsEmu - An attempt to emulate TextMate's snippet expansion:http://www.vim.org/scripts/script.php?script_id=1318]]
-[[snippetsEmu - An attempt to emulate TextMate's snippet expansion:https://www.vim.org/scripts/script.php?script_id=1318]]
--[[TeXの図や表をsnippetsEmu.vimで簡単に入力出来るようにする:http://vim.g.hatena.ne.jp/y_yanbe/20080926]]
-[[texファイルの更新を見て自動でコンパイルしてpdf開く:http://d.hatena.ne.jp/soh335/20111021/1319133018]]
-[[texのerrorとかwarningとかの監視:http://d.hatena.ne.jp/soh335/20111223/1324610999]]
--[[App::watcher:http://search.cpan.org/search?query=App%3A%3Awatcher]]
--[[watchr:https://github.com/mynyml/watchr]]
-[[Vim - ConTeXt wiki:http://sandbox.contextgarden.net/Vim]]
-[[tex_autoclose.vim : TeX / LaTeX ftplugin to automatically close environments >http://www.vim.org/scripts/script.php?script_id=920]]
-[[text editors &laquo; PhilTeX:http://www.charlietanksley.net/philtex/category/text-editors/]]
--[[Vim for LaTeX, part 1:http://www.charlietanksley.net/philtex/vim-for-latex-part-1/]]
--[[Vim for LaTeX, part 2:http://www.charlietanksley.net/philtex/vim-for-latex-part-2/]]
--[[Vim for LaTeX, part 3:http://www.charlietanksley.net/philtex/vim-for-latex-part-3/]]
--[[Vim for LaTeX, part 4:http://www.charlietanksley.net/philtex/vim-for-latex-part-4/]]
-[[vim-live-latex-preview (LaTeX in (g)Vim with live update-as-you-type PDF preview &laquo; PhilTeX):http://www.charlietanksley.net/philtex/vim-live-latex-preview/]]
-[[tex_autoclose.vim : TeX / LaTeX ftplugin to automatically close environments >https://www.vim.org/scripts/script.php?script_id=920]]
-[[Writing LaTeX files with GVim &laquo; A blog about LaTeX, Linux and FreeBSD:http://alexkrispin.wordpress.com/2010/10/07/writing-latex-files-with-gvim/]]
-[[vimのlatexの書き方 、や。の扱い · Issue #532 · vim-jp/issues · GitHub:https://github.com/vim-jp/issues/issues/532]]
-[[【Vim】Conceal機能ってぶっちゃけ見にくいと思う:http://qiita.com/xeno1991/items/8d1c8f38595337bab7c8]]

*SumatraPDF との連携 [#tf5a143c]

**forward search [#j2d22939]

SumatraPDF v1.9.4622 以上の場合はコマンドラインから forward search が可能です.
SumatraPDF はコマンドラインから forward search が可能です.

詳しくは,[[tex.vim>#y0b061e7]] または [[Vim-LaTeX]][[#SumatraPDF との連携 (forward search)>Vim-LaTeX#e0090c3d]] を参照してください.
詳しくは,[[tex.vim>Vim/tex.vim]], [[VimTeX]], [[Vim-LaTeX]] を参照してください.

**inverse search [#b8f7bf28]

inverse search は SumatraPDF の [設定(S)]-[オプション(O)...]-[逆順検索コマンドラインの設定] に
***Vim-LaTeX (LaTeX-Suite) の場合 [#l03f0c9a]

 C:\vim73-kaoriya-win32\gvim.exe -n --remote-silent +%l "%f"
[[Vim-LaTeX]] を参照.~

です.
***tex.vim, VimTeX, LaTeX Box, quickrun の場合 [#b099e4df]

[[Vim-LaTeX]] で SumatraPDF の inverse search をする場合は,これとは異なる記述が必要です.
tex.vim, VimTeX, LaTeX Box, quickrun の場合 inverse search は SumatraPDF の [☰]-[設定(S)]-[オプション(O)...] の逆順検索コマンドラインの設定に~

詳細は,[[Vim-LaTeX]][[#SumatraPDF との連携 (inverse search)>Vim-LaTeX#nefa91ff]] を参照してください.
 "C:\vim\gvim.exe" -n --remote-silent +%l "%f"

*dviout との連携 (非推奨) [#yb1d17aa]
です.~
設定ファイルから SumatraPDF の -inverse-search コマンドラインオプションで指定することもできます.~

[[dviout#forward and inverse search>dviout#ycc841a2]] を参照.
*Evince との連携 [#p78ad52b]

**forward search [#i0a5c1b0]
**forward and inverse search [#p2367ca6]

forward search については [[Vim-LaTeX]][[dviout との連携#forward search>Vim-LaTeX#g7a208c2]] を参照してください.
[[tex.vim>Vim#y0b061e7]] を参照してください.

**inverse search [#f8dee8e5]
-http://blog.wuzzeb.org/posts/2013-05-11-vim-latex-forward-search.html

inverse search は dviout の [Option]-[Setup Parameters...]-[Common]-[src:] に

 C:\vim73-kaoriya-win32\gvim.exe^s -n --remote-silent +%d "%s"

です.

*Evince との連携 (forward and inverse search) [#p78ad52b]

[[tex.vim>Vim#y0b061e7]] または [[Vim-LaTeX]][[#Evince との連携 (forward and inverse search)>Vim-LaTeX#j6ff1448]] を参照してください.

*pxdvi との連携 (forward and inverse search) (非推奨) [#z967afdc]

[[Vim-LaTeX]][[#pxdvi との連携 (forward and inverse search)>Vim-LaTeX#e36989d2]] を参照してください.

*使い方 [#j3d4339e]
-[[MBA-HACK: vim:http://mba-hack.blogspot.jp/search/label/vim]]
--[[Vimの使い方まとめ:http://mba-hack.blogspot.jp/2013/02/vim.html]]
-http://archiva.jp/web/tool/vim_basic.html

**折りたたみ [#ff31000b]

Vim の一般的な折りたたみの操作に関しては [[Vim-users.jp - Hack #178: テキストを折り畳む &#8211; 操作編:http://vim-users.jp/2010/10/hack178/]] を参照してください.

>
|COLOR(#FFF):BGCOLOR(#070):CENTER:~メニュー [ツール(T)]|COLOR(#FFF):BGCOLOR(#070):CENTER:~ノーマルモード|COLOR(#FFF):BGCOLOR(#070):CENTER:~機能|
|折畳み(F) -> 有効/無効切替(E)|zi|折りたたみを有効  ←→ 無効|
||zo|カーソル位置の折りたたみを開く|
||zO|カーソル位置の折りたたみを再帰的に開く|
||zc|カーソル位置の折りたたみを閉じる|
||zC|カーソル位置の折りたたみを再帰的に閉じる|
||za|カーソル位置の折りたたみを開く ←→ 閉じる|
||zA|カーソル位置の折りたたみを再帰的に開く ←→ 閉じる|
|折畳み(F) -> 折畳みを開く(P)|zr|折りたたみを開く|
|折畳み(F) -> 全折畳みを開く(O)|zR|全ての折りたたみを開く|
|折畳み(F) -> 折畳みを閉じる(L)|zm|折りたたみを閉じる|
|折畳み(F) -> 全折畳みを閉じる(C)|zM|全ての折りたたみを閉じる|
<

*Vim スクリプトの作成 [#q825b71f]
-[[Vim エディターのスクリプトの作成: 第 1 回 変数、値、式>http://www.ibm.com/developerworks/jp/linux/library/l-vim-script-1/]]
-[[Vim エディターのスクリプトの作成: 第 2 回 ユーザー定義関数>http://www.ibm.com/developerworks/jp/linux/library/l-vim-script-2/]]
-[[Vim エディターのスクリプトの作成: 第 3 回 組み込みリスト>http://www.ibm.com/developerworks/jp/linux/library/l-vim-script-3/]]
-[[Vim エディターのスクリプトの作成: 第 4 回 辞書>http://www.ibm.com/developerworks/jp/linux/library/l-vim-script-4/]]
-[[Vim エディターのスクリプトの作成: 第 5 回 イベント駆動型のスクリプト作成と自動化>http://www.ibm.com/developerworks/jp/linux/library/l-vim-script-5/]]
-[[Vimスクリプト基礎文法最速マスター - 永遠に未完成:http://d.hatena.ne.jp/thinca/20100201/1265009821]]

*設定に関するリンク [#b7ef8622]
-[[Vimに関する新着投稿 - Qiita [キータ]:http://qiita.com/tags/Vim]]
-[[Vimを最強のPython開発環境にする2:http://lambdalisue.hatenablog.com/entry/2013/06/23/071344]]
-[[SanRin舎 &raquo; vi/Vim:http://sanrinsha.lolipop.jp/blog/2011/04/vi%E3%82%A8%E3%83%87%E3%82%A3%E3%82%BF.html]]
-[[vim でシェルコマンドを実行した際の Press ENTER or type command to continue を非表示に:http://d.hatena.ne.jp/koyudoon/20120131/1327959087]]
-[[Vimのメモ:http://ogawa.s18.xrea.com/fswiki/wiki.cgi?page=Vim%A4%CE%A5%E1%A5%E2]]

*チュートリアル [#d82a6a51]
-[[Interactive Vim tutorial:http://www.openvim.com/tutorial.html]]