pinwheel: Map meta-c to comment code in emacs

To accomodate for the fact that the original `C-x C-;` cannot be sent
with escape sequences
This commit is contained in:
Alexander Heldt
2023-11-05 20:39:59 +01:00
parent 362a1b3482
commit d04c1df372

View File

@@ -362,7 +362,11 @@ Setup prefix for keybindings.
:prefix "," :prefix ","
:global-prefix "C-SPC") :global-prefix "C-SPC")
#+END_SRC #+END_SRC
** Comment code
#+BEGIN_SRC emacs-lisp
(global-unset-key [(meta c)])
(global-set-key [(meta c)] 'comment-line)
#+END_SRC
** Motion (using Avy) ** Motion (using Avy)
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package avy) (use-package avy)