From 4c8ae42390953eb6cf5fb26264f0be43ccc98939 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 13 Mar 2017 16:47:08 +0100 Subject: vimrc: Add `Z` mapping to run a single RSpec test Using `z` works well, but now I want to be able to run a single test so I can iterate while writing it. --- vimrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vimrc') diff --git a/vimrc b/vimrc index fd9e8a0..4762dc9 100644 --- a/vimrc +++ b/vimrc @@ -357,6 +357,9 @@ " 2017.02.21: " * Change tf mapping to z. " +" 2017.03.13: +" * Add 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 z :call RunCurrentSpecFile() +nnoremap Z :call RunNearestSpec() -- cgit v1.2.3