自分メモ。完全に自分メモ。
諸事情により Sublime Text 3 を再インストールしたんだけど、設定がめんどくさかったので一応手順を自分メモ。
package controll を入れる
ここから
https://packagecontrol.io/installation
最低限のパッケージを入れる
- emmet
- editorconfig
- sublime linter
日本語入力時、TABキーでの予測変換を有効に
Google IME で、予測変換のTABキーを使えるようにする
- まず設定ファイル作成、メニューから
Preferences > Key Bindings – Default
を開く ~/Library/Application Support/Sublime Text 3/Packages/Default/Default (OSX).sublime-keymap
として保存- 100行目付近の以下をコメントアウト
{ "keys": ["tab"], "command": "insert_best_completion", "args": {"default": "\t", "exact": true} }, { "keys": ["tab"], "command": "insert_best_completion", "args": {"default": "\t", "exact": false}, "context": [ { "key": "setting.tab_completion", "operator": "equal", "operand": true }, { "key": "preceding_text", "operator": "not_regex_match", "operand": ".*\\b[0-9]+$", "match_all": true }, ] },
emmet の展開は cmd+E
に、ctrl+E
は行末移動に割り当てる
Preferences > Key Bindings – User
を開き、以下の設定を書く
[ { "keys": ["command+e"], "command": "run_emmet_action", "args": {"action": "expand_abbreviation"}, "context": [{"key": "emmet_action_enabled.expand_abbreviation"}] }, { "keys": ["ctrl+e"], "command": "move_to", "args": {"to": "eol", "extend": false} } ]
その他ちょっとした設定
Preferences > Settings > User
を開き、以下の設定を入れる- フォントサイズ
- 不可視文字を表示
- スペルチェックを最初からonに
- wordwrap を常にオンに
"font_size": 14, "draw_white_space": "all", "spell_check": false, "word_wrap": true,
おわり
おわり