diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2000-10-27 10:35:04 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2000-10-27 10:35:04 +0000 |
commit | 0a1771d4dc71fc9f197ff6d5a5d13ead116f5956 (patch) | |
tree | 32317a7a6fc46cc231fcd3aab547825a90644c48 /functions.h | |
parent | f31f6d240cb6b75bcbf433c7d2ca24fbe75a5303 (diff) |
Add capitalize-word, upcase-word, downcase-word functions to the
editor. Bindings follow the Emacs conventions (i.e., M-c, M-u, M-d).
Diffstat (limited to 'functions.h')
-rw-r--r-- | functions.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/functions.h b/functions.h index 04993ae5..3d57238b 100644 --- a/functions.h +++ b/functions.h @@ -351,6 +351,9 @@ struct binding_t OpEditor[] = { { "bol", OP_EDITOR_BOL, "\001" }, { "backward-char", OP_EDITOR_BACKWARD_CHAR, "\002" }, { "backward-word", OP_EDITOR_BACKWARD_WORD, "\033b"}, + { "capitalize-word", OP_EDITOR_CAPITALIZE_WORD, "\033c"}, + { "downcase-word", OP_EDITOR_DOWNCASE_WORD, "\033l"}, + { "upcase-word", OP_EDITOR_UPCASE_WORD, "\033u"}, { "delete-char", OP_EDITOR_DELETE_CHAR, "\004" }, { "eol", OP_EDITOR_EOL, "\005" }, { "forward-char", OP_EDITOR_FORWARD_CHAR, "\006" }, |