Is there any way to view the currently mapped keys in Vim? Ask Question

Is there any way to view the currently mapped keys in Vim? Ask Question

Basically, I'd like to view all of the keys maps made in the current buffer by all of plugins, vimrc, etc, in the current buffer. Is there anyway to do this?

ベストアンサー1

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.

おすすめ記事