diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 56a039d..31d2025 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -304,12 +304,6 @@ augroup fugitive autocmd BufNewFile,BufReadPost * call FugitiveDetect(expand(':p')) autocmd FileType netrw call FugitiveDetect(fnamemodify(get(b:, 'netrw_curdir', expand('')), ':p')) - autocmd User NERDTreeInit,NERDTreeNewRoot - \ if exists('b:NERDTree.root.path.str') | - \ call FugitiveDetect(b:NERDTree.root.path.str()) | - \ endif - autocmd VimEnter * if empty(expand(''))|call FugitiveDetect(getcwd())|endif - autocmd CmdWinEnter * call FugitiveDetect(expand('#:p')) autocmd FileType git \ if len(FugitiveGitDir()) |