aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-01-13 10:55:41 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-01-13 21:38:20 +0100
commitbd51cd0c080364b47aadea7a85e5a0df8b3743a6 (patch)
treeacd2c1759cb8bb13b7155378060b9e6fc22244ef
parent26a99f2a8036f61ce1c40207599b86cb8f0bdee1 (diff)
downloadvis-bd51cd0c080364b47aadea7a85e5a0df8b3743a6.tar.gz
vis-bd51cd0c080364b47aadea7a85e5a0df8b3743a6.tar.xz
vis: reindent :-command definitions
-rw-r--r--vis-cmds.c52
1 files changed, 26 insertions, 26 deletions
diff --git a/vis-cmds.c b/vis-cmds.c
index 10af1d3..065b9d3 100644
--- a/vis-cmds.c
+++ b/vis-cmds.c
@@ -85,32 +85,32 @@ static bool cmd_unmap(Vis*, Filerange*, enum CmdOpt, const char *argv[]);
* which is a prefix for another command it has to be added as an alias. the
* long human readable name should always come first */
static Command cmds[] = {
- /* command name / optional alias, function, options */
- { { "bdelete" }, cmd_bdelete, CMD_OPT_FORCE },
- { { "edit" }, cmd_edit, CMD_OPT_FORCE },
- { { "help" }, cmd_help, CMD_OPT_NONE },
- { { "map", }, cmd_map, CMD_OPT_FORCE|CMD_OPT_ARGS },
- { { "map-window", }, cmd_map, CMD_OPT_FORCE|CMD_OPT_ARGS },
- { { "unmap", }, cmd_unmap, CMD_OPT_ARGS },
- { { "unmap-window", }, cmd_unmap, CMD_OPT_ARGS },
- { { "new" }, cmd_new, CMD_OPT_NONE },
- { { "open" }, cmd_open, CMD_OPT_NONE },
- { { "qall" }, cmd_qall, CMD_OPT_FORCE },
- { { "quit", "q" }, cmd_quit, CMD_OPT_FORCE },
- { { "read", }, cmd_read, CMD_OPT_FORCE },
- { { "saveas" }, cmd_saveas, CMD_OPT_FORCE },
- { { "set", }, cmd_set, CMD_OPT_ARGS },
- { { "split" }, cmd_split, CMD_OPT_NONE },
- { { "substitute", "s" }, cmd_substitute, CMD_OPT_NONE },
- { { "vnew" }, cmd_vnew, CMD_OPT_NONE },
- { { "vsplit", }, cmd_vsplit, CMD_OPT_NONE },
- { { "wq", }, cmd_wq, CMD_OPT_FORCE },
- { { "write", "w" }, cmd_write, CMD_OPT_FORCE },
- { { "xit", }, cmd_xit, CMD_OPT_FORCE },
- { { "earlier" }, cmd_earlier_later, CMD_OPT_NONE },
- { { "later" }, cmd_earlier_later, CMD_OPT_NONE },
- { { "!", }, cmd_filter, CMD_OPT_NONE },
- { { NULL, }, NULL, CMD_OPT_NONE },
+ /* command name / optional alias, function, options */
+ { { "bdelete" }, cmd_bdelete, CMD_OPT_FORCE },
+ { { "edit" }, cmd_edit, CMD_OPT_FORCE },
+ { { "help" }, cmd_help, CMD_OPT_NONE },
+ { { "map", }, cmd_map, CMD_OPT_FORCE|CMD_OPT_ARGS },
+ { { "map-window", }, cmd_map, CMD_OPT_FORCE|CMD_OPT_ARGS },
+ { { "unmap", }, cmd_unmap, CMD_OPT_ARGS },
+ { { "unmap-window", }, cmd_unmap, CMD_OPT_ARGS },
+ { { "new" }, cmd_new, CMD_OPT_NONE },
+ { { "open" }, cmd_open, CMD_OPT_NONE },
+ { { "qall" }, cmd_qall, CMD_OPT_FORCE },
+ { { "quit", "q" }, cmd_quit, CMD_OPT_FORCE },
+ { { "read", }, cmd_read, CMD_OPT_FORCE },
+ { { "saveas" }, cmd_saveas, CMD_OPT_FORCE },
+ { { "set", }, cmd_set, CMD_OPT_ARGS },
+ { { "split" }, cmd_split, CMD_OPT_NONE },
+ { { "substitute", "s" }, cmd_substitute, CMD_OPT_NONE },
+ { { "vnew" }, cmd_vnew, CMD_OPT_NONE },
+ { { "vsplit", }, cmd_vsplit, CMD_OPT_NONE },
+ { { "wq", }, cmd_wq, CMD_OPT_FORCE },
+ { { "write", "w" }, cmd_write, CMD_OPT_FORCE },
+ { { "xit", }, cmd_xit, CMD_OPT_FORCE },
+ { { "earlier" }, cmd_earlier_later, CMD_OPT_NONE },
+ { { "later" }, cmd_earlier_later, CMD_OPT_NONE },
+ { { "!", }, cmd_filter, CMD_OPT_NONE },
+ { { NULL, }, NULL, CMD_OPT_NONE },
};
static void windows_arrange(Vis *vis, enum UiLayout layout) {