diff options
| author | jdhao <jdhao@hotmail.com> | 2022-02-05 13:40:54 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2022-02-05 13:40:54 +0800 |
| commit | 2b24d0794e95ce45e9bbd346c99a3bd76f127102 (patch) | |
| tree | 90797f393bc6b3d3b8bb41d762bd58e9cd4e3b71 /core/globals.vim | |
| parent | f10f6883748903546690476404a291318efaa283 (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 'core/globals.vim')
| -rw-r--r-- | core/globals.vim | 4 |
1 files changed, 2 insertions, 2 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' |
