外饰文本编辑器
exofrills的Python项目详细描述
您可能正在寻求帮助,但我只能这样做:
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
其他人做了一个video tutorial并发布了 发布0.1后一小时内就在YouTube上发布了。
获取xo
使用pip或easy_install从Cheese商店安装:
$ pip install exofrills
$ easy_install exofrills
叉子xo来自github:
$ git clone https://github.com/scopatz/xo.git
关键命令
esc: | get help |
---|---|
ctrl + o: | save file (write-out) |
ctrl + x: | exit (does not save) |
meta + s: | select pygments style |
ctrl + f: | insert file at current position |
ctrl + y: | go to line & column (yalla, let’s bounce) |
ctrl + k: | cuts the current line to the clipboard |
ctrl + u: | pastes the clipboard to the current line |
ctrl + t: | clears the clipboard (these spell K-U-T) |
ctrl + w: | set regular expression and jump to first match |
meta + w: | jump to next match of current regular expression |
ctrl + r: | set substitution for regular expression and replace first match |
meta + r: | replace next match of current regular expression |