In vim, if I'm working on a Python script, I will commonly type::! python this_script.pyto execute the script. Is there a shortcut for the name of the current file? If not, can I easily make one? I'm new at vim, and I'm not sure how to google for this.
Is there a vim shortcut for ?
vim;keyboard shortcuts;macro
You can just use % for current file. This command should serve your purpose::! python %