Sunday, November 29, 2009

Re: Need to know how to load script in Vim

Hi satuon!

On So, 29 Nov 2009, satuon wrote:

>
> > you can get a complete list of all scripts currently sourced by
> > issuing the
> >
> > :scriptnames
> >
> > command -- the command to load a script is
> >
> > :source <scriptname>
>
> Thanks, I used that and it showed me that pythoncomplete was loaded. But I
> still have only the default autocomplete when hit Ctrl+N/Ctrl+P. Ctrl+X just
> outputs this at the bottom of the screen:
> -- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)

That means, vim is expecting a second <Ctrl-> Letter, to choose the
completion you want. There are several different ways of completion:

1. Whole lines |i_CTRL-X_CTRL-L|
2. keywords in the current file |i_CTRL-X_CTRL-N|
3. keywords in 'dictionary' |i_CTRL-X_CTRL-K|
4. keywords in 'thesaurus', thesaurus-style |i_CTRL-X_CTRL-T|
5. keywords in the current and included files |i_CTRL-X_CTRL-I|
6. tags |i_CTRL-X_CTRL-]|
7. file names |i_CTRL-X_CTRL-F|
8. definitions or macros |i_CTRL-X_CTRL-D|
9. Vim command-line |i_CTRL-X_CTRL-V|
10. User defined completion |i_CTRL-X_CTRL-U|
11. omni completion |i_CTRL-X_CTRL-O|
12. Spelling suggestions |i_CTRL-X_s|
13. keywords in 'complete' |i_CTRL-N|

See :h ins-completion for the glory details on how to use each
completion.

regards,
Christian
--
Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x].

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

No comments: