more painless tmux config adds

This commit is contained in:
2015-06-07 19:26:41 -06:00
parent d095ae369d
commit 10741b1918
+13 -2
View File
@@ -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 #remap prefix to ctrl + a
unbind C-b unbind C-b
set -g prefix C-a set -g prefix C-a
@@ -8,12 +9,22 @@ bind-key C-a last-window
bind-key a send-prefix bind-key a send-prefix
#start window numbering at 1 #start window numbering at 1
set -g base-index 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 #Faster command sequence
set -s escape-time 0 set -s escape-time 0
set -g bell-action any # listen for activity on all windows set -g bell-action any # listen for activity on all windows
set -g bell-on-alert on set -g bell-on-alert on
bind | split-window -h bind | split-window -h
bind - split window -v bind - split-window -v
unbind x unbind x
bind x kill-pane bind x kill-pane
bind X kill-session 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