[lispy] disable C-<number> keys

This commit is contained in:
contrapunctus 2021-07-30 09:17:07 +05:30
parent 53c99c9667
commit b593eb323b
1 changed files with 11 additions and 2 deletions

View File

@ -2936,7 +2936,8 @@ Create advice for =lispy-pair= - if =lispy--in-string-or-comment-p= is true, sel
#+BEGIN_SRC emacs-lisp
(use-package lispy
:hook (emacs-lisp-mode . lispy-mode)
:hook
(emacs-lisp-mode . lispy-mode)
(lisp-mode . lispy-mode)
(scheme-mode . lispy-mode)
;; Boon-style keys on Dvorak
@ -2954,7 +2955,15 @@ Create advice for =lispy-pair= - if =lispy--in-string-or-comment-p= is true, sel
("l" . special-lispy-new-copy)
;; Lispy shadows this, but it's essential for Org literate programs
("M-o" . nil)
("M-o M-o" . font-lock-fontify-block)))
("M-o M-o" . font-lock-fontify-block)
;; It does not insert a pair in strings or comments. I want
;; that. I'll let smartparens take care of it.
("(" . self-insert-command))
;; :config (setq lispy-mode-map-c-digits nil)
:config
(lispy-set-key-theme '(lispy)))
#+END_SRC
**** treemacs
#+BEGIN_SRC emacs-lisp
(use-package treemacs