Short edits with vimpulse

argetek senvx argetek.senvx at gmail.com
Tue May 3 02:18:24 CEST 2011


> ISTM change-major-mode-hook is a more appropriate hook.

This hasn't worked out for me, I tried:

(remove-hook 'change-major-mode-hook 'viper-major-mode-change-sentinel)
(add-hook 'change-major-mode-hook (lambda () (viper-change-state-to-emacs)))

> I would also want to disable it for mini-buffer.

http://gitorious.org/vimpulse/pages/Tips lists:

(remove-hook 'minibuffer-setup-hook 'viper-minibuffer-setup-sentinel)
(defadvice viper-set-minibuffer-overlay (around vimpulse activate) nil)
(define-key minibuffer-local-map (kbd "ESC") 'abort-recursive-edit)

This works well.

-- 
Regards,

      ~ argetek



More information about the implementations-list mailing list