[Top][All Lists]

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

Re: add keystroke to put current filename into killstring

From: David Kastrup
Subject: Re: add keystroke to put current filename into killstring
Date: 16 Mar 2002 17:24:34 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50

address@hidden (Dan Jacobson) writes:

> There ought to be a keystroke command to put the current file or
> buffer name into the kill string.  Adding C-u should get the whole
> path, otherwise just the last component, for filenames.  I got this
> idea from dired-copy-filename-as-kill, but feel this is so useful that
> it should be generalized.  Yes, I know what I want takes 1 line of
> code.  Anyway, how about instead of somebody posting the answer and we
> all bind it to different keys in .emacs, at least the official
> key binding for the next emacs edition should be announced, so we can
> get into the right habit today, even though just putting it into
> emacs for now ---- assuming it is such a super idea in the first place.

It's bound to
C-x C-v C-a C-k C-g

Well, sort of.  That's what I use for the purpose.

David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: address@hidden

reply via email to

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