feat(nvf): add undofile
This commit is contained in:
parent
9334f9daf0
commit
0bee56e7e8
1 changed files with 4 additions and 0 deletions
|
@ -2,9 +2,13 @@
|
|||
{
|
||||
config = lib.mkIf (config.cli.editor == "nvf") {
|
||||
home.sessionVariables.EDITOR = "nvim";
|
||||
home.persistence."/persist/home/${config.snowfallorg.user.name}".directories = [
|
||||
".local/share/nvf"
|
||||
];
|
||||
programs.nvf = {
|
||||
enable = true;
|
||||
settings.vim = {
|
||||
undoFile.enable = true;
|
||||
autocomplete = import ./autocomplete.nix;
|
||||
binds = import ./binds.nix;
|
||||
keymaps = import ./keymaps.nix;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue