サブライムテキストを入れてみた
導入したパッケージ
よく使うショートカット(デフォルト)
・カーソルを一単語分左に移動
Windows: Ctrl + ←
Mac: Option + ←
・カーソルを一単語分右に移動
Windows: Ctrl + →
Mac: Option + →
・ウインドウ分割(垂直分割)
画面を縦に2分割~4分割できます。
Windows: Alt + Shift + 2〜4
Mac: Command + Alt + 2〜4
・ウインドウ分割(水平分割)
画面を横に2分割~3分割できます。
Windows: Alt + Shift + 8〜9
Mac: Command + Alt + 8〜9
・何番目かのタブ移動
Windows: Alt + 0 ~ 9
Mac: Command + 0 ~ 9
・隣のタブ移動
Windows: Ctrl + PageUp or PageDown
Mac: Command + Alt + ← or →
Mac: Command + Shift + [or]
・コマンドパレット(CommandPalett)の表示
Windows: Ctrl + Shift + P
Mac: Command + Shift + P
・サイドバーの表示、非表示の切り替え
Windows: Ctrl + K → Ctrl + B
Mac: Command + K → Command + B
・フルスクリーンモード、ウィンドウモードの切り替え
Windows: F11
Mac: Command + control + F
・コピー
何も選択していなければ現在行全体をコピーする。
Windows: Ctrl + C
Mac: Command + C
・補完候補を表示する
Windows: Ctrl + Space
Mac: control + Space
・マルチカーソル
Windows: Ctrl + 左クリック(左ドラッグ)
Mac: Command + 左クリック(左ドラッグ)
・選択された行を結合して1行にする
Windows: Ctrl + J
Mac: Command + J
・選択した文字列をタグで囲む
Windows: Alt + Shift + W
Mac: control + Shift + W
・終了タグ(閉じタグ)の挿入
Windows: Alt + .
Mac: Command + Option + .
・選択した文字と同じ文字を検索する
Windows:Ctrl+D
Mac:Command+D
・カーソル位置を検索対象から外す
Ctrl + D で選択しているときに除外したい場合に使う。
Windows: Ctrl + K
Mac: Command + K
・選択した文字と同じ文字をすべて選択する
Windows: Alt + F3
Mac: Command + control + G
・ファイル内の文字を置換
Find:置換前文字列
Where:置換対象ファイルやフォルダ(未指定時は現在編集中のファイル)
Replace:置換後文字列
Windows: Ctrl + H
Mac: Command + Shift + H
・ファイル検索
Windows: Ctrl + Shift + F
Mac: Command + Shift + F
・行選択
Ctrlを押したまま続けて押すと選択できる。
Windows: Ctrl + L
Mac: Ctrl + L
・行の複製
カーソル位置の行をコピーしてすぐ下に貼り付けされます。
Windows: Ctrl + Shift + D
Mac: Command + Shift + D
・行の削除
Windows: Ctrl + Shift + K
Mac: control + Shift + K
・行の移動
Windows: Ctrl + Shift + ↑ or ↓
Mac: control + Command + ↑ or ↓
・コメントアウト
Windows: Ctrl + Shift + /
Mac: Command + Option + /
・Goto ファイル名を選択する
Windows: Ctrl + P
Mac: Command + P
・Goto メソッド・関数 id class検索
Windows: Ctrl + R
Mac: Command + R
・Goto 指定行へ移動
Windows: Ctrl + G
Mac: control + G
参考にしたページ
http://ytkyk.info/blog/2014/01/21/sublime-textcc/
http://webkaru.net/dev/sublime-text-3-japanize/
http://techacademy.jp/magazine/3060