Giter Club home page Giter Club logo

fone4u / vimana Goto Github PK

View Code? Open in Web Editor NEW

This project forked from c9s/vimana

0.0 2.0 0.0 827 KB

Vimana is an easy to use system for searching , installing, and downloading vim script. Vimana provides a command-line interface such like aptitude programe on Debian linux, for you to search , download , install , upgrade scripts from http://www.vim.org (vimonline site).

Home Page: http://search.cpan.org/dist/Vimana

Perl 83.53% Vim Script 15.61% Shell 0.85%

vimana's Introduction

Vimana

Vimana is an easy-to-use system for searching, installing, and downloading vim script.

Vimana provides a command-line interface such like aptitude program on Debian linux, for you to search, download, install, upgrade scripts from http://www.vim.org (vim online site).

Vimana can install a vim script package to your vim runtime path automatically by inspecting the content of archive file or vim script. for example, if an archive file contains 'syntax', 'plugin', 'indent' directory, then these files should be installed to ~/.vim/ directory. if it is a vim color scheme, then it should be put into ~/.vim/colors/ and prompt for setting the installed colorscheme as default.

Rakefile, makefile, vimball installation are supported.

For scripts have their own docs, Vimana will try to update helptags after the installations.

NOTE: Vimana only provides search, info, and install commmands currently.

INSTALLATION

For First Time CPAN Users:

Install miyagawa's cpanminus , which doesnt require any complex configurations. It's easy, clean and faster than the old CPAN shell:

$ mkdir ~/bin
$ wget http://xrl.us/cpanm -O ~/bin/cpanm
$ chmod +x ~/bin/cpanm

Run cpanminus to install Vimana from CPAN:

$ cpanm -n Vimana

Or git clone from github:

$ cpanm -n http://github.com/c9s/Vimana/tarball/master

For non-root permission users, cpanm will install modules into ~/perl5 directory. so you will need to export PERL5LIB, add below line in your .bashrc or .zshrc:

export PERL5LIB=~/perl5/lib/perl5;$PERL5LIB

USAGE

INSTALL

To install snipmate.vim package:

$ vimana install snipmate

To install from git or svn:

$ vimana install git:git://github.com/c9s/hypergit.vim.git
$ vimana install git:[email protected]:c9s/hypgergit.vim.git
$ vimana install svn:svn+ssh://path/to/your/repo

To install from GitHub:

$ vimana install gh:c9s/perlomni.vim
$ vimana install gh:Shougo/vimfiler.vim

To install snipmate.vim package to the other runtime path:

$ vimana i snipmate -r ~/.vim-other-rtp

# or

$ vimana install snipmate --runtime-path ~/.vim-other-rtp

To install rails.vim package:

$ vimana install rails.vim

SEARCH

to search rails

$ vimana search rails

to search colorscheme:

$ vimana search -t color

to search ftplugin:

$ vimana search -t ftplugin

to search ftplugin and "abc" keyword:

$ vimana search -t ftplugin abc

UPDATE

to update index

$ vimana update

DOWNLOAD

to download:

$ vimana download markdown-syntax.vim

to remove a package:

$ vimana remove fuzzyfinder

to force remove a package:

$ vimana remove -f fuzzyfinder

to list installed packages:

$ vimana installed

to list installed package content:

$ vimana installed snipmate

to rate plugin:

$ vimana rate snipmate 2  # rate life changing

COMMAND ALIAS

$ vimana i   # alias of install command.
$ vimana s   # alias of search command.
$ vimana d   # alias of download command.

TESTED CASES

$ vimana i hypergit.vim
$ vimana i the-nerd-tree
$ vimana i autocomplpop
$ vimaan i gsession.vim
$ vimana i snipmate
$ vimana i svg.vim
$ vimana i railscasts-theme
$ vimana i dark-ruby
$ vimana i bufexplorer.zip
$ vimana i xml.vim
$ vimana i cctree
$ vimana i markdown-syntax
$ vimana i gist.vim
$ vimana i googlereader.vim


$ vimana i jslint.vim
$ vimana i fakeclip

$ vimana remove fakeclip

$ cd snipmate.git
$ vimana install .    # install from current path.

$ vimana installed   # list installed scripts

$ vimana installed gist.vim  # list installed content of gist.vim

$ vimana upgrade gist.vim

MAKE YOUR PLUGIN INSTALLABLE

  1. use vim runtime directory structure like this:

     foo.tar.gz:
         plugin/foo.vim
         syntax/foo.vim
         doc/foo.txt
    
  2. add type info in your vim script file:

     " script type: plugin
    

uppercase also available:

    " Script Type: plugin

then the script will be installed into ~/.vim/plugin/.

SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the perldoc command.

perldoc Vimana

IRC Channel:

#vimana on irc.freenode.net

You can also look for information at:

vim-addon-manager : another vim script manager (which is written in VimL).
    http://github.com/MarcWeber/vim-addon-manager

RT, CPAN's request tracker
    http://rt.cpan.org/NoAuth/Bugs.html?Dist=Vimana

AnnoCPAN, Annotated CPAN documentation
    http://annocpan.org/dist/Vimana

CPAN Ratings
    http://cpanratings.perl.org/d/Vimana

Search CPAN
    http://search.cpan.org/dist/Vimana

AUTHORS

Contributors

Ordered by alphabet (sort)

  • arowla
  • drbean
  • mattn
  • tokuhirom
  • ujihisa
  • zentooo

COPYRIGHT AND LICENCE

Copyright (C) 2007 You-An Lin 林佑安 ( Cornelius / c9s )

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

vimana's People

Contributors

c9s avatar mattn avatar ujihisa avatar zentooo avatar tokuhirom avatar arowla avatar cpanservice avatar drbean avatar

Watchers

Fone4U avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.