長年愛用したemacsを手放しエディタを[[Sublime Text>http://www.sublimetext.com/3]]に変えようかと思案中。 以下、設定メモ。 -導入したパッケージ --IMESupport : 日本語をインラインで入力できる。 --sublemacspro : emacs風のキーバインド。 --OrigamiEmacs : emacs風のキーバインド。 -Preferences.sublime-settings #highlight(python,linenumber){{ { "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", "ignored_packages": ["Vintage"], "font_face": "Migu 1M", // font "font_size": 12, // font size "highlight_line": true, // 現在行をハイライト "show_encoding": true, // エンコーディングを表示 "trim_trailing_white_space_on_save": true, // 行末のスペースを削除 "fold_buttons": true, // 折りたたみボタンを表示 "fade_fold_buttons": true, // 折りたたみボタンを隠す } }} -Default (Windows).sublime-keymap #highlight(python,linenumber){{[ {"keys": ["ctrl+h"], "command": "left_delete"}, // back space {"keys": ["ctrl+i"], "command": "reindent"}, // reindent {"keys": ["ctrl+["], "command": "indent"}, // indent {"keys": ["ctrl+]"], "command": "unindent"}, // unindent {"keys": ["ctrl+t"], "command": "new_file"}, // 新しいタブを開く {"keys": ["ctrl+z"], "command": "move", "args": {"by": "pages", "forward": false}}, // pageup {"keys": ["ctrl+u"], "command": "undo"}, // undo {"keys": ["ctrl+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"}}, // go to line {"keys": ["ctrl+right"], "command": "travel_to_pane", "args": {"direction": "right"}}, // 右のペインへ移動 {"keys": ["ctrl+left"], "command": "travel_to_pane", "args": {"direction": "left"}}, // 左のペインへ移動 {"keys": ["ctrl+x", "k"], "command": "close"}, // タブを閉じる {"keys": ["ctrl+x", "p"], "command": "build"}, // build {"keys": ["ctrl+x", "r"], "command": "show_panel", "args": {"panel": "replace", "reverse": false}}, // replace // fold {"keys": ["ctrl+shift+["], "command": "fold" }, {"keys": ["ctrl+shift+]"], "command": "unfold" }, {"keys": ["ctrl+o", "1"], "command": "fold_by_level", "args": {"level": 1} }, {"keys": ["ctrl+o", "3"], "command": "fold_by_level", "args": {"level": 3} }, {"keys": ["ctrl+o", "4"], "command": "fold_by_level", "args": {"level": 4} }, {"keys": ["ctrl+o", "5"], "command": "fold_by_level", "args": {"level": 5} }, {"keys": ["ctrl+o", "6"], "command": "fold_by_level", "args": {"level": 6} }, {"keys": ["ctrl+o", "7"], "command": "fold_by_level", "args": {"level": 7} }, {"keys": ["ctrl+o", "8"], "command": "fold_by_level", "args": {"level": 8} }, {"keys": ["ctrl+o", "9"], "command": "fold_by_level", "args": {"level": 9} }, {"keys": ["ctrl+o", "0"], "command": "unfold_all" }, {"keys": ["ctrl+o", "j"], "command": "unfold_all" }, {"keys": ["ctrl+o", "t"], "command": "fold_tag_attributes" }, ] }}