-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
First time TRAMP completion #145
Comments
Thanks. Let me know if there's still some annoying stuff left. |
Ok, that didn't change anything for me and after digging into the code, I'm confused what the logic in
Here is the default behaviour in emacs: On first startup, you don't get tramp completion until you enter the first colon. After that, methods and hostnames are completed, but In When I require tramp first, I get method completion for |
You're entering |
Here's how I do it, without requiring tramp:
That's all there is to it. It's also possible to C-x C-f |
* ivy.el (ivy-alt-done): Update. Re #145
Ah, I see. I did in fact never try to input a single slash, because in my intuition, a tramp file name starts with a / (and not with This works very well (after enabling recursive minibuffers), but IMHO doesn't blend in with the rest of the interface. (For example, typing |
* ivy.el (ivy-alt-done): With the example input, offer a completion for known remotes with the initial input "foo". Re #145
This was the case before, but since
You mean it doesn't work if the user hasn't enabled recursive minibuffers?
Fixed.
I don't know if a user should go that far without completion. But I'll try to add a work-around anyway. |
* ivy.el (ivy-alt-done): Add another cond branch for `ivy-text' matching a full remote file path. Re #145
Yes, I need to set
I think, completion should support the user whenever he needs it and in whatever state it is in. Muscle memory and fast typing can mean that it's sometimes easier to type things out than to complete. Especially when the completion has to be initiated manually and requires a context switch (such as C-j after the method name). Btw, thanks again for your work. Ivy has never made me want to go back to helm, so far. |
Thanks to you too. Most of the improvements here are done through user feedback. Just keep it coming, preferably in many small tractable improvements, rather than few large requests :) |
In a fresh emacs, where I haven't had any TRAMP connections open, remote file-name completion (and host-names and methods) doesn't work until I open at least one file or directory in tramp.
The same is true for
emacs -Q
, it also doesn't complete methods or host names the first time, BUT I can get filename completion by typingssh:host:./<TAB>
(the./
is important, without it, it doesn't work).Requiring TRAMP first seems to fix it (and also immediately provides completion for host names and methods), but I'd rather have it lazily loaded, like regular
find-file
seems to do it.The text was updated successfully, but these errors were encountered: