tmux-plugins / tmux-open

Tmux key bindings for quick opening of a highlighted file or url
MIT License
643 stars 62 forks source link

Add an @open-pipe option #57

Closed knu closed 1 year ago

knu commented 1 year ago

tmux-open uses the copy-pipe-and-cancel command when opening a file, but the behavior copying the selection and quitting the copy-mode should be optional.

This option allows users to use another variant of pipe commands like pipe-no-clear or pipe-and-cancel instead of copy-pipe-and-cancel.

knu commented 1 year ago

Actually I decided to write my own implementation of a similar plugin from scratch: https://github.com/knu/tmux-open-anything

It supports not only URLs but also file paths including support for the tilde notation, handles shell meta-characters cleanly, has more flexible configuration, and does not depend on bash to work.