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"; style = "mocha";
}; };
viAlias = true;
vimAlias = true;
options = { options = {
# Indentation # Indentation
expandtab = true; expandtab = true;
@ -134,6 +137,7 @@ _: {
leetcode-nvim.enable = true; leetcode-nvim.enable = true;
preview.glow.enable = true; preview.glow.enable = true;
yanky-nvim.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 = [ home.packages = [
self.packages.${pkgs.stdenv.system}.nvf self.packages.${pkgs.stdenv.system}.nvf
]; ];

View file

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