1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
# 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 herdr plugin link.
# 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"]
|