Using alt+backspace key in vim command line to delete by words

前端 未结 6 2355
萌比男神i
萌比男神i 2021-02-18 17:03

Is there a way to use the alt+backspace in vim command line? It gets unruly when having to backspace /very/long/file/path individually instead of using

6条回答
  •  不要未来只要你来
    2021-02-18 17:43

    http://vim.wikia.com/wiki/Map_Ctrl-Backspace_to_delete_previous_word

    :imap

    sets ctrl backspace, i have to look at how to do alt

提交回复
热议问题