More documentation, don't recenter curser while scrolling.
This commit is contained in:
parent
359cc46697
commit
4097004720
21
init.el
21
init.el
|
@ -1,5 +1,5 @@
|
||||||
;;; init.el --- tastytea's Emacs init file.
|
;;; 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:
|
;;; Commentary:
|
||||||
;;; I am using this file with Emacs 26, but most of it will probably work with
|
;;; I am using this file with Emacs 26, but most of it will probably work with
|
||||||
|
@ -87,13 +87,16 @@
|
||||||
;; Save minibuffer history.
|
;; Save minibuffer history.
|
||||||
(savehist-mode t)
|
(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
|
(setq backup-directory-alist
|
||||||
`(("." . ,(concat user-emacs-directory "backups"))))
|
`(("." . ,(concat user-emacs-directory "backups"))))
|
||||||
(setq delete-old-versions t
|
;; Save auto-saves in ~/.emacs.d/backups/.
|
||||||
kept-new-versions 6
|
(setq auto-save-file-name-transforms
|
||||||
;; kept-old-versions 2
|
`((".*" ,(concat user-emacs-directory "backups") t)))
|
||||||
version-control 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.
|
;; Set some personal information.
|
||||||
(setq user-full-name "tastytea"
|
(setq user-full-name "tastytea"
|
||||||
|
@ -119,8 +122,11 @@
|
||||||
|
|
||||||
;; Scroll 1 line at a time.
|
;; Scroll 1 line at a time.
|
||||||
(setq mouse-wheel-scroll-amount '(1 ((shift) . 1)))
|
(setq mouse-wheel-scroll-amount '(1 ((shift) . 1)))
|
||||||
|
;; Never recenter cursor while scrolling.
|
||||||
|
(setq scroll-conservatively 101)
|
||||||
|
|
||||||
;; Scroll before cursor has reached top/bottom.
|
;; Scroll before cursor has reached top/bottom.
|
||||||
|
;; Way too slow with fci-mode and highlight-indent-guides activated.
|
||||||
(use-package smooth-scrolling
|
(use-package smooth-scrolling
|
||||||
:config
|
:config
|
||||||
(smooth-scrolling-mode 1))
|
(smooth-scrolling-mode 1))
|
||||||
|
@ -414,7 +420,8 @@
|
||||||
:custom
|
:custom
|
||||||
(ido-enable-flex-matching t)
|
(ido-enable-flex-matching t)
|
||||||
(ido-ignore-extensions t) ; Ignore extension like ~ and .o.
|
(ido-ignore-extensions t) ; Ignore extension like ~ and .o.
|
||||||
(ido-use-virtual-buffers t) ; Keep history of recently opened buffers.
|
(ido-use-virtual-buffers t) ; Use history of recently opened buffers.
|
||||||
|
(recentf-max-saved-items 20) ; Keep this number of buffers in history.
|
||||||
:config
|
:config
|
||||||
(flx-ido-mode t))
|
(flx-ido-mode t))
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
127.0.0.1:51313 14312
|
127.0.0.1:51313 26837
|
||||||
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh
|
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh
|
Loading…
Reference in New Issue
Block a user