dong wang wrote:
I have been using vim since three years ago .
Vim gives me happy and sometimes agony^_^
Been there done that. ;-)
i Just want to leaning more about the vim programming.
Good!
But the vim doc which can be called out via "help XXX" is more like a
dictionary rather than a book for teaching.
Dictionaries are fascinating. Open a dictionary (especially an encyclopaedic
one) anywhere, read what you find there, look up the articles for words you
don't understand or which you think might be interesting, and you could spend
a whole day (or more) without a single dull moment. The advantage of the Vim
help is that you don't have to "look up" entries: just click (twice) or hit
Ctrl-], on anything printed in green, and plop! you're there.
Anyone have some e-books for leaning the vim programming?
Or is there some website ?
Start at ":help usr_41.txt" in the Vim help. Read the whole helpfile, and
don't forget that there are hotlinks you can follow.
In addition to that, the following are helpful for finding your little golden
needles in the huge Vim haystack:
:set nocompatible " if not already set
:set wildmenu
then
:help subject
where "subject" is any subject you want help about
:help pattern<Tab>
where "pattern" is a regular expression, or part of a helptag
navigate the "menu" on the bottom status line with <Left> <Right>
accept with <Enter>
abort with <Esc>
:helpgrep pattern
to search the whole text of all helpfiles for the given regexp
followed by
:cnext
:cprev
:cfirst
:clast
or
:copen
then click on a line to see it in context
Best regards,
Tony.