nixos: gen 100 @ lilac — 2026-10-22 12:51 26.05.20260918.cf9d2fb (Yarara) -----
This commit is contained in:
+25
-17
@@ -4,38 +4,46 @@
|
|||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
set-window-option -g mode-keys vi
|
|
||||||
unbind C-b
|
unbind C-b
|
||||||
|
unbind '"'
|
||||||
|
unbind %
|
||||||
|
unbind [
|
||||||
|
unbind s
|
||||||
|
|
||||||
set -g prefix C-a
|
set -g prefix C-a
|
||||||
bind C-a send-prefix
|
bind C-a send-prefix
|
||||||
|
|
||||||
|
set-window-option -g mode-keys vi
|
||||||
set -g allow-passthrough on
|
set -g allow-passthrough on
|
||||||
set -s set-clipboard on
|
set -s set-clipboard on
|
||||||
set -g @resurrect-strategy-nvim 'session'
|
set -g @resurrect-strategy-nvim 'session'
|
||||||
|
set -sg escape-time 10
|
||||||
|
|
||||||
bind h select-pane -L
|
bind -n M-h select-pane -L
|
||||||
bind j select-pane -D
|
bind -n M-j select-pane -D
|
||||||
bind k select-pane -U
|
bind -n M-k select-pane -U
|
||||||
bind l select-pane -R
|
bind -n M-l select-pane -R
|
||||||
|
|
||||||
unbind '"'
|
bind -n M-H resize-pane -L 2
|
||||||
unbind %
|
bind -n M-J resize-pane -D 2
|
||||||
bind | split-window -h
|
bind -n M-K resize-pane -U 2
|
||||||
bind - split-window -v
|
bind -n M-L resize-pane -R 2
|
||||||
|
|
||||||
bind -r H resize-pane -L 5
|
bind -n 'M-\' split-window -h -c "#{pane_current_path}"
|
||||||
bind -r J resize-pane -D 5
|
bind -n M-- split-window -v -c "#{pane_current_path}"
|
||||||
bind -r K resize-pane -U 5
|
|
||||||
bind -r L resize-pane -R 5
|
|
||||||
|
|
||||||
unbind [
|
bind -n M-s copy-mode
|
||||||
unbind s
|
|
||||||
bind s copy-mode
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
plugins = with pkgs.tmuxPlugins; [
|
plugins = with pkgs.tmuxPlugins; [
|
||||||
continuum
|
|
||||||
resurrect
|
resurrect
|
||||||
|
{
|
||||||
|
plugin = continuum;
|
||||||
|
extraConfig = ''
|
||||||
|
set -g @continuum-restore "on"
|
||||||
|
set -g @continuum-save-interval "5"
|
||||||
|
'';
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user