Skip to content

pocari/vim-denite-gists

Repository files navigation

vim-denite-gists

wercker status

vim-denite-gists is a source for denite.nvim.

This plugin can open gist page with Denite interface.

vim-denite-gists-screenshot

depends

This plugin depends on:

install

For dein.vim

call dein#add('Shougo/denite.nvim')
call dein#add('tyru/open-browser.vim')
call dein#add('pocari/vim-denite-kind-open-browser')
call dein#add('pocari/vim-denite-gists')

usage

:Denite gists or :Denite gists:[github user name]

Default Action is open with open-browser.vim.

You can choose multiple candidates, and you can open them by multiple browser tab.

github user detection

  1. argument on startup

    Denite gists:pocari

  2. from your .gitconfig

    if following section exists in your gitconfig, it is used.

    e.g) ~/.gitconfig

    [github]
    	user = pocari
    
  3. no argument and no github section in gitconfig

    A prompt for entering the user name is displayed at startup.

Tips

resume

:Denite gists is slow because it uses web API call. So, if you know that gist contents are not changed, you can run like this.

Denite gists -buffer-name=gists -resume

And, when you want to refresh,

Denite gists -buffer-name=gists -resume -refresh

About

denite.nvim plugin for show and browse Gist

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published