From 2d38e9454e39a69be77e1aca64bd212e80c98aed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 2 Mar 2017 12:10:59 +0100 Subject: vis: remove :bdelete command It does not really fit into the style of the rest of the command language. Eventually we should be able to express this kind of thing using a looping construct based on the `X` and `Y` commands. --- sam.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sam.c') diff --git a/sam.c b/sam.c index a8472db..f21d1ae 100644 --- a/sam.c +++ b/sam.c @@ -122,7 +122,6 @@ static bool cmd_cd(Vis*, Win*, Command*, const char *argv[], Cursor*, Filerange* /* vi(m) commands */ static bool cmd_set(Vis*, Win*, Command*, const char *argv[], Cursor*, Filerange*); static bool cmd_open(Vis*, Win*, Command*, const char *argv[], Cursor*, Filerange*); -static bool cmd_bdelete(Vis*, Win*, Command*, const char *argv[], Cursor*, Filerange*); static bool cmd_qall(Vis*, Win*, Command*, const char *argv[], Cursor*, Filerange*); static bool cmd_split(Vis*, Win*, Command*, const char *argv[], Cursor*, Filerange*); static bool cmd_vsplit(Vis*, Win*, Command*, const char *argv[], Cursor*, Filerange*); @@ -211,9 +210,6 @@ static const CommandDef cmds[] = { }, /* vi(m) related commands */ { - "bdelete", VIS_HELP("Unload file") - CMD_FORCE|CMD_ONCE|CMD_ADDRESS_NONE|CMD_DESTRUCTIVE, NULL, cmd_bdelete - }, { "help", VIS_HELP("Show this help") CMD_ARGV|CMD_ONCE|CMD_ADDRESS_NONE, NULL, cmd_help }, { -- cgit v1.2.3