More documentation, don't recenter curser while scrolling.

This commit is contained in:
tastytea 2019-03-23 04:48:22 +01:00
parent 359cc46697
commit 4097004720
2 changed files with 16 additions and 9 deletions

23
init.el
View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file.
;;; Time-stamp: <2019-03-22 23:44:16 CET>
;;; Time-stamp: <2019-03-23 04:48:18 CET>
;;; Commentary:
;;; I am using this file with Emacs 26, but most of it will probably work with
@ -87,13 +87,16 @@
;; Save minibuffer history.
(savehist-mode t)
;; Save backups in ~/.emacs.d/ and keep more versions.
;; Save backups in ~/.emacs.d/backups/ and keep more versions.
(setq backup-directory-alist
`(("." . ,(concat user-emacs-directory "backups"))))
(setq delete-old-versions t
kept-new-versions 6
;; kept-old-versions 2
version-control t)
;; Save auto-saves in ~/.emacs.d/backups/.
(setq auto-save-file-name-transforms
`((".*" ,(concat user-emacs-directory "backups") t)))
(setq delete-old-versions t ; Delete old backups.
kept-new-versions 6 ; Keep 6 newest backups.
backup-by-copying t ; Copy to backup folder.
version-control t) ; Append version numbers to file names.
;; Set some personal information.
(setq user-full-name "tastytea"
@ -119,8 +122,11 @@
;; Scroll 1 line at a time.
(setq mouse-wheel-scroll-amount '(1 ((shift) . 1)))
;; Never recenter cursor while scrolling.
(setq scroll-conservatively 101)
;; Scroll before cursor has reached top/bottom.
;; Way too slow with fci-mode and highlight-indent-guides activated.
(use-package smooth-scrolling
:config
(smooth-scrolling-mode 1))
@ -413,8 +419,9 @@
:after ido
:custom
(ido-enable-flex-matching t)
(ido-ignore-extensions t) ; Ignore extension like ~ and .o.
(ido-use-virtual-buffers t) ; Keep history of recently opened buffers.
(ido-ignore-extensions t) ; Ignore extension like ~ and .o.
(ido-use-virtual-buffers t) ; Use history of recently opened buffers.
(recentf-max-saved-items 20) ; Keep this number of buffers in history.
:config
(flx-ido-mode t))

View File

@ -1,2 +1,2 @@
127.0.0.1:51313 14312
127.0.0.1:51313 26837
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh