What is the difference between and in vim?

前端 未结 3 809
刺人心
刺人心 2020-12-14 20:58

One of the best tips for using vim that I have learned so far has been that one can press Ctrl+C or Ctrl+[ instead of the Es

3条回答
  •  不思量自难忘°
    2020-12-14 21:25

    According to Vim's documentation, Ctrl+C does not check for abbreviations and does not trigger the InsertLeave autocommand event while Ctrl+[ does.

    One option is to use the following to remap Ctrl+C

    inoremap  
    

提交回复
热议问题