Created
November 8, 2013 22:08
-
-
Save abh1nav/7378461 to your computer and use it in GitHub Desktop.
Byobu keybindings
This file contains 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
# Shamelessly stolen from https://github.com/chrisjaure/dotfiles/blob/master/.byobu/keybindings.tmux | |
unbind-key -n C-a | |
set -g prefix ^A | |
bind a send-prefix | |
# new split on top (alt+up), left (alt+left), right (alt+right), bottom (alt+down) | |
bind-key -n M-Up split-window -v \; swap-pane -s :. -t :.- \; select-pane -t :.- | |
bind-key -n M-Left split-window -h \; swap-pane -s :. -t :.- \; select-pane -t :.- | |
bind-key -n M-Right split-window -h | |
bind-key -n M-Down split-window -v | |
# Focus on pane click | |
set-option -g mouse-select-pane on | |
set-option -g mouse-select-window on | |
# Scroll your way into copy mode (scrollback buffer) | |
# and select text for copying with the mouse | |
setw -g mode-mouse on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment