1

https://stackoverflow.com/questions/35580505/how-to-find-all-vim-mappings-starting-with-control-key

I check this link. use the way like this:

:redir @a    redirect output of next command to register a
:map         list mappings
:redir END   end redirection
:vnew        edit new buffer in vertical window
:put a       put content of register a
:v/<C-/d     delete all lines not matching '<C-'

I also check this link cant find it either https://hea-www.harvard.edu/~fine/Tech/vi.html

And get the maps, but I cant find the ctrl+w, ctrl+v(which will vertical split the window)keybinding in this list, so how to list them all?

1
  • <C-W><C-V> isn't listed at the page you link to because that's a list of vi keybindings, and <C-W><C-V> is a Vim command.
    – Rich
    Commented Oct 28, 2022 at 14:10

1 Answer 1

2

Ctrl-WCtrl-V isn't a mapping: it's a normal mode command.

Mappings are set up using the various :map commands by your Vim configuration and your plugins. Normal mode commands are built into the Vim executable.

There's no command you can use to output them all, but they are listed at :help index and they have individual documentation in the help which you can find using a standardised syntax.

So for your Ctrl-WCtrl-V, you would use the command: :help CTRL-W_CTRL-V.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.