tmux change mappings for kill sessions
This commit is contained in:
parent
7a76792eac
commit
a6b8205df1
@ -1,6 +1,6 @@
|
||||
declare -r -A TARGETS=(
|
||||
["colors"]=".config/terminal-colors.d"
|
||||
["tmux"]=".config/tmux .tmux .config/systemd/user/tmux.service .local/bin/tmux_start_session.sh .local/bin/tmux_attach_session.sh .local/bin/tmux_delete_session.sh"
|
||||
["tmux"]=".config/tmux .tmux .config/systemd/user/tmux.service .local/bin/tmux_start_session.sh .local/bin/tmux_attach_session.sh .local/bin/tmux_kill_session.sh"
|
||||
["bash"]=".config/bash .bashrc .profile %tmux %colors"
|
||||
["zsh"]="%bash .config/zsh .zshenv .inputrc"
|
||||
["alacritty"]=".config/alacritty"
|
||||
|
||||
@ -62,7 +62,8 @@ bind q confirm-before -p "kill current pane? (y/n)" "kill-pane"
|
||||
bind Q kill-window
|
||||
bind C-q confirm-before -p "kill other windows? (y/n)" "kill-window -a"
|
||||
|
||||
bind D detach
|
||||
bind d detach
|
||||
bind D choose-client -Z
|
||||
bind C-d detach-other
|
||||
|
||||
bind r command-prompt -I '#W' -p "New window name:" "rename-window '%%'"
|
||||
@ -191,4 +192,4 @@ bind -T copy-mode-vi WheelDownPane select-pane \; send-keys -X -N 2 scroll-down
|
||||
# Session managment
|
||||
bind a display-popup -EE -w 80% -h 80% -T 'Attach session' '~/.local/bin/tmux_attach_session.sh'
|
||||
bind s display-popup -EE -w 80% -h 80% -T 'Start session' '~/.local/bin/tmux_start_session.sh'
|
||||
bind d display-popup -EE -w 80% -h 80% -T 'Delete session' '~/.local/bin/tmux_delete_session.sh'
|
||||
bind k display-popup -EE -w 80% -h 80% -T 'Kill session' '~/.local/bin/tmux_kill_session.sh'
|
||||
@ -11,7 +11,7 @@ ctrl-/:toggle-preview,\
|
||||
ctrl-p:preview-up,\
|
||||
ctrl-n:preview-down,\
|
||||
ctrl-u:clear-query,\
|
||||
ctrl-q:toggle+down\
|
||||
ctrl-q:toggle\
|
||||
"
|
||||
|
||||
declare current_session
|
||||
Loading…
x
Reference in New Issue
Block a user