-
Notifications
You must be signed in to change notification settings - Fork 111
CreateVimModePlusPlugin
t9md edited this page Nov 6, 2018
·
4 revisions
If you think your custom operation is useful for many developer.
Let's release your enhancement as vmp plugin package.
It's not so difficult, vim-mode-plus-move-to-symbols is the 1st package released as example of plugin.
Not sure, I won't promise it wont' change.
You can access utility function through this.vimState.utils
or this.vimState.swrap
for selection-wrapper
.
Basically these utility functions are provided for use of vmp-core.
I may change function name without notification if necessary.
Here is the list of classes where lots of operation is derived from it.
TextObject.Pair
Operator.TransformString
Operator.ActivateInsertMode
When you want to write plugin just adding minimum code, refer how above classes are used in vmp-core.