Discussions of development and use of the Sup email client
 help / color / mirror / Atom feed
From: Robert Winkler <robert.winkler.mail@gmail.com>
To: The Sup email client <supmua@googlegroups.com>
Subject: How to customize global keybings (user only, overriding defaults)?
Date: Fri, 24 Jul 2020 04:04:42 -0700 (PDT)	[thread overview]
Message-ID: <37ac6500-5e9e-4273-9ab7-168b3072e760o@googlegroups.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 998 bytes --]

Hi, after using sup for a few weeks, I would like to adjust the 
keybindings. In particular, I would like to define a few keybindings that I 
use frequently, such as 's' for spam, as global ones. I.e. they should 
behave the same in all modes. This would make the use of sup more 
convenient and intuitive.

Questions:

1) Will keybindings defined in .sup/hooks/keybindings.rb override the 
default ones?
2) Is there anywhere a list of all modes and a) how they are entered (e.g. 
[any mode] =>  <?> => [help-mode], b) related variable names (e.g. Inbox 
Mode: Redwood::InboxMode, modes["inbox-mode"]?
3) Is it possible to define global keybindings that are valid for all 
related modes (e.g. 's' should start the spam function in all 
message-related modes.

Currently, I am messing around in the program files; But those changes will 
be lost with the next update. It would be better practice to just modify 
user configuration files which override the defaults.

Is this possible?

Best, Robert

[-- Attachment #1.2: Type: text/html, Size: 1198 bytes --]

                 reply	other threads:[~2020-07-24 11:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=37ac6500-5e9e-4273-9ab7-168b3072e760o@googlegroups.com \
    --to=robert.winkler.mail@gmail.com \
    --cc=supmua@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox