开发者

how to overwrite default system key mapping in vim

开发者 https://www.devze.com 2022-12-17 15:05 出处:网络
I want to map f1 to create a n开发者_运维百科ew tab so I add the following line map <F1> :tabnew <CR>

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

精彩评论

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