1, first download sublime Text : http://www.sublimetext.com/
2, basic settings. This article: http://blog.jobbole.com/40660/
{
"auto_complete": false,
"caret_style": "solid",
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night-Eighties.tmTheme",
"draw_white_space": "all",
"ensure_newline_at_eof_on_save": true,
"file_exclude_patterns":
[
".DS_Store",
"*.pid",
"*.pyc"
],
"find_selected_text": true,
"fold_buttons": false,
"folder_exclude_patterns":
[
".git",
"__pycache__",
"env",
"env3"
],
"font_face": "Ubuntu Mono",
"font_options":
[
"subpixel_antialias",
"no_bold"
],
"font_size": 16.0,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage"
],
"line_padding_bottom": 0,
"line_padding_top": 0,
"rulers":
[
72,
79
],
"scroll_past_end": false,
"show_minimap": false,
"tab_size": 4,
"theme": "Soda Dark.sublime-theme",
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"wide_caret": true,
"word_wrap": true,
"wrap_width": 80
}
3, plug-in installation;
General Installation Method : open Sublime Text2, Preferences, and Browse Packages. Unzip the file downloaded from GitHub, and rename it to the name of the appropriate plugin to put it in the directory.
4, Python plug-in installation Sublimerepl;
Set to execute the current file directly: http://blog.sina.com.cn/s/blog_6476250d0101a881.html
(1) Open the C:\Users\MyPC\AppData\Roaming\Sublime Text 2\packages\sublimerepl\config\python\main.sublime-menu file to find "id": " Repl_python "In the row, change the value of the Cmd property in this JSON object to [" Python ","-I ","-U "," $file _basename "]
(2) Click Perferences-key bindings-users. Set shortcut keys
[
{ "keys": ["f5"],
"caption": "SublimeREPL: Python",
"command": "run_existing_window_command", "args":
{ "id": "repl_python" ,
"file": "config/Python/Main.sublime-menu"
}
}
]
(3) Installation of Pylint and
Pylinter plug-in
Pip Install Pylint
5. Other
Some of the better plugins: http://ipestov.com/the-best-plugins-for-sublime-text/
These two articles can also look at:
Http://www.xuanfengge.com/practical-collection-of-sublime-plug-in.html
Http://www.xuanfengge.com/sublime-text-2-artifact.html
Column editing:shift+ The right mouse button to drag the selected. The middle wheel of the mouse is both ways.
Sublime Text 2 installation and use