[Ubuntu]安装sublime text 3 编辑器
2018-09-10 本文已影响54人
AkuRinbu
参考资料
How do I install Sublime Text 2/3?
https://askubuntu.com/questions/172698/how-do-i-install-sublime-text-2-3
Ubuntu 安装 sublime text 3 编辑器
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
从命令行启动 sublime
subl
修改一下默认的字体
-
sublime -> preference -> settings -> font_face 字段
,拿Ubuntu Mono
举个例
{
"color_scheme": "Packages/Color Scheme - Default/Mac Classic.tmTheme",
"font_face": "Ubuntu Mono",
"font_size": 15
}
-
$ fc-list
查看已安装的字体列表,找可以填入font_face字段
的字体名
/usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-R.ttf: Ubuntu Mono:style=Regular
编辑器界面
sublime text 3 编辑器参考资料
fc-list - list available fonts
http://manpages.ubuntu.com/manpages/precise/man1/fc-list.1.html
- [How can I determine which fonts are installed from the command line, and what is the easiest way to install more?]
- ubuntu-font.
- Ubuntu Regular Free Font
- fonts
- fontsquirrel.