path: root/tmux
diff options
authorTom Ryder <tom@sanctum.geek.nz>2012-02-20 08:31:59 +1300
committerTom Ryder <tom@sanctum.geek.nz>2012-02-20 08:31:59 +1300
commitb97efea91a94d5bf0cb5723d5a2edfa3eebff606 (patch)
treec077cafcf97ba8270149b4727b78b793de1c3243 /tmux
parentUpdate chosen status strings. (diff)
More tmux tweaks -- I'm liking this more and more.
Diffstat (limited to 'tmux')
1 files changed, 18 insertions, 10 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
index a0fe55e9..64df297b 100644
--- a/tmux/tmux.conf
+++ b/tmux/tmux.conf
@@ -5,37 +5,42 @@ bind a send-prefix
# GNU Screen rebindings.
unbind '"'
+unbind '|'
+unbind '-'
+unbind '/'
+unbind '\'
unbind A
unbind C-A
unbind C-C
unbind C-D
-unbind C-L
unbind C-N
unbind C-P
unbind Tab
+unbind h
+unbind j
unbind k
-unbind K
+unbind l
unbind n
unbind p
-unbind s
-unbind S
bind '"' choose-window
+bind '|' split-window -h
+bind '-' split-window -v
+bind '/' confirm-before "kill-window"
+bind '\' confirm-before "kill-server"
bind A command-prompt "rename-window %%"
bind C-A last-window
bind C-C new-window
bind C-D detach
-bind C-L refresh-client
bind C-N next-window
bind C-P previous-window
bind Tab select-pane -t :.+
-bind \ confirm-before "kill-server"
bind c new-window
-bind k confirm-before "kill-window"
-bind K confirm-before "kill-window"
+bind h select-pane -L
+bind j select-pane -D
+bind k select-pane -U
+bind l select-pane -R
bind n next-window
bind p previous-window
-bind s split-window -v
-bind S split-window -h
# Terminal settings.
set -g default-terminal "screen-256color"
@@ -46,6 +51,9 @@ set -g base-index 1
# Don't worry about escape sequences.
set -s escape-time 0
+# Use Vi mode.
+setw -g mode-keys vi
# Spiffy colours.
set -g status-fg colour248
set -g status-bg colour237