Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discussion: Support for autocomplete #36

Open
gchp opened this issue Jun 4, 2014 · 2 comments
Open

Discussion: Support for autocomplete #36

gchp opened this issue Jun 4, 2014 · 2 comments

Comments

@gchp
Copy link
Contributor

gchp commented Jun 4, 2014

I using vigo today for general use, and one of the things that I found annoying was the missing ability to switch between buffers.

I went back and looked at how this was handled in godit, and it appears to use a kind of general autocompletion mode. What would you guys think of applying a similar package to vigo which would provide the ability to type in the command area which would trigger a popover of some description which would contain a list of options which would then be narrowed down as you type?

For a visual example of this, see the screenshot below.

An example implementation of this would be for changing buffers. Typing :ls would trigger the popover which would contain the list of open buffers. Typing in the command area would reduce the list of buffers either until one is selected, or there is only one left. Selecting an item from the list would cause the buffer's to be set as active.

Just wanted to get some feedback on the idea in general. I think this could have many different uses including file system navigation for opening new files, changing buffers, auto completing command mode commands, code completion.

What do you think?

screenshot - 040614 - 21 26 20

@kisielk
Copy link
Owner

kisielk commented Jun 4, 2014

It's definitely something I have planned to add. I think it was there in the originally godit fork but we pulled it out since we were restructuring a lot of the codebase. I think at this point I'm still not quite happy with how the modes and commands are working, so I'd rather hold off on autocomplete till we have more of that implemented. Every additional feature just means more things to change if we refactor :)

@gchp
Copy link
Contributor Author

gchp commented Jun 4, 2014

Yeah I thought I remembered seeing it before alright

Fair enough, that sounds reasonable :)

What are you not happy with regarding modes and commands? Anything I can help with?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants