ThomasHabets / cmdg

Command line Gmail client
Other
200 stars 21 forks source link

Remap the shortcuts #91

Open tshrinivasan opened 2 years ago

tshrinivasan commented 2 years ago

I am using emacs and my hands are trained for its default keys.

On using, cmdg need to learn the short keys.

Please provide options to reconfigure the short cuts so that I can try to map keys similar to emacs.

Not a critical feature request, but good to have.

Thanks.

ThomasHabets commented 2 years ago

Since I'm an emacs user myself: Which shortkeys are you missing? Do you mean emacs keys, or the keys for an email reader for emacs?

3ruce commented 1 year ago

I'm coming from Mutt/Mutt Wizard so things like h to go back to the list of messages, l to open, r to reply, R to reply to all etc. would be nice to configure...

3ruce commented 1 year ago

Looking at this...

https://github.com/ThomasHabets/cmdg/blob/8ce637a2a5d6853054b555dcc5439b08d7d0f50d/cmd/cmdg/view_attachments.go

It seems that shortcuts are "hardcoded", so to speak... and changing them either needs a fork or some more significant work?

ThomasHabets commented 1 year ago

Yeah it's hardcoded.

I'd want to save keyboard mappings as application data in Google Drive, to tie it to the account. It's not implemented since I've not needed it. But I'll accept well written pull requests.