From 5a6299098fa3358b3e7ef93a8581a494338bd2e0 Mon Sep 17 00:00:00 2001 From: Leif Bladt Date: Wed, 23 Jan 2013 10:42:01 +0100 Subject: [PATCH] Remove key bindings - fixes #7 --- README.markdown | 7 +++++++ ftplugin/ruby.vim | 4 ---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.markdown b/README.markdown index 3e42f04..fc93aeb 100644 --- a/README.markdown +++ b/README.markdown @@ -12,3 +12,10 @@ There are currently two commands: ## Installation Use [pathogen.vim](https://github.com/tpope/vim-pathogen) + +### Key bindings +To make it more convenient, add some key bindings to your `.vimrc`: + + " vim-rspec-focus + :nnoremap t :AddFocusTag + :nnoremap r :RemoveAllFocusTags diff --git a/ftplugin/ruby.vim b/ftplugin/ruby.vim index 7bc72ec..746e748 100644 --- a/ftplugin/ruby.vim +++ b/ftplugin/ruby.vim @@ -24,7 +24,3 @@ endfunction " Commands command! -nargs=0 AddFocusTag call s:AddFocusTag() command! -nargs=0 RemoveAllFocusTags call s:RemoveAllFocusTags() - -" Mappings -:nnoremap t :AddFocusTag -:nnoremap r :RemoveAllFocusTags