We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0da0a98 commit 7e95bb0Copy full SHA for 7e95bb0
lua/custom/plugins/tmux.conf
@@ -1,5 +1,24 @@
1
# Smart pane switching with awareness of Vim splits.
2
# See: https://github.com/christoomey/vim-tmux-navigator
3
+set-option -sg escape-time 10
4
+
5
+# vim-like pane resizing
6
+bind -r C-k resize-pane -U
7
+bind -r C-j resize-pane -D
8
+bind -r C-h resize-pane -L
9
+bind -r C-l resize-pane -R
10
11
+# and now unbind keys
12
+unbind Up
13
+unbind Down
14
+unbind Left
15
+unbind Right
16
17
+unbind C-Up
18
+unbind C-Down
19
+unbind C-Left
20
+unbind C-Right
21
22
is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
23
| grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|l?n?vim?x?|fzf)(diff)?$'"
24
bind-key -n 'C-h' if-shell "$is_vim" 'send-keys C-h' 'select-pane -L'
0 commit comments