NeoMutt  2020-09-25
Teaching an old dog new tricks
DOXYGEN
functions.c File Reference

Definitions of user functions. More...

#include "config.h"
#include <stddef.h>
#include "keymap.h"
#include "opcodes.h"
+ Include dependency graph for functions.c:

Go to the source code of this file.

Variables

const struct Binding OpGeneric []
 Key bindings for the generic menu. More...
 
const struct Binding OpMain []
 Key bindings for the index menu. More...
 
const struct Binding OpPager []
 Key bindings for the pager menu. More...
 
const struct Binding OpAttach []
 Key bindings for the attachment menu. More...
 
const struct Binding OpCompose []
 Key bindings for the compose menu. More...
 
const struct Binding OpPost []
 Key bindings for the postpone menu. More...
 
const struct Binding OpAlias []
 Key bindings for the alias menu. More...
 
const struct Binding OpBrowser []
 Key bindings for the file browser menu. More...
 
const struct Binding OpQuery []
 Key bindings for the external query menu. More...
 
const struct Binding OpEditor []
 Key bindings for the editor menu. More...
 
const struct Binding OpPgp []
 Key bindings for the pgp menu. More...
 
const struct Binding OpSmime []
 Key bindings for the smime menu. More...
 
const struct Binding OpMix []
 Key bindings for the mixmaster menu. More...
 
const struct Binding OpAutocryptAcct []
 Key bindings for the autocrypt account. More...
 

Detailed Description

Definitions of user functions.

Authors
  • Michael R. Elkins

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file functions.c.

Variable Documentation

◆ OpGeneric

const struct Binding OpGeneric[]

Key bindings for the generic menu.

Definition at line 53 of file functions.c.

◆ OpMain

const struct Binding OpMain[]

Key bindings for the index menu.

Definition at line 102 of file functions.c.

◆ OpPager

const struct Binding OpPager[]

Key bindings for the pager menu.

Definition at line 262 of file functions.c.

◆ OpAttach

const struct Binding OpAttach[]

Key bindings for the attachment menu.

Definition at line 418 of file functions.c.

◆ OpCompose

const struct Binding OpCompose[]

Key bindings for the compose menu.

Definition at line 454 of file functions.c.

◆ OpPost

const struct Binding OpPost[]
Initial value:
= {
{ "delete-entry", OP_DELETE, "d" },
{ "undelete-entry", OP_UNDELETE, "u" },
{ NULL, 0, NULL },
}

Key bindings for the postpone menu.

Definition at line 524 of file functions.c.

◆ OpAlias

const struct Binding OpAlias[]
Initial value:
= {
{ "delete-entry", OP_DELETE, "d" },
{ "sort-alias", OP_SORT, "o" },
{ "sort-alias-reverse", OP_SORT_REVERSE, "O" },
{ "undelete-entry", OP_UNDELETE, "u" },
{ NULL, 0, NULL },
}

Key bindings for the alias menu.

Definition at line 533 of file functions.c.

◆ OpBrowser

const struct Binding OpBrowser[]

Key bindings for the file browser menu.

Definition at line 544 of file functions.c.

◆ OpQuery

const struct Binding OpQuery[]
Initial value:
= {
{ "create-alias", OP_CREATE_ALIAS, "a" },
{ "mail", OP_MAIL, "m" },
{ "query", OP_QUERY, "Q" },
{ "query-append", OP_QUERY_APPEND, "A" },
{ "sort", OP_SORT, "o" },
{ "sort-reverse", OP_SORT_REVERSE, "O" },
{ NULL, 0, NULL },
}

Key bindings for the external query menu.

Definition at line 597 of file functions.c.

◆ OpEditor

