vim-quickui
vim-quickui copied to clipboard
Change settings when opening tags after preview
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!
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.