home/yazi: init

This commit is contained in:
2025-05-27 13:52:28 +02:00
parent 5f4228eab7
commit c3d4f91952
2 changed files with 23 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ in {
./programs/thunderbird.nix
./programs/tmux
./programs/uv.nix
./programs/yazi.nix
./programs/yt-dlp.nix
./programs/zoxide.nix
./programs/zsh

22
home/programs/yazi.nix Normal file
View File

@@ -0,0 +1,22 @@
{ ... }:
{
programs.yazi = {
enable = true;
keymap = {
manager.prepend_keymap = [
{
run = "quit --no-cwd-file";
on = [ "<Esc>" ];
desc = "Quit without outputting cwd-file";
}
];
pick.prepend_keymap = [
{
run = "close";
on = [ "<Esc>" ];
desc = "Quit without submitting the picker";
}
];
};
};
}