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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user