tmux-plugins / tmux-open

Tmux key bindings for quick opening of a highlighted file or url

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom hotkey for search in browser

schvabodka-man opened this issue · comments

commented

Are there possibility to setup this? I don't see it in documentation, neither in code in *.tmux file

It's already possible.

Enter copy mode, highlight what you want to search and then hit shift + s.

If you read the README and couldn't find it though the README probably needs to be improved.

commented

I don't want it to be shift+s. I want it to be something else(alt+f for example), that's what i'm speaking about

You can already define custom hotkey.
Actually, you can map every other letter. For instance, for shift + D:
set -g @open-D 'https://www.duckduckgo.com/search?q='
Would be nice to be able to use the alt button though.