Skip to content

Instantly share code, notes, and snippets.

@charlieparkes
Last active September 30, 2017 01:12
Show Gist options
  • Save charlieparkes/31eb5cf7b584677158a4035a6a57e584 to your computer and use it in GitHub Desktop.
Save charlieparkes/31eb5cf7b584677158a4035a6a57e584 to your computer and use it in GitHub Desktop.
tmux #config #tmux
#remap prefix from Ctrl-b to Ctrl-a
unbind C-b
set-option -g prefix C-a
bind a send-prefix
# rebind split commands
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# Enable mouse control (clickable windows, panes, resizable panes)
#set -g mouse-select-window on
#set -g mouse-select-pane on
#set -g mouse-resize-pane on
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
# navigate and swap tabs
bind -n S-left prev
bind -n S-right next
# colors
set -g status-bg colour25
setw -g window-status-current-bg colour35
set -g status-fg black
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment