uglycrap.h (508B)
1 #ifndef _UGLYCRAP_H_ 2 #define _UGLYCRAP_H_ 3 4 /* FIXME: Figure out where to put it - it would make sense to put it in 5 keys_command.h, but it is needed by view.h to make the command mode 6 per-view, but I don't want view.* to depend on keys_command.h */ 7 8 typedef enum command_mode { 9 CMD_EDIT = 1, /* edit command */ 10 CMD_EDITSEARCH = 2, /* edit search term */ 11 CMD_EDITSEARCHB = 4, /* edit search term for backwards search */ 12 CMD_SUBSTITUTE = 8 /* confirm substitution */ 13 } command_mode; 14 15 #endif