VSCode Settings
VSCode shortcuts and settings
VSCode Settings
VSCode
Navigating
1
2
3
4
5
- Cmd + 0/1/B // Focus on sidebar, editor, hide sidebar
- Cmd + Ctrl + right // Move to the right editor
- Opt + Cmd + left/rights // Move between tabs
- Opt + up/down // Move lines
- Cmd + F -> "word" -> Opt + Enter // Find all occurrences
Multi cursors
1
2
3
- Opt + Cmd + up/down // Add cursors above/below
- Opt + click // Add cursors with mouse
- Cmd + D or Shift + Cmd + L // Select next occurrence or all occurrences
Word wrap
1
- Opt + Z // Toggle word wrap
Converting Jupyter notebook
1
2
3
4
# Convert Jupyter notebook to HTML
# Install nbconvert if not already installed
pip install nbconvert
jupyter nbconvert --to html notebook.ipynb
After adding shortcuts to code ~/.zshrc
file:
1
nb2html "notebook.ipynb"
This post is licensed under CC BY 4.0 by the author.