2016-04-28 15:57:46 +00:00
|
|
|
unbind C-b
|
|
|
|
set -g prefix C-Space
|
|
|
|
bind Space copy-mode
|
|
|
|
bind C-Space copy-mode
|
2015-06-13 07:02:33 +00:00
|
|
|
set -g default-terminal "screen-256color"
|
|
|
|
|
|
|
|
# Bindings for vertical + horizontal splits
|
|
|
|
unbind %
|
|
|
|
bind | split-window -h
|
|
|
|
bind - split-window -v
|
|
|
|
|
|
|
|
# show activity
|
|
|
|
set -g bell-action any
|
|
|
|
setw -g monitor-activity on
|
|
|
|
|
|
|
|
# start numbering windows at 1
|
|
|
|
set-option -g base-index 1
|
|
|
|
|
|
|
|
# to make ctrl-arrow, etc. work
|
|
|
|
set-window-option -g xterm-keys on
|
|
|
|
|
|
|
|
# lock commande
|
|
|
|
set-option -g lock-command vlock
|
|
|
|
|
|
|
|
### Instructs tmux to expect UTF-8 sequences to appear in this window.
|
2016-12-17 08:04:22 +00:00
|
|
|
#setw -g utf8 on
|
2015-06-13 07:02:33 +00:00
|
|
|
|
|
|
|
### Instruct tmux to treat top-bit-set characters in the status-left and status-right strings as UTF-8;
|
2016-12-17 08:04:22 +00:00
|
|
|
#set -g status-utf8 on
|
2015-06-13 07:02:33 +00:00
|
|
|
|
|
|
|
set-option -g history-limit 5000
|
|
|
|
|
|
|
|
set -g set-titles on
|
|
|
|
set -g set-titles-string '#(whoami) :: #h :: #W'
|
|
|
|
|
|
|
|
set -g status-bg black
|
|
|
|
set -g status-fg white
|
|
|
|
set -g status-interval 5
|
|
|
|
set -g status-left-length 90
|
2019-01-25 18:55:10 +00:00
|
|
|
set -g status-right-length 150
|
2015-06-13 07:02:33 +00:00
|
|
|
set -g status-left "#[fg=Green]#(whoami)#[fg=white]::#[fg=blue]#h#[fg=white]#[fg=yellow]"
|
|
|
|
set -g status-justify left
|
2019-01-25 18:55:10 +00:00
|
|
|
set -g status-right '#[fg=Cyan]#S #[fg=green,bg=black]#(mpc -f "[%%artist%% - %%title%% \[%%album%%\] %%date%%]|[%%file%%]" current) #[fg=white]%a %d %b %R'
|