Rubymine 個人的ショートカット、設定
IdeaVim とかは使わないという前提。 メモをかき集めただけなので統一感ねぇ。。
エディタ系
shift + enter
- 新しい行を作る
command + optiion + enter
- 上に新しい行を作る
command + option + L
- フォーマット
control + option + i
- ラインフォーマット
command + e
- recent file
- control + tab の switcher とは少し違う
cmd + 1..9
- 別のペインに移動
fn + up/down
- 大きく上下移動
shift + esc
- 直近で開いていたウィンドウを閉じる
- コードエリアだけ開いていたい
- toggle sticky selection
- 標準では割り当てがなかったので
control + command+ t
で割り当て
- ファイル検索
command + Shirt + O
- 宣言へジャンプ
command + B
- いろいろクイックビュー
control + space
- クラスナビゲーション
command + Up
- ファイル内単語検索
command + F
- プロジェクト内単語検索
command + shift + F
- backspece に
ctrl + h
- switch to view
ctrl + c, ctrl + v
- switch to ctroler
ctrl + c, ctrl + c
実行系
control + option + r
- Run
- 実行したものの履歴も出てくるので、繰り返しテスト実行したい時とかも
- なぜか、自分の環境だと cntrol + shift + r での rspec テスト実行ができなかった。。