Skip to content

Instantly share code, notes, and snippets.

@khanamoto
Last active June 14, 2021 01:59
Show Gist options
  • Save khanamoto/329164caeab9913ea903b666e4ebdbe3 to your computer and use it in GitHub Desktop.
Save khanamoto/329164caeab9913ea903b666e4ebdbe3 to your computer and use it in GitHub Desktop.

GoLand備忘録 (Mac)

  • プロジェクト内のファイル内の文字列検索 cmd shift F
  • プロジェクト内のファイル名や型名などの検索 shift 連続2回
  • ファイル内のメソッドや関数検索 cmd fn F12
  • Projet に移動 cmd 1
    • ディレクトリ展開をすべて閉じる cmd -
    • ディレクトリ展開をすべて開く cmd +
    • Projet にフォーカス時、文字を打つだけでディレクトリやファイルを検索できる(展開して表示している場合のみ)
  • Docker に移動 cmd 8
  • Git に移動 cmd 9
  • 指定した行に移動 cmd L
  • 行のコピー cmd D
  • 行の削除 cmd delete
  • 宣言に移動 cmd B
  • 宣言先から戻る cmd [
  • 宣言先に戻る cmd ]
  • ナビゲーションバーでファイルに移動する cmd
  • 分割したタブ間を移動 option tab

ショートカット追加

  • ターミナル (Terminal) cmd 2
    • 既存で Favorites に割り当てられているが使わないので削除
  • すべてのタブを閉じる (Close All Tabs) cmd shift A
  • タブを右に分割して移動(Split and Move Right) cmd \
  • タブを反対のグループに移動(Move To Opposite Group) cmd option \
  • 閉じたタブを開く(Reopen Closed Tab) cmd option O

参考

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment