diff --git a/plugin/Banana.vim b/plugin/Banana.vim new file mode 100644 index 0000000..b6d18ae --- /dev/null +++ b/plugin/Banana.vim @@ -0,0 +1,195 @@ +"------------------------------------------------------------------------------ +" Exit when your app has already been loaded (or "compatible" mode set) +if exists("g:loaded_Banana") || &cp + finish +endif +let g:loaded_Banana= 1 " your version number +let s:keepcpo = &cpo +set cpo&vim + +" Public Interface: +" AppFunction: is a function you expect your users to call +" PickAMap: some sequence of characters that will run your AppFunction +" Repeat these three lines as needed for multiple functions which will +" be used to provide an interface for the user +if !hasmapto('BananaEnc') + map b BananaEnc +endif + +if !hasmapto('BananaDec') + map d BananaDec +endif +" +"" Global Maps: +"" +"noremap