fix: configure and enable yazi

This commit is contained in:
Youwen Wu 2024-08-18 03:44:22 -07:00
parent b3c0ab342c
commit 37caaa036d
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 9 additions and 9 deletions

View file

@ -335,15 +335,6 @@
silent = true; silent = true;
}; };
} }
{
action = '':lua require("yazi").yazi("cwd")<CR>'';
key = "<Leader>mm";
options = {
desc = "Open Yazi current nvim working directory";
noremap = true;
silent = true;
};
}
# { # {
# action = ":Yazi<CR>"; # action = ":Yazi<CR>";
# key = "<Leader>mf"; # key = "<Leader>mf";
@ -575,4 +566,9 @@
}) })
]; ];
}; };
programs.yazi = {
enable = true;
enableBashIntegration = true;
enableFishIntegration = true;
};
} }

View file

@ -15,4 +15,8 @@
enable = true; enable = true;
flavor = "mocha"; flavor = "mocha";
}; };
programs.yazi.catppuccin = {
enable = true;
flavor = "macchiato";
};
} }