Created
April 18, 2018 09:32
-
-
Save banhill/198a006eceb1ef72e75201c1b5eeed4a to your computer and use it in GitHub Desktop.
basic tmux conf
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
# remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# split panes using | and - | |
bind | split-window -h | |
bind - split-window -v | |
unbind '"' | |
unbind % | |
# shortcut to synchronize-panes | |
bind s set-window-option synchronize-panes | |
# reload config file (change file location to your the tmux.conf you want to use) | |
bind r source-file ~/.tmux.conf | |
# vim-like navigation | |
bind j select-pane -L | |
bind k select-pane -D | |
bind i select-pane -U | |
bind l select-pane -R |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment