how to set the default mode to 'emacs' when emacs start?

Isaac ip at cbmny.us
Wed May 18 17:15:33 CEST 2011


> currently vimpulse starts in vim mode, how can I change the behavior to 
default
> emacs mode instead? thanks
> Best regards,
>  Isaac
> 
>  Hi Isaac,
> I believe what you want to do is set "Always Invoke Viper" to nil.
> 
> The setting is in customize-group viper-misc
> 
> 
> 
> 
> Tim 
> 
thanks Tim

I tried to put (setq viper-always nil) in my .emacs, and found if putting it 
before the vimpulse lines, it disabled vimpulse/viper at all; but putting it 
after the vimpulse lines seem to have no effect, the editor remains default in 
vimpulse mode.

just thought of toggle-viper-mode function, putting it in the .emacs after the 
vimpulse lines, it now works as I hopped. 

thanks for help though!

Best, Isaac





More information about the implementations-list mailing list