Files
dotfiles/dot_config/tmux-palette/commands.json
T

57 lines
1.7 KiB
JSON

[
{
"icon": "",
"title": "Lazygit",
"description": "popup in the pane's directory",
"category": "Tools",
"aliases": ["lg"],
"action": { "tmux": "display-popup -E -w 90% -h 90% -d '#{pane_current_path}' lazygit" }
},
{
"icon": "",
"title": "Yazi",
"description": "new window in the pane's directory",
"category": "Tools",
"aliases": ["fm"],
"action": { "tmux": "new-window -c '#{pane_current_path}' 'exec yazi'" }
},
{
"icon": "",
"title": "Neovim Split",
"description": "nvim to the right, 50/50",
"category": "Tools",
"aliases": ["nv"],
"action": { "tmux": "split-window -h -l 50% -c '#{pane_current_path}' 'exec nvim'" }
},
{
"icon": "",
"title": "Shell History (atuin)",
"description": "atuin-pick in a split below",
"category": "Tools",
"aliases": ["hist"],
"action": { "tmux": "split-window -v -l 25% -c '#{pane_current_path}' 'exec atuin-pick'" }
},
{
"icon": "󱂬",
"title": "Sessions (sessionx)",
"description": "fuzzy switch, create, rename, kill",
"category": "Sessions",
"shortcut": "Ctrl+Shift+O",
"action": { "tmux": "run-shell '~/.config/tmux/plugins/tmux-sessionx/scripts/sessionx.sh'" }
},
{
"icon": "",
"title": "Save Sessions",
"description": "tmux-resurrect snapshot now",
"category": "Sessions",
"action": { "tmux": "run-shell '~/.config/tmux/plugins/tmux-resurrect/scripts/save.sh'" }
},
{
"icon": "",
"title": "Restore Sessions",
"description": "tmux-resurrect: last snapshot",
"category": "Sessions",
"action": { "tmux": "run-shell '~/.config/tmux/plugins/tmux-resurrect/scripts/restore.sh'" }
}
]