From 204447cdfc586032a436bb0571e92ed9d5bf7dec Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 26 Sep 2017 22:25:47 +0200 Subject: vimrc: Add mapping to run nearest RSpec with unicode "flag in hole" Like our unicode "hole" mapping to run the whole spec file, use "flag in hole" (U+26F3) to run the nearest spec test. This corresponds to Shift-extra ISO key on my keyboard. --- vimrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 3646f81..17121fb 100644 --- a/vimrc +++ b/vimrc @@ -381,6 +381,10 @@ " * Add mk to save a Vim session file. " * Add mapping to run RSpec file with unicode U+1F573 "hole" character. " +" 2017.09.26: +" * Add mapping to run nearest RSpec spec with unicode U+26F3 "flag in +" hole" character. +" " Pathogen @@ -592,6 +596,7 @@ let g:slimv_swank_cmd = '! screen -d -m -t REPL-SBCL sbcl --load ~/.vim/bundle/s nnoremap z :call RunCurrentSpecFile() nnoremap Z :call RunNearestSpec() nnoremap 🕳 :call RunCurrentSpecFile() +nnoremap ⛳ :call RunNearestSpec() " Whitespace method chain -- cgit v1.2.3