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

后端 未结 3 850
离开以前
离开以前 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:19

    You can actually use 'viper-forward-word

    (require 'viper)
    (global-set-key (kbd "M-f") 'viper-forward-word)
    (global-set-key (kbd "M-b") 'viper-backward-word)
    

提交回复
热议问题