a console code editor with CUA (ctrl-x ctrl-v ...) key bindings (unlike vi)
I'm searching for a console code editor with CUA key bindings (ctrl+x, c, v etc.)
Right now i'm toying mcedit but i don't really like it. My desired feature开发者_运维百科s are: * be fast * CUA key bindings (ctrl+x, c, v etc.) * toggle show line numbers * find/replace/goto line * bind custom keys to action( ctrl-shift-arrowdown to double the curent line etc.) * nice simple vi-like interface (no pointless menus) * be able to programatically extend it ... etc.There are a number, but most are strangely obscure & little-known. This surprises me -- I'd have thought a lot of people would have wanted this!
I have tried quite a few. These are the only 2 that I know of that are current.
Tilde is alive, maintained and has recent packages available. http://os.ghalkes.nl/tilde/
There is also eFTE, enhanced FTE, which works well in my experience. http://sourceforge.net/projects/efte/
You could use emacs with CUA-mode. You probably have to configure it further to form it to your liking. There are lots of extensions for key-bindings and it has a pretty powerful extension mechanism. If you get over the initial surprise that its all in lisp you might actually like it.
Try micro editor. See https://micro-editor.github.io/ .
Ctrl-C/V/X/Z/Y/F/S/Q are supported. Shift+Arrows for selection is supported. Syntax highlighting is present.
Another CUA editor, with menu and dialogs, is Turbo, which is written with TurboVision 2.0+Unicode: https://github.com/magiblot/turbo
精彩评论