diff options
author | Florian Pritz <bluewind@xinu.at> | 2014-07-10 17:53:18 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2014-07-10 17:53:18 +0200 |
commit | 2c610619f4a25af94a89cd36e886788ddc8b7136 (patch) | |
tree | 0acd39d30d65e3440605b027fbbe0cc0d87fa323 /.tmux.conf | |
parent | ecc1005aa4b920424e4dbb5f743ecc4dcad942ae (diff) | |
download | dotfiles-2c610619f4a25af94a89cd36e886788ddc8b7136.tar.gz dotfiles-2c610619f4a25af94a89cd36e886788ddc8b7136.tar.xz |
tmux + misc
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to '.tmux.conf')
-rw-r--r-- | .tmux.conf | 33 |
1 files changed, 19 insertions, 14 deletions
@@ -18,28 +18,36 @@ set -g message-bg default set -g message-fg red set -g status-attr bright -set -g status-bg default +set -g status-bg black set -g status-fg default set -g pane-active-border-fg default set -g pane-active-border-bg black # Options -set -g bell-action none +set -g bell-action any set -g history-limit 50000 set -g status on set -g status-keys vi set -g status-utf8 on set -g set-titles on -set -g status-left " -- #S -- " -set -g status-left-length 30 -set -g status-right "" +set -g default-terminal "screen-256color" +set -g set-titles-string "tmux:#I [ #W ]" +set -g base-index 1 + +#set -g status-left-length 30 +set -g status-left '#[fg=green]#H #[fg=black,bright]• #[default]#[fg=blue]#(uname -r)#[default] #[fg=black,bright]• #[default]' +set -g status-justify centre +set -g status-right '#[fg=black,bright]• #[fg=magenta]#(cut -d " " -f1-4 /proc/loadavg)' +set -g status-left-length 40 +set -g status-right-length 40 setw -g utf8 on setw -g automatic-rename on setw -g clock-mode-style 24 setw -g mode-keys vi +setw -g mode-mouse on set -g prefix C-a unbind-key C-b @@ -49,8 +57,12 @@ bind-key C-a send-prefix bind-key W command-prompt "swap-window -t '%%'" bind-key R command-prompt "rename-session '%%'" -bind j down-pane -bind k up-pane +# confirm before killing a window or the server +bind-key k confirm kill-window +bind-key K confirm kill-server + +#bind j down-pane +#bind k up-pane # Keys to switch session. #bind q switchc -tmain @@ -60,16 +72,9 @@ bind k up-pane bind i choose-window #bind m split-window "exec ncmpcpp" -#256 -set -g default-terminal "screen-256color" - # Default Sessions #new -d -s maini -set -g set-titles-string "tmux:#I [ #W ]" -set -g base-index 1 -set -g bell-action any - bind-key b set-option status bind r source-file ~/.tmux.conf |