aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorTeddy Wing2017-02-17 18:02:29 +0100
committerTeddy Wing2017-02-17 18:02:29 +0100
commit46007d5c306a96bd668962714c5b286bfee73909 (patch)
treed8ba81babee5d60c35e9cf1d5abac8d6287b58fb /vimrc
parent6e0009ae25b72a4334ddf6db1e4ae263c179fa3f (diff)
downloaddotvim-46007d5c306a96bd668962714c5b286bfee73909.tar.bz2
vimrc: Add <leader>tf mapping to run current RSpec file
Leverage 'vim-rspec' to make it easy for us to run the current spec file.
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index cbe71c4..384778d 100644
--- a/vimrc
+++ b/vimrc
@@ -351,6 +351,9 @@
" 2016.04.18:
" * Remove the `Wrap` command since I never use it.
"
+" 2017.02.17:
+" * Add <leader>tf mapping to run current RSpec spec file.
+"
" Pathogen
@@ -553,6 +556,10 @@ let g:slimv_impl = 'sbcl'
let g:slimv_swank_cmd = '! screen -d -m -t REPL-SBCL sbcl --load ~/.vim/bundle/slimv/slime/start-swank.lisp'
+" RSpec
+nnoremap <leader>tf :call RunCurrentSpecFile()<cr>
+
+
" Mappings
" ========