summaryrefslogtreecommitdiff
path: root/.config/tmux
diff options
context:
space:
mode:
Diffstat (limited to '.config/tmux')
-rw-r--r--.config/tmux/tmux.conf15
1 files changed, 7 insertions, 8 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
index 55f477c..dc495a9 100644
--- a/.config/tmux/tmux.conf
+++ b/.config/tmux/tmux.conf
@@ -40,10 +40,6 @@ bind C-w killp
bind C-q killw
bind C-p previous-window
bind C-n next-window
-# bind -n C-h select-pane -L
-# bind -n C-j select-pane -D
-# bind -n C-k select-pane -U
-# bind -n C-l select-pane -R
bind -n M-h resize-pane -L 5
bind -n M-j resize-pane -D 5
bind -n M-k resize-pane -U 5
@@ -63,12 +59,15 @@ if-shell -b '[ "$(echo "$tmux_version < 3.0" | bc)" = 1 ]' \
if-shell -b '[ "$(echo "$tmux_version >= 3.0" | bc)" = 1 ]' \
"bind-key -n 'C-\\' if-shell \"$is_vim\" 'send-keys C-\\\\' 'select-pane -l'"
-bind-key -T copy-mode-vi 'C-h' select-pane -L
-bind-key -T copy-mode-vi 'C-j' select-pane -D
-bind-key -T copy-mode-vi 'C-k' select-pane -U
-bind-key -T copy-mode-vi 'C-l' select-pane -R
+bind-key -T copy-mode-vi 'C-H' select-pane -L
+bind-key -T copy-mode-vi 'C-J' select-pane -D
+bind-key -T copy-mode-vi 'C-K' select-pane -U
+bind-key -T copy-mode-vi 'C-L' select-pane -R
bind-key -T copy-mode-vi 'C-\' select-pane -l
+bind C-l send-keys 'C-l'
+bind C-k send-keys 'C-k'
+
# Turn the mouse off
set -g mouse off