How do I correct Vim spelling mistakes quicker?

前端 未结 6 1813
醉梦人生
醉梦人生 2020-12-23 12:11

My usual Vim work flow is:

  • In insert mode, spell something wrong.

    \"Vim

6条回答
  •  一向
    一向 (楼主)
    2020-12-23 12:27

    I fixed it with the following remap in my .vimrc.

    imap  mtis`tla
    

    Press F2 in insert mode to correct the last mistake and go back to insert mode where you were. It overwrites the t marker.

提交回复
热议问题