andweeb / Ki

⌘ Work in macOS like you work in vim <currently under construction>
MIT License
126 stars 13 forks source link

cheatsheet shortcut not working #11

Open oemergenc opened 4 years ago

oemergenc commented 4 years ago

Hi,

thanks for the great work you did in this project. I just stumbled over this project and i am really impressed what it can do.

However, on my system (german keyboard) the default key combination for the cheatsheet does not work:

⌘⎋⌘e? ⌘⎋⌘a?(entity hotkey).

Unfortunately both are not working and therefore it is really hard for me to understand what kind of feature are available. I guess it is due to my keyboard layout. Please note that basic usage works, like triggering Chrome or Safari, so i think the setup should be okay.

Do you have any idea how i can workaround this to see all the key combinations which are available?

Thanks in advance.

oemergenc commented 4 years ago

Update:

I found a workaround by editing the init.lua script of the KI.SPOON package.

For anyone coming to this, here is a screenshot of the default Cheatsheet

Cheatsheet

andweeb commented 4 years ago

Hi @oemergenc, thanks for the interest in Ki! :)

Is this a bug that I can fix for different keyboard layouts? If so, we can keep this issue open so that I can incorporate a fix into the v2 effort that's happening in the develop branch.

oemergenc commented 4 years ago

Hi @andweeb ,

actually i dont think it is related to my keyboard layout. I switchted to US layout and the problem still persists. The workaround for me was to change the keyboard shortcut to show the Cheatsheet in the init.lua to something without a ? sign. One more thing i noticed is, that on my machine key combinations which incorporate the command key also dont work. For example: When in window mode (please note: i copied the configuration from here: https://github.com/andweeb/.hammerspoon):

⌘H Move Window One Space To The Left ⌘L Move Window One Space To The Right

Also don't work.

andweeb commented 4 years ago

Ooh yeah sorry those shortcuts in particular don't work anymore. :(

You can check out the discussion in the Hammerspoon issue here regarding the history behind the function used in my config. Messing with macOS Spaces has always been somewhat hacky.