Added Ctrl-s to open spec for any file you're looking at

Similar to rails.vim's :A and :AV command, except it knows
about fast_spec. Could be expanded in the future to add more
spec paths.
This commit is contained in:
yan
2012-04-25 19:39:31 -07:00
parent b1dfcb1901
commit 86c5fe1ea6
4 changed files with 39 additions and 4 deletions

View File

@@ -296,6 +296,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
* `,qa/` - quickfix Ack last search (Steve Losh)
* `,qg/` - quickfix GitGrep last search
* `,T` - Tag list (list of methods in a class)
* `Ctrl-s` - Open related spec in a split. Similar to :A and :AV from rails.vim but is also aware of the fast_spec dir and faster to type
#### File Navigation
@@ -356,6 +357,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
* `,cf` - Copy Filename of current file (full path) into system (not vi) paste buffer
* `,cn` - Copy Filename of current file (name only, no path)
* `,vc` - (Vim Command) copies the command under your cursor and executes it in vim. Great for testing single line changes to vimrc.
* `,vr` - (Vim Reload) source current file as a vim file
* `,yw` - yank a word from anywhere within the word (so you don't have to go to the beginning of it)
* `,ow` - overwrite a word with whatever is in your yank buffer - you can be anywhere on the word. saves having to visually select it
* `,w` - strip trailing whitespaces