diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/+defaults.el | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/lisp/+defaults.el b/lisp/+defaults.el index ee49480..d439d82 100644 --- a/lisp/+defaults.el +++ b/lisp/+defaults.el | |||
@@ -68,23 +68,23 @@ Do this only if the buffer is not visiting a file." | |||
68 | kill-do-not-save-duplicates t | 68 | kill-do-not-save-duplicates t |
69 | kill-read-only-ok t | 69 | kill-read-only-ok t |
70 | kill-ring-max 500 | 70 | kill-ring-max 500 |
71 | kill-whole-line t | ||
71 | kmacro-ring-max 20 | 72 | kmacro-ring-max 20 |
72 | load-prefer-newer t | 73 | load-prefer-newer t |
73 | major-mode '+set-major-mode-from-buffer-name | 74 | major-mode '+set-major-mode-from-buffer-name |
74 | mark-ring-max 50 | 75 | mark-ring-max 50 |
75 | minibuffer-eldef-shorten-default t | 76 | minibuffer-eldef-shorten-default t |
76 | minibuffer-prompt-properties '(read-only t | 77 | minibuffer-prompt-properties (list 'read-only t |
77 | cursor-intangible t | 78 | 'cursor-intangible t |
78 | face minibuffer-prompt) | 79 | 'face 'minibuffer-prompt) |
79 | mode-require-final-newline 'visit-save | 80 | mode-require-final-newline 'visit-save |
80 | mouse-drag-copy-region t | 81 | mouse-drag-copy-region t |
81 | mouse-yank-at-point t | 82 | mouse-yank-at-point t |
82 | native-comp-async-report-warnings-errors 'silent | 83 | native-comp-async-report-warnings-errors 'silent |
83 | read-answer-short t | 84 | read-answer-short t |
84 | read-buffer-completion-ignore-case t | 85 | read-buffer-completion-ignore-case t |
85 | read-extended-command-predicate (when | 86 | read-extended-command-predicate (when (fboundp |
86 | (fboundp | 87 | 'command-completion-default-include-p) |
87 | 'command-completion-default-include-p) | ||
88 | 'command-completion-default-include-p) | 88 | 'command-completion-default-include-p) |
89 | recenter-positions '(top middle bottom) | 89 | recenter-positions '(top middle bottom) |
90 | regexp-search-ring-max 100 | 90 | regexp-search-ring-max 100 |
@@ -183,6 +183,10 @@ Do this only if the buffer is not visiting a file." | |||
183 | (global-set-key (kbd "C-M-s") 'isearch-forward) | 183 | (global-set-key (kbd "C-M-s") 'isearch-forward) |
184 | (global-set-key (kbd "C-M-r") 'isearch-backward) | 184 | (global-set-key (kbd "C-M-r") 'isearch-backward) |
185 | 185 | ||
186 | ;; C-h deletes backward - see https://idiomdrottning.org/bad-emacs-defaults | ||
187 | (global-set-key (kbd "C-h") 'delete-backward-char) | ||
188 | (keyboard-translate ?\C-h ?\C-?) | ||
189 | |||
186 | ;;; Required libraries | 190 | ;;; Required libraries |
187 | 191 | ||
188 | (when (require 'uniquify nil :noerror) | 192 | (when (require 'uniquify nil :noerror) |