From: Paul K <mafeuser@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: tramp convinient way to cut path part in minibuffer
Date: Sun, 8 Mar 2015 16:01:31 +0100 [thread overview]
Message-ID: <CAA+mFXNO0O8Y2yrjKCuBjYvp0gg8cEm8wc2QUOiQrMEvTH3=bg@mail.gmail.com> (raw)
Hallo People
I'm going to open /scp:remote.linux.box:/etc/passwd.
Currently opened file is /scp:remote.linux.box:/var/log/messages,
thus pressing C-x C-f, produces following path to minibuffer:
/scp:remote.linux.box:/var/log/messages
Cursor is at the end of line of course.
Is there any key combination to move cursor `here`, so that I could cut
/etc/passwd and then put /var/log/messages path?
/scp:remote.linux.box:/var/log/messages
^
here.
Probably the perfect solution would be to force C-a to move cursor `here`
and another C-a to move cursor to beginning of line.
I'm opening many files on the same remote.linux.box, thus such solution
would be very helpful.
regards
next reply other threads:[~2015-03-08 15:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-08 15:01 Paul K [this message]
2015-03-08 17:21 ` tramp convinient way to cut path part in minibuffer Michael Albinus
2015-03-08 19:57 ` Paul K
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAA+mFXNO0O8Y2yrjKCuBjYvp0gg8cEm8wc2QUOiQrMEvTH3=bg@mail.gmail.com' \
--to=mafeuser@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.