[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tramp convinient way to cut path part in minibuffer
From: |
Paul K |
Subject: |
tramp convinient way to cut path part in minibuffer |
Date: |
Sun, 8 Mar 2015 16:01:31 +0100 |
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
- tramp convinient way to cut path part in minibuffer,
Paul K <=