summaryrefslogtreecommitdiff
path: root/command.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-10 10:17:06 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-11 14:50:02 -0500
commit4f2a012a5dbad755bd621a3308a306afd4589fd5 (patch)
tree84cce3eb1da5f4140e8b83ed307aa361a9cacf1b /command.h
parentc67be90a777430e73c4817d1612cf9eb41b2ad87 (diff)
make find+replace more convenient
Diffstat (limited to 'command.h')
-rw-r--r--command.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/command.h b/command.h
index fcdde38..e366f17 100644
--- a/command.h
+++ b/command.h
@@ -26,6 +26,7 @@ ENUM_U16 {
// insertion
CMD_TAB, // insert '\t'
+ CMD_BACKTAB,
CMD_NEWLINE, // insert '\n' + autoindent -- also used to submit line buffers
CMD_NEWLINE_BACK,
@@ -98,6 +99,7 @@ static CommandName const command_names[CMD_COUNT] = {
{"page-up", CMD_PAGE_UP},
{"page-down", CMD_PAGE_DOWN},
{"tab", CMD_TAB},
+ {"backtab", CMD_BACKTAB},
{"newline", CMD_NEWLINE},
{"newline-back", CMD_NEWLINE_BACK},
{"backspace", CMD_BACKSPACE},