From f67a3577c98d38bb8fee998f3e0890650b435195 Mon Sep 17 00:00:00 2001 From: Tim Allen Date: Sat, 28 May 2016 17:16:18 +1000 Subject: [vis-menu] Remove unused keybinding. I'm guessing at some point slmenu's author wanted to make the various deletion commands move text to a kill-buffer, and then Insert and Control-Y could yank from it back into the text field. That clearly never happened, though, so this is dead code. --- vis-menu.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/vis-menu.c b/vis-menu.c index 4082f17..65aeea1 100644 --- a/vis-menu.c +++ b/vis-menu.c @@ -340,10 +340,6 @@ run(void) { if(c!='H') xread(0, &c, 1); /* Remove trailing '~' from stdin */ c=CONTROL('A'); goto switch_top; - case '2': /* Insert */ - xread(0, &c, 1); /* Remove trailing '~' from stdin */ - c=CONTROL('Y'); - goto switch_top; case '3': /* Delete */ xread(0, &c, 1); /* Remove trailing '~' from stdin */ c=CONTROL('D'); -- cgit v1.2.3