Sublime Text 3 使用手册

一、Package Control 安装方法

     单击 View > Show Console 输入以下代码并重启Sublime:

import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())

 

二、Package Control安装插件的方法

  1. 按下Ctrl+Shift+P调出命令面板
  2. 输入install 调出 Install Package 选项并回车,然后在列表中选中要安装的插件。

 

三、我使用的插件及配置

  配置:

{
"always_show_minimap_viewport": false,
"auto_complete_commit_on_tab": false,
"auto_find_in_selection": true,
"bold_folder_labels": true,
"color_scheme": "Packages/User/SublimeLinter/Monokai (SL).tmTheme",
"default_line_ending": "unix",
"detect_indentation": false,
"detect_slow_plugins": false,
"drag_text": false,
"draw_white_space": "selection",
"ensure_newline_at_eof_on_save": true,
"fallback_encoding": "UTF-8",
"font_size": 13,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage",
"Vintageous"
],
"indent_guide_options":
[
"draw_active",
"draw_normal"
],
"indent_to_bracket": true,
"line_padding_bottom": 1,
"line_padding_top": 1,
"preview_on_click": false,
"rulers":
[
80
],
"scroll_past_end": true,
"shift_tab_unindent": true,
"show_encoding": true,
"tab_size": 4,
"translate_tabs_to_spaces": true,
"trim_automatic_white_space": true,
"trim_trailing_white_space_on_save": true,
"word_wrap": true,
"wrap_width": 80,
"auto_complete_triggers":
[ {"selector": "source.python - string - comment - constant.numeric", "characters": " "}, {"selector": "source.python - string - comment - constant.numeric", "characters": "."} ]

}

  插件:

SublimeREPL,Anaconda

 

posted @ 2015-11-09 17:20  killingwolf  阅读(434)  评论(0编辑  收藏  举报