schasse/tmux-jump

The character input only expects lower case letters

123subhadeep opened this issue · 2 comments

Let's say I would like to jump to the beginning of the word "Success".
Entering "S" after doing + j doesn't work. The plugin seems to be always expecting lower case characters, even when the word itself starts with capital letter.

It would be better to have that fixed, there are a couple of ways to solve it:

  1. Do case sensitive search, eg: if S is entered only match words starting with S, similarly s only matches words starting with s.
  2. Do smartcase search, eg: S matches only S whereas s matches both s and S

Seems like removing ".downcase" in these two lines should do the job: https://github.com/schasse/tmux-jump/blob/master/scripts/tmux-jump.rb#L136,L138

How about the special characters like .$%^ and so on? Let say there is some path like ./.config/i3/xxx/bbb/ccc.ddd on a screen and I want a quick copy of it. I think I would want to jump to ..