Broke out rspec/ruby conque integration into separate plugin: https://github.com/skwp/vim-ruby-conque

This commit is contained in:
yan
2011-12-06 20:39:15 -08:00
parent 3697ebd799
commit 0b8c86ccd5
4 changed files with 7 additions and 18 deletions

6
.gitmodules vendored
View File

@@ -7,6 +7,6 @@
[submodule "vim/bundle/vim-colors-solarized"]
path = vim/bundle/vim-colors-solarized
url = https://github.com/altercation/vim-colors-solarized
[submodule "bin/willmorgan"]
path = bin/willmorgan
url = git://gitorious.org/willgit/mainline.git/ bin/willmorgan
[submodule "vim/bundle/vim-ruby-conque"]
path = vim/bundle/vim-ruby-conque
url = https://github.com/skwp/vim-ruby-conque

View File

@@ -1,3 +1,4 @@
.DS_Store
tags
TAGS
.sass-cache

17
vimrc
View File

@@ -268,25 +268,10 @@ let g:ConqueTerm_CWInsert = 1
let g:ConqueTerm_Color = 2
" Open up a variety of commands in the ConqueTerm
nmap <silent> <Leader>r :call RunRubyCurrentFileConque()<CR>
nmap <silent> <Leader>S :call RunRspecCurrentFileConque()<CR>
nmap <silent> <Leader>R :call RunRakeConque()<CR>
nmap <silent> <Leader>c :execute 'ConqueTermSplit script/console --irb=pry'<CR>
nmap <silent> <Leader>i :execute 'ConqueTermSplit pry'<CR>
nmap <silent> <Leader>b :execute 'ConqueTermSplit /bin/bash --login'<CR>
function RunRubyCurrentFileConque()
execute "ConqueTermSplit ruby" bufname('%')
endfunction
function RunRspecCurrentFileConque()
execute "ConqueTermSplit rspec" bufname('%') " --color --format doc"
endfunction
function RunRakeConque()
execute "ConqueTermSplit rake"
endfunction
let g:ConqueTerm_SendVisKey = '<Leader>e'
" prevent auto insert mode, which is helpful when using conque
@@ -418,3 +403,5 @@ hi! Question guifg=yellow
" Make EasyMotion more yellow, less red
hi clear EasyMotionTarget
hi! EasyMotionTarget guifg=yellow
let g:ruby_conque_rspec_command='spec'