mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
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.
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user