diff --git a/BREAKING_CHANGES.txt b/BREAKING_CHANGES.txt index 79c916bc6..3bdc5fae9 100644 --- a/BREAKING_CHANGES.txt +++ b/BREAKING_CHANGES.txt @@ -7,6 +7,7 @@ and when the change was applied given the delay between changes being submitted and the time they were reviewed and merged. --- +* 2026-08-30 Tmux shell commands are now considered UNIX utilities and need to be enabled with the user.unix_utilities tag. * 2026-08-23 Remove `split` and `update` from the Python function vocabulary. These are methods, not built-in Python functions, and should now be invoked with the method voice command instead (e.g. "dot split" instead of "funk split"). * 2026-08-23 Removed deprecated Jetbrains command `action` in favour of the `please` command. * 2026-08-10 Change tmux split commands to match the orientation conventions we use for other applications such as VS Code and Obsidian. (PR #2290) diff --git a/apps/tmux/tmux.talon b/apps/tmux/tmux.talon index 9d7deacd8..807607195 100644 --- a/apps/tmux/tmux.talon +++ b/apps/tmux/tmux.talon @@ -1,6 +1,8 @@ app: tmux - +# This file contains tmux commands that only make sense within a running tmux session. + tag(): user.splits tag(): user.tabs @@ -19,3 +21,25 @@ tag(): user.tabs go split : user.tmux_keybind(arrow_key) #Say a number after this command to switch to pane go split: user.tmux_execute_command("display-panes -d 0") + +# Session management +mux sessions: user.tmux_keybind("s") +mux name session: user.tmux_keybind("$") + +# Window management +mux new window: user.tmux_keybind("c") +mux window : user.tmux_keybind("{number}") +mux previous window: user.tmux_keybind("p") +mux next window: user.tmux_keybind("n") +mux rename window: user.tmux_keybind(",") +mux close window: user.tmux_keybind("&") + +# Pane management +mux split horizontal: user.tmux_keybind("\"") +mux split vertical: user.tmux_keybind("%") +mux next pane: user.tmux_keybind("o") +mux move : user.tmux_keybind(arrow_key) +mux close pane: user.tmux_keybind("x") + +# Say a number right after this command, to switch to pane +mux pane numbers: user.tmux_keybind("q") diff --git a/apps/tmux/tmux_commands.talon b/apps/tmux/tmux_commands.talon deleted file mode 100644 index 95f6f987a..000000000 --- a/apps/tmux/tmux_commands.talon +++ /dev/null @@ -1,28 +0,0 @@ -tag: user.tmux -- - -mux: "tmux " - -# Session management -mux new session: insert("tmux new ") -mux sessions: user.tmux_keybind("s") -mux name session: user.tmux_keybind("$") -mux kill session: insert("tmux kill-session -t ") - -# Window management -mux new window: user.tmux_keybind("c") -mux window : user.tmux_keybind("{number}") -mux previous window: user.tmux_keybind("p") -mux next window: user.tmux_keybind("n") -mux rename window: user.tmux_keybind(",") -mux close window: user.tmux_keybind("&") - -# Pane management -mux split horizontal: user.tmux_keybind("\"") -mux split vertical: user.tmux_keybind("%") -mux next pane: user.tmux_keybind("o") -mux move : user.tmux_keybind(arrow_key) -mux close pane: user.tmux_keybind("x") - -# Say a number right after this command, to switch to pane -mux pane numbers: user.tmux_keybind("q") diff --git a/tags/terminal/unix_utilities.talon b/tags/terminal/unix_utilities.talon index 0ddf9550d..e74000252 100644 --- a/tags/terminal/unix_utilities.talon +++ b/tags/terminal/unix_utilities.talon @@ -2,3 +2,8 @@ tag: user.unix_utilities - core {user.unix_utility}: "{unix_utility} " + +# Tmux commands that are typed into the shell. +mux: "tmux " +mux new session: insert("tmux new ") +mux kill session: insert("tmux kill-session -t ")