liuchengxu / vista.vim

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

How can I hide all variables in the sidebar? #426

Closed zhong-yy closed 2 years ago

zhong-yy commented 2 years ago

Hi, thank you for developing such a useful tool. But I have some problems when using it with python files.

(1) For a python file, all variable are shown in the sidebar, but I only care about class names and associated methods. The variables are kind of distracting.

(2) Is there any way to navigate between the same kind of symbols? For example, when the cursor is on a class name, can I jump to the next class quickly?

Describe the solution you'd like 1

yingmanwumen commented 2 years ago

Try to fold them with zm or za?

zhong-yy commented 2 years ago

Try to fold them with zm or za?

Thank you for the suggestion. It can be a workaround, but not all Function names within a Class are displayed after I fold them

zhong-yy commented 2 years ago

I solved this by using :CocOutline as a substitute, which is very handy