tmux-plugins / tmux-open

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

Correct bindings for newer tmux versions (2.4+) #21

Closed decayofmind closed 7 years ago

decayofmind commented 7 years ago

Hi!

I changed the binding commands, cause vi-mode and emacs-mode key tables are gone (see https://github.com/tmux/tmux/commit/76d6d3641f271be1756e41494960d96714e7ee58).

And slightly modified stored_engine_vars helper function, so it returns only engines after "-".

docwhat commented 7 years ago

This will break people with tmux <= 2.3 – Instead, copy the tmux_is_at_least function and use it to detect the tmux version.

docwhat commented 7 years ago

Whups. This was fixed in PR #24. Closing.