help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: insert name of current file


From: Oleksandr Gavenko
Subject: Re: insert name of current file
Date: Wed, 26 Jan 2011 00:33:59 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

On 2011-01-25 23:59, Gradivus wrote:

Hi,

Sorry I'm a noob.

I wonder if someone knows how I can insert the current file's name
(i.e., the name of the file I'm editing) at the cursor, and without the
full path.

If this task noes not repeatedly you can type: C-x C-f DOWN
and select file name, press C-w to copy it and C-g to
back to editing buffer where you can put file name by C-y.

I also have stuck with this knowledge some years ago.

--
Best regards!




reply via email to

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