Vim
Wonderful editor. I use it for LaTeX writing and compiling (on both windows and linux), GnuPlot, datafile editing and manipulation, etc. etc.
Tips and Tricks
Search and replace in all buffers i.e. all open files. Veeeery useful feature. Found it at http://www.saminverso.com/2007/05/09/search-and-replace-in-all-buffers/ where further info on the specifics can be found. Thanks.
:bufdo %s/searchfor/replacewith/ge | updateVIM-LaTeX on Linux
Installing vim-latex on linux howto:
mkdir ~/.vim cd ~/.vim tar xzf latexSuite20060325.tar.gzAdd the following lines to your ~/.vimrc vim configuration file:
filetype plugin on set grepprg=gre\ -nH\ $* filetype indent onInstall documentation by opening vim and type:
:helptags ~/.vim/docand you're ready to go. Check documentation on the vim-latex homepage (http://vim-latex.sourceforge.net/) on how to use it. Or just from within vim type:
:help latex-suite # or :help latex-suite-quickstart # or for the latex2e documentation type :help latexhelpVIM-LaTeX on Windows XP
Installing vim-latex on windows xp howto:
- Unzip http://vim-latex.sourceforge.net/download/latexSuite20060325.zip
- Move it to your homefolder - in my case it's: C:\Document and Settings\myusername
- Rename the folder from latexSuite20060325 to vimfiles
Add the following lines to your ~/.vimrc vim configuration file. If you can't or do not know how to create this file you can simply from within vim type:
:e ~/.vimrcThen add the following to the .vimrc:
filetype plugin on set shellslash set grepprg=gre\ -nH\ $* filetype indent onAnd finally write the file from within vim:
:wInstall documentation by opening vim and type:
:helptags ~/vimfiles/docand you're ready to go. Check documentation on the vim-latex homepage (http://vim-latex.sourceforge.net/) on how to use it. Or just from within vim type:
:help latex-suite # or :help latex-suite-quickstart # or for the latex2e documentation type :help latexhelpVarious Links
The vim homepage: http://www.vim.org
An excellent book on vim (572 pages): ftp://ftp.vim.org/pub/vim/doc/book/vimbook-OPL.pdf
VIM