Regroup some basic settings to use-package declarations
This also sets `switch-to-buffer-in-dedicated-window` to `pop`, sorry for the mixup.
This commit is contained in:
parent
aec896c939
commit
65748689c6
13
init.el
13
init.el
@ -385,7 +385,6 @@
|
|||||||
mouse-yank-at-point t
|
mouse-yank-at-point t
|
||||||
require-final-newline nil
|
require-final-newline nil
|
||||||
sentence-end-double-space t
|
sentence-end-double-space t
|
||||||
recenter-positions '(top middle bottom)
|
|
||||||
scroll-conservatively 10
|
scroll-conservatively 10
|
||||||
message-log-max t
|
message-log-max t
|
||||||
inhibit-eol-conversion nil
|
inhibit-eol-conversion nil
|
||||||
@ -398,7 +397,6 @@
|
|||||||
delete-by-moving-to-trash t
|
delete-by-moving-to-trash t
|
||||||
delete-trailing-lines nil
|
delete-trailing-lines nil
|
||||||
x-underline-at-descent-line t
|
x-underline-at-descent-line t
|
||||||
search-whitespace-regexp "[ \t\r\n]+"
|
|
||||||
visual-line-fringe-indicators '(left-curly-arrow right-curly-arrow)
|
visual-line-fringe-indicators '(left-curly-arrow right-curly-arrow)
|
||||||
history-delete-duplicates t
|
history-delete-duplicates t
|
||||||
track-eol t
|
track-eol t
|
||||||
@ -407,8 +405,7 @@
|
|||||||
next-error-message-highlight t
|
next-error-message-highlight t
|
||||||
help-enable-symbol-autoload t
|
help-enable-symbol-autoload t
|
||||||
describe-bindings-outline t
|
describe-bindings-outline t
|
||||||
redisplay-skip-fontification-on-input t
|
redisplay-skip-fontification-on-input t)
|
||||||
switch-to-buffer-obey-display-actions t)
|
|
||||||
|
|
||||||
(when (memq system-type '(gnu gnu/linux gnu/kfreebsd))
|
(when (memq system-type '(gnu gnu/linux gnu/kfreebsd))
|
||||||
(setq x-wait-for-event-timeout nil))
|
(setq x-wait-for-event-timeout nil))
|
||||||
@ -564,7 +561,8 @@
|
|||||||
:init (setq image-use-external-converter t))
|
:init (setq image-use-external-converter t))
|
||||||
|
|
||||||
(use-package isearch
|
(use-package isearch
|
||||||
:init (setq isearch-allow-scroll t))
|
:init (setq isearch-allow-scroll t
|
||||||
|
search-whitespace-regexp "[ \t\r\n]+"))
|
||||||
|
|
||||||
(use-package ispell
|
(use-package ispell
|
||||||
:commands (ispell-change-directory))
|
:commands (ispell-change-directory))
|
||||||
@ -620,6 +618,11 @@
|
|||||||
:config (cl-pushnew '(undo discard-info) warning-suppress-types
|
:config (cl-pushnew '(undo discard-info) warning-suppress-types
|
||||||
:test #'equal))
|
:test #'equal))
|
||||||
|
|
||||||
|
(use-package window
|
||||||
|
:init (setq switch-to-buffer-obey-display-actions t
|
||||||
|
switch-to-buffer-in-dedicated-window 'pop
|
||||||
|
recenter-positions '(top middle bottom)))
|
||||||
|
|
||||||
(use-package winner
|
(use-package winner
|
||||||
:commands (winner-mode winner-undo winner-redo))
|
:commands (winner-mode winner-undo winner-redo))
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user