dbalatero / VimMode.spoon

Adds vim keybindings to all OS X inputs
691 stars 32 forks source link

Help disable for VirtualboxVM #76

Closed molleweide closed 3 years ago

molleweide commented 3 years ago
    Hi Dave,

    I am trying to disable VimSpoon when using
    Virtualbox for testing my configs and such
    on linux. 

    I disable Virtualbox as shown below.
    This is not working for me. I wantedt ask you
    if you have tried this before or if you have any
    other suggestion on what to do maybe?

    I will get back if I solve it myself!

    ```lua
    -- taken from hammerspoon/init.lua
    ..
    ...
    :disableForApp('iTerm2')
    :disableForApp('VirtualBoxVM')
    :disableForApp('zoom.us')
    ```

Thanks

dbalatero commented 3 years ago

Make sure VirtualBoxVM is the correct name? Dump the application name and bundle ID maybe to the Hammerspoon console:

https://www.hammerspoon.org/docs/hs.application.html#name

molleweide commented 3 years ago

Ohh good i have to try that i didnt think bout it first. Brb!!

molleweide commented 3 years ago

yo! this did it! :disableForApp('VirtualBox VM')