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

Feature Request: Mouse Support for Selecting and Double-Clicking to Jump to Items #473

Open Elite-zx opened 2 months ago

Elite-zx commented 2 months ago

Description First of all, thank you for creating and maintaining the Vim Vista plugin. It has been incredibly useful for navigating and understanding code structures. I have a feature request that I believe would enhance the usability of the plugin, especially for users who prefer using the mouse for navigation.

Feature Request I would like to request the addition of mouse support for the following functionalities:

Mouse Selection: Allow users to select items in the Vista sidebar using the mouse. Double-Click to Jump: Enable double-clicking on an item to jump to its corresponding location in the code.

Benefits Improved Usability: This feature would make the plugin more accessible to users who are accustomed to using the mouse for navigation. Faster Navigation: Double-clicking to jump to code locations can be faster and more intuitive for some users compared to using keyboard shortcuts. Enhanced User Experience: Providing multiple ways to interact with the plugin can cater to a broader range of user preferences and workflows.

Example Use Case Open the Vista sidebar. Use the mouse to scroll through the list of items. Click on an item to select it. Double-click on the selected item to jump to its location in the code.

Additional Information If there are any technical limitations or considerations that need to be addressed, I would be happy to discuss them further. I believe this feature would be a valuable addition to the plugin and would greatly enhance its functionality.

Thank you for considering this request. I look forward to your response.

Best regards