help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp convinient way to cut path part in minibuffer


From: Paul K
Subject: Re: tramp convinient way to cut path part in minibuffer
Date: Sun, 8 Mar 2015 20:57:28 +0100

Michael,
You again come with good news!

Although emacs has many great modules, tramp is my favourite one.

Thank You for even faster and more convenient way :)

best regards,
Paul



On Sun, Mar 8, 2015 at 6:21 PM, Michael Albinus <address@hidden>
wrote:

> Paul K <address@hidden> writes:
>
> > Hallo People
>
> Hi Paul,
>
> > Is there any key combination to move cursor `here`, so that I could cut
> > /etc/passwd and then put /var/log/messages path?
>
> You don't need to cut /etc/passwd. If you enter two slashes "//" at the
> end of the minibuffer, everything which is part of the local name on the
> remote machine is ignored. Try this (given you have opened
> /scp:remote.linux.box:/etc/passwd):
>
> C-x C-f /var/log/messages
>
> Since C-x C-f gives you the default path "/scp:remote.linux.box:/etc/"
> in the minibuffer you can just start to type with "/var..." - the "/" of
> "/var" adds the second slash.
>
> Btw, three or more slashes "///" will ignore everything in the
> minibuffer before them.
>
> > regards
>
> Best regards, Michael.
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]