You can do that with the :map command. There are also other variants.
:nmapfor normal mode mappings:vmapfor visual mode mappings:imapfor insert mode mappings
The above list is not complete. Typing :help map in Vim will give you more info.
You can do that with the :map command. There are also other variants.
:nmap for normal mode mappings:vmap for visual mode mappings:imap for insert mode mappingsThe above list is not complete. Typing :help map in Vim will give you more info.