开发者

how to overwrite default system key mapping in vim

I want to map f1 to create a n开发者_运维百科ew tab so I add the following line

   map <F1> :tabnew <CR>

into my .vimrc and save it . But when I hit f1 in vim the GNOME TERMINAL MANNUAL window pops up rather than a new tab being created . So what should I do in this situation ?


Go to Edit | Keyboard Shortcuts... and remap or remove the shortcut.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