はじめに
私が開発中に使っているショートカットをメモしておきます
記号
| Cmd |
Opt |
Shift |
Ctrl |
Tab |
Esc |
Backspace |
| ⌘ |
⌥ |
⇧ |
⌃ |
⇥ |
⎋ |
⌫ |
Intellij
| description |
command |
my custom |
| パンくずリストに移動 |
cmd + ↑ |
|
| エディターペインを最大化する |
⌘cmd + ⇧shift + F12 |
|
| 型を表示 |
ctrl + shift + p |
|
| 暗黙の型を表示 |
cmd + shift + p |
|
| Surround With(式をstatementで囲む) |
cmd + opt + t |
|
| 選択範囲の拡大/縮小 |
opt + ↑/↓ |
|
| 実装クラスへジャンプ |
cmd + opt + b |
|
| エラーの説明 |
cmd + F1 |
|
| エラーへジャンプ |
F2 |
|
| refactorメニュー |
ctrl + t |
|
| 実装クラスへジャンプ |
cmd + shift + t |
|
| 折りたたみ/展開 |
cmd + -/+ |
|
| 全て折りたたみ/全て展開 |
cmd + shift + -/+ |
|
| 再起的に展開 |
cmd + opt + -/+ |
|
| 次のメソッド |
ctrl + shift + ↓/↑ |
|
| basic complitioon |
ctrl + space |
ctrl + c |
| Problem Windowを開く |
cmd + 6 |
|
| 開いているWindowを上/下に広げる |
opt + ctrl + ↓/↑ |
cmd + ctrl + shift + K/J |
| ウィンドウからエディターにフォーカスを切り替える |
esc |
|
| terminalにフォーカスを切り替える |
opt + F12 |
cmd + ctrl + t |
| 最後のアクティブウィンドウに移動する |
F12 |
|
| 矩形選択 Optを2回押してからリリースせずに上下の矢印キー |
opt -> opt ↑or↓ |
|
| クイックフィックス |
opt + enter |
|
| マルチカーソル(選択箇所と同じ次のテキストを選択) |
ctrl + g |
|
| マルチカーソル(選択箇所と同じテキストを全て選択する) |
ctrl + shift + g |
|
| 最近のプロジェクト |
Cmd + Shift + Ctrl + p |
|
| 現在のカーソルから少しずつ拡大しながら選択 |
Opt + ↑ |
|
| text |
cmd + a |
|
macOS
| description |
command |
my custom |
| Dockを非表示/表示 |
cmd + Opt + d |
|
| /表示 |
cmd + Opt + d |
|
VSCode
| description |
command |
my custom |
| コマンドパレットを開く |
⇧⌘P |
|
|
cmd + P |
|
| ラインを上下に移動 |
⌥ ↓ / ⌥ ↑ |
|
| 下 / 上に行を挿入 |
⌘ + Enter / ⇧ ⌘ + Enter |
|
| text |
cmd + a |
|
iterm
| description |
command |
my custom |
| text |
cmd + a |
|
vim
| description |
command |
my custom |
| text |
cmd + a |
|
vim dein
surround.vim
| description |
command |
shortcut |
| 文字を記号で囲む |
(文字を選択) shift + s + (囲みたい記号) ex) shift + s + 記号 -> 文字を記号で囲む |
|
| 囲われた文字の記号を削除 |
ds + 記号
|
|
| 両端の囲み文字を変更 |
cs + 記号
|
|
xxxxxxxxxxxxxx
| description |
command |
shortcut |
|
|
|
|
|
|
|
|
|