(03-13)vim 配置快捷键映射


 https://blog.csdn.net/weixin_43919932/article/details/121875897 

################加入 .vimrc#############################

"F3 for comment "//"
vmap :s=^\(//\)*=//=g:noh
nmap :s=^\(//\)*=//=g:noh
imap :s=^\(//\)*=//=g:noh

"F4 for uncomment "//"
vmap :s=^\(//\)*==g:noh
nmap :s=^\(//\)*==g:noh
imap :s=^\(//\)*==g:noh

F3 注释

F4 取消注释 

################参考、阅读#############################

  1)Vim中的键映射

 https://www.cnblogs.com/softwaretesting/archive/2011/09/28/2194515.html

(2)一文讲清楚vim的map映射

https://blog.csdn.net/lianshaohua/article/details/108388945

(3)vim map nmap(转)

https://blog.csdn.net/taoshengyang/article/details/6319106

(4)知乎: vim中为什么有那么多map?

https://www.zhihu.com/question/20741941