From f925f83875aed5130a12dd7fc9ad73b33af1b2b1 Mon Sep 17 00:00:00 2001 From: Taybin Rutkin Date: Mon, 12 Mar 2012 21:42:41 -0400 Subject: [PATCH] add camelcasemotion with mappings to B, W, and E instead of ,b ,w and ,e - this avoids conflicts with ,b for Ctrlp's buffer selector and ,w for whitespace deletion. --- .gitmodules | 3 +++ vim/bundle/vim-scripts-camelcasemotion | 1 + vim/plugin/settings/camelcasemotion.vim | 3 +++ 3 files changed, 7 insertions(+) create mode 160000 vim/bundle/vim-scripts-camelcasemotion create mode 100644 vim/plugin/settings/camelcasemotion.vim diff --git a/.gitmodules b/.gitmodules index d2347ae..1c9ba9c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -285,3 +285,6 @@ [submodule "vim/bundle/chrisbra-color_highlight"] path = vim/bundle/chrisbra-color_highlight url = https://github.com/chrisbra/color_highlight.git +[submodule "vim/bundle/vim-scripts-camelcasemotion"] + path = vim/bundle/vim-scripts-camelcasemotion + url = https://github.com/vim-scripts/camelcasemotion.git diff --git a/vim/bundle/vim-scripts-camelcasemotion b/vim/bundle/vim-scripts-camelcasemotion new file mode 160000 index 0000000..8db17bd --- /dev/null +++ b/vim/bundle/vim-scripts-camelcasemotion @@ -0,0 +1 @@ +Subproject commit 8db17bdee3f42bd71839ead2a84b2ee1916e45c2 diff --git a/vim/plugin/settings/camelcasemotion.vim b/vim/plugin/settings/camelcasemotion.vim new file mode 100644 index 0000000..6fc23bd --- /dev/null +++ b/vim/plugin/settings/camelcasemotion.vim @@ -0,0 +1,3 @@ +map W CamelCaseMotion_w +map B CamelCaseMotion_b +map E CamelCaseMotion_e