33

GitHub - danishprakash/vim-githubinator: Show selected text in Vim on Github

 5 years ago
source link: https://github.com/danishprakash/vim-githubinator
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

vim-githubinator

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

68747470733a2f2f692e696d6775722e636f6d2f764e485454634a2e676966

What?

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

Default commands

gho
    Open selected text on git remote repository with the default
    browser using the `open` or `xdg-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 Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK