Skip to main content

Drag-and-drop TUI for rearranging tmux panes

Project description

tmux-pane-mover

PyPI Python License Downloads

Drag-and-drop TUI for rearranging tmux panes.

screenshot

Features

  • Swap panes -- drag one pane onto the center of another to swap their contents
  • Split at pane edges -- drop on the edge of a pane to split it left/right/above/below
  • Screen-edge zones -- drag to the screen edge to create a full-width row or full-height column
  • Visual feedback -- highlighted drop zones, drag ghost, and action labels

Installation

pip install tmux-pane-mover

Usage

Run inside a tmux session:

tmux-pane-mover

Key bindings

Key Action
Mouse drag Pick up and drop panes
q Quit
r Reload pane layout

Drop zones

  • Center of a pane -- swap contents (tmux swap-pane)
  • Edge of a pane -- split there (tmux join-pane)
  • Screen edge strip -- outermost column/row split (tmux join-pane -f)

Requirements

  • tmux
  • Python 3.10+

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tmux_pane_mover-0.1.0.tar.gz (138.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tmux_pane_mover-0.1.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file tmux_pane_mover-0.1.0.tar.gz.

File metadata

  • Download URL: tmux_pane_mover-0.1.0.tar.gz
  • Upload date:
  • Size: 138.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for tmux_pane_mover-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f6d032c53dfc79581150058429d163f95bf7edb217e002cfaf147fac53948556
MD5 5546529b335610970b0639930d302bc8
BLAKE2b-256 90ecd628285bc6fd8b9752a832239dfa17da33cc5552cc68ad51a20b6a32d999

See more details on using hashes here.

File details

Details for the file tmux_pane_mover-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tmux_pane_mover-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a5470ab8dc949eb2dbe45369d85257b40a3b2ee0112e08680ab1c28b4b7ef58c
MD5 e9d7092e684973f5c54d66d16d783687
BLAKE2b-256 dc6e0f3842e1ff39ac0d7b60900ee19f6f316f1264f9d9ba0ebc1246bf38cbce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page