Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 79 lines (46 sloc) 2.052 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
This is a mirror of http://www.vim.org/scripts/script.php?script_id=2890

Description
slurper.vim was written as a companion to the slurper gem (http://github.com/hashrocket/slurper). The slurper gem allows you compose stories in a plain text file and then slurp them into Pivotal Tracker through the api in bulk. You will need to install the slurper gem for slurper.vim to be useful.

slurper.vim turns on spell check and provides macros for generating story templates in the correct format to speed up your story writing even further. It also provides syntax highlighting and indenting for .slurper files.

If you find slurper.vim useful or have suggestions please let me know. Constructive input is greatly appreciated.

Installation
Download the packaged file from www.vim.org/scripts/script.php?script_id=2890 extract and copy the slurper.vim files into their corresponding folders within your .vim directory.

Alternately my preferred method of installing vim plugins is to use Tim Pope's pathogen.vim plugin (http://www.vim.org/scripts/script.php?script_id=2332) and git clone plugins into my ~/.vimbundles directory.

Usage
CTRL-h generates a new chore and puts you in insert mode on the name line.

==
story_type:
  chore
name:

description:


labels:
CTRL-j generates a new feature and puts you in insert mode on the name line.

==
story_type:
  feature
name:

description:


labels:


CTRL-k generates a new release and puts you in insert mode on the name line.

==
story_type:
  release
name:

description:


labels:


CTRL-l generates a new bug and puts you in insert mode on the name line.

==
story_type:
  bug
name:

description:


labels:


The macros work the same in insert or edit modes. They also work anywhere in a story file.

Story Folding
We found that frequently we wanted to see just a list of all of the features in our file. To do this you can use the built in code folding key strokes.

Close all folds (Show just story names)

zM
Open all folds (Show full stories)

zR
For more on folding in Vim check out

:help folding
Something went wrong with that request. Please try again.