tmux-plugins / tmux-copycat

A plugin that enhances tmux search
MIT License
1.1k stars 63 forks source link

Can't search for single quotes #65

Open AnAppAMonth opened 9 years ago

AnAppAMonth commented 9 years ago

Even after escaping, searching for single quotes always produces an error. I have tried ', \', '', ''', '\'', '''', nothing works.

bruno- commented 9 years ago

Yep - confirmed, I couldn't make it work either.

It could be the "quoting information" is lost somewhere between tmux command line taking search string and passing it to the copycat script. Maybe see this line where the tmux command-prompt is invoked and then it passes an argument to copycat_mode_start.sh script.

Pull request that fixes this (and also maybe adds a test that reproduces this issue) is very welcome!