feat(config): add project tasks palette with keybinding

This commit is contained in:
Prad Nukala committed 2026-10-08 11:46:49 -04:00
1 parent 1a244b5d9b
commit 74d4a37d80
4 files changed
+20

No files matched your search

+2
View File
@@ -42,6 +42,8 @@ keybind = shift+enter=text:\n
# command palette: ctrl+space is tmux's root-table C-Space (tmux-palette);
# sent explicitly as NUL so no keyboard-protocol mode can turn it into a CSI
keybind = ctrl+space=text:\x00
# project tasks palette (pj): tmux prefix t
keybind = ctrl+shift+space=text:\x02t
# tabs → tmux windows
keybind = ctrl+shift+t=text:\x02c
+9
View File
@@ -31,6 +31,15 @@
"aliases": ["hist"],
"action": { "tmux": "split-window -v -l 25% -c '#{pane_current_path}' 'exec atuin-pick'" }
},
{
"icon": "",
"title": "Project Tasks",
"description": "pj: install, dev, make, uv, scripts",
"category": "Tools",
"shortcut": "Ctrl+Shift+Space",
"aliases": ["pj", "run"],
"action": { "palette": "tasks" }
},
{
"icon": "󱂬",
"title": "Sessions (sessionx)",
@@ -0,0 +1,6 @@
{
"title": "Project Tasks",
"command": "~/.local/bin/pj-palette",
"grouped": true,
"emptyText": "No tasks in this project"
}
+3
View File
@@ -191,6 +191,9 @@ set -g @plugin 'eduwass/tmux-palette'
# bun). User config (commands ported from kitty, cyberdream theme, Ghostty
# shortcut labels) lives in ~/.config/tmux-palette/.
set -g @palette-key 'C-Space'
# pj's task runner as a palette (pj-palette): quick actions + project tasks,
# each run in a new window. prefix + t (Ghostty ctrl+shift+space).
bind -N "Project tasks (pj)" t run-shell "~/.config/tmux/plugins/tmux-palette/bin/tmux-palette.sh tasks"
# sessionx: fuzzy session switcher/creator on prefix + o (Ghostty
# ctrl+shift+o). A query with no match goes to zoxide; uses fzf --tmux.