Skip to content

Commit

Permalink
Replace ctrl with meta bindings for tmux in README
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanMillerC authored Mar 24, 2020
1 parent 207cc8e commit f3c4b95
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
| grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"

# Edit values if you use custom resize_count variables
bind-key -n C-h if-shell "$is_vim" "send-keys C-h" "resize-pane -L 10"
bind-key -n C-j if-shell "$is_vim" "send-keys C-j" "resize-pane -D 5"
bind-key -n C-k if-shell "$is_vim" "send-keys C-k" "resize-pane -U 5"
bind-key -n C-l if-shell "$is_vim" "send-keys C-l" "resize-pane -R 10"
bind-key -n M-h if-shell "$is_vim" "send-keys M-h" "resize-pane -L 10"
bind-key -n M-j if-shell "$is_vim" "send-keys M-j" "resize-pane -D 5"
bind-key -n M-k if-shell "$is_vim" "send-keys M-k" "resize-pane -U 5"
bind-key -n M-l if-shell "$is_vim" "send-keys M-l" "resize-pane -R 10"

bind-key -T copy-mode-vi M-h resize-pane -L 10
bind-key -T copy-mode-vi M-j resize-pane -D 5
Expand Down

0 comments on commit f3c4b95

Please sign in to comment.