obsidian-shellcommands
obsidian-shellcommands copied to clipboard
Obsidian 0.16: Output channel "Open files" creates a new tab instead of a new pane
This is not an actual bug of SC, but rather a change that came when Obsidian introduced tabs in 0.16.0
(republished as 1.0.0
).
If Output channel is "Open files" and and a :new-pane
flag is used, SC should open up a new pane like it did in Obsidian < 0.16
. Instead, now a file is opened in a new tab.
Changes:
-
[ ]
:new-pane
:- If Obsidian version is
0.16
or later: Obsidian'snewLeaf
parameter should be changed fromtrue
to"split"
. - If Obsidian version is below
0.16
: KeepnewLeaf
parameter astrue
.
- If Obsidian version is
-
DO THESE IN ANOTHER RELEASE:
-
:new-tab
: SetsnewLeaf
to"tab"
. Don't usetrue
as it feels kinda deprecated now, at least to me. -
:new-window
: SetsnewLeaf
to"window"
. This would be completely new behaviour to SC. - I just listed them here. Can create a new dicussion for these. These will require changing minimum Obsidian version.
-