Hi, I obtained a git clone of vimpulse and followed the instructions for installation. It basically says to put (require 'vimpulse)
in my .emacs file - but this will start viper/vimpulse upon startup, so I tried to have vimpulse load only if I invoke viper-mode with (add-hook 'viper-mode-hook (lambda () (require 'vimpuse))
. But when I do this visual mode does not work (tries to open file instead), so instead I now have something like (defun vimpulse-on () (interactive) (require 'vimpulse))
. After that to toggle on and off I use C-z
. Does that about sound right? So once vimpulse is loaded there's no equivalent of M-x viper-go-away
and instead it's suspended until I hit C-z
again... Also, any general tips with using viper/vimpulse would be appreciated! Thanks much in advance.
Edit: syntax error corrected. What I had tried was (add-hook 'viper-mode-hook (lambda () (require 'vimpulse))
, which does not enable visual mode when viper-mode
is started. v
in normal-mode appears to be mapped to find-file
(or ido-find-file
).