mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-23 11:29:01 +00:00
Merge pull request #371 from wilywampa/edit_directory
Trigger netrw autocommand when opening directory
This commit is contained in:
commit
7d53051ec8
@ -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