Vim tip: quickly insert current filename
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%.
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%.