开发者

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

开发者 https://www.devze.com 2023-01-04 15:35 出处:网络
Similar to this question, but for Viper users specifically. How 开发者_运维知识库do you customize Viper mode in Emacs?My .viper:

Similar to this question, but for Viper users specifically. How 开发者_运维知识库do you customize Viper mode in Emacs?


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/implementations-list@lists.ourproject.org/msg00062.html

0

精彩评论

暂无评论...
验证码 换一张
取 消