feat: migrating neovim
This commit is contained in:
parent
86266f8205
commit
8d5e0e6566
47 changed files with 1964 additions and 222 deletions
21
home-manager/modules/neovim/plugins/yazi.nix
Normal file
21
home-manager/modules/neovim/plugins/yazi.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{...}: {
|
||||
programs.nixvim = {
|
||||
plugins.yazi.enable = true;
|
||||
|
||||
keymaps = [
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>e";
|
||||
action.__raw = ''
|
||||
function()
|
||||
require('yazi').yazi()
|
||||
end
|
||||
'';
|
||||
options = {
|
||||
desc = "Yazi toggle";
|
||||
silent = true;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue