Handling vim-mode.

- Fixes #2.