My Keyboard Shortcut Setup

introduction

hi, this is a blog about the shortcuts(hotkey) customization that I use.
I just want to share and would love to see how you guys customize shortcuts in obsidian.

note that I use a certain amount of community plugins, and I don’t cover default hidden shortcuts, like ctrl+c without selection to copy current line

this setup works on windows and my linux machine, no support for mac keyboard

principles

  • align with vscode shortcuts
  • easy to remember
  • key assignment should be associated with command naming
  • keep keystroke simple
  • assign groups to shortcuts, commands under the same group should have same modifier key
  • only set shortcut for frequently used command
  • avoid taking system shortcut

shortcuts assigned by me

frequently used

file edit group

usually start with alt

command shortcut alignment frequency
add file property alt+p property 4
Copilot: Translate between Chinese and English alt+s 3
Delete paragragh ctrl+shift+k vscode 4
Emoji Toolbar: Open emoji picker alt+e emoji 3
Enhanced Annotations: Insert a comment ctrl+/ vscode 3
Insert attachment ctrl+shift+a attachment 3
Insert callout alt+a admonition 2
Move line down alt+j 3
Move line up alt+k 3
Note Definitions: Go to definition F12 vscode 2
QuickAdd: select active line ctrl+l vscode 5
Set as heading 2 ctrl+alt+2 vscode markdown 4
Template: Insert template alt+t template 4
Toggle blockquote alt+q quote 4
Toggle bold alt+b bold 3
Toggle bullet list alt+l list 3
Toggle italic alt+i italic 3
Vim Toggle: Toggle Vim On/Off alt+v vim 3

windows group

command shortcut alignment frequency
open copilot chat window ctrl+alt+i vscode 3
Files: Reveal current file in navigation ctrl+shift+r reveal 4
Split right ctrl+\ vscode 3
Toggle left sidebar ctrl+b vscode 5
Toggle right sidebar ctrl+r right 5

tools group

command shortcut alignment frequency
Omnisearch: Vault search ctrl+alt+f 4
PKMer: Open PKmer Market View ctrl+shift+x vscode 4
Quick Explorer: Browse current folder ctrl+alt+c current 4
Quick Explorer: Browse vault ctrl+alt+v vault 4
Quick Explorer: Go to next file in folder ctrl+j 3
Quick Explorer: Go to previous file in folder ctrl+k 3
Quick Switcher++: Open in Commands Mode ctrl+p palette 5
Quick Switcher++: Open in Editor Mode ctrl+e vscode 4
Quick Switcher++: Open in Standard Mode ctrl+o open file 5
Quick Switcher++: Open Symbols for the active editor ctrl+shift+o vscode 4
QuickAdd: Run QuickAdd ctrl+q quickadd 3
Quiet Outline: Quiet Outline alt+shift+o outline 5
Show in system explorer ctlr+alt+shift+o 3
Toogle reading view ctrl+s switch 5
Toggle Live Preview/Source mode ctrl+alt+s switch 5
Workspaces Plus: Open Workspace Plus ctrl+alt+w workspace 5
add cursor above alt+shift+up vscode 3
add cursor below alt+shift+down vscode 3
Vertical Tabs: open vertical tabs alt+shift+v vertical 4

thoughts

better build your streaks before assigning shortcut for each command/

don’t be afraid to change default shortcut like ctrl+b for toggle bold, if you find it necessary to assign it to another command.

if you use same vault across different devices, better sync your shortcut configuration, don’t update one by one

I can’t help if you want a shortcut setup that also works on mac, it’s frustrating for me to keep two branches of same setup in mind and avoid conflicts

3 Likes

The main custom hotkey I use is for “Insert template”, which by default doesn’t have one. I want to use Cmd with it (functionally equivalent to Ctrl on non-Macs but physically corresponding to the Windows/super key) because it’s the most comfortable modifier key and I use templates a lot, but I couldn’t find a good key to work with it. I used an arbitrary one for a while (J, I think?) and didn’t like it, so switched to Cmd Opt T (Cmd T is something tab related, which I don’t use but maybe I will someday, and I’d prefer not to take over a common shortcut). I don’t love that either, so, inspired by your use of Alt T, I’ll drop the Cmd and use Opt T (Opt is the Mac equivalent of Alt). If I don’t warm up to it, maybe I’ll just take Cmd T.

1 Like