From 37caaa036d3f0d5333490b5bfa4e76c085f3aaf4 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sun, 18 Aug 2024 03:44:22 -0700 Subject: [PATCH] fix: configure and enable yazi --- users/youwen/common/neovim/default.nix | 14 +++++--------- users/youwen/linux/theming/catppuccin.nix | 4 ++++ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/users/youwen/common/neovim/default.nix b/users/youwen/common/neovim/default.nix index 20357ad..a149a4c 100644 --- a/users/youwen/common/neovim/default.nix +++ b/users/youwen/common/neovim/default.nix @@ -335,15 +335,6 @@ silent = true; }; } - { - action = '':lua require("yazi").yazi("cwd")''; - key = "mm"; - options = { - desc = "Open Yazi current nvim working directory"; - noremap = true; - silent = true; - }; - } # { # action = ":Yazi"; # key = "mf"; @@ -575,4 +566,9 @@ }) ]; }; + programs.yazi = { + enable = true; + enableBashIntegration = true; + enableFishIntegration = true; + }; } diff --git a/users/youwen/linux/theming/catppuccin.nix b/users/youwen/linux/theming/catppuccin.nix index 4e08a2f..e6b4b43 100755 --- a/users/youwen/linux/theming/catppuccin.nix +++ b/users/youwen/linux/theming/catppuccin.nix @@ -15,4 +15,8 @@ enable = true; flavor = "mocha"; }; + programs.yazi.catppuccin = { + enable = true; + flavor = "macchiato"; + }; }