home/yazi: init
This commit is contained in:
@@ -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
22
home/programs/yazi.nix
Normal 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";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user