An open API service indexing awesome lists of open source software.

https://github.com/a-b/pivotal-story-to-commit.vim

Insert markdown link to the story in pivotaltracker.io if link or the story id is in the clipboard
https://github.com/a-b/pivotal-story-to-commit.vim

commit git github pivotal-tracker vim vim-plugin

Last synced: 3 months ago
JSON representation

Insert markdown link to the story in pivotaltracker.io if link or the story id is in the clipboard

Awesome Lists containing this project

README

          

# Objective

Insert autogenerated markdown link with [pivotaltracker.io](https://pivotaltracker.io) story into the git commit message based on clipboard. (id `#123456789` or
link `https://www.pivotaltracker.com/story/show/123456789`)

```markdown
[#123456789](https://www.pivotaltracker.com/story/show/123456789)
```

If you unhappy with autogenerated link automatically injected in your commit message press `u` to undo.

You can trigger clipboard check manually via ex command `:P2Story`

Ex command supports arguments like:

```vim
:P2Story #123456789
```

or

```vim
:P2Story https://www.pivotaltracker.com/story/show/123456789
```

# Installation

```vim
Plug 'a-b/pivotal-story-to-commit.vim'
```