码迷,mamicode.com
首页 > 其他好文 > 详细

sublime

时间:2016-07-09 07:06:22      阅读:187      评论:0      收藏:0      [点我收藏+]

标签:

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

sublime

标签:

原文地址:http://www.cnblogs.com/Citizen/p/5655113.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!