标签:
1.ctrl+d ,Ctrl+D is used to select the next occurrence of the current word
ctrl+d,ctrl+k 联合使用,取消掉最后选中的word
alt+f3,选中所有和 the current word一致的单词
ctrl+h ,替换
2.ctrl+alt+l ,对当前所有选中行进行编辑
3.ctrl+shift+Pageup/PageDown ,当前行上移/下移
4.Ctrl+Shift+P is used to show the Command Palette,
"sspy" (short for Set Syntax: Python) is used set the syntax of the current file to Python.
5. 自适应缩进的复制粘贴 ctrl+shitf+v ,http://www.zhihu.com/question/24896283
6.AdvancedNewFile插件,http://www.zhihu.com/question/24896283
7.环境设置的优先级
ex:拿python举例
Python.sublime-settings高于Preferences.sublime-settings-User高于Prefereces.sublime-settings-Default
操作,Preferences->Settings-more->Syntax specifix-user)
{
// editor options
"draw_white_space": "all",
// tabs and whitespace
"auto_indent": true,
"rulers": [79],
"smart_indent": true,
// The number of spaces a tab is considered equal to
"tab_size": 4,
"trim_automatic_white_space": true,
"use_tab_stops": true,
"word_wrap": true,
"wrap_width": 80,
// Set to true to insert spaces when tab is pressed
"translate_tabs_to_spaces": true,
}
8.将Sublime Text 3设置为Python全栈开发环境: http://python.jobbole.com/81312/
9.https://packagecontrol.io/installation#st3
https://packagecontrol.io/browse
10.系统上安装了多个版本python ,ctrl+b 运行时,到底用
哪个运行 http://my.oschina.net/u/1468217/blog/223051
11.其他参考
http://www.cnblogs.com/dolphin0520/archive/2013/04/29/3046237.html
-------------------------------------------------------------------
配置一个python环境
1.package-control: https://packagecontrol.io/installation
2.Python.sublime-settings ,看上面的7
3.如果要指定执行哪个python ,见上面10, http://my.oschina.net/u/1468217/blog/223051
4.Flantland theme: https://packagecontrol.io/packages/Theme%20-%20Flatland
5.插件:SublimeCodeIntel
https://packagecontrol.io/packages/SublimeCodeIntel,配置文件放在 preferences->browser 下,"pythonExtraPaths”值参考 sys.path
ConvertToUT
标签:
原文地址:http://www.cnblogs.com/Citizen/p/5655113.html