moopet / vim-githubinator

:octocat: Quickly show selected text on Github

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vim-githubinator

Quickly show selected text in vim on Github if a remote exists.

What?

This plugin helps you select some text in vim visually and then open it in Github with the selection highlighted. This was inspired from Githubinator for sublime.

Commands

gho:      Open selected text on Github with the default
          browser using the `open` command if it is
          present, throws an error otherwise.
          
ghc:      Same as gho except it doesn't open the browser
          but rather copies the said URL to the clipboard
          using pbcopy if it is present, throws an error
          otherwise.

Installation

Using vim-zen:

Plugin 'prakashdanish/vim-githubinator'

Contributing

Do you want to make this better? Open an issue and/or a PR on Github. Thanks!

License

MIT License

Copyright (c) 2018 Danish Prakash

About

:octocat: Quickly show selected text on Github


Languages

Language:Vim Script 100.0%