A tiny tmux plugin to view listening ports and kill processes — in a centered popup or split panes.
port.mp4
- Prefix + G toggles a floating popup showing
PORT • PID • COMMAND
. - Kill a process by selecting it (fzf if available; prompt fallback).
- Works on macOS (lsof) and Linux (ss).
git clone git@github.com:fiqryq/port.git #close inside tmux/plugin and hit bind + I for install plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'fiqryq/port'
# Optional:
set -g @port_popup_width 80
set -g @port_popup_height 20
set -g @port_popup_border on # on|off
run '~/.tmux/plugins/tpm/tpm'