Code Editor Shortcuts
This Obsidian plugin adds keyboard shortcuts (hotkeys) commonly found in code editors such as Visual Studio Code or Sublime Text.
This fork adds 4 extra shortcuts inspired by Typora's workspace. Use Ctrl + 1/2/3/4
to quickly switch between headings.
Command | Shortcut * |
---|---|
Change Heading Level to H1 | Ctrl + 1 |
Change Heading Level to H2 | Ctrl + 2 |
Change Heading Level to H3 | Ctrl + 3 |
Change Heading Level to H4 | Ctrl + 4 |
Insert line below | Ctrl + Enter ** |
Insert line above | Ctrl + Shift + Enter |
Delete line | Ctrl + Shift + K |
Duplicate line | Ctrl + Shift + D |
Copy line up | Alt + Shift + Up |
Copy line down | Alt + Shift + Down |
Join line below to current line | Ctrl + J |
Select line (repeat to keep expanding selection) | Ctrl + L |
Add cursors to selection ends | Alt + Shift + I |
Select word or next occurrence of selection | Ctrl + D |
Select all occurrences of selection | Ctrl + Shift + L |
Move cursor left | Not set |
Move cursor right | Not set |
Go to start of line | Not set |
Go to end of line | Not set |
Go to previous line | Not set |
Go to next line | Not set |
Delete to end of line | Not set |
Transform selection to uppercase | Not set |
Transform selection to lowercase | Not set |
Transform selection to title case | Not set |
Expand selection to brackets | Not set |
Expand selection to quotes | Not set |
Expand selection to quotes or brackets | Not set |
Go to next heading | Not set |
Go to previous heading | Not set |
Installation
Copy main.js and manifest.json to vault/.obsidian/plugins