tmux-plugins / tmux-open

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

Add an @open-pipe option #57

Closed knu closed 11 months ago

knu commented 11 months 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 11 months 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.