aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins.lua
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2022-02-05 13:40:54 +0800
committerjdhao <jdhao@hotmail.com>2022-02-05 13:40:54 +0800
commit2b24d0794e95ce45e9bbd346c99a3bd76f127102 (patch)
tree90797f393bc6b3d3b8bb41d762bd58e9cd4e3b71 /lua/plugins.lua
parentf10f6883748903546690476404a291318efaa283 (diff)
Use nvim-tree as file explorer when we open a folder
netrw plugin needs to be disabled, and nvim-tree needs to be start package. Otherwise, the hijacking won't work, and when we open a folder, it just open a new file with the same name.
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r--lua/plugins.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua
index ea439a6..9b41deb 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -359,7 +359,6 @@ require("packer").startup({
use {
'kyazdani42/nvim-tree.lua',
requires = { 'kyazdani42/nvim-web-devicons' },
- keys = {{'n', '<space>s'}, },
config = [[require('config.nvim-tree')]]
}
end,