Broke out rspec/ruby conque integration into separate plugin: https://github.com/skwp/vim-ruby-conque
This commit is contained in:
6
.gitmodules
vendored
6
.gitmodules
vendored
@@ -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
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
.DS_Store
|
||||
tags
|
||||
TAGS
|
||||
.sass-cache
|
||||
|
||||
1
vim/bundle/vim-ruby-conque
Submodule
1
vim/bundle/vim-ruby-conque
Submodule
Submodule vim/bundle/vim-ruby-conque added at 27a150f552
17
vimrc
17
vimrc
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user