dit icon indicating copy to clipboard operation
dit copied to clipboard

a keybinding for help perhaps?

Open digi-owl opened this issue 8 years ago • 7 comments

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.

digi-owl avatar Jun 23 '16 08:06 digi-owl

And help should obviously be under F1 :)

daurnimator avatar Sep 11 '17 03:09 daurnimator

F1 conflicts with gnome-terminal and others.

dodona2 avatar Sep 11 '17 06:09 dodona2

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

hishamhm avatar Sep 11 '17 15:09 hishamhm

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

On 12 September 2017 at 01:23, Hisham Muhammad [email protected] 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 .

daurnimator avatar Sep 11 '17 15:09 daurnimator

Ctrl+G is goto line...

hishamhm avatar Sep 11 '17 16:09 hishamhm

(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!)

hishamhm avatar Sep 11 '17 16:09 hishamhm

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.

ermo avatar Oct 20 '20 08:10 ermo