Added ,Cmd-R
to rerun last conque commend (re-exec spec)
This commit is contained in:
parent
dcef19bad4
commit
d7b7d79eaa
@ -270,7 +270,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
|
|||||||
#### Rails
|
#### Rails
|
||||||
|
|
||||||
* `,ss` to run specs, `,ll` to run a given spec on a line - using my [vim-ruby-conque plugin](https://github.com/skwp/vim-ruby-conque)
|
* `,ss` to run specs, `,ll` to run a given spec on a line - using my [vim-ruby-conque plugin](https://github.com/skwp/vim-ruby-conque)
|
||||||
* `Cmd-Shift-R` to use vim-ruby-conque to run a spec file. `Cmd-Shift-L` to run from a line (individual it block)
|
* `Cmd-Shift-R` to use vim-ruby-conque to run a spec file. `Cmd-Shift-L` to run from a line (individual it block), `,Cmd-Shift-R` to rerun the last run command (great for re-running specs)
|
||||||
|
|
||||||
#### Surround.vim customizations
|
#### Surround.vim customizations
|
||||||
|
|
||||||
|
@ -220,6 +220,8 @@ abbr pry! require 'pry'; binding.pry
|
|||||||
nmap <silent> <D-R> :call RunRspecCurrentFileConque()<CR>
|
nmap <silent> <D-R> :call RunRspecCurrentFileConque()<CR>
|
||||||
" Cmd-Shift-L for RSpec Current Line
|
" Cmd-Shift-L for RSpec Current Line
|
||||||
nmap <silent> <D-L> :call RunRspecCurrentLineConque()<CR>
|
nmap <silent> <D-L> :call RunRspecCurrentLineConque()<CR>
|
||||||
|
" ,Cmd-R for Last conque command
|
||||||
|
nmap <silent> ,<D-R> :call RunLastConqueCommand()<CR>
|
||||||
|
|
||||||
" Get the current highlight group. Useful for then remapping the color
|
" Get the current highlight group. Useful for then remapping the color
|
||||||
map ,hi :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<' . synIDattr(synID(line("."),col("."),0),"name") . "> lo<" . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">" . " FG:" . synIDattr(synIDtrans(synID(line("."),col("."),1)),"fg#")<CR>
|
map ,hi :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<' . synIDattr(synID(line("."),col("."),0),"name") . "> lo<" . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">" . " FG:" . synIDattr(synIDtrans(synID(line("."),col("."),1)),"fg#")<CR>
|
||||||
|
Loading…
Reference in New Issue
Block a user