Skip to content

Latest commit

 

History

History
69 lines (57 loc) · 2.41 KB

README.md

File metadata and controls

69 lines (57 loc) · 2.41 KB

Emacs

Emacs provides basic emacs keybindings (for now) in Visual studio code.

Supported keybindings

Following keybindings are supported:

Cut/Copy/Paste

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

Cursor movement

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

Buffers management

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

Mischellaneous

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

License

MIT

** Enjoy!**