summaryrefslogtreecommitdiff
path: root/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'command.h')
-rw-r--r--command.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/command.h b/command.h
index 9c91011..a246439 100644
--- a/command.h
+++ b/command.h
@@ -4,9 +4,6 @@
#ifndef COMMAND_H_
#define COMMAND_H_
-/// `i | ARG_STRING` when used as an argument refers to `ted->strings[i]`
-#define ARG_STRING 0x4000000000000000
-
/// command enum
///
/// more documentation in `ted.cfg`.
@@ -57,6 +54,7 @@ typedef enum {
CMD_SELECT_PAGE_DOWN,
CMD_SELECT_UP_BLANK_LINE,
CMD_SELECT_DOWN_BLANK_LINE,
+ CMD_CLEAR_SELECTION,
// insertion
/// insert text
@@ -147,6 +145,10 @@ typedef enum {
/// by default this is the escape key. closes menus, etc.
CMD_ESCAPE,
+
+ CMD_MACRO_RECORD,
+ CMD_MACRO_STOP,
+ CMD_MACRO_EXECUTE,
CMD_COUNT
} Command;