1. Overview:
- Vim is a text-editing program under the command line, Gvim is a graphical version of Vim under Linux, and Macvim is a graphical version of the Mac
- Latex-vim is a plugin for vim when writing latex files
- Skim is a PDF reading software under Mac
2.Install:
- Install Macvim: Install with the Brew install Macvim command, if no brew is indicated, install brew first, or install Xcode in AppStore if the prompt is not installed
- Install skim: Be sure to install the latest version.
- Optional VIM color scheme: solarized.? The vim configuration is also loaded when the Macvim is started, so this color scheme is also loaded. Please follow the official guidelines for installation.
- Optional VIM plug-in management software pathogen (which itself is a plugin for vim): Please follow the official guide to install. After installing pathogen, other plugins are placed in a separate directory in the ~/.vim/bundle/directory, and other plug-in doc Documents You can enter in Macvim: Helptags to build the index.
- Install Latex-vim: Please follow the official guide to install, basically is to download zip and extract to the ~/.vim/directory.
3.Setting up:
- Vim color: Refer to the Official guide, edit the ~/.VIMRC configuration file, add ColorScheme solarized, and other personalization settings.
- Latex-vim: Refer to the Official guide, edit the ~/.VIMRC configuration file, and note the following points:
A. Bug fix: I downloaded the vim-latex-1.8.23-20141116.812-gitd0f31c9 version has a bug called skim, please refer to here to modify. B. Forward/backward search:? The new feature after Livetex release package 2008 is enabled here: Texsync. There used to be a pdfsync, not good to abandon. Make sure the skim is the latest version. Select the Sync page in its Preference menu and preset select Macvim to enable skim support for backward search. command+shift+ mouse click in skim to return to Macvim. Click here to edit the ~/.VIMRC configuration file so that Macvim supports forward search. \ls in Macvim to see the corresponding rows of the skim.
Reference Links:Http://vim-latex.sourceforge.net/index.php?subject=manual&title=Tutorial#tutorial
Http://tex.stackexchange.com/questions/112698/how-to-install-vim-latex
http://sourceforge.net/p/skim-app/wiki/TeX_and_PDF_Synchronization/http://molecularclouds.blogspot.ca/2012/01/ latex-vim-skim.htmlhttp://bbs.ctex.org/forum.php?mod=viewthread&tid=70463http://mactex-wiki.tug.org/wiki/ Index.php?title=synctex#vim_latex.2fskim
Setting up Latex-vim (or latex-suite) plugin within Macvim under Mac OSX Yosemite 2015-1-20 by Congliu