Skip to content

zouyuanfeng/sublime_linux_config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sublime text 3 linux 环境的配置

复制so库到安装目录下

$sudo mv libsublime-imfix.so /opt/sublime_text/

修改subl脚本,在/usr/bin/subl中

#!/bin/sh
LD_PRELOAD=/opt/sublime_text/libsublime-imfix.so exec /opt/sublime_text/sublime_text "$@"

右键菜单和桌面快捷方式需修改sublime-text.desktop

sudo gedit /usr/share/applications/sublime-text.desktop
注意事项

注意修改安装目录对应的位置

自定义快捷键 直接在浏览器中预览效果的话,可以自定义快捷键:点击 Preferences --> 选择 Key Bindings User,输入: { "keys": ["alt+m"], "command": "markdown_preview", "args": {"target": "browser", "parser":"markdown"} }, 保存后,直接输入快捷键:Alt + M 就可以直接在浏览器中预览生成的HTML文件了。

JsFormat

快捷键:ctrl+alt+f

About

sublime_text3 config and Packages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages