aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-01-05 20:28:54 +0300
committereug-vs <eug-vs@keemail.me>2021-01-06 21:28:40 +0300
commit00472662a2e91cb8bd17e132e6c682ae2a60192e (patch)
treea43d3922c47252461a0f009066b57cb3f39b1c1a
parent78ba9eae5a122199d9682707b5ac590a4a627c83 (diff)
downloaddotfiles-vim-i3-tmux-navigator.tar.gz
fix: do not rename tmux windowvim-i3-tmux-navigator
-rw-r--r--.tmux.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/.tmux.conf b/.tmux.conf
index 60602d6..018a5ad 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -23,10 +23,10 @@ bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection c
set-window-option -g mode-keys vi
is_vim='echo "#{pane_current_command}" | grep -iqE "(^|\/)g?(view|n?vim?|vifm)(diff)?$"'
-bind -r left if-shell "$is_vim" "send-keys C-h" "run-shell 'tmux_sys_win_aware_navigation.sh left && tmux rename-window #{pane_current_command}'"
-bind -r down if-shell "$is_vim" "send-keys C-j" "run-shell 'tmux_sys_win_aware_navigation.sh down && tmux rename-window #{pane_current_command}'"
-bind -r up if-shell "$is_vim" "send-keys C-k" "run-shell 'tmux_sys_win_aware_navigation.sh up && tmux rename-window #{pane_current_command}'"
-bind -r right if-shell "$is_vim" "send-keys C-l" "run-shell 'tmux_sys_win_aware_navigation.sh right && tmux rename-window #{pane_current_command}'"
+bind -r left if-shell "$is_vim" "send-keys C-h" "run-shell 'tmux_sys_win_aware_navigation.sh left'"
+bind -r down if-shell "$is_vim" "send-keys C-j" "run-shell 'tmux_sys_win_aware_navigation.sh down'"
+bind -r up if-shell "$is_vim" "send-keys C-k" "run-shell 'tmux_sys_win_aware_navigation.sh up'"
+bind -r right if-shell "$is_vim" "send-keys C-l" "run-shell 'tmux_sys_win_aware_navigation.sh right'"
# Plugins
set -g @plugin 'tmux-plugins/tmux-resurrect'