用于重新构造文本和标记的编辑器
meditor的Python项目详细描述
标记编辑器是用于重新构造文本和标记的编辑器。
提示
如果性能不好,请关闭“输入时预览”。
功能
- 支持降价和重组文本
- 支持语法突出显示的pygments
- 支持mathjax
- 格式表
- VIM模式
- HTML预览
- 与预览窗口同步滚动
- 拖放
- 多个工作区
- 自定义模板
- peview css主题
- 多个编辑器窗口
vim
VIM命令:
h, j, k, l # move left, down, up, right ~, gu, gU # change uppper or lower case w, b, e # move forward or backward by word 0, ^, $ # move begin of line, first word of line, end of line gg, G # move document top and bottom ctrl+f, ctrl+b # page down and up d, db, dw, D, dd # delete back word, word, to end of line, line y, yy, x, X, p # copy, cut, paste i, a, A, o, O # insert, append, newline <, > # indent J, I # line join, and vertical insert u, . # undo and redo /, :/, /<search>, s/<search>/<replace/ # search and replace c, w, r # selection change, read and write n [file] # new window ,f # format table
VIM模式:
- 正常
- 插入
- 视觉
- 可视块
- 命令::w,:q
安装
在Linux中:
pip3 install meditor --user
从github下载安装:
# download source git clone https://github.com/liuyug/meditor.git cd meditor # for Virtualenv virtualenv ../virtualenv # on Linux source ../virtualenv/bin/activate # on Window cmd ../virtualenv/scripts/activate # on Window PowerShell Set-ExecutionPolicy -Scope CurrentUser RemoteSigned ../virtualenv/scripts/activate # check version, above 3.5 python --version pip --version # install 3rd packages pip install -r requirements.txt # prepre data files # ui window bash ui.sh # fetch reStructuredText documents bash help.sh # for Simple MathJax bash math.sh # for preview themes bash themes.sh # for icon theme that is used under win32 bash icon_theme.sh list bash icon_theme.sh <theme name> # install meditor python3 setup.py install . --user
注意
如果您运行为用户“root”,则需要添加环境变量“导出QtWebStudio.Dabable Sobox=1”来禁用沙箱。
屏幕截图
检查屏幕截图目录以查看更多主题
其他
iconset:saki的NuoveXT 2图标