On Wed, Oct 25, 2006 at 06:42:15PM -0400, Karl Guertin wrote:
> On 10/25/06, Billy Patton <[EMAIL PROTECTED]> wrote:
>
> >My questions.
> >1. Can vim be configured to automatically start in edit mode?
>
> Yes, but I forget what the setting is, you can just push it into
> insert mode when you enter a buffer if nothing else.
Add
:set insertmode
:help 'insertmode'
> >3. Can vim do word completion?
>
> Many types. :help completion
Especially read
:help 'complete'
:help 'dictionary'
You may also find something worth borrowing in my word-completion plugin:
http://vim.sourceforge.net/scripts/script.php?script_id=73
> >4. Can vim offer all possible spellings for partial word completion?
>
> It does by default and you can view them as a menu if you're using Vim
> 7. If you want to provide a list of possible words to be completed, it
> can be done by creating a ctags file.
>
> :help completeopt
I am not sure why you suggest a tags file, unless you intend
:set complete=t
I was thinking of
:set complete=k/path/to/babylanguage.txt
> >If the answer to most of qeustion above is yes
> >5. Can I do the programming? I do perl, c, c++, csh and sh programming.
>
> Most vim scripting is done in vimscript, which I consider to be fairly
> close to bash/sh. You can also do scripting in Python. I'm not sure
> about the perl interface.
I suggest looking at some of the files in $VIMRUNTIME/plugin/ to
get an idea of what you can do with a vim script. Then it helps to look
at the list of built-in functions,
:help functions
HTH --Benji Fisher