[Top][All Lists]

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

add keystroke to put current filename into killstring

From: Dan Jacobson
Subject: add keystroke to put current filename into killstring
Date: 16 Mar 2002 23:04:52 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

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.
http://www.geocities.com/jidanni/ Taiwan(04)25854780

reply via email to

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