diff --git a/README.md b/README.md index b98996e..6f1aad5 100644 --- a/README.md +++ b/README.md @@ -181,7 +181,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke * ,ru - Rails Unittest - synonym for :AV from rails.vim, opens up the corresponding test/spec to the file you're looking for, in a vertical split * \ss to run specs, \ll to run a given spec on a line - using my vim-ruby-conque plugin (https://github.com/skwp/vim-ruby-conque) - * Cmd-Shift-R to use vim-rspec to run a spec file. Soon to support running individual contexts. + * Cmd-Shift-R to use vim-rspec to run a spec file. Cmd-Shift-L to run from a line (individual it block) **Surround.vim customizations** diff --git a/vim/plugin/settings/skwp-keymap.vim b/vim/plugin/settings/skwp-keymap.vim index e5bf31a..bf6901e 100644 --- a/vim/plugin/settings/skwp-keymap.vim +++ b/vim/plugin/settings/skwp-keymap.vim @@ -18,9 +18,9 @@ nnoremap Y y$ " RSI Prevention - keyboard remaps " ======================================== " Certain things we do every day as programmers stress -" out our hands. For example, typing underscores and +" out our hands. For example, typing underscores and " dashes are very common, and in position that require -" a lot of hand movement. Vim to the rescue +" a lot of hand movement. Vim to the rescue " " Now using the middle finger of either hand you can type " underscores with apple-k or apple-d, and add Shift @@ -187,8 +187,5 @@ abbr pry! require 'pry'; binding.pry " ============================ " Cmd-Shift-R for RSpec nmap :RunSpec - -" If you use a fast_spec directory, Rfastspec can help you find -" one of your fast specs -autocmd User BufEnterRails Rnavcommand fastspec fast_spec/ -glob=**/** -suffix=_spec.rb -default=model() - +" Cmd-Shift-L for RSpec Current Line +nmap :RunSpecLine