sublime text 3 build 3143 安装详解

sublime text 3 build 3143 安装详解

  环境:ubuntu 16 (x64)

 0x00 下载

  官网下载地址
  下载的文件是个压缩包,笔者解压之后将整个sublime-text-3放在主目录/opt/下

 0x01 配置别名

  修改用户下的环境变量配置文件~/.bashrc

vim ~/.bashrc

  根据运行程序存放的路径位置,在文件中添加

alias subl="~/opt/sublime_text_3/sublime_text"

  保存修改后的结果,执行下面的语句

source ~/.bashrc

 0x02 快捷方式与右键菜单

  将程序主目录下面的sublime_text.desktop放置到/usr/share/applications/下,然后对其进行修改

vim /usr/share/applications/sublime_text.desktop

  做如下修改:

[Desktop Entry]
Version=1.0
Type=Application
Name=Sublime Text
GenericName=Text Editor
Comment=Sophisticated text editor for code, markup and prose
Exec=/home/d0main/opt/sublime_text_3/sublime_text %F
Terminal=false
MimeType=text/plain;
Icon=/home/d0main/opt/sublime_text_3/Icon/128x128/sublime-text.png
Categories=TextEditor;Development;
StartupNotify=true
Actions=Window;Document;

[Desktop Action Window]
Name=New Window
Exec=/home/d0main/opt/sublime_text_3/sublime_text -n
OnlyShowIn=Unity;

[Desktop Action Document]
Name=New File
Exec=/home/d0main/opt/sublime_text_3/sublime_text --command new_file
OnlyShowIn=Unity;

  FYI:Exec指定程序路径,%F是将打开方式添加至右键菜单。Icon指定图标路径(程序主目录下的Icon文件夹里)

  保存退出。双击/usr/share/applications/下面的sublime_text图标,即打开程序。之后就可以将其锁定到Launcher中了。
  可以将图标复制到桌面;鼠标右击可编辑文本文件就可以看到可使用sublime-text打开文件的选项了;命令行使用subl +文件名就可以打开或创建文件了。

0x03 修复中文输入法问题

如果你已经有了中文输入法比如搜狗拼音,但是在sublime text 3中又无法使用,可以阅读一下下面的博客尝试修复。以上安装版本亲测可用。
sublime text 3在linux下无法输入中文的解决办法

转载于:https://www.cnblogs.com/d0main/p/7607665.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
3.0 (BUILD 3143) 13 September 2017 See also the Announcement Post Refreshed UI theme, including full high DPI support New icon Added alternate theme, Adaptive, that inherits colors from the color scheme Added new color schemes Breakers, Mariana and Sixteen, derived from the excellent work of Chris Kempson and Dmitri Voronianski Added color scheme and theme switchers with live preview via the command palette Windows: Added touch input Linux: Added repositories for apt, yum and pacman Mac: Added Touch Bar support Mac: Support for custom color window title bars on OS X 10.10+ Many additions and bug fixes to the theme engine, plus full documentation Significant improvements to Markdown syntax highlighting, with thanks to keith-hall Significant improvements to C# syntax highlighting, with thanks to gwenzek Significant improvements to Java syntax highlighting, with thanks to djspiewak Significant improvements to Python syntax highlighting, with thanks to FichteFoll Significant improvements for R syntax highlighting, with thanks to randy3k Markdown: Improved symbol handling C#: Improved symbol handling Many other syntax highlighting improvements Various bugs with the syntax highlighting engine have been resolved Fixed several crash issues Improved responsiveness when the system is under high CPU load High DPI textures are used on Windows and Linux when the DPI scale is greater than 1.0 Improved font selection on all platforms, allowing selection of different weights by name Added setting theme_font_options to control font rendering of UI elements Improved auto indent rules for HTML and PHP Font geometry issues that prevent bold or italics are now printed in the console Fixed flash-of-white that could occur when the auto complete window is closed Disable scroll animation when animation_enabled is false in settings Files can now be renamed when only the case has changed New windows start with an empty find history Find in Files panel now responds to find_all and replace_all commands Various regex handling improvements in the Find panel Fixed text widgets cutting off the bottom pixel of their selection border Fixed an issue with close_windows_when_empty in empty session Fixed empty panes on startup when hot_exit was set to false Fix Open Containing Folder on Windows with a folder containing a comma Fix multi-cursor pasting when clipboard contains one or more full lines Prevent UNC paths from being mangled by edit_settings Prevent a crash when a malformed regex is used in indentation settings Improved rendering performance with a large number of gutter icons Gutter icons are now sized properly on Windows and Linux high DPI screens Improved sidebar performance when folders contain many thousands of files Improved inline error message style Fixed an issue where multiple indexing status windows could be shown Windows: Font rendering defaults to DirectWrite unless using Consolas or Courier New Windows: Added support for no_antialias font option when using DirectWrite Windows: Improved touch pad scrolling Windows: Improved file change detection robustness Windows: Improved font selection logic Windows: Fix ctrl+` shortcut for UK (ISO) keyboards Windows: Improved fallback font handling in UI elements Windows: The subl executable on OS X and plugin_host.exe on Windows are now signed Windows: sublime_text.exe now has CompanyName set in VERSIONINFO Mac: Handle layout changes due to macOS Sierra tabs Mac: Improved default web browser detection Mac: OS X 10.11 and macOS 10.12+ default to using San Francisco for the UI font Mac: Fixed file change notifications from freezing UI on macOS Sierra Mac: the user's default shell is executed and environmental variables are set in the plugin Python environment Linux: Update X11 selection on clipboard every time selection changes Linux: Improved MOD3 modifier key handling minihtml: Added support for borders minihtml: Respects font_options from the settings minihtml: Fixed layout of html popups on Windows and Linux under High DPI minihtml: Fixed crash when doctype is present minihtml: Fixed a crash from non-existent CSS vars minihtml: Fixed a crash triggered by bad image paths API: Add View.text_to_window() and View.layout_to_window() API: All API functions now accept and return device-independent-pixels API: Fixed input panel not running on_cancel when re-showing the input panel API: Fixed selector scoring with the & operator API: Fixed a bug causing incorrect phantom contents API: Fixed crash in Window.set_view_index() API: Updated OpenSSL to 1.0.2k, SQLite to 3.16.02 BUILD 3126 23 September 2016 Added Indexing Status to the Help menu to give more information about what the indexer is doing Fixed a compatibility issue with some third party syntax definitions that include JavaScript.sublime-syntax Reduced the default number of worker processes used for indexing. This can be manually controlled via the index_workers setting API: Updated OpenSSL to 1.0.2i
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值