mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-25 14:17:40 +00:00
Trigger netrw autocommand when opening directory
This commit is contained in:
parent
1da065e50e
commit
ed893c5f47
@ -416,6 +416,9 @@ function! s:cmd_callback(lines) abort
|
||||
set noautochdir
|
||||
for item in a:lines
|
||||
execute cmd s:escape(item)
|
||||
if exists('#BufEnter') && isdirectory(item)
|
||||
doautocmd BufEnter
|
||||
endif
|
||||
endfor
|
||||
finally
|
||||
let &autochdir = autochdir
|
||||
|
Loading…
Reference in New Issue
Block a user