When I enabled expandtab
in vim by putting these in .vimrc:
set tw=4
set expandtab
Vim comverted every space typed by me to a newline character.
Like with the above settings whenever I type a new word and hit space
I get a new line.
Example:
What I want to type:
while (x < y):
What I get:
while
(x
<
y):
set
lines? I've never seen or heard anything like this. What version are you using? What platform?