a console code editor with CUA (ctrl-x ctrl-v ...) key bindings (unlike vi)

1k views Asked by At

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 features 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.

3

There are 3 answers

0
openCage On BEST ANSWER

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.

3
Volodymyr M. Lisivka On

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

2
Liam Proven On

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/