Friday, July 20, 2012

Re: I want write vim script

On 21/07/12 06:58, Marc Weber wrote:
> Excerpts from 王军's message of Sat Jul 21 06:50:51 +0200 2012:
>> I want study and wirte vim script,But I find docments are very
>> simple,where there are docment in detai?
>
> :h /script n n n (repeat n till you find the line
>
> |usr_41.txt| Write a Vim script
>
> g ctrl-] within | .. | jumps to that help topic
>
> You really want to have a look at www.vim.org to see whether there are
> existing script first.
>
> Eventually try describing what you want to do first - so that people can
> guide you even more.
>
> VimL is very specific to Vim only (which is why I'd recommend only
> learning as much as you have to).
>
> Also learn about freenode's #vim channel.
>
> Marc Weber
>
Well, one useful example of Vim script is $VIMRUNTIME/vimrc_example.vim

Other examples will depend on what kind of scripts you want to write.

Vim is a Turing-complete structured language it's not really hard to
learn if you can already use Vim and now some modern programming
language like C, Javascript or even Pascal …


Best regards,
Tony.
--
Democracy is good. I say this because other systems are worse.
-- Jawaharlal Nehru

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: