# tmux mode: the tmux default prefix bindings herdr has no built-in action # for, built on the herdr CLI and socket. Part of tmuxrdr; the keys themselves # are bound in tmuxrdr/config/config.toml, which also holds the bindings herdr # does have. tmuxrdr/scripts/install links this directory as # ~/.local/share/tmuxrdr/plugin and registers it with tmuxrdr plugin link -- # with tmuxrdr only; stock herdr never sees it. # What neither config nor plugin can do is in tmuxrdr/ROADMAP.md. id = "tmuxrdr.tmux-mode" name = "tmux mode" version = "0.1.0" min_herdr_version = "0.9.3" description = "tmux default prefix bindings herdr lacks: break-pane, swap and rotate by pane order, marks, last window/session, paste-buffer, display-message, select-layout -E" platforms = ["macos", "linux"] # Focus history for `last window` / `last session`. [[events]] on = "tab.focused" command = ["sh", "bin/track-focus"] [[events]] on = "workspace.focused" command = ["sh", "bin/track-focus"] [[actions]] id = "break-pane" title = "break-pane (tmux prefix+!)" command = ["sh", "bin/break-pane"] [[actions]] id = "select-window-0" title = "select-window -t :=0 (tmux prefix+0)" command = ["sh", "bin/select-window", "0"] [[actions]] id = "swap-prev" title = "swap-pane -U (tmux prefix+{)" command = ["sh", "bin/swap-pane", "prev"] [[actions]] id = "swap-next" title = "swap-pane -D (tmux prefix+})" command = ["sh", "bin/swap-pane", "next"] [[actions]] id = "swap-marked" title = "swap-pane with the marked pane" command = ["sh", "bin/swap-pane", "marked"] [[actions]] id = "rotate-up" title = "rotate-window (tmux prefix+C-o)" command = ["sh", "bin/rotate-window", "up"] [[actions]] id = "rotate-down" title = "rotate-window -D (tmux prefix+M-o)" command = ["sh", "bin/rotate-window", "down"] [[actions]] id = "mark" title = "select-pane -m (tmux prefix+m)" command = ["sh", "bin/mark", "toggle"] [[actions]] id = "clear-mark" title = "select-pane -M (tmux prefix+M)" command = ["sh", "bin/mark", "clear"] [[actions]] id = "last-window" title = "last-window (tmux prefix+l)" command = ["sh", "bin/last", "window"] [[actions]] id = "last-session" title = "switch-client -l (tmux prefix+L)" command = ["sh", "bin/last", "session"] [[actions]] id = "paste-buffer" title = "paste-buffer -p (tmux prefix+])" command = ["sh", "bin/paste-buffer"] [[actions]] id = "display-message" title = "display-message (tmux prefix+i)" command = ["sh", "bin/display-message"] [[actions]] id = "spread-layout" title = "select-layout -E (tmux prefix+E)" command = ["sh", "bin/spread-layout"]