split shell config, add yazi config and switch from mpdscribble to yams
This commit is contained in:
@@ -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"
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user