Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

NicoNekoru/obsidian-vsc-shortcuts

Repository files navigation

Obsidian VSC Shortcuts

shortcut list

Basic editing

  • Obsidian Defaults
    • Ctrl+X Cut line (empty selection)
    • Ctrl+C Copy line (empty selection)
    • Ctrl+] / [ Indent/outdent line
    • Home / End Go to beginning/end of line
    • Ctrl+Home Go to beginning of file
    • Ctrl+End Go to end of file
  • Features + roadmap
    • Alt+ ↑ / ↓ Move line up/down
    • Shift+Alt + ↓ / ↑ Copy line up/down
    • Ctrl+Shift+K Delete line
    • Ctrl+Enter Insert line below
    • Ctrl+Shift+Enter Insert line above
    • Ctrl+↑ / ↓ Scroll line up/down
    • Alt+PgUp / PgDn Scroll page up/down
  • Other vscode keybinds (likely will not add)
    • Ctrl+Shift+\ Jump to matching bracket (cs)
    • Ctrl+Shift+[ Fold (collapse) region (cs)
    • Ctrl+Shift+] Unfold (uncollapse) region (cs)
    • Ctrl+K Ctrl+[ Fold (collapse) all subregions (cs)
    • Ctrl+K Ctrl+] Unfold (uncollapse) all subregions (cs)
    • Ctrl+K Ctrl+0 Fold (collapse) all regions (cs)
    • Ctrl+K Ctrl+J Unfold (uncollapse) all regions (cs)
    • Ctrl+K Ctrl+C Add line comment (cs)
    • Ctrl+K Ctrl+U Remove line comment (cs)
    • Ctrl+/ Toggle line comment (cs)
    • Shift+Alt+A Toggle block comment (cs)
    • Alt+Z Toggle word wrap (not useful)

Multi-cursor and selection

  • Obsidian Default
    • Alt+Click Insert cursor
  • Features + roadmap
    • Ctrl+Alt+ ↑ / ↓ Insert cursor above / below
    • Ctrl+U Undo last cursor operation
    • Shift+Alt+I Insert cursor at end of each line selected
    • Ctrl+L Select current line
    • Ctrl+Shift+L Select all occurrences of current selection
    • Ctrl+F2 Select all occurrences of current word
    • Shift+Alt+→ Expand selection
    • Shift+Alt+← Shrink selection
    • Shift+Alt + (drag mouse) Column (box) selection
    • Ctrl+Shift+Alt + (arrow key) Column (box) selection
    • Ctrl+Shift+Alt+PgUp/PgDn Column (box) selection page up/down

Further completing timhor's editor shortcuts