aboutsummaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-02-19 17:37:04 +1300
committerTom Ryder <tom@sanctum.geek.nz>2012-02-19 17:37:04 +1300
commit5d88365fa1d53e56ca33b55226d360d673b944a5 (patch)
treebd3ef40c1f50020a46034549a09431fa83030d6d /tmux
parentRemove my own plugins for now. (diff)
downloaddotfiles-5d88365fa1d53e56ca33b55226d360d673b944a5.tar.gz
dotfiles-5d88365fa1d53e56ca33b55226d360d673b944a5.zip
Added tmux configuration.
>gnu screen >2012 >ishygddt
Diffstat (limited to 'tmux')
-rw-r--r--tmux/tmux.conf56
1 files changed, 56 insertions, 0 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
new file mode 100644
index 00000000..de0b7443
--- /dev/null
+++ b/tmux/tmux.conf
@@ -0,0 +1,56 @@
+# Set the prefix to C-A.
+unbind C-b
+set -g prefix C-a
+bind a send-prefix
+
+# GNU Screen rebindings.
+unbind '"'
+unbind A
+unbind C-A
+unbind C-C
+unbind C-D
+unbind C-L
+unbind C-N
+unbind C-P
+unbind K
+unbind S
+unbind Tab
+unbind k
+unbind n
+unbind p
+unbind s
+bind '"' choose-window
+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 K kill-window
+bind S split-window -h
+bind Tab select-pane -t :.+
+bind \ confirm-before "kill-server"
+bind c new-window
+bind k kill-window
+bind n next-window
+bind p previous-window
+bind s split-window -v
+
+# Terminal settings.
+set -g default-terminal "screen-256color"
+
+# Spiffy colours.
+set -g status-fg colour16
+set -g status-bg colour237
+set -g window-status-current-fg colour231
+set -g window-status-current-bg colour237
+set -g pane-border-bg colour237
+set -g pane-border-fg colour237
+set -g pane-active-border-bg colour237
+set -g pane-active-border-fg colour237
+
+# Use two-space separators, and forget the status indicator.
+set-window-option -g window-status-format "#I #W "
+set-window-option -g window-status-current-format "#I #W "
+