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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user