viper-mode で前の行と後の行を行き来する。

2009年11月11日水曜日

emacs MacOS X viper-mode

t f B! P L
Viper-mode on Emacs において、''l'' または ''h'' で、前の行と後ろの行に移動できないという悩みがありました。下の呪文を .emacs に書き込んで解決です。なにか、情けない設定のようにも見えます。

(define-key viper-vi-global-user-map "l" 'forward-char)
(define-key viper-vi-global-user-map "h" 'backward-char)

このブログを検索

人気の投稿

QooQ