diff --git a/.gitmodules b/.gitmodules index 3270f9c..cadcb5c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -87,3 +87,6 @@ [submodule "bundle/vim-unimpaired"] path = bundle/vim-unimpaired url = https://github.com/tpope/vim-unimpaired.git +[submodule "bundle/vim-cycle"] + path = bundle/vim-cycle + url = https://github.com/zef/vim-cycle diff --git a/after/plugin/cycle.vim b/after/plugin/cycle.vim new file mode 100644 index 0000000..e2f9433 --- /dev/null +++ b/after/plugin/cycle.vim @@ -0,0 +1,24 @@ +call AddCycleGroup(['set', 'get']) +call AddCycleGroup(['form', 'to']) +call AddCycleGroup(['push', 'pop']) +call AddCycleGroup(['mas', 'menos']) +call AddCycleGroup(['prev', 'next']) +call AddCycleGroup(['start', 'end']) +call AddCycleGroup(['light', 'dark']) +call AddCycleGroup(['open', 'close']) +call AddCycleGroup(['read', 'write']) +call AddCycleGroup(['truthy', 'falsy']) +call AddCycleGroup(['filter', 'reject']) +call AddCycleGroup(['internal', 'external']) +call AddCycleGroup(['short', 'normal', 'long']) +call AddCycleGroup(['subscribe', 'unsubscribe']) +call AddCycleGroup(['header', 'body', 'footer']) +call AddCycleGroup(['protected', 'private', 'public']) +call AddCycleGroup(['red', 'blue', 'green', 'yellow']) +call AddCycleGroup(['tiny', 'small', 'medium', 'big', 'huge']) +call AddCycleGroup(['pico', 'nano', 'micro', 'mili', 'kilo', 'mega', 'giga', 'tera', 'peta']) +call AddCycleGroup(['sunday', 'monday', 'tuesday', 'wensday', 'thursday', 'friday', 'saturday']) + +call AddCycleGroup('markdown', ['#', '##', '###', '#####', '#####', '######']) + + diff --git a/bundle/vim-cycle b/bundle/vim-cycle new file mode 160000 index 0000000..b3e8160 --- /dev/null +++ b/bundle/vim-cycle @@ -0,0 +1 @@ +Subproject commit b3e81608d30f99e5575cffcd08cb873517a21b4f