X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=tmux.conf;h=09398e58645d092d934555184a10b7af1105de1f;hb=a1815408c6121da2ef0f49b25540ad2605f63f75;hp=25a38e5908c70e10bab080182d639d35c1a0b7db;hpb=8f0078795a5b4c04ff4d3d9af55685e5a741d222;p=~madcoder%2Fdotfiles.git diff --git a/tmux.conf b/tmux.conf index 25a38e5..09398e5 100644 --- a/tmux.conf +++ b/tmux.conf @@ -1,11 +1,11 @@ # set the prefix to ^G -set -g history-limit 100000 - +set -g history-limit 100000 set -g mouse-select-pane on setw -g mode-mouse on -set -g status-keys vi -setw -g mode-keys vi +set -g status-keys vi +setw -g mode-keys vi +set -s escape-time 100 unbind C-b set -g prefix C-g @@ -13,13 +13,19 @@ bind g send-prefix bind C-g send-prefix bind -n F5 source ~/.tmux.conf +bind -n F9 set status bind -n M-x command-prompt -bind n next-window -bind p previous-window -bind s command-prompt "split-window -v '%%'" -bind S command-prompt "split-window -v '%%'" -bind v command-prompt "split-window -h '%%'" +bind d detach +bind -n C-\ detach + +bind n next-window +bind C-n next-window +bind p previous-window +bind C-p previous-window +bind s command-prompt "split-window -v '%%'" +bind S command-prompt "split-window -v '%%'" +bind v command-prompt "split-window -h '%%'" bind C-v command-prompt "split-window -h '%%'" bind Enter new-window @@ -73,10 +79,10 @@ bind -c -t vi-edit | start-of-line ############################################################################## # Bells -set -g visual-activity on -set -g visual-bell off -set -g bell-action any -setw -g monitor-activity on +set -g visual-activity on +set -g visual-bell off +set -g bell-action any +setw -g monitor-activity off ############################################################################## # Theme @@ -96,10 +102,13 @@ set -g message-bg red set -g message-attr bright # default window title colors -setw -g window-status-fg cyan +setw -g window-status-fg white setw -g window-status-bg default setw -g window-status-attr dim +setw -g window-status-format '#I #W#F' +setw -g window-status-current-format '#[fg=red,nobold][#[fg=white,bold]#I #W#F#[fg=red,nobold]]' + # active window title colors setw -g window-status-current-fg white setw -g window-status-current-bg default