aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-09-26 22:25:47 +0200
committerTeddy Wing2017-09-26 22:25:47 +0200
commit204447cdfc586032a436bb0571e92ed9d5bf7dec (patch)
tree7a1f3615554f6b8b2c4f2c94287b22ac32e51750
parent895ef2b9ee8a7128b385dab9580f39efc29bae1b (diff)
downloaddotvim-204447cdfc586032a436bb0571e92ed9d5bf7dec.tar.bz2
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.
-rw-r--r--vimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 3646f81..17121fb 100644
--- a/vimrc
+++ b/vimrc
@@ -381,6 +381,10 @@
" * Add <leader>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 <leader>z :call RunCurrentSpecFile()<cr>
nnoremap <leader>Z :call RunNearestSpec()<cr>
nnoremap 🕳 :call RunCurrentSpecFile()<cr>
+nnoremap ⛳ :call RunNearestSpec()<cr>
" Whitespace method chain