exofrills文本编辑器
项目描述
您可能需要帮助,但我只能做到这些
usage: xo [-h] path exofrills: your text has been edited...but you are still hungry. positional arguments: path path to file, may include colon separated line and col numbers, eg 'path/to/xo.py:10:42' optional arguments: -h, --help show this help message and exit
有人在0.1版本发布后一小时内制作了一个视频教程并发布到YouTube上。
获取xo
使用pip或easy_install从cheese shop安装
$ pip install exofrills
$ easy_install exofrills
从github分叉xo
$ git clone https://github.com/scopatz/xo.git
快捷键
- esc:
获取帮助
- ctrl + o:
保存文件(写入)
- ctrl + x:
退出(不保存)
- meta + s:
选择pygments样式
- ctrl + f:
在当前位置插入文件
- ctrl + y:
转到行和列(yalla,让我们跳起来)
- ctrl + n:
使用Jedi(如果已安装)进行命名完成
- ctrl + k:
将当前行剪切到剪贴板
- ctrl + u:
将剪贴板粘贴到当前行
- ctrl + t:
清除剪贴板(这些拼写为K-U-T)
- ctrl + w:
设置正则表达式并跳转到第一个匹配项
- meta + w:
跳转到当前正则表达式的下一个匹配项
- ctrl + r:
设置正则表达式的替换并替换第一个匹配项
- meta + r:
替换当前正则表达式的下一个匹配项