2020-02-15

?xml version="1.0" encoding="UTF-8"?

最近换到sublime text3每次copy 代码或者相关文本的时候都只是plain text,并没有格式啊背景色等 也就是所谓的 rich text:富文本,简写RTF.

基本思路:

1.command + shift + P 打开 Package Control

2.输入add Repository

3.在下方输入https://github.com/n1k0/SublimeHighlight/tree/python3 导入模块,看提示加载成功后再继续,没成功就再加载34443333333333333333位

4.等文本栏再次弹出来后输入 SublimeHighlight,点击就算安装成功了

6.然后修改配置文件以及hotkeys

* 修改setting-user配置文件为(位置见后面截图)

其中theme你可以按照喜好修改:

[点我显示可选theme外观展示](https://camo.githubusercontent.com/4c4f3f6f980eae615d6545426e1f7042896acb7b/68747470733a2f2f7261772e6769746875622e636f6d2f6e316b302f5375626c696d65486967686c696768742f6d61737465722f7468656d65732e706e67)

```json

{

"theme": "fruity",

"noclasses": true,

"fontface": "Menlo",

}

```

* 修改key-binding(位置参见后面截图)

```json

[

{ "keys": ["shift+command+c"],

"command": "sublime_highlight",

"args": { "target": "clipboard",

"output_type": "rtf"

}

},

]

```

你可能感兴趣的:(2020-02-15)