Many plugins make their public mapping interface accessible through <Plug>
maps. Users can then use these maps as hooks for their own mappings, e.g. :nmap <Leader>fu <Plug>fooPluginUnlinkRootDir
.
Recently I have come across some plugins which put their map names in brackets, e.g.
<Plug>(textobj-indent-a)
in the textobj-indent plugin,<Plug>(LineJugglerBlankUp)
in the LineJuggler plugin.
This syntax is not documented anywhere in the help files nor do any of the bundled Vim runtime files use it. Nevertheless, these plugins do their job just fine.
What is the motivation for the brackets? Is there any advantage in using them? Should plugin authors be encouraged to follow this practice (as a best practice)?