From: Peng Li Date: Mon, 11 Sep 2017 22:58:35 +0000 (+0800) Subject: Fix two scroll auto recenter X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;h=78290b0eeb22751092e076c174080bec35a832e6;hp=29d4287b20eab90c6dad32764d242842f319904b;p=dotfiles.git Fix two scroll auto recenter --- diff --git a/emacs.d/config.org b/emacs.d/config.org index d66765a..df20cde 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -54,6 +54,9 @@ Set system PATH and emacs exec path ;;supress the redefined warning at startup (setq ad-redefinition-action 'accept) + + (setq scroll-step 1) + (setq scroll-margin 5) #+END_SRC *** Custom file @@ -2112,6 +2115,7 @@ bindings in =lispy-mode-map= after loaded. see [[http://stackoverflow.com/questi (use-package lispy :ensure t :init + (setq lispy-delete-backward-recenter 0) (with-eval-after-load "lispy" (define-key lispy-mode-map (kbd "M-o") nil) (define-key lispy-mode-map (kbd "g") 'special-lispy-goto-local)