Customising word separators in vi

前端 未结 6 1550
抹茶落季
抹茶落季 2020-12-04 23:24

vi treats dash - and space   as word separators for commands such as dw and cw.

Is there a way to add unders

6条回答
  •  忘掉有多难
    2020-12-04 23:47

    In case you're using vim, you can change that by setting the iskeyword option (:he iskeyword). If that is not an option, you can always use ct_ instead of counting.

提交回复
热议问题