chiark / gitweb /
dot/emacs: Apply Viper settings as the defaults.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 3 Oct 2021 13:56:48 +0000 (14:56 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 3 Oct 2021 14:22:41 +0000 (15:22 +0100)
Otherwise they'll end up being local to some buffer in a really useless
way.

dot/emacs

index 167c3b8537a9b89eb1bbe7ba5e46242e5cdf94d4..41f81303cf8b6df8d11d2ce066ff04cef186fb1c 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
       '(("en_GB-ize-w_accents" "[[:alpha:]]" "[^[:alpha:]]" "'" t
         ("-d" "en_GB-ize-w_accents") nil utf-8))
       ispell-silently-savep t)
-(setq viper-case-fold-search t
-      viper-electric-mode t
-      viper-ex-style-motion nil
-      viper-ex-style-editing nil
-      viper-expert-level 5
-      viper-inhibit-startup-message t
-      viper-no-multiple-ESC nil
-      viper-re-query-replace t
-      viper-re-search t
-      viper-shift-width 2
-      viper-vi-style-in-minibuffer nil
-      viper-want-ctl-h-help t)
+(setq-default viper-case-fold-search t
+             viper-electric-mode t
+             viper-ex-style-motion nil
+             viper-ex-style-editing nil
+             viper-expert-level 5
+             viper-inhibit-startup-message t
+             viper-no-multiple-ESC nil
+             viper-re-query-replace t
+             viper-re-search t
+             viper-shift-width 2
+             viper-vi-style-in-minibuffer nil
+             viper-want-ctl-h-help t)
 (trap
   (require 'uniquify)
   (setq uniquify-buffer-name-style 'post-forward-angle-brackets)