The linked plugin gives the following regexs (modified to only include #-relevant parts):
The first requires an alphabetic character (/\a) after the #; the second does not (.*). So you could take at least the function PandocSectionMovement and keybindings if you modify the first regex to
Do be warned that this might ...
If your sentences end with a period you can use just t. instead of )T. to move to the last character before the period. I find this the most convenient in everyday use and you can easily change to a question or exclamation mark as needed. It will move between sentences when repeated with ; (but not if typing out t. again). To move between hard wrapped lines ...