一些經常使用快捷鍵css
Ctrl + N-------------------新建html
Ctrl + F-------------------查找markdown
Ctrl+Shift +k -----------刪除一行ui
Ctrl+Shift +D -----------複製並增長一行url
Ctrl + H ---------------替換spa
Ctrl + / ---------------------註釋.net
Ctrl + W ---------------關閉當前文檔插件
選擇:rest
Alt + F3 ---------------選中全部匹配的標籤htm
Ctrl + D ---------------多行標籤選擇 能夠搭配 Ctrl + K刪除選中標籤
ctrl+shift+’---------------選擇與光標關聯的開始和結束標籤
ctrl+shift+↑ 或 ↓上移或下移行
ctrl+[ 或 ]增長和減小縮進
alt+shift+w使用標籤包裹一行; 開始輸入你想使用的標籤
ctrl+shift+;移除與你的光標相關的父標籤
ctrl+↑ 或 ↓加大或減小數字
sublime的一些我的設置(重裝的時候備忘)
首先按 Ctrl + ~組合鍵,打開Console窗口;
Sublime Text 2輸入如下代碼:
import urllib2,os; pf=’Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler( ))); open( os.path.join( ipp, pf), ‘wb’ ).write( urllib2.urlopen( ‘http://sublime.wbond.net/’ +pf.replace( ‘ ‘,’%20′ )).read()); print( ‘Please restart Sublime Text to finish installation’)
Sublime Text 3 輸入如下代碼:
import urllib.request,os,hashlib; h = ‘2deb499853c4371624f5a07e27c334aa’ + ‘bf8c4e67d14fb0525ba4f89698a6d7e1′; pf = ‘Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( ‘http://packagecontrol.io/’ + pf.replace(‘ ‘, ‘%20′)).read(); dh = hashlib.sha256(by).hexdigest(); print(‘Error validating download (got %s instead of %s), please try manual install’ % (dh, h)) if dh != h else open(os.path.join( ipp, pf), ‘wb’ ).write(by)
插件:
emmet
html js css prettify(ctrl+shift+H)
hayaku
autofilename
colorhighlighter, markdown editing, bracket guard
主題:
material theme