azukipochette's weblog

memory dump (mini)

Sublime Text 2 を使うためのメモ

Download

有償で $49。機能制限はないが、試用中 (UNREGISTERED) の間は保存のタイミングで支払を勧めるダイアログが表示される。

Package Control をインストールする

Package (拡張機能) を手軽に管理するために "Package Control" をインストールする。 [View] - [Show Console] を選び、表示された入力エリアに次のコマンドを入力する。

import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp) if not os.path.exists(ipp) else None;open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())

日本語環境を整える

Theme

[Install Package] で "Soda Dark"。

[Settings - User]

{
    "font_face": "Source Sans Pro",
    "font_size": 11.0,
    "ignored_packages":
    [
        "Vintage",
        "ZenCoding"
    ],
    "indent_to_bracket": true,
    "smart_indent": true,
    "tab_size": 4,
    "theme": "Soda Dark.sublime-theme",
    "translate_tabs_to_spaces": true,
    "use_tab_stops": true
}

参考