diff --git a/config/common/nvim/lua/config/keymaps.lua b/config/common/nvim/lua/config/keymaps.lua index d584c72..2ba9c96 100644 --- a/config/common/nvim/lua/config/keymaps.lua +++ b/config/common/nvim/lua/config/keymaps.lua @@ -19,13 +19,8 @@ nomap("n", "`") nomap("n", "bb") nomap("n", "bd") nomap("n", "bD") --- nomap("n", "bP") --- nomap("n", "bl") nomap("n", "bo") --- nomap("n", "bp") --- nomap("n", "br") -nomap("n", "e") nomap("n", "E") nomap("n", "fb") @@ -33,6 +28,8 @@ nomap("n", "fB") nomap("n", "fc") nomap("n", "fe") nomap("n", "fE") +nomap("n", "ff") +nomap("n", "fF") nomap("n", "fg") nomap("n", "fn") nomap("n", "fp") @@ -69,8 +66,6 @@ map("n", "bq", function() Snacks.bufdelete() end, { desc = "Delete Buffer" }) -map("n", "fF", LazyVim.pick("files", { root = false }), { desc = "Find Files (root)", remap = true }) -map("n", "ff", LazyVim.pick("files"), { desc = "Find Files (cwd)", remap = true }) map("n", "h", "set hlsearch!", { desc = "Toggle hlsearch", remap = true }) map( "n", diff --git a/config/common/nvim/lua/plugins/init.lua b/config/common/nvim/lua/plugins/init.lua index 4e97b39..2257896 100644 --- a/config/common/nvim/lua/plugins/init.lua +++ b/config/common/nvim/lua/plugins/init.lua @@ -6,13 +6,14 @@ return { { "folke/tokyonight.nvim", enabled = false }, { "folke/trouble.nvim", enabled = false }, { "MagickDuck/grug-far.nvim", enabled = false }, + { "nvim-neo-tree/neo-tree.nvim", enabled = false }, { "windwp/nvim-ts-autotag", enabled = false }, { "folke/snacks.nvim", - opts = { - dashboard = { enabled = false }, - }, + -- opts = { + -- dashboard = { enabled = false }, + -- }, keys = { { "n", @@ -25,7 +26,14 @@ return { Snacks.indent.enable() end end, - desc = "toggle decorations", + desc = "Toggle Decorations", + }, + { + "e", + function() + Snacks.explorer() + end, + desc = "File Explorer", }, }, }, @@ -138,27 +146,6 @@ return { }, }, - { - "nvim-neo-tree/neo-tree.nvim", - keys = { - { - "t", - function() - require("neo-tree.command").execute({ toggle = true, dir = vim.uv.cwd() }) - end, - desc = "explorer (cwd)", - remap = true, - }, - }, - opts = { - filesystem = { - filtered_items = { - visible = true, - }, - }, - }, - }, - { "nvim-treesitter/nvim-treesitter", opts = function(_, opts)