liuchengxu / vista.vim

:cactus: Viewer & Finder for LSP symbols and tags
https://liuchengxu.github.io/vista.vim
MIT License
1.9k stars 87 forks source link

Toggle Vista in current split #376

Closed Chocrates closed 3 years ago

Chocrates commented 3 years ago

👋 Hi All,

When I toggle Vista with two vertical splits, the vista panel always opens on the far right. Is there a way to get Vista to open in the current split rather than the far right always?

liuchengxu commented 3 years ago

You can use let g:vista_sidebar_open_cmd = '30vsplit' now.

Chocrates commented 3 years ago

wow thank you so much @liuchengxu! Edit: For future searchers, the final config I used let g:vista_sidebar_open_cmd = 'rightbelow30vsplit'