home/yazi: init
This commit is contained in:
@@ -45,6 +45,7 @@ in {
|
|||||||
./programs/thunderbird.nix
|
./programs/thunderbird.nix
|
||||||
./programs/tmux
|
./programs/tmux
|
||||||
./programs/uv.nix
|
./programs/uv.nix
|
||||||
|
./programs/yazi.nix
|
||||||
./programs/yt-dlp.nix
|
./programs/yt-dlp.nix
|
||||||
./programs/zoxide.nix
|
./programs/zoxide.nix
|
||||||
./programs/zsh
|
./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