tmux-plugins / tmux-copycat

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

FR: tmux-copycat (C-a C-u) for url search is not consistent with tmux-urlview #150

Open thiagowfx opened 4 years ago

thiagowfx commented 4 years ago

Consider the following terminal session:

$ echo www.google.com
www.google.com

https://github.com/tmux-plugins/tmux-urlview (triggered with C-a u) will list www.google.com as one of the potential URL matches. Copycat (C-a C-u), however, will not.

Compare that to

$ echo http://www.google.com
http://www.google.com

...where both copycat and urlview will trigger the URL (that includes http://).

I believe it would be a better user experience (speaking for myself, at least) to converge the behavior of both plug-ins to be the same. Ideally, www.google.com (or any other URL without http://, for that matter) should be matched by both plug-ins.