commit 9697ef4825d059dfbacc603d9bd74ba5dcaabc4b (patch) parent a0324cf03e210f95596874252bb2bfb1df076301 Author: Alexander Karle <akarle@umass.edu> Date: Wed, 29 Nov 2017 18:16:10 -0500 really basic tmux config Diffstat:
A | tmux.conf | | | 24 | ++++++++++++++++++++++++ |
1 file changed, 24 insertions(+), 0 deletions(-)
diff --git a/tmux.conf 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