Is there any way to view the currently mapped keys in Vim?
:redir! > vim_keys.txt
:silent verbose map
:redir END
This outputs the shortcuts, with where they were defined, to a text file.
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 mappings
The above list is not complete. Typing :help map
in Vim will give you more info.