Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 772 Bytes

File metadata and controls

30 lines (21 loc) · 772 Bytes

tmux-port

A tiny tmux plugin to view listening ports and kill processes — in a centered popup or split panes.

port.mp4

Features

  • 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).

Install via github

git clone git@github.com:fiqryq/port.git #close inside tmux/plugin and hit bind + I for install plugins

Install (TPM)

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'