feat(config): add Portop command and reformat tmux actions

This commit is contained in:
Prad Nukala committed 2026-10-16 11:07:43 -04:00
1 parent caf5c66bcd
commit 5c5ae4bf18
1 file changed
+34 -8
+34 -8
View File
@@ -6,7 +6,9 @@
"description": "popup in the pane's directory", "description": "popup in the pane's directory",
"category": "Tools", "category": "Tools",
"aliases": ["lg"], "aliases": ["lg"],
"action": { "tmux": "display-popup -E -w 90% -h 90% -d '#{pane_current_path}' lazygit" } "action": {
"tmux": "display-popup -E -w 90% -h 90% -d '#{pane_current_path}' lazygit"
}
}, },
{ {
"icon": "", "icon": "",
@@ -31,7 +33,19 @@
"description": "popup in the pane's directory", "description": "popup in the pane's directory",
"category": "Tools", "category": "Tools",
"aliases": ["dd"], "aliases": ["dd"],
"action": { "tmux": "display-popup -E -w 90% -h 90% -d '#{pane_current_path}' lazydocker" } "action": {
"tmux": "display-popup -E -w 90% -h 90% -d '#{pane_current_path}' lazydocker"
}
},
{
"icon": "󰙜",
"title": "Portop",
"description": "popup in the pane's directory",
"category": "Tools",
"aliases": ["pp"],
"action": {
"tmux": "display-popup -E -w 90% -h 90% -d '#{pane_current_path}' portop"
}
}, },
{ {
"icon": "", "icon": "",
@@ -47,7 +61,9 @@
"description": "tv channel picker in a new window", "description": "tv channel picker in a new window",
"category": "Tools", "category": "Tools",
"aliases": ["tv"], "aliases": ["tv"],
"action": { "tmux": "new-window -c '#{pane_current_path}' 'exec tv channels'" } "action": {
"tmux": "new-window -c '#{pane_current_path}' 'exec tv channels'"
}
}, },
{ {
"icon": "", "icon": "",
@@ -63,7 +79,9 @@
"description": "nvim to the left, 60%", "description": "nvim to the left, 60%",
"category": "Tools", "category": "Tools",
"aliases": ["nv"], "aliases": ["nv"],
"action": { "tmux": "split-window -h -b -l 60% -c '#{pane_current_path}' 'exec nvim'" } "action": {
"tmux": "split-window -h -b -l 60% -c '#{pane_current_path}' 'exec nvim'"
}
}, },
{ {
"icon": "", "icon": "",
@@ -79,7 +97,9 @@
"description": "atuin-pick in a split below", "description": "atuin-pick in a split below",
"category": "Tools", "category": "Tools",
"aliases": ["hist"], "aliases": ["hist"],
"action": { "tmux": "split-window -v -l 25% -c '#{pane_current_path}' 'exec atuin-pick'" } "action": {
"tmux": "split-window -v -l 25% -c '#{pane_current_path}' 'exec atuin-pick'"
}
}, },
{ {
"icon": "", "icon": "",
@@ -96,20 +116,26 @@
"description": "fuzzy switch, create, rename, kill", "description": "fuzzy switch, create, rename, kill",
"category": "Sessions", "category": "Sessions",
"shortcut": "Ctrl+Shift+O", "shortcut": "Ctrl+Shift+O",
"action": { "tmux": "run-shell '~/.config/tmux/plugins/tmux-sessionx/scripts/sessionx.sh'" } "action": {
"tmux": "run-shell '~/.config/tmux/plugins/tmux-sessionx/scripts/sessionx.sh'"
}
}, },
{ {
"icon": "", "icon": "",
"title": "Save Sessions", "title": "Save Sessions",
"description": "tmux-resurrect snapshot now", "description": "tmux-resurrect snapshot now",
"category": "Sessions", "category": "Sessions",
"action": { "tmux": "run-shell '~/.config/tmux/plugins/tmux-resurrect/scripts/save.sh'" } "action": {
"tmux": "run-shell '~/.config/tmux/plugins/tmux-resurrect/scripts/save.sh'"
}
}, },
{ {
"icon": "", "icon": "",
"title": "Restore Sessions", "title": "Restore Sessions",
"description": "tmux-resurrect: last snapshot", "description": "tmux-resurrect: last snapshot",
"category": "Sessions", "category": "Sessions",
"action": { "tmux": "run-shell '~/.config/tmux/plugins/tmux-resurrect/scripts/restore.sh'" } "action": {
"tmux": "run-shell '~/.config/tmux/plugins/tmux-resurrect/scripts/restore.sh'"
}
} }
] ]