takac / vim-hardtime

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

Allow a key if it's different from last input key #12

Closed Genki-S closed 10 years ago

Genki-S commented 10 years ago

Hi, I'm a fan of your plugin for months.

I think movements like 'jj' are evil, but those like 'jl' are not evil. 'jl' is more efficient than 'jf{char}' in certain cases. So, I made vim-hardtime allow a key if it's different from previous key.

One catch is that this makes it possible to type 'jljljl...' :(

takac commented 10 years ago

Hi Genki, thanks for the PR. I really like what you have done, however I don't want to break existing users experience so could you add a flag to enable this new behaviour. Once that's done I will merge your PR.

Genki-S commented 10 years ago

Thank you for your feedback, I should have thought of it. I implemented it as an option and added it to the README. Please let me know if something is different from your expectation.

takac commented 10 years ago

Thanks for the update, it all looks good. I will merge it in.

Cheers!

Genki-S commented 10 years ago

Thank you :)