Modifying emacs forward-word / backward-ward behavior (to be like in vi/vim)

后端 未结 3 756
离开以前
离开以前 2020-12-31 13:35

What would be the easiest way to have the same kind of behavior that is in vim for the word back and forth navigation? In vim when you press \"w\" it moves a cu

3条回答
  •  说谎
    说谎 (楼主)
    2020-12-31 14:14

    I don't know why jpkotta's answer was deleted, but here it is again:

    I have a minor mode that changes word-based commands to operate on syntax changes (and also CamelCaseSubwords). It may be a bit too fine-grained for some tastes, but I find I basically ever use single character movement anymore.

    https://bitbucket.org/jpkotta/syntax-subword

    @ mods, I don't know why this answer would be deleted, so if you choose to delete this answer too, I'd appreciate an explanation.

提交回复
热议问题