A harmonic plugin of vim-gista for unite.vim
VimL
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
autoload/unite
doc
img
LICENSE
README.md

README.md

vim-gista-unite

Version 1.0.0 Support Vim 7.4 or above MIT License Doc

Screenshot

vim-gista-unite is a harmonic plugin of vim-gista which allow users to use unite.vim interface to list gists.

Install

Use vim-plug or dein.vim as:

" vim-plug
Plug 'Shougo/unite.vim'
Plug 'lambdalisue/vim-gista'
Plug 'lambdalisue/vim-gista-unite'

" dein.vim
call dein#add('Shougo/unite.vim')
call dein#add('lambdalisue/vim-gista')
call dein#add('lambdalisue/vim-gista-unite')

" dein.vim (lazy)
call dein#add('Shougo/unite.vim')
call dein#add('lambdalisue/vim-gista', {
    \ 'on_cmd': 'Gista',
    \})
call dein#add('lambdalisue/vim-gista-unite', {
    \ 'depends': 'vim-gista',
    \ 'on_source': 'unite.vim',
    \})

Or install the repository into your runtimepath manually.

Usage

It provides gista, gista/file, and gista/commit unite sources. Use these like:

:Unite gista
:Unite gista:{LOOKUP}
:Unite gista:{LOOKUP}:{USERNAME}
:Unite gista:{LOOKUP}:{USERNAME}:{APINAME}

:Unite gista/file
:Unite gista/file:{GISTID}
:Unite gista/file:{GISTID}:{USERNAME}
:Unite gista/file:{GISTID}:{USERNAME}:{APINAME}

:Unite gista/commit
:Unite gista/commit:{GISTID}
:Unite gista/commit:{GISTID}:{USERNAME}
:Unite gista/commit:{GISTID}:{USERNAME}:{APINAME}

Or select 'narrow' or 'commit' action in gista source to list files or commits of a particular gist.

License

The MIT License (MIT)

Copyright (c) 2015 Alisue, hashnote.net

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.