sublime使用技巧汇总

时间:2021-09-26 21:02:24

sublime使用技巧

Ubuntu下安装sublime text 3143版本

Install the GPG key:

wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

Ensure apt is set up to work with https sources:

sudo apt-get install apt-transport-https

Select the Stable channel to use:

echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

Update apt sources and install Sublime Text

sudo apt-get update
sudo apt-get install sublime-text

安装anaconda, 并去掉Python代码方框

ctrl + shift + P - install package - anaconda

安装结束后,

在Sublime > Preferences > Package Settings > Anaconda > Settings User 中设置关闭:

{"anaconda_linting": false}

显示竖线

preferences - settings

	"rulers":
[
80
],

使用vim模式

preferences - settings

	"ignored_packages":
[
],

更换主题

ctrl + shift + P - install package - material theme

安装结束后,

preferences - package setting - material theme - active

同时使用Adaptive.sublime-theme效果更佳:

preferences - theme - Adaptive.sublime-theme

显示目录树

将文件夹拖拽进入sublime,ctrl + K + B

不显示状态栏

ctrl + shift + P - view

有很多可以选择

这样按F11真有全屏的效果……

设置tap大小

preferences - settings

{
"tab_size": 4,
"translate_tabs_to_spaces": true
}

关闭更新

"update_check": false

其他问题

Ubuntu16.04安装sublime text 3并配置Python开发环境

Ubuntu16.04安装texlive2016并配置texmaker和sublime text3

Ubuntu16.04下配置sublime text 3使用markdown

sublime将python的运行结果在命令行显示

参考

http://www.sublimetext.com/docs/3/linux_repositories.html#apt