Hotkeys for toggling the editor options "Use Wikilnks" and "Show line number"

A toggle hotkey for either using wikilinks or markdown links would make the cross-platform issues with pasting/inserting images faster.

Since one could just toggle it via a hotkey.

The “Show line number” seems useful for those who use latex/html inside their markdown files, but don’t want to view line numbers all the time.

4 Likes

This is how I implemented a command/hotkey toggle for showing line numbers in the editor:

It’s a workaround with a custom CSS snippet and a plugin to toggle the snippet via the command palette.

I’m not how you could directly change the Use [[Wikilinks]] setting on the fly, or if that would even be stable to switch back and fourth.

For internal attachments, you could create a capture/macro with GitHub - chhoumann/quickadd: QuickAdd for Obsidian to prompt you for the image, then insert it to the working document with a custom template you define. Here’s a long YouTube video with a timestamped linked showing the capture dialog UX: https://www.youtube.com/watch?v=gYK3VDQsZJo&t=1688s

The manual option doesn’t seem too bad though. But maybe I’m missing something. You can just type ![](, paste only the URL, then add a closing ).