Emacs provides basic emacs keybindings (for now) in Visual studio code.
Following keybindings are supported:
Key | Description |
---|---|
Ctrl+D |
Delete next character |
backspace |
Backspace |
Ctrl+W |
Cut selected text |
Alt+W |
Copy selected text |
Ctrl+Y |
Paste select text |
Ctrl+X H |
Select all |
Ctrl+K |
Cut current line |
Ctrl+O |
Insert a line after |
Ctrl+Alt+O |
Insert a line before |
Ctrl+X U |
Undo |
Ctrl+G |
Cancel current selection |
Ctrl+Space |
Enter mark mode |
Ctrl+G |
Exit mark mode |
Key | Description |
---|---|
Ctrl+A |
Move cursor to beginning of line |
Ctrl+E |
Move cursor to end of line |
Alt+B |
Move cursor to next word |
Alt+F |
Move cursor to previous word |
Ctrl+V |
Scroll down |
Alt+V |
Scroll up |
Ctrl+N |
Scroll down one line |
Ctrl+P |
Scroll up one line |
Shift+Alt+, |
Go to buffer beginning |
Shift+Alt+. |
Go to buffer end |
Alt+G G |
Goto line |
Ctrl+S |
Incremental search forward |
Ctrl+R |
Incremental search backward |
Key | Description |
---|---|
Ctrl+X K |
Kill current buffer |
Ctrl+X B |
Switch to other buffer |
Ctrl+X Ctrl+F |
Open file |
Ctrl+X Ctrl+S |
Save file |
Ctrl+X S |
Save all files |
Ctrl+X 3 |
Split window vertically |
Ctrl+X O |
Move focus to other buffer |
Ctrl+X Ctrl+C |
Exit |
Key | Description |
---|---|
Ctrl+Alt+\ |
Indent region |
Ctrl+C Ctrl+C |
Comment current line or selected region |
Ctrl+C Ctrl+U |
Uncomment current line or selected region |
Alt+X |
Execute command |
** Enjoy!**