Replies: 1 comment
-
hey @jeep, One way I know of is to map it directly in {
"key": "space",
"command": "whichkey.show",
"when": "vim.active && vim.mode != 'Insert' && !inputFocus && !inputBoxFocus && !textInputFocus && !sideBarFocus"
}, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to bind "RunSelection" to a key using the vim leader key, but it requires some context to know what to run. For example, this works:
Keybindings.json
But this will try to run the selection in both powershell and python (i.e. the when clause doesn't get respected in settings.json)
Is there a way to use the leader key with a when clause?
Beta Was this translation helpful? Give feedback.
All reactions