Is it possible to assign hotkey pre commands

First, search the help docs and this forum. Maybe your question has been answered! The debugging steps can help, too. Still stuck? Delete this line and proceed.

What I’m trying to do

I’m trying to configure a pre-command to window/note-group hot keys. i don’t want to just assign hotkeys. i want to have a pre-command. ie to change to a window/note-group to the left, i want to first press ctrl+w then after that press j.

Things I have tried

searching for other posts for someone who has already configured their set-up to do this. no luck yet

I ended up finding what i was looking for. for anyone else in the future looking to set up a hotkey leader key like vim or tmux, someone has made a plugin obsidian://show-plugin?id=leader-hotkeys-obsidian