diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2012-02-20 08:31:59 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2012-02-20 08:31:59 +1300 |
commit | b97efea91a94d5bf0cb5723d5a2edfa3eebff606 (patch) | |
tree | c077cafcf97ba8270149b4727b78b793de1c3243 /tmux | |
parent | Update chosen status strings. (diff) | |
download | dotfiles-b97efea91a94d5bf0cb5723d5a2edfa3eebff606.tar.gz dotfiles-b97efea91a94d5bf0cb5723d5a2edfa3eebff606.zip |
More tmux tweaks -- I'm liking this more and more.
Diffstat (limited to 'tmux')
-rw-r--r-- | tmux/tmux.conf | 28 |
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 |