Mapping for quicker access to macros
From Vim Tips Wiki
Tip 398 Previous Tip • Next Tip
Created: January 10, 2003 Complexity: basic Author: torelg Minimum version: 5.7 Karma: 16/11 Imported from: Tip#398
Use this mapping as a convenient way to play a recorded macro:
:nnoremap <space> @q
Start recording keystrokes by typing qq.
End recording with q (first press Escape if you're in insert mode).
Play the recorded keystrokes by hitting space.
