aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2008-12-23 02:18:54 -0500
committerdoy <doy@tozt.net>2008-12-23 02:18:54 -0500
commit313b3d862f060b304e90119381afabc45a1d2409 (patch)
tree917be3d6ea5333bf4dafe8f5d09ca943d9d01b0f /vimrc
parent4bcc3d6fd24c550de383db17797189d16ea1a3c1 (diff)
downloadvim-textobj-313b3d862f060b304e90119381afabc45a1d2409.tar.gz
vim-textobj-313b3d862f060b304e90119381afabc45a1d2409.zip
make textobj creation into config again, since the functions don't get defined until after the vimrc file is read (i think?)
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc8
1 files changed, 5 insertions, 3 deletions
diff --git a/vimrc b/vimrc
index fcff942..654e864 100644
--- a/vimrc
+++ b/vimrc
@@ -280,9 +280,11 @@ if file_readable(s:session_file) && expand("%:.") !~ '^/'
endif
" }}}
" Textobj {{{
-call Textobj('/', "Textobj_paired", '/')
-call Textobj('f', "Textobj_fold")
-call Textobj(',', "Textobj_arg")
+let g:Textobj_defs = [
+ \['/', 'Textobj_paired', '/'],
+ \['f', 'Textobj_fold'],
+ \[',', 'Textobj_arg'],
+\]
" }}}
" }}}