[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs keyboard command
From: |
Dieter Wilhelm |
Subject: |
Re: Emacs keyboard command |
Date: |
Wed, 26 Jul 2006 08:00:20 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"B. T. Raven" <ecinmn@alcisp.com> writes:
> "Steve Allan" <takezowest@yahoo.com> wrote in message
> upsft45gf.fsf@attachmate.com">news:upsft45gf.fsf@attachmate.com...
>> "mailpitches@email.com" <mailpitches@email.com> writes:
>>
>> >I'm looking for a specific keyboard command.
>> >
>> >When you hit C-X C-F to Find file, you are presented with a default
>> >path such as ~/dir/blah. Is there a key command to travel backwards by
>> >directory, so that I can press this key command and immediately get
>> >~dir/ without having to hit delete four times?
>>
>> Try backward-kill-word, which is bound to M-<backspace> in my version
>> of Emacs. I think that'll do what you want.
>
> C-<backspace> if Backspace is Del. Also hold Ctl down while typing a-k
> will delete everything back to the read-only prompt.
It's not necessary to kill the whole line just type immediately behind the
presented path `~/dir' (without the accents) and Emacs disregards the
first, wrong part and starts with `~/dir'.
--
Best wishes
H. Dieter Wilhelm
Darmstadt, Germany