jaredpar/VsVim — Issue #725: Tabs Sometimes Inserted into Wrong Location
Author: boushley
Created: 2012-01-12 18:03:13+00:00
State: open

I've noticed tabs getting inserted in the wrong location from time to time, and I think I finally found a solid repro for this. I'm running VsVim 1.1.1.1 with ReSharper in VS 2010. The solid repro follows:

with a line like the following (_ represents cursor position):

```count = _someThing.Count();```

To ensure that it happens hit ```i``` then enter a space then hit ```esc``` and then ```x``` to remove the space you just entered. This ensures that the cursor is really where we want. Then hit ```I``` (capital i) and then ```tab``` to go to insert at the start of the line and insert a tab. Instead of getting a tab at the start of the line, the tab is inserted at the position that the cursor just jumped away from instead of at the start.

Let me know if you need more information on reproducing this.