const struct Binding OpEditor[]
Initial value:
= {
{ "backspace", OP_EDITOR_BACKSPACE, "\010" },
{ "backward-char", OP_EDITOR_BACKWARD_CHAR, "\002" },
{ "backward-word", OP_EDITOR_BACKWARD_WORD, "\033b" },
{ "bol", OP_EDITOR_BOL, "\001" },
{ "capitalize-word", OP_EDITOR_CAPITALIZE_WORD, "\033c" },
{ "complete", OP_EDITOR_COMPLETE, "\t" },
{ "complete-query", OP_EDITOR_COMPLETE_QUERY, "\024" },
{ "delete-char", OP_EDITOR_DELETE_CHAR, "\004" },
{ "downcase-word", OP_EDITOR_DOWNCASE_WORD, "\033l" },
{ "eol", OP_EDITOR_EOL, "\005" },
{ "forward-char", OP_EDITOR_FORWARD_CHAR, "\006" },
{ "forward-word", OP_EDITOR_FORWARD_WORD, "\033f" },
{ "history-down", OP_EDITOR_HISTORY_DOWN, "\016" },
{ "history-search", OP_EDITOR_HISTORY_SEARCH, "\022" },
{ "history-up", OP_EDITOR_HISTORY_UP, "\020" },
{ "kill-eol", OP_EDITOR_KILL_EOL, "\013" },
{ "kill-eow", OP_EDITOR_KILL_EOW, "\033d" },
{ "kill-line", OP_EDITOR_KILL_LINE, "\025" },
{ "kill-word", OP_EDITOR_KILL_WORD, "\027" },
{ "mailbox-cycle", OP_EDITOR_MAILBOX_CYCLE, " " },
{ "quote-char", OP_EDITOR_QUOTE_CHAR, "\026" },
{ "transpose-chars", OP_EDITOR_TRANSPOSE_CHARS, NULL },
{ "upcase-word", OP_EDITOR_UPCASE_WORD, "\033u" },
{ "buffy-cycle", OP_EDITOR_MAILBOX_CYCLE, NULL },
{ NULL, 0, NULL },
}

Key bindings for the editor menu.

Definition at line 610 of file functions.c.

◆ OpPgp

const struct Binding OpPgp[]
Initial value:
= {
{ "verify-key", OP_VERIFY_KEY, "c" },
{ "view-name", OP_VIEW_ID, "%" },
{ NULL, 0, NULL },
}

Key bindings for the pgp menu.

Definition at line 642 of file functions.c.

◆ OpSmime

const struct Binding OpSmime[]
Initial value:
= {
{ "verify-key", OP_VERIFY_KEY, "c" },
{ "view-name", OP_VIEW_ID, "%" },
{ NULL, 0, NULL },
}

Key bindings for the smime menu.

Definition at line 651 of file functions.c.

◆ OpMix

const struct Binding OpMix[]
Initial value:
= {
{ "accept", OP_MIX_USE, "\n" },
{ "accept", OP_MIX_USE, "\r" },
{ "append", OP_MIX_APPEND, "a" },
{ "chain-next", OP_MIX_CHAIN_NEXT, "<right>" },
{ "chain-prev", OP_MIX_CHAIN_PREV, "<left>" },
{ "delete", OP_MIX_DELETE, "d" },
{ "insert", OP_MIX_INSERT, "i" },
{ NULL, 0, NULL },
}

Key bindings for the mixmaster menu.

Definition at line 663 of file functions.c.

◆ OpAutocryptAcct

const struct Binding OpAutocryptAcct[]
Initial value:
= {
{ "create-account", OP_AUTOCRYPT_CREATE_ACCT, "c" },
{ "delete-account", OP_AUTOCRYPT_DELETE_ACCT, "D" },
{ "toggle-active", OP_AUTOCRYPT_TOGGLE_ACTIVE, "a" },
{ "toggle-prefer-encrypt", OP_AUTOCRYPT_TOGGLE_PREFER, "p" },
{ NULL, 0, NULL }
}

Key bindings for the autocrypt account.

Definition at line 679 of file functions.c.