From 17e1a84646909f86ad7f0e76b4acd36650d4d44f Mon Sep 17 00:00:00 2001 From: Paul Ouellette Date: Thu, 8 Sep 2022 09:10:49 -0400 Subject: [PATCH] Fix missing completion for a few commands (#929) --- complete.go | 41 ++++++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 17 deletions(-) diff --git a/complete.go b/complete.go index c48b35c..cad63f8 100644 --- a/complete.go +++ b/complete.go @@ -13,7 +13,9 @@ var ( gCmdWords = []string{ "set", "map", + "cmap", "cmd", + "quit", "up", "half-up", "page-up", @@ -24,20 +26,38 @@ var ( "scroll-down", "updir", "open", - "quit", + "jump-next", + "jump-prev", "top", "bottom", + "high", + "middle", + "low", "toggle", "invert", "unselect", + "glob-select", + "glob-unselect", + "calcdirsize", "copy", "cut", "paste", "clear", + "sync", + "draw", "redraw", + "load", "reload", - "read", + "echo", + "echomsg", + "echoerr", + "cd", + "select", + "delete", "rename", + "source", + "push", + "read", "shell", "shell-pipe", "shell-wait", @@ -53,22 +73,8 @@ var ( "filter", "setfilter", "mark-save", - "mark-remove", "mark-load", - "draw", - "load", - "sync", - "echo", - "echomsg", - "echoerr", - "cd", - "calcdirsize", - "select", - "glob-select", - "glob-unselect", - "source", - "push", - "delete", + "mark-remove", "tag", "tag-toggle", } @@ -151,6 +157,7 @@ var ( "errorfmt", "filesep", "hiddenfiles", + "history", "ifs", "info", "previewer",