NeoMutt  2025-12-11-87-gae07fd
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
init.h
Go to the documentation of this file.
1
22
23#ifndef MUTT_KEY_INIT_H
24#define MUTT_KEY_INIT_H
25
26#include "keymap.h"
27#include "menu.h"
28
29extern keycode_t AbortKey;
30
31void km_init (void);
32void km_menu_add_bindings (const struct MenuOpSeq *map, enum MenuType mtype);
33void km_set_abort_key (void);
34void km_cleanup (void);
35
36#endif /* MUTT_KEY_INIT_H */
keycode_t AbortKey
code of key to abort prompts, normally Ctrl-G
Definition init.c:38
void km_cleanup(void)
Free the key maps.
Definition init.c:121
void km_init(void)
Initialise all the menu keybindings.
Definition init.c:91
void km_set_abort_key(void)
Parse the abort_key config string.
Definition init.c:137
void km_menu_add_bindings(const struct MenuOpSeq *map, enum MenuType mtype)
Attach a set of keybindings to a Menu.
Definition init.c:45
Keymap handling.
short keycode_t
Type for key storage, the rest of neomutt works fine with int type.
Definition keymap.h:31
Maniplate Menus and SubMenus.
Mapping between an operation and a key sequence.
Definition menu.h:47
MenuType
Types of GUI selections.
Definition type.h:35