From 3b6334581ad36bb4ca237145b4a88500c36c3531 Mon Sep 17 00:00:00 2001 From: thek4n Date: Fri, 25 Oct 2024 13:20:39 +0300 Subject: [PATCH] tmux change mappings --- TARGETS.sh | 2 +- home/user/.config/tmux/mappings.conf | 6 +++--- .../bin/{tmux_kill_session.sh => tmux_delete_session.sh} | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename home/user/.local/bin/{tmux_kill_session.sh => tmux_delete_session.sh} (100%) diff --git a/TARGETS.sh b/TARGETS.sh index 4a25b62..0c1bee3 100644 --- a/TARGETS.sh +++ b/TARGETS.sh @@ -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_choose_session.sh .local/bin/tmux_kill_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_delete_session.sh" ["bash"]=".config/bash .bashrc .profile %tmux %colors" ["zsh"]="%bash .config/zsh .zshenv .inputrc" ["alacritty"]=".config/alacritty" diff --git a/home/user/.config/tmux/mappings.conf b/home/user/.config/tmux/mappings.conf index d648bf5..ccde031 100644 --- a/home/user/.config/tmux/mappings.conf +++ b/home/user/.config/tmux/mappings.conf @@ -189,6 +189,6 @@ bind -T copy-mode-vi WheelDownPane select-pane \; send-keys -X -N 2 scroll-down # Session managment -bind s display-popup -EE -w 80% -h 80% -T 'Attach session' '~/.local/bin/tmux_attach_session.sh' -bind a 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 'Kill session' '~/.local/bin/tmux_kill_session.sh' \ No newline at end of file +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' \ No newline at end of file diff --git a/home/user/.local/bin/tmux_kill_session.sh b/home/user/.local/bin/tmux_delete_session.sh similarity index 100% rename from home/user/.local/bin/tmux_kill_session.sh rename to home/user/.local/bin/tmux_delete_session.sh