vscode emacs 快捷键

vscode emacs-keymap 快捷键收集

Move Command:

C-f             Move forward
C-b             Move backward
C-n             Move to the next line
C-p             Move to the previous line
C-a             Move to the beginning of line
C-e             Move to the end of line
M-f             Move forward by one word unit
M-b             Move backward by one word unit
M->             Move to the end of buffer
M-<             Move to the beginning of buffer
C-v             Scroll down by one screen unit
M-v             Scroll up by one screen unit
C-x C-n           Set goal column
C-u C-x C-n       Deactivate C-x C-n
M-g g             Jump to line (command palette)


Search Command:

C-s             Search forward
C-r               Search backward
C-M-n               Add selection to next find match
C-l             Use ext install keyboard-scroll to activate


Edit Command:

C-d             Delete right (DEL)
C-h             Delete left (BACKSPACE)
M-d             Delete word
C-k             Kill to line end
C-w             Kill region
M-w             Copy region to kill ring
C-y             Yank
C-j             Line Feed
C-m             Carriage Return
C-i             Horizontal Tab
C-x C-o         Delete blank lines around
C-x h               Select All
C-x u (C-/)     Undo
C-;             Toggle line comment in and out
M-;             Toggle region comment in and out


Other Command:

C-g               Cancel
C-space         Set mark
C-\             IME control
C-quote         IntelliSense Suggestion
C-doublequote       IntelliSense Parameter Hint
M-x             Open command palette
M-/(dabbrev)      Auto-completion
M-num command     Repeat command num times
C-M-SPC         Toggle SideBar visibility


File Command:

C-o             Open a file
C-x b               QuickOpen a file
C-x C-f         Open a working directory
C-x C-s         Save
C-x C-w         Save as
C-x i             Insert buffer from file
C-x C-d         Open Folder
C-x C-n         Open new window
C-x C-b         Create new file and open


与默认键绑定冲突

ctrl+d: editor.action.addSelectionToNextFindMatch => Use ctrl+alt+n instead;
ctrl+g: workbench.action.gotoLine => Use alt+g g instead;
ctrl+b: workbench.action.toggleSidebarVisibility => Use ctrl+alt+space instead;
ctrl+space: toggleSuggestionDetails, editor.action.triggerSuggest => Use ctrl+' instead;
ctrl+x: editor.action.clipboardCutAction => Use shift+delete instead;
ctrl+v: editor.action.clipboardPasteAction => Use shift+insert instead;
ctrl+k: editor.debug.action.showDebugHover, editor.action.trimTrailingWhitespace, editor.action.showHover, editor.action.removeCommentLine, editor.action.addCommentLine, editor.action.openDeclarationToTheSide;
ctrl+y: redo;
ctrl+m: editor.action.toggleTabFocusMode;
ctrl+/: editor.action.commentLine => Use ctrl+; instead;
ctrl+p & ctrl+e: workbench.action.quickOpen => Use ctrl+x b instead;
ctrl+p: workbench.action.quickOpenNavigateNext => Use ctrl+n instead.
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容