feat(nvf): add undofile

This commit is contained in:
Mohammad Rafiq 2025-05-22 14:27:23 +08:00
parent 9334f9daf0
commit 0bee56e7e8
No known key found for this signature in database

View file

@ -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;