From 78a253888eede22bba3fa549680cf0bb59d0928b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 22 Oct 2015 21:30:53 +0200 Subject: vis: remove config selection based on argv[0] I would still like to experiment with a busybox style editor multiplexer which behaves like vi(m), emacs or nano depending on argv[0]. --- config.def.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 9ba2e5b..64108f7 100644 --- a/config.def.h +++ b/config.def.h @@ -1512,19 +1512,6 @@ static Mode vis_modes[] = { }, }; -/* list of vis configurations, first entry is default. name is matched with - * argv[0] i.e. program name upon execution - */ -static Config editors[] = { - { - .name = "vis", - .mode = &vis_modes[VIS_MODE_NORMAL], - }, -}; - -/* default editor configuration to use */ -static Config *config = &editors[0]; - /* null terminated default settings/commands executed once on editor startup */ static const char *settings[] = { NULL -- cgit v1.2.3