aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorMatt Singleton <matthew.j.singleton@gmail.com>2011-02-26 23:33:17 -0500
committerMatt Singleton <matthew.j.singleton@gmail.com>2011-02-26 23:33:17 -0500
commitaf1fce1b01852c3d5bf7514ea4984c3f6b0474e6 (patch)
tree1e79d2edc3973c1f38985d692760dece4cdc180c /vimrc
parent5e26c2063f933961c670aa47f0ad8102a7600f4b (diff)
vim plugin for running rspec on the current file
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index d68dddf..95f7760 100644
--- a/vimrc
+++ b/vimrc
@@ -75,6 +75,9 @@ endif
" bindings
"
+noremap <C-x> :source ~/.vimrc<Enter>
+noremap <C-a> :call RunSpec()<Enter>
+
" NERDTree
noremap <C-e> :NERDTreeToggle<Enter>
let NERDTreeMapActivateNode='<Space>'
@@ -92,3 +95,11 @@ set hlsearch
"
helptags $HOME/.vim/doc " load all plugin docs
+
+"
+" local additions
+"
+
+if filereadable($HOME."/.vimrc-local")
+ source ~/.vimrc-local
+endif