Skip to content

Instantly share code, notes, and snippets.

@levicook
Created May 16, 2019 03:47
Show Gist options
  • Save levicook/8e3a3b9dfcd28cb34468fb61c723e5e1 to your computer and use it in GitHub Desktop.
Save levicook/8e3a3b9dfcd28cb34468fb61c723e5e1 to your computer and use it in GitHub Desktop.
# Reload the file with Prefix r
bind r source-file ~/.tmux.conf \; display "Reloaded!"
bind | split-window -h # C-a | to create horizontal pane
bind - split-window -v # C-a - to create vertical pane
# moving between panes
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# resize panes - C-a <arrow key>
unbind Up
bind Up resize-pane -U 4
unbind Down
bind Down resize-pane -D 4
unbind Left
bind Left resize-pane -L 10
unbind Right
bind Right resize-pane -R 10
set -g default-terminal "screen-256color"
setw -g mode-keys vi # enable vi keys
set-option -g history-limit 50000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment