Emacs Extension for VS Code
Emacs key bindings into VS Code.
Changing the Location of Point
Key
Description
Command
ctrl+p
Move up one line
cursorUp
ctrl+n
Move down one line
cursorDown
ctrl+b
Move backward one character
cursorLeft
ctrl+f
Move forward one character
cursorRight
alt+b
Move backward one word
cursorWordLeft
alt+f
Move forward one word
cursorWordRight
ctrl+a
Move to the beinning of the line
cursorHome
ctrl+e
Move to the end of the line
cursorEnd
alt+v
Move one screen backward
cursorPageUp
ctrl+v
Move one screen forward
cursorPageDown
alt+shift+,
Move to the top of the buffer
cursorTop
alt+shift+.
Move to the end of the buffer
cursorBottom
alt+g g
Read a number n and move point to the beginning of line number n
workbench.action.gotoLine
Key
Description
Command
ctrl+d
Delete the character after point
deleteRight
ctrl+k
Kill to the end of the line
emacs-code.kill.line
ctrl+w
Kill the region
emacs-code.kill
alt+w
Copy the region into the kill ring
emacs-code.copy
ctrl+y
Yank pop
editor.action.clipboardPasteAction
Key
Description
Command
ctrl+x ctrl+f
Find file
emacs-code.find.file
ctrl+x ctrl+s
Save buffer
workbench.action.files.save
Key
Description
Command
ctrl+space
Set the mark at point, and activate it
emacs-code.toggle.mode.line
Key
Description
Command
ctrl+enter
Toggle Rectangle Mark mode
emacs-code.toggle.mode.column
Key
Description
Command
escape
Clear mark or retangle mode
emacs-code.clear.mode
Key
Description
Command
ctrl+s
Activate find input
actions.find
ctrl+s
Find next match
editor.action.nextMatchFindAction
ctrl+r
Activate find input
actions.find
ctrl+r
Find previous match
editor.action.previousMatchFindAction
Creating and Selecting Buffers
Key
Description
Command
ctrl+x b
Select a buffer
workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup
Key
Description
Command
ctrl+x k
Kill buffer
workbench.action.closeActiveEditor
Key
Description
Command
ctrl+x ;
Comment or uncomment the current line
editor.action.commentLine
Key
Description
Command
alt+x
Run a command
workbench.action.showCommands
Key
Description
Command
ctrl+x ctrl+c
Kill Code
workbench.action.quit