Use the 's' flag in search() to set the ' mark instead of using m'
Fix the guard. Before, the maps would still be created if, e.g. g:no_markdown_maps was set but g:no_plugin_maps was unset. Likewise if g:no_plugin_maps was set but g:no_markdown_maps was unset. Only create the maps if bothg:no_plugin_maps and g:no_markdown_maps are unset.
search()
to set the'
mark instead of usingm'
g:no_markdown_maps
was set butg:no_plugin_maps
was unset. Likewise ifg:no_plugin_maps
was set butg:no_markdown_maps
was unset. Only create the maps if bothg:no_plugin_maps
andg:no_markdown_maps
are unset.