On 06/22/2010 08:38 PM, bill lam wrote:
> Втр, 22 Июн 2010, usernameinuse писал(а):
>>
>> I'm using project.vim to manage a project, and I'm having trouble adding a
>> file to the project. I read the documentation and it said to 'insert the
>> filename into the project entry, then hit return on it'.
>>
>> From what I understand, a project entry is one of the sections in the
>> project window that looks like...
>> Header Files="Header Files" {
>> // header files listed here
>> }
>>
>> so if I go into that list, and insert say, Foo.h, Foo.h should show up in
>> that directory on my system. However, it doesn't. I'm sure I'm doing
>> something wrong, any help is appreciated, thanks.
>
> I don't think that will create files for you. You will also need to
> touch those file by yourself to create them.
>
> I think the more usual practice it to create those files first and then
> press \r or \R inside project to re-scan directories.
>
In my project script (in the sig), you can type in the filename for a
new file and then hit Enter on it and it will create and open the file
(it does :e <filename>, basically); if you want this feature, check out
my script. It's more basic than project.vim, though.
-ak
--
Python plugins for vim: outliner, todo list, project manager, calendar,
expenses tracker, sortable table, and more |
http://lightbird.net/pysuite/
Tuesday, June 22, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment