tmux-open — Open Files and URLs
Opens files, URLs, and file paths selected in copy mode using the system's default application.
Status on This Server
Not installed. Optional plugin.
Installation
~/.tmux.conf
set -g @plugin 'tmux-plugins/tmux-open'
Then press Ctrl+Space I to install.
Usage
In copy mode, highlight a URL or file path and press o:
- URLs → Opens in default browser
- Files → Opens with system default application (e.g.,
xdg-openon Linux) - File paths with line numbers → Opens in editor at that line
Options
# Open command (default: xdg-open on Linux, open on macOS)
set -g @open-cmd 'firefox'
# Editor for files (default: $EDITOR or vi)
set -g @open-editor 'code'