TheLonelyStar wrote:
> 
> Hi,
> 
> I am completly new to vim.
> I want to use it for python coding and found that this:
> http://www.vim.org/scripts/script.php?script_id=1074
> sounds extremly interesting. It is supposed to show you the docstrings while
> typing.

"  1. If there is a menu in Vim, you can start it with clicking menu
"           "Tools\Start Calltips", and stop it with menu "Tools\End 
Calltips"
"
"        2. If there are no menu, you can start it typing:
"             :call DoCalltips()
"           and stop it with
"             :call EndCalltips()
"

The above is a copy of what is in the header of the script. I find it 
useful to view the scripts in Gvim / Vim for instructions. Often the 
hackers creating the scripts do include documentation within the scripts 
themselves. Sounds like a silly notion doesn't it? I mean who is 
actually going to read programming code? ;)

So, away we go ..., one newbie to another by the way ... :)

1. Hit the <ESC> key a few times.

This will put you in normal mode, able to issue forth grand commands and 
proclamations the editor must certainly ignore. :) Actually the editor, 
unless it is mishapped, will carry out your commands.

2. Type in <Shift> colon the word call and the function / script name of 
DoCalltips() .

This will load up the script and let you use it 'til the cows come home, 
or until they discover peanut butter is just as useful as Silly Putty(tm).

3. To unload it you repeat step two, except you use the script name 
EndCalltips() .

And thus you're back into your nice comfy regular Vim, again. Hit the 
<Esc> to enter command / normal mode. Hitting the I key will put you 
into insert mode, where you can type like a maniac when no one is looking.

Apologies if my quick tutorial here is seen as offensive. That's not 
intended. In my defense, I'm a poor country boy that takes a bit of time 
to learn things, and people are quite the random creatures. No, I don't 
get out much. :)

---
Ben

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to