Closed iamrecursion closed 2 years ago
Hey thanks for your contribution. I want the opening to feel native to the rest of the app. What about simply removing the true from app.workspace.openLinkText(outputFileName, "/", true)
so it opens the file in the current pane. This would take care of pinned leafs as well.
Definitely a possibility, but I feel like utility things like this aren't usually wanted to open on top of whatever is currently active. What if I added a settings toggle for it?
Currently the plugin will always open its output in a new leaf, even if the current leaf is empty. This implements a small quality of life change that will open the output in an empty leaf and focus it, if one is available.