On Fri, 13 Apr 2007 08:44:26 -0700 (PDT), OnionKnight <[EMAIL PROTECTED]> wrote:
> No it didn't make a difference. When you put the cursor in normal mode over > a tab character, which spans several characters, the cursor will be > displayed at the end of that area whereas insert mode will put the cursor at > the beginning of it. By default Vim (and vi) has always put the cursor on the end of a character that occupies multiple spaces on the screen. I don't know why this decision was taken, unless it was to make it easier to spot the difference between lines indented with tabs and those indented with spaces, but the cursor has to appear somewhere and it might as well be at the end as anywhere else. You can :set virtualedit=all to allow the cursor to be placed anywhere on the tab, but you need to take care not to damage your tab. If you start inserting in front of the tab then the text goes before the tab and the tab is shifted to the right as you'd expect, but if you insert in the middle of the tab the tab is expanded into spaces before the text is inserted. -- Matthew Winn