Skip to content

Plugin to open outline of current spec file(Rpsec, Jasmine) in a quickfix window

Notifications You must be signed in to change notification settings

emilsoman/spec-outline.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

spec-outline.vim

<Leader>? opens a spec outline in a quickfix window when inside a spec file (Rspec, Jasmine).

image

To map your custom shortcut, add this to your vimrc.

map <silent> SHORTCUT :SpecOutlineToggle<CR>

Replace SHORTCUT with your keyboard shortcut.

Configuration

By default the outline shows up in a window on the right side. You can change this by setting this config in your ~/.vimrc :

let g:spec_outline_orientation = 'bottom'

Permitted values for g:spec_outline_orientation are 'top', 'bottom', 'left' and 'right'.

Installation

This plugin follows the standard runtime path structure, and as such it can be installed with a variety of plugin managers:

  • Pathogen
  • git clone https://github.com/emilsoman/spec-outline.vim ~/.vim/bundle/spec-outline.vim
  • NeoBundle
  • NeoBundle 'emilsoman/spec-outline.vim'
  • Vundle
  • Plugin 'emilsoman/spec-outline.vim'
  • VAM
  • call vam#ActivateAddons([ 'spec-outline.vim' ])
  • manual
  • copy all of the files into your ~/.vim directory

License

MIT License. Copyright (c) 2014 Emil Soman

About

Plugin to open outline of current spec file(Rpsec, Jasmine) in a quickfix window

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published