summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el15
1 files changed, 11 insertions, 4 deletions
diff --git a/init.el b/init.el index 1000714..6cfc405 100644 --- a/init.el +++ b/init.el
@@ -25,10 +25,17 @@
25 25
26(setup (:require +emacs) 26(setup (:require +emacs)
27 (:also-load +lisp) 27 (:also-load +lisp)
28 ;; +emacs.el contains super-basic defaults that are basically 28 ;; +emacs.el contains super-basic defaults that are basically necessary for
29 ;; necessary for good functioning. In this block, I add extra 29 ;; good functioning. In this block, I add extra things or more "experimental"
30 ;; things or more "experimental" ones that might not belong in a 30 ;; ones that might not belong in a separate file.
31 ;; separate file. 31 (:option sentence-end-double-space nil) ; I can't believe I'm doing this...
32 ;; Setting `sentence-end-double-space' to nil means that `fill-paragraph'
33 ;; fills single-spaced sentences, which I /don't/ like. This advice will fix
34 ;; that.
35 (define-advice fill-region (:around (fn &rest r))
36 (dlet ((sentence-end-double-space t))
37 (apply fn r)))
38 ;; Bindings
32 (:global "C-x C-k" #'kill-this-buffer 39 (:global "C-x C-k" #'kill-this-buffer
33 "C-x 4 n" #'clone-buffer 40 "C-x 4 n" #'clone-buffer
34 "C-c v" #'visible-mode 41 "C-c v" #'visible-mode