diff options
author | Teddy Wing | 2017-03-13 16:47:08 +0100 |
---|---|---|
committer | Teddy Wing | 2017-03-13 16:47:08 +0100 |
commit | 4c8ae42390953eb6cf5fb26264f0be43ccc98939 (patch) | |
tree | 5741d773272230882ad8f4e21125ceef43f7a63f | |
parent | 942aba85eb8a3305b86ead6ff9229737561c8fdc (diff) | |
download | dotvim-4c8ae42390953eb6cf5fb26264f0be43ccc98939.tar.bz2 |
vimrc: Add `<leader>Z` mapping to run a single RSpec test
Using `<leader>z` works well, but now I want to be able to run a single
test so I can iterate while writing it.
-rw-r--r-- | vimrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -357,6 +357,9 @@ " 2017.02.21: " * Change <leader>tf mapping to <leader>z. " +" 2017.03.13: +" * Add <leader>Z mapping to run the nearest spec. +" " Pathogen @@ -561,6 +564,7 @@ let g:slimv_swank_cmd = '! screen -d -m -t REPL-SBCL sbcl --load ~/.vim/bundle/s " RSpec nnoremap <leader>z :call RunCurrentSpecFile()<cr> +nnoremap <leader>Z :call RunNearestSpec()<cr> |