Vim Maps
You can have up to 26 Vim macros, one for each letter of the alphabet. It is limiting, which is when you can use maps instead. Maps can be defined for specific modes. For example :map a1 :d3<CR>
works in normal mode; if you add an exclamantion mark to the map command, it works in insert mode :map! <F2> <ESC>:d2<CR>i
See more at: https://vim.fandom.com/wiki/Mapping_keys_in_Vim_-Tutorial(Part_1)