vim-quickui icon indicating copy to clipboard operation
vim-quickui copied to clipboard

Change settings when opening tags after preview

Open c3r34lk1ll3r opened this issue 5 years ago • 1 comments

Thank for this amazing plugin! I found strange behavior in "Preview quickfix": if I first preview a tag and then open it, the new window maintains the same colors and settings of preview window (also cursorline).

This only occurs with set switchbuf+=usetab,newtab, indeed using the same tab the color scheme is not changed.

Do I need to define some colors? Thanks for help!

c3r34lk1ll3r avatar Mar 26 '20 13:03 c3r34lk1ll3r

I found a workaround:

autocmd BufNewFile,BufRead,BufAdd,WinNew * :set winhl=
autocmd BufNewFile,BufRead,BufAdd,WinNew * :set nocursorline
autocmd BufNewFile,BufRead,BufAdd,WinNew * :set relativenumber

but I don't think that is the correct way to solve the problem.

c3r34lk1ll3r avatar Mar 27 '20 10:03 c3r34lk1ll3r