diff --git a/home/home.nix b/home/home.nix index 4431b0c..99db4cd 100644 --- a/home/home.nix +++ b/home/home.nix @@ -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 diff --git a/home/programs/yazi.nix b/home/programs/yazi.nix new file mode 100644 index 0000000..61af9c1 --- /dev/null +++ b/home/programs/yazi.nix @@ -0,0 +1,22 @@ +{ ... }: +{ + programs.yazi = { + enable = true; + keymap = { + manager.prepend_keymap = [ + { + run = "quit --no-cwd-file"; + on = [ "" ]; + desc = "Quit without outputting cwd-file"; + } + ]; + pick.prepend_keymap = [ + { + run = "close"; + on = [ "" ]; + desc = "Quit without submitting the picker"; + } + ]; + }; + }; +}