Move to the beginning of line while in Insert mode

前端 未结 9 634
慢半拍i
慢半拍i 2021-01-30 02:04

I know that I can use either:

  1. Home in insert mode
  2. Esc + i to exit insert mode and enter it again, effectively going to th
9条回答
  •  伪装坚强ぢ
    2021-01-30 02:52

    You can map the keys to this:

    inoremap II I
    

    ref: http://vim.wikia.com/wiki/Quick_command_in_insert_mode

提交回复
热议问题