autoindent: getting spaces and no tabs

2011-09-09 Thread John Goche
Hello, I like the autoindent feature which works when I code in javascript. However I don't want any tabs in there, I just want spaces. I don't care that it makes my files fatter, I am picky and want the cursor to move one space at a time, so when I delete indentation the cursor doesn't bounce.

Re: autoindent: getting spaces and no tabs

2011-09-09 Thread Tim Chase
On 09/09/11 13:45, John Goche wrote: Hello, I like the autoindent feature which works when I code in javascript. However I don't want any tabs in there, I just want spaces. I'd check your 'expandtab' setting: :set et? To get the behavior you want, it should be set to 'expandtab' instead

Re: autoindent: getting spaces and no tabs

2011-09-09 Thread Tony Mechelynck
On 09/09/11 20:51, Tim Chase wrote: On 09/09/11 13:45, John Goche wrote: Hello, I like the autoindent feature which works when I code in javascript. However I don't want any tabs in there, I just want spaces. I'd check your 'expandtab' setting: :set et? To get the behavior you want, it