updates fish and tmux config
This commit is contained in:
parent
88e0931762
commit
7f22840563
2 changed files with 4 additions and 4 deletions
|
|
@ -78,7 +78,7 @@
|
||||||
set -l session_name (basename $selected)
|
set -l session_name (basename $selected)
|
||||||
set -l tmux_runnning (pgrep tmux)
|
set -l tmux_runnning (pgrep tmux)
|
||||||
|
|
||||||
if test -z $TMUX and -z @tmux_running
|
if test -z $TMUX && -z @tmux_running
|
||||||
tmux new-session -s $selected_name -c $selected
|
tmux new-session -s $selected_name -c $selected
|
||||||
return 0
|
return 0
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -55,10 +55,10 @@
|
||||||
bind ? list-keys -a
|
bind ? list-keys -a
|
||||||
|
|
||||||
unbind s
|
unbind s
|
||||||
bind s display-popup -h 50% -w 50% -E sessionizer
|
bind-key -r s "display-popup -h 50% -w 50% -E sessionizer"
|
||||||
|
|
||||||
unbind "+"
|
unbind v
|
||||||
bind "+" choose-tree -Zw "join-pane -t '%%'"
|
bind v choose-tree -Zw "join-pane -t '%%'"
|
||||||
|
|
||||||
set -g mode-keys vi
|
set -g mode-keys vi
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue