-
Notifications
You must be signed in to change notification settings - Fork 137
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
Add vterm-dabbrev-expand #401
base: master
Are you sure you want to change the base?
Conversation
Thanks for this PR. I am not sure if this is the best way to solve the problem. One issue I can see is that if one has autocompletion (e.g. in fish, or zsh with autocompletion) the thing at the point will be the entire command (even if part of it will be greyed out). I suspect that what will happen is: say one wants to autocomplete "python", having typed "py", Possible ingredients we can use: I don't have the solution, but I think we can find something more robust than your counting the number of characters and deleting them. Can you please test |
e236e2d
to
57be441
Compare
Thanks for the review. I applied your suggestions. Now |
Thanks, I see some room for improvement, but overall I think the general strategy is good. Can you please explain why you need the check on |
Could this be generalized to work with |
@Sbozzolo
@okamsn i don't see how |
What I mean to ask is whether there is a way to make this insertion of text generally work for other commands too, such as |
completion-at-point and file name completion has nothing to do with dabbrev-expand and vterm-dabbrev-expand which tries to mimic dabbrev-expand. |
9a6dbeb
to
a2f2286
Compare
This commit add dabbrev-expand as requested in #362