nixos: gen 101 @ lilac — 2026-10-22 13:04 26.05.20260918.cf9d2fb (Yarara) ----- updating nvim and tmux for better keybinds.
This commit is contained in:
+19
-2
@@ -3,6 +3,8 @@
|
||||
{
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
baseIndex = 1;
|
||||
|
||||
extraConfig = ''
|
||||
unbind C-b
|
||||
unbind '"'
|
||||
@@ -16,8 +18,8 @@
|
||||
set-window-option -g mode-keys vi
|
||||
set -g allow-passthrough on
|
||||
set -s set-clipboard on
|
||||
set -g @resurrect-strategy-nvim 'session'
|
||||
set -sg escape-time 10
|
||||
set -g renumber-windows on
|
||||
|
||||
bind -n M-h select-pane -L
|
||||
bind -n M-j select-pane -D
|
||||
@@ -32,11 +34,26 @@
|
||||
bind -n 'M-\' split-window -h -c "#{pane_current_path}"
|
||||
bind -n M-- split-window -v -c "#{pane_current_path}"
|
||||
|
||||
bind -n M-1 select-window -t :1
|
||||
bind -n M-2 select-window -t :2
|
||||
bind -n M-3 select-window -t :3
|
||||
bind -n M-4 select-window -t :4
|
||||
bind -n M-5 select-window -t :5
|
||||
bind -n M-6 select-window -t :6
|
||||
bind -n M-7 select-window -t :7
|
||||
bind -n M-8 select-window -t :8
|
||||
bind -n M-9 select-window -t :9
|
||||
|
||||
bind -n M-s copy-mode
|
||||
'';
|
||||
|
||||
plugins = with pkgs.tmuxPlugins; [
|
||||
resurrect
|
||||
{
|
||||
plugin = resurrect;
|
||||
extraConfig = ''
|
||||
set -g @resurrect-strategy-nvim 'session'
|
||||
'';
|
||||
}
|
||||
{
|
||||
plugin = continuum;
|
||||
extraConfig = ''
|
||||
|
||||
Reference in New Issue
Block a user