Its very strange and delightful to see that when you press F9 in side vi editor, a backup copy of the file is created or when you press F8, the xml file is formatted in readable form.
It is always useful when we map certain keys usually function keys inside VI editor to make our work easy.
In this very article, we shall learn how to map keyboard keys inside vi editor to execute certain commands.
The basic syntax to create mapping is:
cmd attribute lhs rhs