Fix VI-Mode when scrolling trough history
Merge pull request #9 from alexmantel/master

Fix VI-Mode when scrolling trough history.

Also closes #8.