Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plugin/dirvish.vim
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ augroup dirvish
" Remove netrw and NERDTree directory handlers.
autocmd VimEnter * if exists('#FileExplorer') | exe 'au! FileExplorer *' | endif
autocmd VimEnter * if exists('#NERDTreeHijackNetrw') | exe 'au! NERDTreeHijackNetrw *' | endif
autocmd BufEnter * if !exists('b:dirvish') && <SID>isdir(expand('%'))
\ | exe 'Dirvish %'
autocmd BufEnter * if !exists('b:dirvish') && <SID>isdir(expand('%:p'))
\ | exe 'Dirvish %:p'
\ | elseif exists('b:dirvish') && &buflisted && bufnr('$') > 1 | setlocal nobuflisted | endif
autocmd FileType dirvish if exists('#fugitive') | call FugitiveDetect(@%) | endif
autocmd ShellCmdPost * if exists('b:dirvish') | exe 'Dirvish %' | endif
Expand Down