tmux-jump icon indicating copy to clipboard operation
tmux-jump copied to clipboard

The character input only expects lower case letters

Open 123subhadeep opened this issue 4 years ago • 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

123subhadeep avatar Feb 28 '20 21:02 123subhadeep

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

123subhadeep avatar Feb 29 '20 02:02 123subhadeep

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 ..

ywpkwon avatar Mar 30 '20 04:03 ywpkwon