Meta Post - Hotkeys

i would love to be able to jump to the previous day’s note and the next days note from any given days note

Another styling/formatting shortcut:

  • convert selection to ordered and unordered list
1 Like

lots of show-hide or ‘go to’ commands are needed. Toggle left-sidebar/right-sidebar is useful, but more specific commands are needed for

  • go to backlinks
  • go to tags

It seems like the items in the left sidebar have this, but right do not.

edit: also missing “go to file explorer”.

2 Likes

You can do duct tape together a highlight shortcut with Keyboard Maestro:


%CurrentClipboard% is just a variable for the clipboard, so inserting ==%CurrentClipboard%== is just pasting whatever you just copied… but with the =='s added to each side.

According to a discussion here I can probably remove the pause, actually.

edit: obviously, this doesn’t remove the highlight, but you could probably actually cobble that together with keyboard maestro too with an if/then search for the ==s within the selection or on each side of the selection. If there, remove them.

1 Like

Not sure if this has been mentioned already - but cotemaxime from Discord mentioned that I should post as a feature request here. There should be a shortcut hotkey customization for creating a link, currently it is bound to Cmd+K but would like to use that hotkey for a diff. functionality.

@lizardmenfromspace Add https://forum.obsidian.md/t/hotkey-for-dark-light-theme-toggle/276

Given that Maestro is MacOS only, I created a shortcut with Autohotkey:

Just create a new script with the following:

; Markdown Highlight

^+e::
	Send,^c
	ClipWait
	Send, ==^v==
Return

; Syntax
; ^ = CTRL
; ! = ALT
; + = SHIFT
; # = WIN
; :: = run when pressed keys together

Works without delays even for large selections of text, only issue is that to revert styling you have to hit CTRL+Z thrice as the script can’t apply the styling in one action (instead pastes “==”, then the selected text, then “==” again).

2 Likes

Hotkey to enable/disable Custom CSS plugin.

The latest changes have broken a lot of custom CSS, especially as it relates to Pane movement. My current work around is to disable custom CSS, place panes, re-enable custom CSS. A hotkey would make this more convenient now, but also in the future as changes are likely to break more custom CSS.

I strongly endorse this! I’m trying to reduce my mouse use for health reasons, and moving from pane to pane would be a huge help.
I suggest CMD-ALT-LEFTArrow and CMD-ALT-RIGHTArrow, but of course the key binding can be customized by the user anyway. All we need is the keyboard shortcut to cycle through the panes.

1 Like

If more sort options are ever implemented (like a custom sort, alphabetical sort, and date modified sort), then I would love a hotkey to change which sort method is currently active.

2 Likes

works like a charm thank you!

I think it would be a great feature to be able to use a hotkey to insert a link to today’s note.

Do you mean inserting a link that you have copied from the web into your daily note? Or make a bidirectional link to today’s daily note in another note?

Correct, so that by using the hotkey on a page other than today’s daily note, a link to the daily note eg. [2020-07-03](2020-07-03) will be inserted at the cursor.

Is there a global hotkey just for launching obsidian? And maybe toggling it? I mapped one out for myself using alfred (i’m on mac) but maybe because cmd-w doesn’t work, it doesn’t feel as smooth: Close obsidian with cmd w on mac

Hey all. Is there anyways to go up and down a list of notes in any folder using hotkeys in obsidian?

Not sure if you’re still looking for hotkey ideas, but I’d love to be able to hit a hotkey, Then use a dialog similar to quick open to move a file to a different folder.

for instance:

File 1 is in the inbox folder.
Hot key invokes quick move dialogue
User enters the first letter of their Project 1 folder
Project 1 folder is autocompleted and highlighted
User hits return and the file moves out of the inbox, and into Project 1 folder.

DEVONthink does something similar and it’s magical.

2 Likes

Have to share a hotkey for making internal links with Autohotkey.
Select text, then hit Ctrl + L (choose your own)
FYI, #IfWinActive is so this only activates inside of Obsidian, not other apps.

; Obsidian
#IfWinActive, ahk_exe Obsidian.exe
$^l:: ; Internal link
    Send,^c
    ClipWait
    Send,[[^v]]
    Return
#IfWinActive
1 Like

This also has a builtin hotkey if you select text and press [[, it automatically does the same without losing on the selected text. A side-benefit is that you don’t lose your clipboard during the process.

2 Likes