---
tags: 111-1
---
# 111-1 聯合部課
## Simple Unix Command
[Notion](https://confirmed-snowdrop-ba2.notion.site/Simple-Unix-Command-98e2a3f712f8410fa17b5cd869122ff1)
## VS code
https://code.visualstudio.com/docs/getstarted/tips-and-tricks
https://github.com/romkatv/zsh4humans
### layout
- sidebar
- ctrl/⌘ + b: open and close side bar
- ctrl/⌘ + shift + f: global find and replace
- source control
- extensions panel
- panels
- arrange panels with drag
- integrated terminal, problems
- ctrl/⌃ + \`: open integrated terminal
### extensions
- icon theme
- material icon theme
- color theme
- community material theme
- https://vscodethemes.com/
- language support: search '@category:"programming languages"'
- Python
- C++
- ...
- must install
- WSL
- Git Graph
- GitLens
- remtoe ssh
- better comments
- web dev
- live server
- css peak
- import cost
- other
- jupyter
- arduino
- editorconfig
- live share
- path intellisense
- polacode
- rainbow csv
- code spell checker
- error lens
- docker
- vim
- github codespaces
- keymap
### file manipulations
- ctrl/⌘ + w: close current tab
- ctrl/⌃ + tab (+ shift): cycle through tabs
### command palette
- ctrl/⌘ + p: open command palette
- plain: open a file in current workspace
- ">" (ctrl/⌘ + shift + p): run command
- "@" (ctrl/⌘ + shift + o): find symbol in this file
- "#" (ctrl/⌘ + t): find symbol everywhere
- ":" (ctrl/⌃ + g): go to line number
### navigating
- arrow
- ctrl/option + left/right: move by word
- home/end / ⌘ + left/right: move to the beginning/end of line
- ctrl + home/end / ⌘ + up/down: move to the beginning/end of file
- ctrl/⌘ + shift + '.': go to symbol
### editting
- alt/option + up/down: move line up/down
- ctrl/⌘ + x (no selection): cut current line
- ctrl/⌘ + c (no selection): copy current line
- ctrl/⌘ + shift + k: delete current
- ctrl/⌘ + '/': comment selection
- (fn +) f2: rename symbol
#### multiple cursors
- alt/option + click: add a cursor
- alt/option + ctrl/⌘ + up/down: add a cursor above/below
- ctrl/⌘ + d: select current word
- multiple ctrl/⌘ + d: select and add a cursor at the next occurence of the same word
- ctrl/⌘ + shift + l: ctrl/⌘ + d to all
- esc: remove multiple cursors
### useful settings
- install shell command: >Shell Command: Install 'code' command in PATH
- font
- font size
- font family
- [Victor Mono](https://rubjo.github.io/victor-mono/#:~:text=Victor%20Mono%20is%20an%20open,Roman%2C%20Italic%20and%20Oblique%20styles.)
- [Jetbrains Mono](https://www.jetbrains.com/lp/mono/)
- [Fira Code](https://github.com/tonsky/FiraCode)
- font ligature
- auto save
- format on save
- formatters
- Editor › Unicode Highlight: Invisible Characters
- Cursor Smooth Caret Animation
### snippets
- edit snippets: >Snippets: Configure user snippets
## Git / GitHub
Slides: https://www.csie.ntu.edu.tw/~b09901171/files/git.pdf