I’m (attempting) to move from textmate to vim [macvim to be exact] as my primary editor. I have already installed snipmate – wondering if there are other plugins you would suggest I install?
In particular I seem to be having a lot of trouble with indenting (<< seems to really do some very strange/unpredictable things), and I can’t seem to find a solution for this – are there plugins I need for this to work properly?
Thanks!
For source code,
In a nutshell, in normal mode inside a block you wish to work with:
=a{to re-indent a block.=a}and=aBwork as well.=2a{to re-indent this block and its outer block.=%will re-indent up to the matching brace.>a{to increase the indent of this block.<a{to decrease the indent of this block..repeats the last command, so<a{.decreases the indent of this block twice.Make sure you have
filetypeset so Vim recognizes the filetype. Indenting is a function of the file type, after all.For text,