Thierry Volpiatto
<
thierry....@gmail.com> writes:
> Eric Abrahamsen <
er...@ericabrahamsen.net> writes:
>
>> I'm a bit confused by using helm-find-files and tramp to open files on
>> remote servers. Say I have the server "bub" configured in my
>> ~/.ssh/config file, I should be able to visit:
>>
>> /scp:bub:file.txt
>
> Not exactly, give always a full path i.e "/scp:bub:/home/you/file.text".
> Not a problem as you should not have to type in this, see below:
Hi, thanks for the reply,
> 1) enter in prompt "/scp:"
> Completion should show "bub" and maybe others
> (if it doesn't, that's mean tramp is not aware yet of your shortcut,
> so type in "bub").
> 2) with cursor on bub, hit C-j (persistent action)
> you should have now in prompt "/scp:bub"
> 3) add ":" in prompt
> as soon as you enter this last ":" helm completion on remote starts,
> and you should see soon (depend on connection) all candidates.
> 4) At initialization of connection you will have to hit C-j once to have
> the full path in minibuffer, after first connection this will be done
> alone.
All this works up until step three. When I hit C-j on "/scp:bub", it
gives me a completions window with "/scp:bub:/home/eric/." as the first
line, and the correct list of files in my remote home directory below
that.
But when I continue typing filepath elements, the completions window
blanks, and then (as far as I can tell) nothing more happens. These are
paths I can already see in the completions window, but the moment I
start typing, they disappear.
A little twist: if I use C-n to move to the directory I want, then C-j
to enter it, then C-n to select the next segment, etc etc, the
completions for each directory show correctly, and I can reach the file
I'm after without too much delay. But again, if I type any characters,
the completions window blanks and then nothing happens.
Ultimately, I still suspect my terrible connection to the server, but if
there's anything that could be adjusted on the helm end, that would be
great. Since I figured out the above trick, everything's fairly usable,
but of course it would be best if it just worked normally!
If you think a proper bug report is in order, let me know and I'll make
one on github.
Thanks,
Eric