Play around with tmux conf

This commit is contained in:
David Morgan 2022-11-07 21:11:09 +00:00
parent be428558d7
commit 3724b1d6f7
Signed by: djm
GPG Key ID: C171251002C200F2
2 changed files with 3 additions and 21 deletions

View File

@ -18,6 +18,7 @@
programs.tmux = {
enable = true;
terminal = "screen-256color";
prefix = "C-x";
#tmuxp.enable = true;
extraConfig = ''
set-option -g status-bg '#666666'

View File

@ -17,32 +17,13 @@
pinentryFlavor = "curses";
};
## TODO programs.tmux.prefix newSession plugins etc
## TODO newSession plugins etc
programs.tmux = {
enable = true;
#terminal = "screen-256color";
prefix = "C-a";
#tmuxp.enable = true;
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-format "#[fg=green]{#[default]#F#I:#W#F#[fg=green]}#[default]"