mapping function keys in vim

后端 未结 2 367
感情败类
感情败类 2020-12-29 23:53

I want to map my F2 for nerdtree with the following entry:

map  :NERDTreeToggle

But even before that, and

2条回答
  •  执笔经年
    2020-12-30 00:29

    :map  :NERDTreeToggle
    

    After starting Vim you can look with

    :map 
    

    what F2 is mapped to. It is possible that the plugins change the mapping (not visible in .vimrc)

提交回复
热议问题