On Feb 5, 9:03 pm, Tony Mechelynck <[email protected]>
wrote:

>
> IMHO programming Vim and using it are not two tightly separate
> activities, since most commands usable in scripts can be entered at the
> Vim command-line (after hitting the colon key), and most Normal-mode
> commands usable at the keyboard can also be used in scripts (ex-commands
> directly, the other ones as operands of the ":normal" command).
>
> You can see examples of how the language used to program Vim looks like
> by looking at any *.vim script distributed with Vim (note, however, that
> keymaps are in a special format). If you don't know where to start, try
>
>         :view $VIMRUNTIME/vimrc_example.vim
>

I agree with Tony, and would also suggest browsing the tips wiki:
http://vim.wikia.com . Here you will find all sorts of examples of
varying complexity to give you all sorts of great ideas and
demonstrate concepts that you may not have stumbled across yet. I
learned much of my Vim scripting from hitting "random page" on the
wiki a few times a day, then following up by reading about any new
commands I saw in the help files to learn _exactly_ what was going on.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to