`
Rule
  • 浏览: 31590 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Ubuntu 14.04 Install Sublime Text 3

 
阅读更多

1.下载sublime text3 deb包

wget https://download.sublimetext.com/sublime-text_build-3103_amd64.deb

2.安装sublime text3

sudo dpkg -i sublime-text_build-3103_amd64.deb

3.安装Package Control

打开:View -> Show Control

输入如下命令:

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.安装成功后,在Preferences菜单可以看到Package Control


5.常用快捷键

a.Ctrl+D

   Here Ctrl+D is used to select the next occurrence of the current word.

b.Ctrl+Shift+P

   Here Ctrl+Shift+P is used to show the Command Palette, "sspy" (short for Set Syntax: Python) is used      set the syntax of the current file to Python.

c.Ctrl+P

   Ctrl+P shows Goto Anything, and typing then filters on file and directory names.

d.@

   Goto Anything can also be used to show a function, line or word within a file.

   Type @ after a file name to filter on symbols.

e.Column Selection

   Windows+Linux:鼠标右键+Shift

  • 大小: 52.6 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics