diff options
| author | scouckel <james.krinsky@gmail.com> | 2026-03-25 11:14:16 -0500 |
|---|---|---|
| committer | scouckel <james.krinsky@gmail.com> | 2026-03-25 11:14:16 -0500 |
| commit | 2a50a86e3faea6deae9adc76572cc543baf678d3 (patch) | |
| tree | 95e8bb2771a847cfcc51ca90ac6a2de9548b5bec /unmoved-modules/home-manager/yazi.nix | |
| parent | 3406096fa9f5dfd669e0b7a43e3f2227d51b10a7 (diff) | |
inital move and renaming
Diffstat (limited to 'unmoved-modules/home-manager/yazi.nix')
| -rw-r--r-- | unmoved-modules/home-manager/yazi.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/unmoved-modules/home-manager/yazi.nix b/unmoved-modules/home-manager/yazi.nix new file mode 100644 index 0000000..3088c1f --- /dev/null +++ b/unmoved-modules/home-manager/yazi.nix @@ -0,0 +1,42 @@ +{ pkgs, ... }: + +{ + programs.yazi = { + enable = true; + enableFishIntegration = true; + + plugins = { + bypass = pkgs.yaziPlugins.bypass; + ouch = pkgs.yaziPlugins.ouch; + }; + + initLua = '' + ''; + + settings = { + mgr = { + show_hidden = true; + + prepend_keymap = [ + { + on = ["L"]; + run = "plugin bypass"; + } + { + on = ["H"]; + run = "plugin bypass reverse"; + } + ]; + }; + + opener = { + edit = [ + { + run = ''vi "$@"''; + block = true; + } + ]; + }; + }; + }; +} |
