Home  >  Q&A  >  body text

How does gvim define the shortcut key ctrl+;?

For example, gvim defines ctrl+; as the shortcut key to open or hide NERDTree, as follows:

 map <C-;> :NERDTreeToggle<CR>

is not recognized by gvim. Please give me some guidance from those who know it. Thank you very much.

为情所困为情所困2712 days ago742

reply all(1)I'll reply

  • 習慣沉默

    習慣沉默2017-05-16 16:38:19

    The semicolon is written as map <c-;>是没有问题的
    不过,vim无法捕捉到<c-;>,将用户输入的ctrl+;识别成;

    reply
    0
  • Cancelreply