sponsor Vim development Vim logo Vim Book Ad

slurper.vim : Provides vim features for .slurper files.

 script karma  Rating 24/6, Downloaded by 1527  Comments, bugs, improvements  Vim wiki

created by
Adam Lowe
 
script type
utility
 
description
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
 
install details
Copy slurper.vim files into their corresponding folders within your .vim directory.

or 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
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-slurper.tgz 1.1.1 2012-02-04 7.0 Adam Lowe Removed stubbed story content to be more flexible and prepare for new tracker features.
vim-slurper.tar.gz 1.0.0 2010-09-07 7.0 Adam Lowe Add auto indenting, updated macros to work anywhere in a story, and story folding.
vim-slurper.tar.gz 0.3.1 2010-03-06 7.0 Adam Lowe Force 2 spaces for tab in .slurper files
vim-slurper.tar.gz 0.3.0 2010-02-05 7.0 Adam Lowe Support chores, features, releases and bugs. Updated story format to match version 0.3.0 of the slurper gem.
vim-slurper.tar.gz 0.2.1 2010-01-17 7.0 Adam Lowe Correct indenting issue for labels.
vim-slurper.tar.gz 0.2.0 2009-12-26 7.0 Adam Lowe Added syntax highlighting and updated key maps to be less obtrusive.
slurper.tar.gz 0.1.0 2009-12-18 7.0 Adam Lowe Initial upload
ip used for rating: 18.119.107.161

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github