f0d5c7c0f700

vim: replace camelcasemappings with others to unshadow stuff
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Fri, 10 Dec 2010 09:55:26 -0500
parents 2cf7117ab388
children 9e7096459f94
branches/tags (none)
files vim/.vimrc

Changes

--- a/vim/.vimrc	Fri Dec 10 09:42:28 2010 -0500
+++ b/vim/.vimrc	Fri Dec 10 09:55:26 2010 -0500
@@ -354,6 +354,13 @@
   endif
 endfunction
 
+" Camel Case Motion
+map <silent> \w <Plug>CamelCaseMotion_w
+map <silent> \b <Plug>CamelCaseMotion_b
+map <silent> \e <Plug>CamelCaseMotion_e
+omap <silent> i\w <Plug>CamelCaseMotion_iw
+xmap <silent> i\w <Plug>CamelCaseMotion_iw
+
 if has('gui_running')
     set guifont=Menlo:h12
     colorscheme molokai