aboutsummaryrefslogtreecommitdiff
path: root/sam.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-03-02 12:10:59 +0100
committerMarc André Tanner <mat@brain-dump.org>2017-03-02 12:10:59 +0100
commit2d38e9454e39a69be77e1aca64bd212e80c98aed (patch)
treea9655044aeb168c2ca2e519c0e416e96d687c9a1 /sam.c
parent57e38835499a2051953c4d2e1901996fd69d7080 (diff)
downloadvis-2d38e9454e39a69be77e1aca64bd212e80c98aed.tar.gz
vis-2d38e9454e39a69be77e1aca64bd212e80c98aed.tar.xz
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.
Diffstat (limited to 'sam.c')
-rw-r--r--sam.c4
1 files changed, 0 insertions, 4 deletions
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
}, {