Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 49bc6e8

Browse files
committed
Add Shift + Click to open the note in a new tab and activate it.
1 parent b86407b commit 49bc6e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/public/app/services/link.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ function goToLinkExt(evt: MouseEvent | JQuery.ClickEvent | JQuery.MouseDownEvent
286286
if (notePath) {
287287
if (openInNewTab) {
288288
appContext.tabManager.openTabWithNoteWithHoisting(notePath, {
289-
activate: targetIsBlank,
289+
activate: evt.shiftKey ? true : targetIsBlank,
290290
viewScope
291291
});
292292
} else if (isLeftClick) {

0 commit comments

Comments
 (0)