feat(modules/home/cli): add nvf
This commit is contained in:
parent
b2ee33c215
commit
d4453d1a59
6 changed files with 197 additions and 6 deletions
18
modules/home/cli/editor/nvf.nix
Normal file
18
modules/home/cli/editor/nvf.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
config = lib.mkIf (config.cli.editor == "nvf") {
|
||||
programs.nvf = {
|
||||
enable = true;
|
||||
settings.vim = {
|
||||
utility.yazi-nvim = {
|
||||
enable = true;
|
||||
mappings = {
|
||||
openYazi = "t";
|
||||
openYaziDir = "T";
|
||||
};
|
||||
setupOpts.open_for_directories = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue