純Python實現的一個Vim克隆:pyvim
pyvim是用純Python實現的一個Vim克隆。
這個編輯器完全采用Python開發(沒有C擴展)。這使得開發變得快很多。它易于創建原型和集成新的特性。
它已經擁有的特性:
- Syntax highlighting of files, using the Pygments lexers.
- Horizontal and vertical splits, as well as tab pages. (Similar to Vim.)
- All of the functionality of prompt_toolkit. This includes a lot of Vi key bindings, it's platform independent and runs on every Python version from python 2.6 up to 3.4. It also runs on Pypy with a noticable performance boost.
- Several:set ...commands have been implemented, likeincsearch,number,ignorecase,wildmenu,expandtab,hlsearch,ruler,pasteandtabstop.
- Other working commands:vsplit,tabnew,only,badd, and many others.
- For Python source code, auto completion uses the amazing Jedi library, and code checking in done (asynchronously) through Pyflakes.
- Colorschemes can be changed at runtime.
一些截圖
Editing its own source code:

Window layouts (horizontal and vertical splits + tab pages.)

Pyflakes for Python code checking and Jedi for autocompletion:

Other colorschemes:

Chinese input (double width characters):

本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!