How do I correct Vim spelling mistakes quicker?

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

My usual Vim work flow is:

  • In insert mode, spell something wrong.

    \"Vim

6条回答
  •  一生所求
    2020-12-23 12:40

    This works fairly well:

    imap ^L [s1z=`]a
    

    [s moves to the last spelling mistake
    1z= chooses the first suggestion
    `] move to the last insert point
    a append text

提交回复
热议问题