Ubuntu 12.04 Installation Sublime2

Source: Internet
Author: User

Add-apt-repository ppa:webupd8team/sublime-text-2

Apt-get Update

Apt-get Install Sublime-text

To install the controller:

CTRL + ', bring up the console:

Input:

import urllib2,os;pf=‘Package Control.sublime-package‘;ipp=sublime.installed_packages_path();os.makedirs(ipp) if not os.path.exists(ipp) else None;open(os.path.join(ipp,pf),‘wb‘).write(urllib2.urlopen(‘http://sublime.wbond.net/‘+pf.replace(‘ ‘,‘%20‘)).read())

It's ready to install.

And then the Ctrl+shift+p:install package is ready.

Svn,git,,codeintel, wait.



Press the shortcut key first: alt+shift+2. The layout of the left and right columns appears.

Press alt+shift+ ' (the key is the TAB key above), this will copy the current file, and then drag the newly copied copy of the file to the right column. This realizes the same file left and right two columns open at the same time.

Switch back to a column layout, press alt+shift+1

List of key shortcut keys:

Ctrl+l Select Entire row (press and hold-continue to select the downstream)
CTRL+KK Delete from cursor to end of line
Ctrl+shift+k Delete an entire row
Ctrl+shift+d the entire line where the cursor is copied, before inserting the line
Ctrl+j merge rows (multiple rows that need to be merged are selected)
Ctrl+ku Change to uppercase
CTRL+KL Change to lowercase
Ctrl+d Word selection (press and hold-continue to select the next same string)
Ctrl+m cursor to start or end position within parentheses
Ctrl+shift+m Select the contents in parentheses (press and hold-continue to select the parent bracket)
ctrl+/Comment Entire line (if selected, same as "ctrl+shift+/" effect)
ctrl+shift+/Comment Selected content
CTRL + Z Undo
Ctrl+y Recovery undo
Ctrl+m cursor jumps to the corresponding parentheses
ALT +. Close the current label
Ctrl+shift+a Select the cursor position parent tag pair child
Ctrl+shift+[Folding Code
Ctrl+shift+] Unwind code
Ctrl+kt Collapsing properties
Ctrl+k0 Expand All
Ctrl+u Soft Undo
Ctrl+t Word Exchange
Tab Indent Auto-complete
Shift+tab removing indents
Ctrl+shift+↑ and Upstream Interchange
Ctrl+shift+↓ and Downlink Interchange
Ctrl+k Backspace Delete from cursor to beginning of line
Ctrl+enter cursor after insertion
Ctrl+shift+enter Cursor Front Insertion
CTRL+F2 setting bookmarks
F2 Next Bookmark
Shift+f2 Previous Bookmark

Ubuntu 12.04 Installation Sublime2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.