yi-editor/yi — pull request #19 by ethercrow (2012-06-01 10:38:41+00:00)
Title: Sort of fixing behaviour of # in normal vim mode

In real vim, user can jump with # and * as many times as he wants.
In yi, # leaves cursor just after the last character of search term, so that subsequent # and * are not possible.

Example:
```C
foo();
bar();
foo();
```

When jumping from one *foo* to another with #, cursor ends up being on left paren, which is most probably not what user wants.

This commit changes cursor position after # by 1 character to the left, allowing subsequent jumping with # and *.

I'm not familiar enough with codebase to make # behaviour exactly like in vim (placing cursor at the beginning of search term)