-
Notifications
You must be signed in to change notification settings - Fork 24
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
feat: add builtin source for terminal buffers #78
Conversation
d561ccd
to
7128566
Compare
@willothy Thanks, just tested it and it works smoothly. Could you include the changed of the default config in readme and vimdoc and label this as a breaking change? Also we need to explain how to customize the new |
Definitely, will update the docs. Glad it's working well!
I can provide an example from my config in the docs, if that works?
This actually is already an option ( |
No, I mean explaining each option that |
Oh, yes, definitely was going to do that, I meant in addition to that to show an example of integration with another plugin (toggleterm). Will update the hlgroups as well. |
That will be really nice, looking forward for the update! |
Working on it right now, though it's late here so might end up finishing the changes tomorrow. |
@willothy Take your time, we are not in a hurry :) |
522e4f4
to
db833bf
Compare
Alright, I think the current setup of hlgroups works well. Updating to use devicons. |
db833bf
to
140eaef
Compare
I think that's everything, let me know what you think! |
8550954
to
21f5b3f
Compare
@willothy Looks great! Could you move the icon customization under |
I actually think the icon customization for the terminal should stay where it is, because the API for it differs from the regular kind icons as it can accept a function for per-terminal dynamic icons. The reason for this is that people may want to show different icons depending on things like the process running in the terminal, like using the git devicon for a lazygit terminal, etc..
That makes sense, will do. Is it reasonable to create a new group such as |
21f5b3f
to
71f373b
Compare
Moved the highlight groups, but I left the icon customization where it is for now as I think it would be confusing to have that in the same place as the kind icons. Edit: reworked it so that by default the icon will be |
allows using the dropdown menu to quickly switch between terminal buffers
71f373b
to
0f79407
Compare
allows using the dropdown menu to quickly switch between terminal buffers
allows using the dropdown menu to quickly switch between terminal buffers
allows using the dropdown menu to quickly switch between terminal buffers
allows using the dropdown menu to quickly switch between terminal buffers
allows using the dropdown menu to quickly switch between terminal buffers
Allows using the dropdown menu to quickly switch between terminal buffers. Wrote this for my own config but figured I'd share since it's been useful.
All menu properties can be set to either strings or functions in the config, so it can be integrated easily with any terminal-related plugin. I have mine setup to use toggleterm. It will also work with default nvim terminal buffers.