Sunday, November 29, 2009

Re: Need to know how to load script in Vim

On 11/29/2009 06:18 AM, satuon wrote:
> On Nov 29, 4:43 am, Christian Brabandt <cbli...@256bit.org> wrote:
>
>> 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|
>>
> I've tried some of them (tags seems the most promising), but they don't work
> quite as I extpected.
>

I generally use the omni-completion functionality, using the
pythoncomplete script from here:
http://www.vim.org/scripts/script.php?script_id=1542

I also update the syntax highlighting support for Vim by
installing this:
http://www.vim.org/scripts/script.php?script_id=790

I found some inspiration here as well:
http://dancingpenguinsoflight.com/2009/02/python-and-vim-make-your-own-ide/

Michael Henry

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

No comments: