Play around with tmux conf
This commit is contained in:
parent
be428558d7
commit
3724b1d6f7
|
@ -18,6 +18,7 @@
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
terminal = "screen-256color";
|
terminal = "screen-256color";
|
||||||
|
prefix = "C-x";
|
||||||
#tmuxp.enable = true;
|
#tmuxp.enable = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
set-option -g status-bg '#666666'
|
set-option -g status-bg '#666666'
|
||||||
|
|
|
@ -17,32 +17,13 @@
|
||||||
pinentryFlavor = "curses";
|
pinentryFlavor = "curses";
|
||||||
};
|
};
|
||||||
|
|
||||||
## TODO programs.tmux.prefix newSession plugins etc
|
## TODO newSession plugins etc
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#terminal = "screen-256color";
|
#terminal = "screen-256color";
|
||||||
|
prefix = "C-a";
|
||||||
#tmuxp.enable = true;
|
#tmuxp.enable = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
unbind C-b
|
|
||||||
set -g prefix C-a
|
|
||||||
bind-key C-a last-window
|
|
||||||
bind-key a send-prefix
|
|
||||||
|
|
||||||
set-window-option -g automatic-rename off
|
|
||||||
set-option -g allow-rename off
|
|
||||||
|
|
||||||
set -g bell-action current
|
|
||||||
|
|
||||||
set-option -g lock-command vlock
|
|
||||||
set -g lock-after-time 0 # Seconds; 0 = never
|
|
||||||
bind L lock-session
|
|
||||||
bind l lock-client
|
|
||||||
|
|
||||||
bind-key . source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded"
|
|
||||||
|
|
||||||
set -g status-bg black
|
|
||||||
set -g status-fg white
|
|
||||||
|
|
||||||
setw -g window-status-current-format "#[fg=red,bold][#[fg=default]#F#I:#W#F#[fg=red,bold]]#[default]"
|
setw -g window-status-current-format "#[fg=red,bold][#[fg=default]#F#I:#W#F#[fg=red,bold]]#[default]"
|
||||||
setw -g window-status-format "#[fg=green]{#[default]#F#I:#W#F#[fg=green]}#[default]"
|
setw -g window-status-format "#[fg=green]{#[default]#F#I:#W#F#[fg=green]}#[default]"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue