Skip to content

Instantly share code, notes, and snippets.

@darkdreamingdan
Created November 11, 2018 01:18
Show Gist options
  • Save darkdreamingdan/8b04a1ee25d7e984f35908a1b9bdf0f7 to your computer and use it in GitHub Desktop.
Save darkdreamingdan/8b04a1ee25d7e984f35908a1b9bdf0f7 to your computer and use it in GitHub Desktop.
My tmux configuration. Enables colours, uses backtick as a prefix (double backtick to write an actual backtick). Ctrl+d and Ctrl+e for split panes (a la hyper.js)
#enable colours
set -g default-terminal "xterm-256color"
#add ` as prefix
set-option -g prefix2 `
# double tap ` to get a real `
bind ` send-keys `
# split panes using | and -
bind C-d split-window -h
bind C-e split-window -v
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
# Enable mouse mode (tmux 2.1 and above)
set -g mouse on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment