fix(default): kill-region on cmd-x if region is active

For non-evil users, primarily.

Fix: #8558
This commit is contained in:
Henrik Lissner 2025-10-25 04:17:10 -04:00
parent 347dd9f57b
commit 7b75983b30
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -324,8 +324,8 @@ Continues comments if executed from a commented line."
"s-c" (if (featurep 'evil) #'evil-yank #'copy-region-as-kill)
"s-v" #'yank
"s-s" #'save-buffer
"s-x" #'execute-extended-command
:v "s-x" #'kill-region
"s-x" (cmds! (doom-region-active-p) #'kill-region
#'execute-extended-command)
"s-0" #'doom/reset-font-size
;; Global font scaling
"s-=" #'doom/increase-font-size