sublime

  1. 安装sublime text 3
  2. 打开软件, Help -> Check for Updates 更新到最新版本
  3. 安装 package control
    1. 按Ctrl+`调出console: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())
  4. 通过package control安装如下插件(输入ctrl + shift + p ,然后输入ip,(选择package Control) ),安装插件
    • ConvertToUTF8
    • CSScomb
    • Emmet
    • FileDiffs
    • HTML-CSS-JS Prettify
    • Boxy Theme
      • A File Icon (装完Boxy Theme,弹出提示时同意)
      • Boxy Theme Addon - Mono File Icons
    • Autoprefixer
    • BracketHighlighter
    • ColorPicker
    • SASS Build
    • View In Browser
  5. Preferences -> KeyBlindings :
    • 粘贴如下代码到:Default(Windows).sublime-keymap -- User()
      解决需要使用功能的键位冲突问题
    [  
    /*{ "keys": [ "f4" ], "command": "view_in_browser", "args": { "browser": "firefox" } },*/
    { "keys": [ "f3" ], "command": "view_in_browser", "args": { "browser": "chrome" } },
    { "keys": [ "f5" ], "command": "view_in_browser", "args": { "browser": "iexplore" } },
    /*{ "keys": [ "ctrl+alt+i" ], "command": "view_in_browser", "args": { "browser": "safari" } },*/
    { "keys": ["ctrl+shift+alt+c"], "command": "color_pick" },
    { "keys": ["f4"], "command": "side_bar_files_open_with",
         "args": {
            "paths": [],
            "application": "C:/Program Files/Firefox Developer Edition/firefox.exe",
            "extensions":".*"
        }
    }   
] 

效果展示


sublime_第1张图片

你可能感兴趣的:(sublime)