I was watching a steadily growing log file, and with autoread set, I used the command
:check
and nothing happened (but for a message I didn't understand). So I went to the help and ran
:help :check
and got the help for the command I thought I was running. Eventually I worked out that :check is actually :checkpath, and I should have used :checktime.
But surely ":h :xyz" should give the help for ":xyz", but am I missing something?
Extra tags would only be needed where there's ambiguity. I compiled a list; the middle column is what you get if you type the given at the : command prompt, and the third column is the topic you get if you ask for help for the given:
given | : | :help :
--------+--------------+-------------
arg | args | arga
bre | brewind | break
cab | cabbrev | cabclear
cadd | caddbuffer | caddexpr
chec | checkpath | checktime
cne | cnext | cnewer
cnor | cnoremap | cnoreabbrev
cun | cunmap | cunabbrev
diff | diffupdate | diffget
doaut | doautocmd | doautoall
end | endif | endfunction
folddo | folddopen | folddoc
inor | inoremap | inoreabbrev
keep | keepmarks | keepalt
ladd | laddbuffer | laddexpr
lfi | lfile | lfirst
lge | lgetfile | lgetbuffer
lma | lmap | lmake
lock | lockmarks | lockvar
mkvi | mkvimrc | mkview
sfi | sfind | sfirst
snore | snoremap | snoremenu
ver | version | verbose
One or two extra tags for each of these is not going to significantly add to vim's 10,000 or so.
> :help :check<Tab> (with 'wildmenu' on) or :help :check<Ctrl-D> would
> have shown you all helptags beginning with :check
How would I have known to do that, when I did not know that there might be another command starting with "check"? I use the help when I don't know stuff, that's the point of it.
Regards, John Little