• command-b:toggle 左側側邊欄
  • command-j: toggle terminal
  • shift-option-A: create a block comment /**/
  • command-shift-p:search and use command
  • command-p:search file in code base
  • command-p + @:search and jump to symbol
  • command-P + #: search and jump to symbol in code base(including dependency lib)
  • command-\: open same file on the right
    • 可配合 command-p + @,找到要編輯的,然後可以ㄧ邊看著左邊原本的 file ,一邊修改右邊要改的
  • command-control-shift + left/right: expand from word,從中心點往左右選取,類似 vim 的 select in a word
  • command-w:close tab(buffer)
  • command-Enter:游標跳到下一行的開始(就算現在在某行的中間)
  • command-shift-L:select all matches(先選取一個字)
  • command-d:select one match at a time
  • shift-arrowkey: 選取(可配合 command 選到最右邊)
  • option-arrowkey:移動所選取的
  • option-shift-arrowkey: 移動所選取的並且沿路複製
  • command-shift-[ (or ]):switch to left/right buffer(tab)
  • control-g: go to line ?
  • command-K: clear terminal
  • command-option + [/]:折疊 / 反摺疊 a block of code
  • use command palette to create task or snippets to speed things up