Set C-M-backspace to kill-sexp

This commit is contained in:
niten 2022-06-04 11:05:40 -07:00
parent 9690d2591d
commit da86e9ee52
1 changed files with 10 additions and 8 deletions

View File

@ -581,7 +581,8 @@
"C-M-b" #'sp-backward-sexp "C-M-b" #'sp-backward-sexp
"C-M-d" #'sp-splice-sexp "C-M-d" #'sp-splice-sexp
"C-M-k" #'sp-kill-sexp "C-M-k" #'sp-kill-sexp
"C-M-t" #'sp-transpose-sexp) "C-M-t" #'sp-transpose-sexp
(kbd "<C-M-backspace>") #'sp-backward-kill-sexp)
;;; treemacs ;;; treemacs
(:when (featurep! :ui treemacs) (:when (featurep! :ui treemacs)
@ -610,7 +611,8 @@
"C-M-p" #'mc/mark-previous-like-this "C-M-p" #'mc/mark-previous-like-this
"C-M-n" #'mc/mark-next-like-this\ "C-M-n" #'mc/mark-next-like-this\
"M-p" #'mc/mark-previous-lines "M-p" #'mc/mark-previous-lines
"M-n" #'mc/mark-next-lines) "M-n" #'mc/mark-next-lines
(kbd "<C-M-backspace>") #'backward-kill-sexp)
(global-unset-key (kbd "<down-mouse-1>")) (global-unset-key (kbd "<down-mouse-1>"))
(global-unset-key (kbd "<mouse-1>")) (global-unset-key (kbd "<mouse-1>"))