mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-03 03:37:36 +00:00
wip: pre-split snapshot
This commit is contained in:
1 parent
b4f74342ff
commit
ab29365a3d
21 files changed
+321
-65
No files matched your search
@@ -197,7 +197,8 @@ set -g @plugin 'eduwass/tmux-palette'
|
||||
# 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 bottom split. prefix + t (Ghostty ctrl+shift+p / +space).
|
||||
# one-offs in a bottom split, dev servers / compose up in a background
|
||||
# <session>:<task> session popup. prefix + t (Ghostty ctrl+shift+p / +space).
|
||||
bind -N "Project tasks (pj)" t run-shell "~/.config/tmux/plugins/tmux-palette/bin/tmux-palette.sh tasks"
|
||||
|
||||
# Direct launchers, the kitty ctrl+shift chords (Ghostty sends prefix + key).
|
||||
@@ -205,7 +206,11 @@ bind -N "Project tasks (pj)" t run-shell "~/.config/tmux/plugins/tmux-palette/bi
|
||||
bind -N "Yazi in a new window" y new-window -c "#{pane_current_path}" "exec yazi"
|
||||
bind -N "Neovim in a new window" e new-window -c "#{pane_current_path}" "exec nvim"
|
||||
bind -N "Lazygit popup" g display-popup -E -w 90% -h 90% -d "#{pane_current_path}" lazygit
|
||||
bind -N "omp in a right split (33%)" a split-window -h -f -l 33% -c "#{pane_current_path}" "exec omp"
|
||||
# omp in a background session <session>:omp shown in a popup (pj-palette --bg,
|
||||
# listed under Running in the tasks palette). Inside any such popup, prefix + a
|
||||
# hides it instead, so ctrl+shift+a toggles.
|
||||
bind -N "omp popup (toggle)" a if -F "#{@pj_task}" detach-client \
|
||||
'run-shell -b "~/.local/bin/pj-palette --bg #{q:session_name}:omp #{q:pane_current_path} omp"'
|
||||
|
||||
# sessionx: fuzzy session switcher/creator on prefix + o (Ghostty
|
||||
# ctrl+shift+o). A query with no match goes to zoxide; uses fzf --tmux.
|
||||
|
||||
Reference in new issue
Block a user