Is there some way to list unused keybinds? I guess if the answer is no, it would be a good feature-request (especially for these undecided types like myself).
Edit: To make it more precise, I know you can list bindings with:
:map :nmap :imap
FFI see:
:help map-modes
and manually check whether given binding is used by typing e.g.:
:help Ctrl-w :help ^w
FFI see:
:help map
On vim , command-mode keys can be mapped through the ex command :map <key> <macro> and insert-mode keys can be mapped through :map! <key> <macro> . After mapped, the commands to remove the mapping from the command-mode keys and insert-mode keys are unmap <key> and unmap!
To my knowledge there is no way to list the unused key-bindings (this would be impossible because there is an infinite number of them).
But if you want to go the other way around you can type:
:map :imap
to list the user defined key-bindings.
Also if you type
:help index
you can check if some key-binding is already assigned to a function in vim.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With