Re-arranged config.

This commit is contained in:
tastytea 2019-04-02 14:45:01 +02:00
parent 6a9beb9d56
commit 1198ce19f6
1 changed files with 8 additions and 8 deletions

16
init.el
View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file.
;;; Time-stamp: <2019-04-02 14:32:01 CEST>
;;; Time-stamp: <2019-04-02 14:42:51 CEST>
;;; Commentary:
;;; I am using this file with Emacs 26, but most of it will probably work with
@ -80,9 +80,6 @@
;; Just type y/n instead of yes/no when prompted.
(defalias 'yes-or-no-p 'y-or-n-p)
;; Hide toolbar.
(tool-bar-mode -1)
;; Save cursor position.
(use-package saveplace
:config
@ -141,10 +138,6 @@
;; Paste text where the cursor is, not where the mouse is.
(setq mouse-yank-at-point t)
;; Put scrollbar to the right side.
(if (display-graphic-p)
(set-scroll-bar-mode 'right))
;; Make scratch buffer empty and select text-mode.
(setq initial-scratch-message nil
initial-major-mode 'text-mode)
@ -352,6 +345,13 @@
("C-c g" . my/load-realgud)))
;;;;;;;;;;;;;;;;;;;; Appearance ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Hide toolbar.
(tool-bar-mode -1)
;; Put scrollbar to the right side.
(if (display-graphic-p)
(set-scroll-bar-mode 'right))
;; Icons (required by doom).
(use-package all-the-icons
:config