diff options
-rw-r--r-- | config.org | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/config.org b/config.org index 5ca1a9a..792a67c 100644 --- a/config.org +++ b/config.org | |||
@@ -645,22 +645,22 @@ From [[https://github.com/link0ff/emacs-init][link0ff]]. I thought they made a | |||
645 | Also from link0ff. See the above for a link. | 645 | Also from link0ff. See the above for a link. |
646 | 646 | ||
647 | #+begin_src emacs-lisp | 647 | #+begin_src emacs-lisp |
648 | (defvar my-map | 648 | (defvar acdw/map |
649 | (let ((map (make-sparse-keymap)) | 649 | (let ((map (make-sparse-keymap)) |
650 | (c-z (global-key-binding "\C-z"))) | 650 | (c-z (global-key-binding "\C-z"))) |
651 | (global-unset-key "\C-z") | 651 | (global-unset-key "\C-z") |
652 | (define-key global-map "\C-z" map) | 652 | (define-key global-map "\C-z" map) |
653 | (define-key map "\C-z" c-z) | 653 | (define-key map "\C-z" c-z) |
654 | map)) | 654 | map)) |
655 | (run-hooks 'my-map-defined-hook) | 655 | (run-hooks 'acdw/map-defined-hook) |
656 | #+end_src | 656 | #+end_src |
657 | 657 | ||
658 | *** Which-key | 658 | *** Which-key |
659 | 659 | ||
660 | #+begin_src emacs-lisp | 660 | #+begin_src emacs-lisp |
661 | (use-package which-key | 661 | (straight-use-package 'which-key) |
662 | :config | 662 | |
663 | (which-key-mode +1)) | 663 | (which-key-mode +1) |
664 | #+end_src | 664 | #+end_src |
665 | 665 | ||
666 | *** Bindings | 666 | *** Bindings |
@@ -1073,7 +1073,7 @@ from [[https://stackoverflow.com/questions/23659909/reverse-evaluation-order-of- | |||
1073 | #+begin_src emacs-lisp | 1073 | #+begin_src emacs-lisp |
1074 | (use-package magit | 1074 | (use-package magit |
1075 | :bind | 1075 | :bind |
1076 | ("C-x g" . magit-status)) | 1076 | ("C-z g" . magit-status)) |
1077 | #+end_src | 1077 | #+end_src |
1078 | 1078 | ||
1079 | ** Org mode | 1079 | ** Org mode |