Alexey Romanov
Alexey Romanov

Reputation: 170723

What’s in your .viper file at start-up of Emacs?

Similar to this question, but for Viper users specifically. How do you customize Viper mode in Emacs?

Upvotes: 2

Views: 277

Answers (1)

spk
spk

Reputation: 594

My .viper:

(setq viper-expert-level '5)
(setq viper-inhibit-startup-message 't)
;;; '/' Search ignores case
(setq case-fold-search t)
;;; Can't live without auto-indent in any mode, be it text or source code
(setq-default viper-auto-indent t)
;;; Electrifies Viper
(setq-default viper-electric-mode t)
;;; Useful if you like to bang the ESC key
;; (setq-default viper-no-multiple-ESC t)
;;; This doesn't work for me - YMMV
(setq-default viper-ESC-moves-cursor-back nil) 

I picked the above customizations from this thread (which has a lot more, though most of is obsolete / redundant when you use Vimpulse) :

http://www.mail-archive.com/[email protected]/msg00062.html

Upvotes: 2

Related Questions