aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2019-02-11 16:54:16 +0000
committerCody Hiar <codyfh@gmail.com>2019-02-11 16:54:16 +0000
commit5145f1c80bf9945a9415e01460309c1d2cb76ef0 (patch)
tree6492f3ef6e15fd5855350c9daa4b1e284a81b289 /plugin
parent0cfd989d2b6d0c0d2d33bf49f7234179c8ed2315 (diff)
Adding camel case motion back in
Diffstat (limited to 'plugin')
-rw-r--r--plugin/vim-options.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index 9a316c5..23d6fd5 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -353,3 +353,13 @@ if !empty(glob($EditorDir.'plugged/vim-terraform/ftplugin/terraform.vim'))
endif
"-----------------------------------------------------------------------------------------------------------------------
+
+"-----------------------------------------------------------------------------------------------------------------------
+" CamelCaseMotion
+"-----------------------------------------------------------------------------------------------------------------------
+if !empty(glob($EditorDir.'plugged/CamelCaseMotion/plugin/camelcasemotion.vim'))
+ " Remap normal ',' to ',,' so we don't lose it
+ nnoremap ,, ,
+ xnoremap ,, ,
+ onoremap ,, ,
+endif