VSCode: Shortcuts

Visual Studio Code (VS Code) keyboard shortcuts on macOS:

Cursor

+ / Beginning/End of the line
+ / Beginning/End of the file
+ / By word
+ G Goto line #
+ - / + shift + - Edit history back/forward

Folder / File

+ o open folder
+ p quick open (open file)
+ n new file
+ s save file
+ Tab toggle between open files

Activity Bar (to the left)

+ + L Explorer
shift + + F Search
+ shift + G Source control
shift + + D Run and Debug
shift + + X Extensions

Terminal

+ ` Open/Close terminal
+ shift + ` Open new terminal

Java

F5 Launch programm

Formatter

shift + + F Format all of the Dokument

Explorer / Sidebar

  • Focus on files explorer: shift + + E
  • Focus on source control: shift + + G
  • Focus on search across files: shift + + F

View / Window

  • Toggle sidebar visibility: + B
  • Split editor: + \\
  • Toggle panel visibility: + J
  • Toggle full screen: + + F

Note: Depending on your individual VS Code settings, some of these shortcuts may be different. You can customize these shortcuts as needed by navigating to the Keyboard Shortcuts editor ( + K followed by + S).

For more information on keyboard shortcuts in VS Code, refer to the official VS Code documentation.

Symbols

In the Hugo Markdown, or Markdown in general, you cannot directly render macOS specific symbols like the Command key (⌘) or the arrow keys (↑ ↓ ← →). However, you can represent these symbols using Unicode characters, HTML entities, or by pasting the symbols directly into your Markdown content.

Here’s how you can represent a few macOS keyboard symbols:

  1. Command Key (⌘):

    • Unicode:
    • HTML Entity: ⌘
  2. Option Key (⌥):

    • Unicode:
    • HTML Entity: ⌥
  3. Control Key (⌃):

    • Unicode:
    • HTML Entity: ⌃
  4. shift Key (⇧):

    • Unicode:
    • HTML Entity: ⇧
  5. Right Arrow (→):

    • Unicode:
    • HTML Entity: →
  6. Left Arrow (←):

    • Unicode:
    • HTML Entity: ←
  7. Up Arrow (↑):

    • Unicode:
    • HTML Entity: ↑
  8. Down Arrow (↓):

    • Unicode:
    • HTML Entity: ↓

You can paste these directly into your Hugo Markdown content. For example:

To save a document, press ⌘ + S.

In the resulting HTML output, you should see the Command key symbol followed by the letter “S”. Similarly, you can use other symbols as needed.

If there are other specific symbols you need, let me know. I can provide their Unicode or HTML entity representations.