美文网首页
[Ubuntu]安装sublime text 3 编辑器

[Ubuntu]安装sublime text 3 编辑器

作者: AkuRinbu | 来源:发表于2018-09-10 10:57 被阅读54次

参考资料

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?]

https://askubuntu.com/questions/552979/how-can-i-determine-which-fonts-are-installed-from-the-command-line-and-what-is

  • ubuntu-font.

https://www.1001fonts.com/ubuntu-font.html

  • Ubuntu Regular Free Font

https://www.free-fonts.com/ubuntu-regular

  • fonts

https://www.ffonts.net/

  • fontsquirrel.

https://www.fontsquirrel.com/fonts/ubuntu

相关文章

网友评论

      本文标题:[Ubuntu]安装sublime text 3 编辑器

      本文链接:https://www.haomeiwen.com/subject/vgnjgftx.html