From 9697ef4825d059dfbacc603d9bd74ba5dcaabc4b Mon Sep 17 00:00:00 2001 From: Alexander Karle Date: Wed, 29 Nov 2017 18:16:10 -0500 Subject: [PATCH] really basic tmux config --- tmux.conf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tmux.conf diff --git a/tmux.conf b/tmux.conf new file mode 100644 index 0000000..653cca8 --- /dev/null +++ b/tmux.conf @@ -0,0 +1,24 @@ +# 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 % + +# reload config file (change file location to your the tmux.conf you want to use) +bind r source-file ~/.tmux.conf + +# Add truecolor support +set-option -ga terminal-overrides ",xterm-256color:Tc" +# Default terminal is 256 colors +set -g default-terminal "screen-256color" + +# switch panes using Alt-arrow without prefix +bind -n M-Left select-pane -L +bind -n M-Right select-pane -R +bind -n M-Up select-pane -U +bind -n M-Down select-pane -D -- libgit2 0.28.4