some more fixes

This commit is contained in:
Dennis Schoepf 2026-01-10 22:49:30 +01:00
parent 1f2f23a860
commit 805060dd52
2 changed files with 8 additions and 8 deletions

View file

@ -63,15 +63,14 @@
set -l selected (dev_projects | command fzf \
--prompt "Create/switch to session: " \
--header " Ctrl-d: Kill Session " \
--bind "ctrl-d:execute(tmux kill-session -t {2..})++reload(dev_projects)")
--bind "ctrl-d:execute(tmux kill-session -t {1})++reload(dev_projects)")
if test -z "$selected"
return 1
end
set -l session_name (basename $selected)
set -l tmux_runnning (pgrep tmux)
set -l tmux_running (pgrep tmux)
if test -z $TMUX && test -z $tmux_running
tmux new-session -s $session_name -c $selected

View file

@ -35,20 +35,21 @@
}
];
extraConfig = ''
set -g status-position bottom
set -g status-position top
set -g status-style bg=#1d202f,fg=white
set -g status-left ' [#I] #W '
set -g status-right '#[bg=default,fg=magenta]>> #S << #[bg=default,fg=white]#H '
set -g status-left ""
set -g status-right "#[bg=default,fg=magenta]>> #S << #[bg=default,fg=white]#H "
set -g window-status-current-style bg=default,fg=magenta,bold
set-window-option -g window-status-format "[#I] #W#F"
set -g pane-border-style fg=gray
set -g pane-active-border-style fg=magenta
unbind %
bind "|" split-window -h
unbind '"'
bind - split-window -l 30 -v
bind - split-window -l 15 -v
bind r source-file ~/.config/tmux/tmux.conf
bind r source-file "~/.config/tmux/tmux.conf"
bind h select-pane -L
bind j select-pane -D