パッケージ

command + shift + p

  • Package Control
  • Git Gutter
  • TrailingSpaces
  • SyncedSideBar
  • ProjectManager

For メモ

キーバインドをctrl+super+sにしている。ctrl+shift+sでは名前をつけて保存が起動するため

Ctrl + Shift + P –> Terminus: Open Default Shell in Tab (View)

設定

{
	// フォント系
	"font_size": 12,
	"tab_size": 2,
	"translate_tabs_to_spaces": true, // タブをスペースとして扱う
	"default_encoding": "UTF-8",
	"default_line_ending": "unix",
	"fallback_encoding": "UTF-8",
	"show_encoding": true,

	// 非表示にするファイル名のパターン
	"file_exclude_patterns":
	[
		"*.pyc",
		"*.pyo",
		"*.exe",
		"*.dll",
		"*.obj",
		"*.o",
		"*.a",
		"*.lib",
		"*.so",
		"*.dylib",
		"*.ncb",
		"*.sdf",
		"*.suo",
		"*.pdb",
		"*.idb",
		".DS_Store",
		"*.class",
		"*.psd",
		"*.db"
	],

  // 非表示にするフォルダ名のパターン
  // rails, node用途
	"folder_exclude_patterns": [
		"vendor",
		"node_modules",
		".svn",
		".git",
		".hg",
		"CVS"
	],

	// vimライクな操作を無効
	"ignored_packages":
	[
		"Vintage"
	],

	"highlight_line": true, // 選択している行をハイライト
	"overlay_scroll_bars": "disabled", // 水平スクロールバーが常に表示

	"preview_on_click": false, // 別のタブやウィンドウにフォーカスが移ると自動保存しない

	"rulers":
	[
		0,
    200
	], // ガイド線の位置
	"show_line_endings": true,

	"word_wrap": false, // テキストを折り返さない
}

Preferences->Key bindings

for Mac

[
 // 表示しているファイルをサイドバーから見つける
 { "keys": ["alt+m"], "command": "reveal_in_side_bar"},
 // 置換
 { "keys": ["super+r"], "command": "show_panel", "args": {"panel": "replace", "reverse": false} },
 // 関数リスト
 { "keys": ["super+o"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} },
 // 関数の宣言元にジャンプ
 { "keys": ["f3"], "command": "goto_definition" },
 // 移動元に進む、戻る
 { "keys": ["alt+left"], "command": "jump_back" },
 { "keys": ["alt+right"], "command": "jump_forward" },
 // サイドバーのフォルダを更新
 { "keys": ["f5"], "command": "refresh_folder_list" },
 // タブ移動
 { "keys": ["super+t"], "command": "next_view" },
 { "keys": ["super+shift+t"], "command": "prev_view" },
 // 同一ファイルを別タブで開く
 { "keys": ["alt+f"], "command": "clone_file" },
 // フォルダをリフレッシュする
 { "keys" : ["f5"], "command" : "refresh_folder_list" },
]

参考

sublime text 2 の設定を晒す - itochin2の日記(仮)

Y.A.M の 雑記帳: Sublime Text 2 の設定

SublimeText3のおすすめ基本設定

SublimeText3 セットアップ - Qiita