From ff4b0e2039d65e2a525bd6af58878d83fcb3dab5 Mon Sep 17 00:00:00 2001 From: Miguel Palhas Date: Tue, 17 Dec 2024 15:33:26 +0000 Subject: [PATCH] Ctrl-e on nvim-tree --- lua/configs/nvimtree.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/configs/nvimtree.lua b/lua/configs/nvimtree.lua index d2c4e29..7d2785c 100644 --- a/lua/configs/nvimtree.lua +++ b/lua/configs/nvimtree.lua @@ -1,4 +1,5 @@ local nvchad_options = require "nvchad.configs.nvimtree" +local api = require "nvim-tree.api" local options = { renderer = { @@ -7,6 +8,7 @@ local options = { }, }, on_attach = function(bufnr) + api.config.mappings.default_on_attach(bufnr) vim.keymap.del("n", "", { buffer = bufnr }) end, }