feat(keybindings): add cmd+shift+p and cmd+/ keybindings from VSCode

Makes cmd+shift+p open the command palette and cmd+/ toggle comments, as
they do in VSCode.

This should ease my recent usage of Cursor/VSCode alongside Emacs, as
certain keybindings I have in Emacs cannot be setup in VSCode to work in
all contexts. Hence I've had to get used to cmd+shift+p instead of C-x
C-m, as the later does not want to play ball when a terminal is active
in VSCode.
This commit is contained in:
2025-06-28 17:14:37 +01:00
parent 7968dd3933
commit ed5432641a
4 changed files with 4 additions and 1 deletions

View File

@@ -10,6 +10,7 @@
:straight (:type built-in)
:general
("s-/" 'comment-or-uncomment-region-or-line)
("C-c /" 'comment-or-uncomment-region-or-line)
("C-c C-/" 'comment-or-uncomment-region-or-line)
("C-c C-_" 'comment-or-uncomment-region-or-line)