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
- Host: GitHub
- URL: https://github.com/a-b/pivotal-story-to-commit.vim
- Owner: a-b
- License: mit
- Created: 2019-03-08T21:11:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-13T00:20:33.000Z (over 6 years ago)
- Last Synced: 2025-06-19T05:06:35.727Z (about 1 year ago)
- Topics: commit, git, github, pivotal-tracker, vim, vim-plugin
- Language: Vim script
- Homepage: https://pivotaltracker.io
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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'
```