Http://jingyan.baidu.com/article/ff4116259b057c12e48237b8.html
Sublime text as a lightweight, concise, efficient, cross-platform editor. Support n multiple languages, loved by engineers! Here we teach you how to activate sublime Text 2.0.2 and teach you how to install the package controller and install plugins (Emmet, Sublimelinter, jquery, etc.)
1. Activate registration Sublime Text2
Next teach you how to register to crack sublime Text 2.0.2.
Copy the Code as follows: (32, 64-bit generic)
-----BEGIN LICENSE-----
Andrew Weber
Single User License
ea7e-855605
813A03DD 5e4ad9e6 6c0eeb94 bc99798f
942194A6 02396E98 e62c9979 4bb979fe
91424c9d A45400BF f6747d88 2fb88078
90f5cc94 1CDC92DC 8457107A f151657b
1d22e383 a997f016 42397640 33F41CFC
E1d0ae85 a0bbd039 0e9c8d55 e1b89d5d
5cdb7036 e56de1c0 EFCC0840 650cd3a6
b98fc99c 8fac73ee d2b95564 DF450523
------END LICENSE------
2.Sumblime Text 2 Common plug-ins and installation methods
1. Only install the package control to install a variety of God-teammate plugins. First press ctrl+~ to call out the command controller.
2. Then copy the following command to the command bar and press ENTER. See the success prompt to restart to see the package control.
The command is as follows:
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 (' Restart Sublime Text to finish installation '
You can see the results in the bottom left corner after the installation is complete.
and finally you type
Div#page>div.logo+ul#navigation>li*5>a
, and then press the TAB key to try it, there will be a magical effect
((h4>a[rel=external]) +p>img[width=500 height=320]) *12
Sublime Text2 Common Plugins
Package Control must be installed after the installation of Sublimetext.
ConvertToUTF8 After installation can recognize Chinese characters, eliminate garbled
Clipboard History Clipboard Enhancement Tool
Theme–soda theme,
Ftpsync free and easy to use FTP tools
SASS Build a preprocessor to write CSS
Emmet is a plugin that allows you to write HTML and CSS faster and more efficiently, saving you a lot of time
Sublimelinter Saves disk space
Sublimeenhancements Sidebar menu for expanded functionality
Packageresourceviewer viewing and editing different packages included with Sublimetext
git runs git commands, including adding, submitting files, viewing logs, file annotations, and other git features
Alignment code looks more concise and readable, easy to edit
Trmmer automatically remove these unnecessary spaces
ColorPicker easy to call your native palette app
Filediffs differences between two different files
Docblockr the code to create a document. It will parse functions, variables, and parameters, and automatically generate document paradigms based on them
Http://www.oschina.net/translate/20-powerful-sublimetext-plugins
Sublime Text 3 can be recommended with supported plugins
Package control plug-in management
Brackethighlighter highlighting matching brackets, quotes, and labels
Trailingspacer highlighting extra spaces and tabs
Alignment equals alignment
Clipboard-history Paste Board History
GBK4SUBL support GBK encoding plugin download: HTTPS://GITHUB.COM/JEEWOOD/GBK4SUBL
Tradsim Chinese Traditional font and simplified character conversion
Sidebarenhancements Side Bar Enhancements
ColorPicker Toner Plate
Hex-to-hsl-color hex color Mode turn HSL color mode
Csscomb CSS Property Ordering
CSS Compact Expand CSS Properties expand shrink
Jsformat JavaScript formatting
Sublimetmpl Quick Generate file template
Emmet Html/css Quick Edit (formerly Zen Coding)
Sublimelinter Code Error hints
Http://www.tuicool.com/articles/qEFJrm
User Configuration file:
Click Preferences--settings–users to customize the user according to their preferences
{
"Color_scheme": "Packages/color scheme-default/monokai.tmtheme",
"Font_size": 13,
"Highlight_line": true,
"Ignored_packages":
[
"Vintage"
],
"Scroll_past_end": false,
"Tab_size": 4,
"Theme": "Soda light.sublime-theme",
"Translate_tabs_to_spaces": true,
"Trim_trailing_white_space_on_save": true,
"Word_wrap": True
}
3.SubLime Text shortcut Keys
Shortcut keys
Ctrl+d Word Selection (press the shortcut key repeatedly to continue to edit the next same text at the same time)
Ctrl+f Find Content
Ctrl+g jump to the appropriate line
Ctrl+h replacement
Ctrl+j merge rows (multiple rows that need to be merged are selected)
Ctrl+l Select Entire row (press and hold-continue to select the downstream)
Ctrl+m cursor to start or end position within parentheses
CTRL + N New Window
Ctrl+t Word Exchange
Ctrl+u Soft undo, undo cursor Position
Ctrl+p find files in the current project and quick search; Enter @ To find the main title/function of the file, or enter: Jump to a file line;
Ctrl+r quickly list/jump to a function
Ctrl+w Close the currently open file
Ctrl+x Delete When moving forward
Ctrl+y Recovery undo
CTRL + Z Undo
Ctrl+k Backspace Delete from cursor to beginning of line
CTRL+KB Toggle Sidebar on/off
CTRL+KK Delete from cursor to end of line
Ctrl+kt Collapsing properties
Ctrl+ku Change to uppercase
CTRL+KL Change to lowercase
Ctrl+k0 Expand All
ctrl+/Comment Entire line (if selected, same as "ctrl+shift+/" effect)
CTRL + left mouse button to select multiple text to edit at the same time
CTRL + LEFT and RIGHT arrow keys to move by word
CTRL+F2 setting bookmarks
Ctrl+enter Insert Line (quick line wrapping)
Ctrl+tab tab Toggle in the current window
Ctrl+shift+a Select the cursor position parent tag pair child
Ctrl+shift+d the entire line where the cursor is copied, before inserting the line
Ctrl+shift+f in folders, unlike normal editors, Sublime allows you to add multiple folders to find
Ctrl+shift+k Delete an entire row
Ctrl+shift+l the mouse to select multiple rows (pressing the shortcut key), you can edit the lines at the same time
Ctrl+shift+m Select the contents in parentheses (press and hold-continue to select the parent bracket)
CTRL+SHIFT+P Open Command Panel
Ctrl+shift+w Close all open files
CTRL+SHIFT+V Paste and format
ctrl+shift+/Comment Selected content
Ctrl+shift+↑ can move this line of code, with upstream interchange
Ctrl+shift+↓ can move this line of code, with the downstream interchange
Ctrl+shift+[Folding Code
Ctrl+shift+] Unwind code
Ctrl+shift+enter Cursor Front Insertion
Ctrl+shift+ left and right direction by word selection
Ctrl+pagedown, ctrl+pageup files are switched on and off in the open sequence
shift+ the right mouse button (or using the middle mouse button) can use the mouse to select the vertical multi-line
Shift+f2 Previous Bookmark
SHIFT+F11 fullscreen-free mode, edit only the current file
Shift+tab removing indents
ALT +. Close the current label
Alt+f3 selected text Press the shortcut key, you can select all the same text at once to edit simultaneously
ALT + Digital Toggle Open Nth File
Alt+shift+1~9 (non-keypad) screen displays a small window of equal numbers
Tab indent. Auto-complete
F2 Next Bookmark
F3 Find a specific word (the general process is ctrl+f3, then F3)
F6 Detecting syntax errors
F9 row sort (by A-Z)
F11 Full Screen mode
Multiple options:
Press and hold the middle mouse button to make column selection
Hold down CTRL, click the left mouse button to select the text location, there are multiple cursors, can be in the peer, cross-line multiple selection. Then CTRL + L to select the rows.
Press SHIFT + ALT to right-click to remove a selection in multi-select.
Search for files, enter the file path when you can quickly find a file by/c/u/a such a format match.
下面是翻译网上常用的插件:
Alignment
代码对齐,如写几个变量,选中这几行,
Ctrl+Alt+A
,哇,齐了。
Prefixr
写
CSS
可自动添加
-webkit
等私有词缀,
Ctrl+Alt+X
触发。
Tag
Html
格式化,右键
Auto-Format Tags on Ducument
。
Clipboard History
剪贴板历史记录,显示更多历史复制,
Ctrl+Shift+V
触发。
SideBarEnhancements
侧栏右键功能增强,非常实用
Theme – Soda
完美的编码主题,用过的都说好,
Setting user
里面添加
”theme”: “Soda Dark.sublime-theme”
GBK to UTF8
将文件编码从
GBK
转黄成
UTF8
,菜单
– File
里面找
SFTP
直接编辑
FTP
或
SFTP
服务器上的文件,绝对
FTP
浮云
WordPress
集成一些
WordPress
的函数,对于像我这种经常要写
WP
模版和插件的人特别有用
PHPTidy
整理排版
PHP
代码
YUI Compressor
压缩
JS
和
CSS
文件
更多插件信息:
Http://www.qianduan.net/essential-to-sublime-the-text-2-plugins.html
Http://wbond.net/sublime_packages/community
In fact, the feeling is similar, may be translated foreign articles.
There is a reason why ST2 cannot be opened: There are no upgraded packages in the Install Package folder. Remove the package.
Conclusion:
This editor gives me the biggest feeling is "shun", "fast" and "cool", if you want to abandon the cumbersome IDE, try to light the feeling, then this editor can consider trying.
Currently for the use of this editor I have just started, more skills and features are also in the exploration, I hope you can also communicate with me about the use of experience. Moreover, although the sword is good, but you do not forget the internal strength of the cultivation, you know, the peerless master is the hands of no sword, but everywhere can be a sword. The procedure ape's internal strength cultivation is the kingly way.
More about the use of sublime: Http://lucifr.com/2011/08/31/sublime-text-2-tricks-and-tips/?replytocom=122286#commandline
Sublime Text 2 activation, plug-in package installation, and shortcut keys