Replaced vim-rspec with vim-ruby-conque bindings

This commit is contained in:
Yan Pritzker 2012-03-08 23:25:10 -08:00
parent d636a32fe4
commit fa59cff513
4 changed files with 10 additions and 19 deletions

4
.gitmodules vendored
View File

@ -230,10 +230,6 @@
path = vim/bundle/bootleq-vim-textobj-rubysymbol
url = https://github.com/bootleq/vim-textobj-rubysymbol
ignore=dirty
[submodule "vim/bundle/skwp-vim-rspec"]
path = vim/bundle/skwp-vim-rspec
url = https://github.com/skwp/vim-rspec
ignore=dirty
[submodule "vim/bundle/nathanaelkane-vim-indent-guides"]
path = vim/bundle/nathanaelkane-vim-indent-guides
url = https://github.com/nathanaelkane/vim-indent-guides

View File

@ -134,6 +134,9 @@ git clone https://github.com/skwp/dotfiles ~/.yadr
cd ~/.yadr && rake install
```
Open the fonts in fonts/ and click Install Font for every font that you want.
You must install Inconsolata to have YADR's powerline theme work correctly out of the box.
Note: YADR will not destroy any of your files unless you tell it to.
@ -270,9 +273,8 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
#### Rails
* `,ru` - Rails Unittest - synonym for `:AV` from rails.vim, opens up the corresponding test/spec to the file you're looking for, in a vertical split
* `,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-rspec 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)
#### Surround.vim customizations
@ -431,8 +433,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
* surround - super easy quote and tag manipulation - ysiw" - sourround inner word with quotes. ci"' - change inner double quotes to single quotes, etc
* greplace - use :Gsearch to find across many files, replace inside the changes, then :Greplace to do a replace across all matches
* ConqueTerm - embedded fully colorful shell inside your vim
* vim-ruby-conque - helpers to run ruby,rspec,rake within ConqueTerm - use ,rr (ruby), ,ss (rspec), ,ll (rspec line), ,RR (rake)
* vim-rspec - really clean and colorful rspec output (Cmd-Shift-R) with ability to navigate directly to error; will replace vim-ruby-conque when I do a couple enhancements/bug fixes
* vim-ruby-conque - helpers to run ruby,rspec,rake within ConqueTerm
* vim-markdown-preview - :Mm to view your README.md as html
* html-escape - ,he and ,hu to escape and unescape html
* ruby-debug-ide - not quite working for me, but maybe it will for you. supposedly a graphical debugger you can step through

@ -1 +0,0 @@
Subproject commit 745422da223aa886ef016a37ca27062029b67b45

View File

@ -54,11 +54,6 @@ nnoremap ,. '.
" put the cursor right after the quote
imap <C-a> <esc>wa
" ================== rails.vim
"
" Open corresponding unittest (or spec), alias for :AV in rails.vim
nmap ,ru :AV<CR>
" ==== NERD tree
" Cmd-Shift-N for nerd tree
nmap <D-N> :NERDTreeToggle<CR>
@ -209,9 +204,9 @@ nmap ,Bc :ClearBookmarks<cr>
abbr pry! require 'pry'; binding.pry
" ============================
" vim-rspec
" vim-ruby-conque
" ============================
" Cmd-Shift-R for RSpec
nmap <D-R> :RunSpec<CR>
nmap <silent> <D-R> :call RunRspecCurrentFileConque()<CR>
" Cmd-Shift-L for RSpec Current Line
nmap <D-L> :RunSpecLine<CR>
nmap <silent> <D-L> :call RunRspecCurrentLineConque()<CR>