Hello all, I couldn’t find anything to do this so I created a Templater Script that Closes all Tabs to the Left and Right with Hotkeys (you must first install the Templater Plugin).
I’ve encountered a minor issue when using them: it appears that an unwanted newline character is inserted into the active document each time the command is executed.
After some investigation, I believe this can be resolved by using Templater’s ‘eat newline’ syntax (-%>) in the .md template file.