hishamhm / dit

A console text editor for Unix systems that you already know how to use
http://hisham.hm/dit
GNU General Public License v2.0
139 stars 9 forks source link

a keybinding for help perhaps? #13

Open digi-owl opened 8 years ago

digi-owl commented 8 years ago

Right now Dit has a severe issue with discoverability.

Yes, the default shortcuts are very common on desktops, but very different for most terminal programs.

So a hotkey, presented somewhere on screen, that list out the bindings, may be of benefit.

daurnimator commented 6 years ago

And help should obviously be under F1 :)

dodona2 commented 6 years ago

F1 conflicts with gnome-terminal and others.

hishamhm commented 6 years ago

...and unfortunately Ctrl+H conflicts with backspace in many terminals, though I think there may be curses/terminal trickery to change that behavior. I'd love to have it available both at F1 and Ctrl+H by default if these keys worked, but I'll also need a third option.

(Btw, I feel that Dit is running out of Ctrl keys. Thinking about what do do about this...)

daurnimator commented 6 years ago

nano uses Ctrl+G for help... could copy that?

On 12 September 2017 at 01:23, Hisham Muhammad notifications@github.com wrote:

...and unfortunately Ctrl+H conflicts with backspace in many terminals, though I think there may be curses/terminal trickery to change that behavior. I'd love to have it available both at F1 and Ctrl+H by default if these keys worked, but I'll also need a third option.

(Btw, I feel that Dit is running out of Ctrl keys. Thinking about what do do about this...)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hishamhm/dit/issues/13#issuecomment-328564165, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHz4yo-c8Em2eZ8X5wekFsOwj-TlIH0ks5shVBWgaJpZM4I8kVL .

hishamhm commented 6 years ago

Ctrl+G is goto line...

hishamhm commented 6 years ago

(which also works as "goto tab" if you type the name of a filename instead of a number... another undocumented features that highlights the need of a help screen!)

ermo commented 3 years ago

Please add "Press CTRL+? for help" or "Help: CTRL+?" in the default modeline at the bottom when the editor starts.

In actual fact, it doesn't much matter what the key combination is, it just matters that it is easily visible and discoverable the first time dit is started. It could be ESC for all I care.

Thanks.

P.S. Found dit when looking through some GoboLinux scripts which mentioned the default ${EDITOR} command. Also fired up dit for the first time in GoboLinux just now.