-
Notifications
You must be signed in to change notification settings - Fork 2
Migrate from vim sunday
Takuya Nishigori edited this page Mar 2, 2014
·
7 revisions
vim-sunday (it's obsolete) can migrate to IncrementActivator.vim by some steps XD
" vim-sunday
"NeoBundle 'nishigori/vim-sunday'
" increment-activator
NeoBundle 'nishigori/increment-activator'
g:sunday_pairs
move to g:increment_activator#config['_']
Oh, IncrementActivator.vim is support filetype definition lists :)
"" vim-sunday
"let g:sunday_pairs = [
" \ ['extends', 'implements'],
" \ ['require', 'require_once', 'include', 'include_once'],
" \ ['pick', 'reword', 'edit', 'squash', 'fixup', 'exec'],
" \ ]
" increment-activator
let g:increment_activator_filetype_candidates = {
\ '_': [
\ ['extends', 'implements'],
\ ['require', 'require_once', 'include', 'include_once'],
\ ['pick', 'reword', 'edit', 'squash', 'fixup', 'exec'],
\ ],
\ }
The defalut list removed list (public <-> protected <-> private) by IncrementActivator.vim
If you hope to inherit that, please push list of g:increment_activator_filetype_candidates['_']
let g:increment_activator_filetype_candidates = {
\ '_': [
\ ['private', 'protected', 'public'],
\ [ ... ], ...
\ ],
\ }
That's all. Enjoy your incremet life