From e2f9eca9f6a334490dd18d5daea794c185e72d2a Mon Sep 17 00:00:00 2001 From: Devin Haska Date: Thu, 26 Jun 2025 14:00:15 -0700 Subject: [PATCH] feat: replace neotree with yazi --- README.md | 1 + lazy-lock.json | 5 ++--- lua/plugins/neotree.lua | 33 --------------------------------- lua/plugins/yazi.lua | 21 +++++++++++++++++++++ 4 files changed, 24 insertions(+), 36 deletions(-) delete mode 100644 lua/plugins/neotree.lua create mode 100644 lua/plugins/yazi.lua diff --git a/README.md b/README.md index 199a276..cd22008 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ I've also added some plugins for writing in Markdown as I prefer it. - fzf - ripgrep - fd +- yazi ## Installation diff --git a/lazy-lock.json b/lazy-lock.json index 3c70d80..68b82a0 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -14,8 +14,6 @@ "mason.nvim": { "branch": "main", "commit": "fc98833b6da5de5a9c5b1446ac541577059555be" }, "mini.pairs": { "branch": "main", "commit": "42407ccb80ec59c84e7c91d815f42ed90a8cc093" }, "mini.surround": { "branch": "main", "commit": "5aab42fcdcf31fa010f012771eda5631c077840a" }, - "neo-tree.nvim": { "branch": "main", "commit": "7bc06b5efc5554d10f73a8aa508e02c03a83c2a0" }, - "nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" }, "nvim-lspconfig": { "branch": "master", "commit": "6bba673aa8993eceec233be17b42ddfb9540794b" }, "nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" }, "nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" }, @@ -26,5 +24,6 @@ "tokyonight.nvim": { "branch": "main", "commit": "057ef5d260c1931f1dffd0f052c685dcd14100a3" }, "trouble.nvim": { "branch": "main", "commit": "85bedb7eb7fa331a2ccbecb9202d8abba64d37b3" }, "ts-comments.nvim": { "branch": "main", "commit": "1bd9d0ba1d8b336c3db50692ffd0955fe1bb9f0c" }, - "which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" } + "which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" }, + "yazi.nvim": { "branch": "main", "commit": "267f5fe500d239b7cc3e36187fa03e0eea9d866e" } } diff --git a/lua/plugins/neotree.lua b/lua/plugins/neotree.lua deleted file mode 100644 index ce1d3a0..0000000 --- a/lua/plugins/neotree.lua +++ /dev/null @@ -1,33 +0,0 @@ -return { - { - "nvim-neo-tree/neo-tree.nvim", - dependencies = { - "nvim-lua/plenary.nvim", - "nvim-tree/nvim-web-devicons", - "MunifTanjim/nui.nvim", - }, - keys = { - { "ee", "Neotree toggle", desc = "Toggle Neotree" }, - { "er", "Neotree reveal", desc = "Reveal file" }, - }, - opts = { - open_files_do_not_replace_types = { "terminal", "trouble", "qf" }, - filesystem = { - filtered_items = { - show_hidden_count = false, - hide_dotfiles = false, - hide_gitignored = true, - always_show = { - ".env", - ".env.local", - }, - never_show = { - ".git", - "thumbs.db", - ".DS_Store", - }, - }, - }, - }, - }, -} diff --git a/lua/plugins/yazi.lua b/lua/plugins/yazi.lua new file mode 100644 index 0000000..f89be92 --- /dev/null +++ b/lua/plugins/yazi.lua @@ -0,0 +1,21 @@ +return { + "mikavilpas/yazi.nvim", + event = "VeryLazy", + dependencies = { + "folke/snacks.nvim", + }, + opts = {}, + keys = { + { + "ee", + mode = { "n", "v" }, + "Yazi cwd", + desc = "Open yazi at the current working directory", + }, + { + "er", + "Yazi toggle", + desc = "Resume last yazi session", + }, + }, +}