select " Obsidian " text , and " Shift A" to mark [[Obsidian]] backlink.
You can do this now:
Select text, type [[ and it will be turned into a back link
Nice. ! Why I didnβt see this trick in help vault.
but thereβs a little issue.
"[[ " is hit by the right hand keyboard.
Shift A is hit by left hand.
the right hand usually control mouse.
I didnβt get you.
When I select a text, and press Shift+A, the text gets replaced by βAβ
When I select text and press '[[ β it turns into a link ! , and not a backlink, (If I understand that correctly)
He suggest to use Shift+A instead of β[[β.
Currently there is no βShift+Aβ function available.
@Steve_yang usually I use another software(such as Autohotkey) to solve all this kind of βissuesβ.
Thank you!
Only if you type with one hand on the keyboard. Still, I get why this doesnβt fit everyoneβs way of work and I guess having a way to change this hot key would be better.
When we select text ,usually use Mouse, how to use keyboard select text ? right ? thatβs a habit .
and when we change highligh something ,we usually use shortcut. . but I think just type β[[β ,itβs also shortcut.
I mean β[[β is okay. not big issue. but if have shorcut like βshift + Aβ will be nice !
Thank you again tell me this trick.
Here is another trick: press Shift and while holding it press the arrow keys in the direction you want to select text. Play with Shift+Ctrl + arrows and Shift+Alt+ arrows combinations for different types of selections.
Very nice trick. !!!
Thank you so much !!!
I use AutoHotkey to produce β[[β by single left-hand keypress. I write numbers by different method so I do not miss previous functionality.
KEYBOARD LAYOUT ILLUSTRATION:
Virtual key code on the left.
Output on the right.
ββββββ ββββββ¦βββββ¦βββββ¦βββββ
β1B β β70 β71 β72 β73 β
β βββββ©β¦β©βββββ¬βββββ©β¦ββββ©ββ¦βββ©β
βC0 `β31 [[β32 2β33 3β34
β ββββββ©βββ¦βββ©βββ¦βββ©βββ¦βββ©βββ¦β
β09 Tabβ51 qβ57 wβ45 eβ5
β βββββββββ©β¦βββββ©β¦βββββ©β¦βββββ©β¦
β14 CapsLkβ41 aβ53 sβ44 dβ
β ββββββββββ©βββ¦βββ©βββ¦βββ©βββ¦βββ©
However it produces β[[β regardless of (not)having selected text.
I do not know if VIM mode takes into account if text is selected or not.
Here is AutoHotkey code:
; CREATE WIKILINK
#IfWinActive ahk_exe Obsidian.exe
vk31:: ; !/1 hotkey
Send, {[ 2}
; Double opening square bracket by left hand while right hand controls cursor.
; useful for linking in Obsidian.
; purpose: right hand selects text, left hand presses the key, Obsidian encloses selected text in square brackets.
return
#IfWinActive ; end restriction to ahk_exe Obsidian.exe
Proposed solution:
It would certainly be better to have native Obsidian customizable hotkey that would take into account if text is selected or not.
Now there is hotkey βInsert linkβ (default Ctrl+K) which produces markdown-style link and adjusts behavior depending on existence of text selection.
There could be similar version for creation of wikilinks.
Related feature requests:
It would be more efficient with:
- Single key hotkeys (context sensitive)
- Easier ("intelligent") mouse control when marking text (linking, ...)
@Steve_yang By the way, the title of this request is misleading. I would suggest to change it e.g. to βSelect text + customizable hotkey to create wikilinkβ.
Similarly in body of original post, replace βbacklinkβ β βlinkβ since this request is obviously only about forward links, not backlinks.