Blog of Leonid Mamchenkov

You just stepped in a pile of posts.

Vim tip: quickly insert current filename

Posted in All on August 15th, 2006 · No Comments

I don’t need this functionality very often, but when I do, it’s nice to have a quick and easy way to do it. In order to insert the current filename, while in insert mode press Ctrl-r%.

Via vim users mailing list.

Tags:

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment

Note: This post is over 2 years old. You may want to check later in this blog to see if there is new information relevant to your comment.

Advertisement

  • Flickr
  • WordPress publishing platform
  • Linux Weekly News