Kurt Keller's Blog

tech notes and more

current filename

Ever needed to write the current filename in a text (or a vim command) and got it wrong several times because it was so complicated? Don’t despair, it’s easy. CTRL-r % automatically enters the name of the current file. No more mistyping.

CTRL-r % enter the current filename
Share

Leave a Reply