takac / vim-hardtime

Plugin to help you stop repeating the basic movement keys
MIT License
826 stars 30 forks source link

Vim-hardtime compatiblity to SnipMate #17

Closed ReneNyffenegger closed 10 years ago

ReneNyffenegger commented 10 years ago

It seems as though vim-hardtime is incompatibel with Snipmate. Snippets that contain for example ${1:var} won't execute correctly if ${1:var} is replaced with a word that starts with j, k, l or h.

takac commented 10 years ago

I've just got around to reproducing the issue. Its an issue with hardtime and select mode, in select mode the visual mapping is still being applied rather than being taken as input. I will have a go at tackling this issue this week.

In the mean time my only suggestion is to switch to Ultisnips as this problem doesn't occur with that plugin.

Thanks for the bug report :+1:

takac commented 10 years ago

I believe the issue has now been fixed, only had to change vnoremap to xnoremap. Let me know if this fixes it and I will close the issue. Thanks.

ReneNyffenegger commented 10 years ago

Yes, that fixed it. Thank you very much!

Let me take this as an occasion to tell you that I really do like HardTime as it helped and helps changing my bad typing habits. I appreciate your efforts.