Last active
March 4, 2017 21:54
-
-
Save peabnuts123/9f6943ba04ec49b9c7909da35b75855e to your computer and use it in GitHub Desktop.
TMUX config (based on OSX)
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
# Enable mouse mode (tmux 2.1 and above) | |
set -g mouse on | |
# remap prefix from ctrl+b to alt+z | |
unbind C-b | |
set-option -g prefix M-z | |
bind-key M-z send-prefix | |
# split panes using \ and - | |
bind \ split-window -h -c "#{pane_current_path}" | |
bind - split-window -v -c "#{pane_current_path}" | |
unbind '"' | |
unbind % | |
# reload config file (change file location to your the tmux.conf you want to use) | |
bind r source-file ~/.tmux.conf | |
# switch panes using Alt vim-arrow without prefix | |
bind -n M-h select-pane -L | |
bind -n M-l select-pane -R | |
bind -n M-j select-pane -U | |
bind -n M-k select-pane -D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment