sublime text 2

1. sublime text 的多屏显示

分屏快捷键:alt+shift+(1,2,3...8)。一般有几个屏会默认生成几个Group,焦点的切换是快捷键ctrl+n。把一个打开的文件移动到另外一个Group的快捷键是ctrl+shift+n。


2. linux 下 sublime text 的一个 symbols 问题导致build出错

错误如下

Traceback (most recent call last):
File ".\sublime_plugin.py", line 337, in run_
File ".\exec.py", line 154, in run
File ".\exec.py", line 45, in init
UnicodeDecodeError: 'ascii' codec can't decode byte 0xcf in position 6: ordinal not in range(128)

只需要修改 Packages/Default/exec.py 的第45行,把

proc_env[k] = os.path.expandvars(v).encode(sys.getfilesystemencoding())

替换成

os.path.expandvars(v.decode(sys.getfilesystemencoding())).encode(sys.getfilesystemencoding())

即可,具体参见这篇文章Build Error

你可能感兴趣的:(sublime text 2)