1
0
Fork 0
mirror of synced 2024-12-25 00:03:20 -05:00

Installed vim-rspec

This commit is contained in:
Mirosław Pragłowski 2015-06-03 13:04:26 +02:00
parent 21b59f336f
commit 04043cac04
3 changed files with 15 additions and 2 deletions

3
.gitmodules vendored
View file

@ -64,3 +64,6 @@
[submodule "bundle/vim-github-colorscheme"] [submodule "bundle/vim-github-colorscheme"]
path = bundle/vim-github-colorscheme path = bundle/vim-github-colorscheme
url = git@github.com:endel/vim-github-colorscheme.git url = git@github.com:endel/vim-github-colorscheme.git
[submodule "bundle/vim-rspec"]
path = bundle/vim-rspec
url = git@github.com:thoughtbot/vim-rspec.git

1
bundle/vim-rspec Submodule

@ -0,0 +1 @@
Subproject commit 2cf8c5002cb89eb8e9aabe59d25b89dc5afec88a

View file

@ -5,8 +5,6 @@ function! SetupCursorLine(...)
highlight CursorLine ctermbg=NONE cterm=NONE gui=NONE highlight CursorLine ctermbg=NONE cterm=NONE gui=NONE
highlight LineNr ctermfg=darkgrey highlight LineNr ctermfg=darkgrey
set cursorline set cursorline
let &colorcolumn="80,".join(range(120,999),",")
highlight ColorColumn ctermbg=235
endfunction endfunction
call SetupCursorLine() call SetupCursorLine()
@ -50,6 +48,11 @@ noremap <Down> <NOP>
noremap <Left> <NOP> noremap <Left> <NOP>
noremap <Right> <NOP> noremap <Right> <NOP>
" javascript
let g:javascript_fold = 0
set nofoldenable
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => custom ... WTF, don't remember ;) " => custom ... WTF, don't remember ;)
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
@ -87,3 +90,9 @@ autocmd BufNewFile,BufReadPost *.feature,*.story set filetype=cucumber
autocmd BufNewFile,BufRead *.haml setf haml autocmd BufNewFile,BufRead *.haml setf haml
autocmd BufNewFile,BufRead *.sass setf sass autocmd BufNewFile,BufRead *.sass setf sass
autocmd BufNewFile,BufRead *.scss setf scss autocmd BufNewFile,BufRead *.scss setf scss
" RSpec.vim mappings
map <Leader>t :call RunCurrentSpecFile()<CR>
map <Leader>s :call RunNearestSpec()<CR>
map <Leader>l :call RunLastSpec()<CR>
map <Leader>a :call RunAllSpecs()<CR>