unblevable / quick-scope

Lightning fast left-right movement in Vim
MIT License
1.42k stars 54 forks source link

Fix to accept "<" #51

Closed aileot closed 4 years ago

aileot commented 4 years ago

nr2char(getchar()) doesn't return "<" correctly.

bradford-smith94 commented 4 years ago

Is < the only special character that needs this fix?

aileot commented 4 years ago

Yes, from my experience. It might be related that we sometimes write <lt> as < in VimScript though both getchar() ==# "\<lt>" and nr2char(getchar() ==# "\<lt>" for < returns 0.

bradford-smith94 commented 4 years ago

Sounds good to me.