home/tmux: move some settings out of extraConfig

This commit is contained in:
2025-05-04 21:01:17 +02:00
parent 8e15ae90db
commit 50c4b43391

View File

@@ -7,6 +7,9 @@
escapeTime = 0;
keyMode = "vi";
prefix = "C-a";
mouse = true;
terminal = "screen-256color";
plugins = with pkgs.tmuxPlugins; [
copycat
fingers
@@ -19,6 +22,7 @@
tmux-fzf
urlview
];
extraConfig = let
fileContentsWithoutShebang = script: lib.pipe script [
lib.fileContents
@@ -41,11 +45,8 @@
# Don't rename windows automatically after rename with ','
set-option -g allow-rename off
set -g mouse on
set -q -g status-utf8 on
setw -q -g utf8 on
set-option -g default-terminal screen-256color
set -g base-index 1 # windows starts at 1
setw -g monitor-activity on
set -g visual-activity on
@@ -53,9 +54,6 @@
set -g status-left-length 30
set -g status-right-length 150
set -g base-index 1
set -g pane-base-index 0
######################
######## KEYS ########
######################