How to insert the current filename into the Vim's contents

  • The current filename is always present in the Vim’s register named %
  • To insert it, you should use <C-r>% where <C-r> is Ctrl+r
Slavisa Jovanovic
Slavisa Jovanovic
Associate Professor (Maitre de conférence HDR)

My research interests include circuits and systems for AI and energy harvesting circuits.