some adaptions for fish and tmux setup
This commit is contained in:
parent
cb8363269e
commit
1f317cc34c
2 changed files with 5 additions and 2 deletions
|
|
@ -60,7 +60,7 @@
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
sessionizer = /* fish */ ''
|
sessionizer = /* fish */ ''
|
||||||
set -l selected (dev_projects | fzf --prompt "Create/switch to session: " --header " Ctrl-d: Kill Session " --bind "ctrl-d:execute(tmux kill-session -t basename {})+reload(dev_projects)")
|
set -l selected (dev_projects | fzf --prompt "sessionize >> ")
|
||||||
|
|
||||||
if test -z "$selected"
|
if test -z "$selected"
|
||||||
return 1
|
return 1
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@
|
||||||
set -g window-status-current-style bg=default,fg=magenta,bold
|
set -g window-status-current-style bg=default,fg=magenta,bold
|
||||||
set-window-option -g window-status-format "[#I] #W#F"
|
set-window-option -g window-status-format "[#I] #W#F"
|
||||||
set-window-option -g window-status-current-format "[#I] #W#F"
|
set-window-option -g window-status-current-format "[#I] #W#F"
|
||||||
set -g pane-border-style fg=gray
|
set -g pane-border-style fg=#807c9f
|
||||||
set -g pane-active-border-style fg=magenta
|
set -g pane-active-border-style fg=magenta
|
||||||
|
|
||||||
unbind %
|
unbind %
|
||||||
|
|
@ -67,6 +67,9 @@
|
||||||
unbind s
|
unbind s
|
||||||
bind s display-popup -h 50% -w 80% -E sessionizer
|
bind s display-popup -h 50% -w 80% -E sessionizer
|
||||||
|
|
||||||
|
unbind C-x
|
||||||
|
bind C-x kill-session
|
||||||
|
|
||||||
unbind v
|
unbind v
|
||||||
bind v choose-tree -Zw "join-pane -t '%%'"
|
bind v choose-tree -Zw "join-pane -t '%%'"
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue