From 10741b191880fc9c7c55c2a7e50c895d36866d49 Mon Sep 17 00:00:00 2001 From: Eric Phillips Date: Sun, 7 Jun 2015 19:26:41 -0600 Subject: [PATCH] more painless tmux config adds --- tmux.conf | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/tmux.conf b/tmux.conf index a894910..e811fd1 100644 --- a/tmux.conf +++ b/tmux.conf @@ -1,4 +1,5 @@ -set -g terminal-overrides "xterm*:smcup@:rmcup@" +#set 256 colormode +set -g default-terminal "screen-256color" #remap prefix to ctrl + a unbind C-b set -g prefix C-a @@ -8,12 +9,22 @@ bind-key C-a last-window bind-key a send-prefix #start window numbering at 1 set -g base-index 1 +#start pane numbering at 1 +setw -g pane-base-index 1 +#reload config +bind r source-file ~/.tmux.conf \; display "config file loaded." #Faster command sequence set -s escape-time 0 set -g bell-action any # listen for activity on all windows set -g bell-on-alert on bind | split-window -h -bind - split window -v +bind - split-window -v unbind x bind x kill-pane bind X kill-session + +#pane resizing vim style +bind-key -r K resize-pane -U +bind-key -r J resize-pane -D +bind-key -r H resize-pane -L +bind-key -r L resize-pane -R