Cursor

Cursor #

资料 #

笔记 #

快捷键 #

恢复VSCode中CMD + shift +k的删除当前行的功能,这个用习惯了,舍弃不了,只好在keybindings.json中关闭cursor提供了2个快捷键功能,具体配置如下:

 1// Place your key bindings in this file to override the defaults
 2[
 3    {
 4        "key": "shift+cmd+k",
 5        "command": "-aipopup.action.modal.generate",
 6        "when": "editorFocus && !composerBarIsVisible"
 7    },
 8    {
 9        "key": "shift+cmd+k",
10        "command": "-composer.openAsBar"
11    },
12    {
13        "key": "cmd+e g",
14        "command": "runCommands",
15        "args": {
16            "commands": [
17                "workbench.action.files.saveAll",
18                "git.stage",
19                "cursor.generateGitCommitMessage",
20                "workbench.view.scm"
21                // "git.commit",
22                // "git.push"
23            ]
24        }
25    }
26]
© 2025 青蛙小白 | 总访问量 | 总访客数