feat(yazi): add yazi and nvim integration

This commit is contained in:
Mohammad Rafiq 2025-03-03 14:15:26 +08:00
parent 0bac5a21b7
commit 85a051fc92
3 changed files with 13 additions and 2 deletions

View file

@ -6,6 +6,9 @@ _: {
style = "mocha";
};
viAlias = true;
vimAlias = true;
options = {
# Indentation
expandtab = true;
@ -134,6 +137,7 @@ _: {
leetcode-nvim.enable = true;
preview.glow.enable = true;
yanky-nvim.enable = true;
yazi-nvim.enable = true;
};
};
}

View file

@ -1,6 +1,9 @@
{self, pkgs, ...}:
{
self,
pkgs,
...
}: {
home.sessionVariables.EDITOR = "nvim";
home.packages = [
self.packages.${pkgs.stdenv.system}.nvf
];

View file

@ -18,6 +18,10 @@
enableBashIntegration = true;
tmux.enableShellIntegration = true;
};
yazi = {
enable = true;
enableBashIntegration = true;
};
};
services = {