Split emacs settings into setopt, setq and setq-default
This commit is contained in:
parent
b680b9a7db
commit
200be29c32
1 changed files with 14 additions and 12 deletions
|
|
@ -218,20 +218,14 @@
|
||||||
(delete-selection-mode)
|
(delete-selection-mode)
|
||||||
(pixel-scroll-precision-mode)
|
(pixel-scroll-precision-mode)
|
||||||
|
|
||||||
(setq
|
(setopt
|
||||||
auto-save-file-name-transforms `((".*" ,temporary-file-directory t))
|
auto-save-file-name-transforms `((".*" ,temporary-file-directory t))
|
||||||
auto-window-vscroll nil
|
|
||||||
backup-directory-alist `((".*" . ,temporary-file-directory))
|
backup-directory-alist `((".*" . ,temporary-file-directory))
|
||||||
bookmark-fringe-mark nil
|
|
||||||
coding-system-for-read 'utf-8
|
|
||||||
create-lockfiles nil
|
create-lockfiles nil
|
||||||
default-process-coding-system '(utf-8-unix . utf-8-unix)
|
|
||||||
delete-by-moving-to-trash t
|
delete-by-moving-to-trash t
|
||||||
echo-keystrokes 0.1
|
echo-keystrokes 0.1
|
||||||
enable-recursive-minibuffers t
|
enable-recursive-minibuffers t
|
||||||
fast-but-imprecise-scrolling t
|
fast-but-imprecise-scrolling t
|
||||||
frame-title-format nil
|
|
||||||
global-auto-revert-non-file-buffers t
|
|
||||||
help-window-select t
|
help-window-select t
|
||||||
highlight-nonselected-windows nil
|
highlight-nonselected-windows nil
|
||||||
history-delete-duplicates t
|
history-delete-duplicates t
|
||||||
|
|
@ -240,13 +234,10 @@
|
||||||
kill-do-not-save-duplicates t
|
kill-do-not-save-duplicates t
|
||||||
lazy-count-prefix-format "(%s/%s) "
|
lazy-count-prefix-format "(%s/%s) "
|
||||||
lazy-count-suffix-format nil
|
lazy-count-suffix-format nil
|
||||||
locale-coding-system 'utf-8
|
|
||||||
minibuffer-prompt-properties
|
minibuffer-prompt-properties
|
||||||
'(read-only t cursor-intangible t face minibuffer-prompt)
|
'(read-only t cursor-intangible t face minibuffer-prompt)
|
||||||
next-line-add-newlines nil
|
next-line-add-newlines nil
|
||||||
ns-use-proxy-icon nil
|
|
||||||
read-extended-command-predicate #'command-completion-default-include-p
|
read-extended-command-predicate #'command-completion-default-include-p
|
||||||
redisplay-skip-fontification-on-input t
|
|
||||||
save-interprogram-paste-before-kill t
|
save-interprogram-paste-before-kill t
|
||||||
search-whitespace-regexp ".*?"
|
search-whitespace-regexp ".*?"
|
||||||
sentence-end-double-space nil
|
sentence-end-double-space nil
|
||||||
|
|
@ -255,7 +246,6 @@
|
||||||
scroll-margin 0
|
scroll-margin 0
|
||||||
scroll-preserve-screen-position t
|
scroll-preserve-screen-position t
|
||||||
tab-always-indent 'complete
|
tab-always-indent 'complete
|
||||||
truncate-string-ellipsis "..."
|
|
||||||
undo-limit 6710886400 ;; 64mb
|
undo-limit 6710886400 ;; 64mb
|
||||||
undo-outer-limit 1006632960 ;; x 10 (960mb)
|
undo-outer-limit 1006632960 ;; x 10 (960mb)
|
||||||
undo-strong-limit 100663296 ;; x 1.5 (96mb)
|
undo-strong-limit 100663296 ;; x 1.5 (96mb)
|
||||||
|
|
@ -263,7 +253,19 @@
|
||||||
user-full-name "Tobias Ostner"
|
user-full-name "Tobias Ostner"
|
||||||
user-mail-address "tobias.ostner@gmail.com"
|
user-mail-address "tobias.ostner@gmail.com"
|
||||||
visible-bell t
|
visible-bell t
|
||||||
window-combination-resize t
|
window-combination-resize t)
|
||||||
|
|
||||||
|
(setq
|
||||||
|
auto-window-vscroll nil
|
||||||
|
bookmark-fringe-mark nil
|
||||||
|
coding-system-for-read 'utf-8
|
||||||
|
default-process-coding-system '(utf-8-unix . utf-8-unix)
|
||||||
|
frame-title-format nil
|
||||||
|
global-auto-revert-non-file-buffers t
|
||||||
|
locale-coding-system 'utf-8
|
||||||
|
ns-use-proxy-icon nil
|
||||||
|
redisplay-skip-fontification-on-input t
|
||||||
|
truncate-string-ellipsis "..."
|
||||||
bidi-inhibit-bpa t)
|
bidi-inhibit-bpa t)
|
||||||
|
|
||||||
(setq-default
|
(setq-default
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue