Created
August 6, 2019 06:43
-
-
Save nemes1s/fd99cb906bf0416a022f62af6637a032 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set 'v' for vertical and 'h' for horizontal split | |
bind v split-window -h -c '#{pane_current_path}' | |
bind b split-window -v -c '#{pane_current_path}' | |
# vim-like pane switching | |
bind -r k select-pane -U | |
bind -r j select-pane -D | |
bind -r h select-pane -L | |
bind -r l select-pane -R | |
# vim-like pane resizing | |
bind -r C-k resize-pane -U | |
bind -r C-j resize-pane -D | |
bind -r C-h resize-pane -L | |
bind -r C-l resize-pane -R | |
############################################################################ | |
# Unbindings | |
############################################################################ | |
# remove default binding since replacing | |
unbind % | |
unbind Up | |
unbind Down | |
unbind Left | |
unbind Right | |
unbind C-Up | |
unbind C-Down | |
unbind C-Left | |
unbind C-Right |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment