blueyed / vim-diminactive

Vim plugin to dim inactive windows
339 stars 10 forks source link

NERDTree does not dim off when I switch to it using :NERDTreeFind #29

Open dominikduda opened 7 years ago

dominikduda commented 7 years ago

In practice this means that when I use NERDTreeFind I do not see my cursorline in NERDTree buffer.

I was trying to work it around with some BufEnter autocmd, but I can not make it work.

Workaround: Okay I managed to make it work with this code:

nnoremap <leader>f :NERDTreeFind<CR>zz:DimInactive<CR>

But I would like to make it less ugly and more universal.