Hi,
Sometimes, I have to copy/paste code from a webpage into a local text file. My text editor is Vim. There's one thing that's nagging me. The indenting function doesn't seem to behave like it should. Basically I have these two modes:
Code:
:set autoindent
:set noautoindent
Curiously enough, when I disable auto-indentation, text still keeps indenting automatically. So when I have some shell script with a few if-then-else-fi blocks, I get some basically unusable text going from the upper left to the right bottom of my console.
Anybody knows how to turn this off completely?