Test code: Difference between revisions

From 清冽之泉
Jump to navigation Jump to search
No edit summary
Tags: Mobile edit Mobile web edit
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
(global-set-key (kbd "<KEYCODE_X>")
;; 把 Ctrl+Shift+Space 绑定为 set-mark-command
                (lambda () (interactive) (execute-kbd-macro (kbd "M-x"))))
(global-set-key (kbd "C-S-SPC") #'set-mark-command)
 
 
C-x C-s   ;; save-buffer
C-h l   ;; view-lossage
C-SPC   ;; set-mark-command
C-SPC   ;; set-mark-command
C-SPC   ;; set-mark-command
C-SPC   ;; set-mark-command
C-SPC   ;; set-mark-command
C-h l   ;; view-lossage

Latest revision as of 01:36, 6 October 2025

把 Ctrl+Shift+Space 绑定为 set-mark-command

(global-set-key (kbd "C-S-SPC") #'set-mark-command)