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

后端 未结 3 865
离开以前
离开以前 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条回答
  •  萌比男神i
    2020-12-31 14:17

    Mostly a duplicate of this, which says:

    (require 'misc)
    

    Then bind whatever keys you want to forward-to-word and backward-to-word. For killing, create some simple functions that wrap these functions and do kill.

提交回复
热议问题