Wednesday, December 7, 2011

Re: LaTeX-ize vim

> :inoremap <F5> "<home><ESC>dwi\begin{<c-r>w}<cr>
> <cr>0<c-d>\end{<c-r>w}<cr><up><up><end>

And what should this do?
get snipmate and snipmate-snippets or any of the other snippet engines.
Don't reinvent the wheel, please.

Right now I don't understand what "<home><esc> should do. Doesn't make
much sense to me.

If you're wondering how to install those plugins read :h plugin and put
the files into ~/.vim or use any of the existing plugin managers such as
vim-addon-manager, pathogen, vundle. I personally recommend the first
cause I'm the author of it and because it handles dependencies in a poor
way - but it does.

You eventually also want to learn about
- tags (so that you can jump to sections) or plugins such as TToC
- folding

Marc Weber

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: