stef-levesque / vscode-multiclip

Multiple clipboards for VSCode
MIT License
46 stars 12 forks source link

Set own shortcut #2

Closed Morgy93 closed 8 years ago

Morgy93 commented 8 years ago

Is it possible somehow to change the shortcut for this feature? I'd like to press ctrl+shift+v rather than ctrl+alt+v. Probably I just need to know the parameters for the keybindings.json

{
    "key": "ctrl+shift+v", 
    "command": "???", 
    "when": "???" 
}
stef-levesque commented 8 years ago

The shortcut can be found in package.json

{
    "key": "alt+ctrl+v",
    "mac": "alt+cmd+v",
    "command": "multiclip.paste",
    "when": "editorTextFocus"
}

ctrl+shift+v is already used by Code for workbench.action.markdown.togglePreview

rafaelbiten commented 8 years ago

Sorry for reopening this issue but the command "shift+cmd+x" is also conflicting with the view extensions command. How can this be fixed?

{ "key": "shift+cmd+x", "command": "workbench.view.extensions" }

The only command I really need is the cmd+alt+v (when I'm prompted to pick what I want to paste) so, how can I disable the other shortcuts without editing the package.json?

And thanks for this great extension! I'm trying to transition from Sublime and this is something that I use quite a lot!

rafaelbiten commented 8 years ago

nvm! Pasting the following line on my keybindings.json file did the trick:

{"key": "shift+cmd+x", "command": "workbench.view.extensions"}

This overwrites the plugins' shortcut. Tks again!