[iframe width=”100%” height=”340″ src=”http://www.youtube.com/embed/f7BafiLfNyA?hd=1″]
The video is a result of the following tip/fix:
I usually edit a
$VIMRUNTIME/indent. Even when I downloaded scripts that help support the indention built it, it still didn’t work. All I really wanted was for Vim to keep the indention of the previous line. Once I figured it out it solved all my tabbing/indention woes.
First I used…
set autoindent "keeps previous lines indent
… to get my tabs and indention working in Vim. Notice that
copyindent are the key settings that cause Vim to keep the previous line’s indentation.
Then, I disabled the shipped indentation rules that come with Vim…
[sourcecode]filetype indent off[/sourcecode]
This keeps Vim from loading any indenting rules, and now Vim will just follow the previous indention.
I’ve include my