fix nvim restore
This commit is contained in:
parent
e7af265892
commit
9926e8298f
2 changed files with 3 additions and 0 deletions
|
|
@ -180,6 +180,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
auto-session.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Extra plugins that don't have dedicated modules
|
# Extra plugins that don't have dedicated modules
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
set -g @resurrect-strategy-nvim 'session'
|
set -g @resurrect-strategy-nvim 'session'
|
||||||
set -g @resurrect-processes 'nvim lazygit claude ssh'
|
set -g @resurrect-processes 'nvim lazygit claude ssh'
|
||||||
|
set -g @resurrect-hook-post-save-all 'target=$(readlink -f ~/.tmux/resurrect/last); sed -i "" "s|/nix/store/[^/]*/bin/nvim --cmd .*|nvim|g" "$target"'
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue