split shell config, add yazi config and switch from mpdscribble to yams

This commit is contained in:
2026-11-05 15:53:16 +01:00
parent 881b09f50f
commit 6a44651a4d
14 changed files with 798 additions and 56 deletions
+49
View File
@@ -0,0 +1,49 @@
{ pkgs, ... }:
{
programs.tmux = {
enable = true;
prefix = "C-b";
terminal = "tmux-256color";
baseIndex = 0;
mouse = false;
keyMode = "vi";
plugins = with pkgs.tmuxPlugins; [
sensible
vim-tmux-navigator
resurrect
continuum
{
plugin = tmux-sessionx;
extraConfig = ''
set -g @sessionx-bind 'o'
'';
}
];
extraConfig = ''
set-option -ga terminal-overrides ",xterm-256color:Tc"
unbind r
bind r source-file ~/.tmux.conf
set-option -g status-style bg=default
set -g status-position bottom
set -g status-justify "absolute-centre"
set-option -g window-status-current-style fg=yellow
set-option -g window-status-style fg=brightwhite
set -wg automatic-rename on
set -g automatic-rename-format "#{pane_current_command}"
set -g @resurrect-capture-pane-contents "on"
set -g @continuum-restore "on"
'';
};
}