1package Vimana;
2use warnings;
3use strict;
4use Vimana::Index;
5use vars qw($INDEX);
6
7our $VERSION = 2010.09303;
8
9sub index {
10    return $INDEX if $INDEX;
11    $INDEX ||= Vimana::Index->new;
12    $INDEX->init();
13    return $INDEX;
14}
15
161;
17__END__
18=encoding utf8
19
20=head1 NAME
21
22Vimana - Vim script manager.
23
24=head1 DESCRIPTION
25
26Vimana is an easy to use system for searching , installing, and downloading vim
27script.
28
29Vimana provides a command-line interface such like C<aptitude> programe on
30Debian linux, for you to search , download , install , upgrade scripts from
31L<http://www.vim.org> (vimonline site).
32
33Vimana can install a vim script package to your vim runtime path automatically
34by inspecting the content of archive file or vim script. For example , if an
35archive file contains 'syntax','plugin','indent' directory , then these files
36should be installed to F<~/.vim/> directory (default vim runtime directory).
37if it's a vim color scheme , then it should be put into F<~/.vim/colors/>,
38or Vimana will inspect the script type tag in script file.
39
40* Getting started from L<Vimana::Manual>.
41
42=head1 USAGE
43
44to update index
45
46    $ vimana update
47
48check rails.vim plugin info
49
50    $ vimana info rails.vim
51
52to search scripts:
53
54    $ vimana s perl
55
56to install package:
57
58    $ vimana i autocomplpop.vim
59
60    # with verbose message
61    $ vimana i -v the-nerd-tree
62
63to remove a package:
64
65    $ vimana remove the-nerd-tree
66
67=head1 FUNCTIONS
68
69=head1 AUTHOR
70
71You-An Lin 林佑安 ( Cornelius / c9s ) C<< <cornelius.howl at gmail.com> >>
72
73=head2 Vimana Git Repository
74
75C<http://github.com/c9s/Vimana/tree/master>
76
77=head1 BUGS
78
79Please report any bugs or feature requests to C<bug-vim-get at rt.cpan.org>, or through
80the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Vimana>.  I will be notified, and then you'll
81automatically be notified of progress on your bug as I make changes.
82
83=head1 TODOS
84
85* auto rating
86
87=head1 SUPPORT
88
89You can find documentation for this module with the perldoc command.
90
91    perldoc Vimana
92
93You can also look for information at:
94
95=over 4
96
97=item * RT: CPAN's request tracker
98
99L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Vimana>
100
101=item * AnnoCPAN: Annotated CPAN documentation
102
103L<http://annocpan.org/dist/Vimana>
104
105=item * CPAN Ratings
106
107L<http://cpanratings.perl.org/d/Vimana>
108
109=item * Search CPAN
110
111L<http://search.cpan.org/dist/Vimana>
112
113=back
114
115
116=head1 ACKNOWLEDGEMENTS
117
118
119=head1 COPYRIGHT & LICENSE
120
121Copyright 2007 You-An Lin 林佑安 ( Cornelius / c9s ), all rights reserved.
122
123This program is free software; you can redistribute it and/or modify it
124under the same terms as Perl itself.
125
126=cut
127