diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/+emacs.el (renamed from lisp/+defaults.el) | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/lisp/+defaults.el b/lisp/+emacs.el index d439d82..7440c92 100644 --- a/lisp/+defaults.el +++ b/lisp/+emacs.el | |||
@@ -1,4 +1,4 @@ | |||
1 | ;;; +defaults.el --- measured defaults for Emacs -*- lexical-binding: t -*- | 1 | ;;; +emacs.el --- measured defaults for Emacs -*- lexical-binding: t -*- |
2 | 2 | ||
3 | ;;; Commentary: | 3 | ;;; Commentary: |
4 | 4 | ||
@@ -182,10 +182,9 @@ Do this only if the buffer is not visiting a file." | |||
182 | (global-set-key (kbd "C-r") 'isearch-backward-regexp) | 182 | (global-set-key (kbd "C-r") 'isearch-backward-regexp) |
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 | (global-set-key (kbd "M-u") 'upcase-dwim) | |
186 | ;; C-h deletes backward - see https://idiomdrottning.org/bad-emacs-defaults | 186 | (global-set-key (kbd "M-l") 'downcase-dwim) |
187 | (global-set-key (kbd "C-h") 'delete-backward-char) | 187 | (global-set-key (kbd "M-c") 'capitalize-dwim) |
188 | (keyboard-translate ?\C-h ?\C-?) | ||
189 | 188 | ||
190 | ;;; Required libraries | 189 | ;;; Required libraries |
191 | 190 | ||
@@ -239,5 +238,5 @@ Do this only if the buffer is not visiting a file." | |||
239 | (add-to-list 'tramp-default-proxies-alist | 238 | (add-to-list 'tramp-default-proxies-alist |
240 | '((regexp-quote (system-name)) nil nil))) | 239 | '((regexp-quote (system-name)) nil nil))) |
241 | 240 | ||
242 | (provide '+defaults) | 241 | (provide '+emacs) |
243 | ;;; +defaults.el ends here | 242 | ;;; +emacs.el ends here |