#前提
SublimeとRubyMineまたはIntellij IDEA with Ruby Pluginを両方使うとき、よく使うショートカットがごっちゃになりがちなのでまとめました。
#表
動作 | Sublime | RubyMine / IntelliJ IDEA |
---|---|---|
Lineを選択 | Command L | Command C |
複数Lineを選択 | Command Lを複数回 | Option Command Shift ] or [ (Select till code block end / start) またはOption Up/Down (Select successively increasing code blocks) またはShift Up/Downが近い |
カーソルのある単語を連続で選択 | Command D (スキップ:Command K) | Control G (戻る: Control Shift G) |
Lineを複製 | Command Shift D | Command D |
複数カーソルの使用 | Command Click | Option Click |
ファイルネームで検索 | Command P | Command O |
選択箇所を上下移動 | Command Control Up/Down | Command Shift Up/Down |
#RubyMineのみ
動作 | Sublime | RubyMine | リンク |
---|---|---|---|
<%= %>を挿入 | 'pe' tab | Shift Command Period | https://stackoverflow.com/questions/9638895/rubymine-shortcut-to-insert |
#資料
Sublime Text Unofficial Documentation Keyboard Shortcuts - OSX
RubyMine Reference Card Mac pdf file
What’s Mining: Multiple Cursors and Selection
No need to select a line to copy/cut it. Cmd-C / Ctrl+C & Cmd-Х / Ctrl+X work for the current line #IDEtip
【翻訳】絶対見逃せない!RubyMineのショートカット10選
RubyMine Cheat Sheet
12 IntelliJ IDEA Keyboard Shortcuts You Should Know About
RubyMine アドベントカレンダー 2014
Rubymine(Jetbrains系IDE)のショートカットのメモ
RubyMine Tips
Rubymine / IntelliJ Ideaの導入&プラグイン&設定
知らないと損?RubyMine(IntelliJ)で役立つ細かいテクニック7つ