aboutsummaryrefslogtreecommitdiff
path: root/vis-menu.c
diff options
context:
space:
mode:
authorTim Allen <screwtape@froup.com>2016-05-28 17:16:18 +1000
committerTim Allen <screwtape@froup.com>2016-05-28 17:20:39 +1000
commitf67a3577c98d38bb8fee998f3e0890650b435195 (patch)
treefd00c5e9ea3f3430680065be6420e5c5361cd6d8 /vis-menu.c
parentc5668016204d028fddc7a14d056b629095b527cf (diff)
downloadvis-f67a3577c98d38bb8fee998f3e0890650b435195.tar.gz
vis-f67a3577c98d38bb8fee998f3e0890650b435195.tar.xz
[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.
Diffstat (limited to 'vis-menu.c')
-rw-r--r--vis-menu.c4
1 files changed, 0 insertions, 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');