branch4 Blog

Internet development with every single possibility.

[Mutt] Finding Corresponding Keycode by Typing Keys

| Comments

I always fail to set the correct keycode when setting key bind for mutt.

So some tips I’ll leave here.

  1. boot mutt
  2. in index mode, type following
    :exec what-key
  3. press the key/keys you want to know the keycode for
  4. check the result
    (following example pressed “p”)
    Char = p, Octal = 160, Decimal = 112
  5. set the key binding in muttrc
that’s it.

Comments