xyproto / orbiton

Configuration-free text editor and IDE limited to VT100. Suitable for writing git commit messages, editing Markdown, config files, source code, man pages and for quick edit-format-compile cycles when programming. Has syntax highlighting, jump-to-error, rainbow parentheses, macros, llm tab completion, cut/paste portals and a simple gdb front-end.
https://roboticoverlords.org/orbiton
BSD 3-Clause "New" or "Revised" License
501 stars 15 forks source link

Feature Request: Hotkey to show help #6

Closed anoduck closed 2 years ago

anoduck commented 2 years ago

Been using O as a terminal based markdown editor, and I do like how it handles markdown files. There is a niche market there, that O is well suited for.

The menu hotkey is really throwing me for a loop. In every other application, ctrl-o opens a file, not the menu. Could not this be mapped to ctrl-m, which would make more sense.

Also, a help page which could be opened with ctrl-h, and on that help page a reference of the other hotkeys available. This would be really a big help.

A hotkey to enable word wrap(ctrl-r or ctrl-w), would be awesome, and a hotkey to insert the date (ctrl-i or ctrl-d).

xyproto commented 2 years ago

These are great suggestions, but ctrl-h is unfortunatley interpreted as backspace by most VT100 terminal emulators. And ctrl-m is interpreted as carriage return.

For ko on the other hand, the GUI version of o, this would be easy to implement.

VT100 is a bit dumb and limited, but then again, o should work in almost any terminal emulator, even over ssh to older systems.

https://www.vt100.net/docs/vt100-ug/chapter3.html#T3-5

anoduck commented 2 years ago

Well, that explains some things, running o in kitty... cool beans. Appreciate your openness. I will write a little blurb about it and share it on social media with a group for Unix users I Patreon.

xyproto commented 2 years ago

Thanks, @anoduck.