Commit 68020150 authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Modified tmux.conf to honour hjkl keys better.

parent 9e1bd7ae
......@@ -2,18 +2,24 @@
set -g terminal-overrides "xterm*:kLFT5=\eOD:kRIT5=\eOC:kUP5=\eOA:kDN5=\eOB:smkx@:rmkx@"
# create (h)orizontal and (v)ertical panes without prefix
bind -n M-h split-window -h
bind -n M-v split-window -v
bind -n C-h split-window -h
bind -n C-v split-window -v
# Resize panes without prefix
bind -n M-j resize-pane -D
bind -n M-k resize-pane -U
bind -n M-l resize-pane -L
bind -n M-\; resize-pane -R
bind -n M-J resize-pane -D
bind -n M-K resize-pane -U
bind -n M-H resize-pane -L
bind -n M-L resize-pane -R
# zoom into pane
bind -n M-f resize-pane -Z
# Use Alt-hjkl without prefix key to switch panes
bind -n M-h select-pane -L
bind -n M-l select-pane -R
bind -n M-k select-pane -U
bind -n M-j select-pane -D
# Use Alt-arrow keys without prefix key to switch panes
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment