美文网首页
vscode emacs 快捷键

vscode emacs 快捷键

作者: wlianfu | 来源:发表于2017-06-26 13:36 被阅读251次

    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.
    

    相关文章

      网友评论

          本文标题:vscode emacs 快捷键

          本文链接:https://www.haomeiwen.com/subject/ggzdcxtx.html