From 880954b216bf16bbd4503a596e2788b77360816e Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 8 Jun 2019 00:39:33 +0200 Subject: vimrc: Move RSpec mappings to ftplugin/ruby.vim Since I'm not writing Ruby regularly right now, move these mappings to the Ruby ftplugin so I don't accidentally try to run a spec in another language where it makes no sense. --- vimrc | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 5cadfde..2044ff6 100644 --- a/vimrc +++ b/vimrc @@ -423,6 +423,9 @@ " * Use Gundo when -python3 and Undotree when +python3. " * Focus Undotree window when toggled. " +" 2019.06.07: +" * Move RSpec mappings to ftplugin/ruby.vim. +" " Pathogen @@ -643,13 +646,6 @@ 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 z :call RunCurrentSpecFile() \| call system("date '+%FT%T%z: z' >> ~/.vim/spec-stats.log") -nnoremap Z :call RunNearestSpec() \| call system("date '+%FT%T%z: Z' >> ~/.vim/spec-stats.log") -nnoremap 🕳 :call RunCurrentSpecFile() \| call system("date '+%FT%T%z: e' >> ~/.vim/spec-stats.log") -nnoremap ⛳ :call RunNearestSpec() \| call system("date '+%FT%T%z: E' >> ~/.vim/spec-stats.log") - - " Go let g:go_version_warning = 0 let g:go_fmt_command = 'goimports' -- cgit v1.2.3