jaredpar/VsVim — Issue #789: Always jump to beginning of match
Author: tkellogg
Created: 2012-02-27 20:58:45+00:00
State: open
Labels: Feature-Request

When doing jumping operations like `%`, the cursor always ends up at the beginning of the matched span. However, in VsVim it ends up at the end of the span. This can be inconvenient if you're used to Vim's behavior.

This is partly due to how VsVim implements `CommonOperations.MoveCaretToMotionResult`, however it's much more complicated than just fixing that one member. For instance, `MotionUtil.MatchingToken` returns a large span between the current `caret.Position` and matching token inclusive. There's probably dozens of other places like that. Due to the breaking nature of the fix, this should probably be targeted for v2.0