aboutsummaryrefslogtreecommitdiff
path: root/vis.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-11-07 09:10:09 +0100
committerMarc André Tanner <mat@brain-dump.org>2015-11-07 12:16:34 +0100
commit70a82653363ef22fd000b0af14656251deed3448 (patch)
tree59f13efe44465ee2eae69dcb5fddc8575f273994 /vis.h
parent26b56bc3090e9ad6ffd71f216a53805c5e894807 (diff)
downloadvis-70a82653363ef22fd000b0af14656251deed3448.tar.gz
vis-70a82653363ef22fd000b0af14656251deed3448.tar.xz
vis: prefix enum VisOperator values with VIS_
Diffstat (limited to 'vis.h')
-rw-r--r--vis.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/vis.h b/vis.h
index 01c1358..2e84f0e 100644
--- a/vis.h
+++ b/vis.h
@@ -149,25 +149,25 @@ const char *vis_mode_status(Vis*);
bool vis_action_register(Vis*, KeyAction*);
enum VisOperator {
- OP_DELETE,
- OP_CHANGE,
- OP_YANK,
- OP_PUT_AFTER,
- OP_SHIFT_RIGHT,
- OP_SHIFT_LEFT,
- OP_JOIN,
- OP_INSERT,
- OP_REPLACE,
- OP_CURSOR_SOL,
- OP_CASE_SWAP,
- OP_INVALID, /* denotes the end of the "real" operators */
+ VIS_OP_DELETE,
+ VIS_OP_CHANGE,
+ VIS_OP_YANK,
+ VIS_OP_PUT_AFTER,
+ VIS_OP_SHIFT_RIGHT,
+ VIS_OP_SHIFT_LEFT,
+ VIS_OP_JOIN,
+ VIS_OP_INSERT,
+ VIS_OP_REPLACE,
+ VIS_OP_CURSOR_SOL,
+ VIS_OP_CASE_SWAP,
+ VIS_OP_INVALID, /* denotes the end of the "real" operators */
/* pseudo operators: keep them at the end to save space in array definition */
- OP_CASE_LOWER,
- OP_CASE_UPPER,
- OP_CURSOR_EOL,
- OP_PUT_AFTER_END,
- OP_PUT_BEFORE,
- OP_PUT_BEFORE_END,
+ VIS_OP_CASE_LOWER,
+ VIS_OP_CASE_UPPER,
+ VIS_OP_CURSOR_EOL,
+ VIS_OP_PUT_AFTER_END,
+ VIS_OP_PUT_BEFORE,
+ VIS_OP_PUT_BEFORE_END,
};
/* set operator to execute, has immediate effect if