aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/globals.vim4
-rw-r--r--lua/config/nvim-tree.lua2
-rw-r--r--lua/plugins.lua1
3 files changed, 3 insertions, 4 deletions
diff --git a/core/globals.vim b/core/globals.vim
index 47e6468..e305f12 100644
--- a/core/globals.vim
+++ b/core/globals.vim
@@ -46,8 +46,8 @@ language en_US.utf-8
"{{ Disable loading certain plugins
" Whether to load netrw by default, see
" https://github.com/bling/dotvim/issues/4
-" let g:loaded_netrw = 0
-" let g:loaded_netrwPlugin = 0
+let g:loaded_netrw = 1
+let g:loaded_netrwPlugin = 1
let g:netrw_liststyle = 3
if g:is_win
let g:netrw_http_cmd = 'curl --ssl-no-revoke -Lo'
diff --git a/lua/config/nvim-tree.lua b/lua/config/nvim-tree.lua
index a048c7a..d694dc0 100644
--- a/lua/config/nvim-tree.lua
+++ b/lua/config/nvim-tree.lua
@@ -45,7 +45,7 @@ nvim_tree.setup({
height = 30,
hide_root_folder = false,
side = "left",
- auto_resize = false,
+ auto_resize = true,
mappings = {
custom_only = false,
list = {},
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,