bodil / vscode-file-browser

https://marketplace.visualstudio.com/items?itemName=bodil.file-browser
GNU Lesser General Public License v3.0
86 stars 22 forks source link

Feature request: ctrl+h for parent dir (like Spacemacs Helm) #21

Closed dwadden closed 3 years ago

dwadden commented 4 years ago

Thanks for making this! I really missed Helm in VSCode.

Like the title says, I've got an extremely minor feature request. Can you add ctrl+h as an alternative to ../ as a way to navigate to parent directory to mimic the behavior of Spacemacs? I'm also happy to add this if you can tell me which file to modify.

Thanks,

Dave

stevenguh commented 3 years ago

You can do this by adding/merging the following json in your user's keybindings.json

[
    {
        "key": "ctrl+h",
        "command": "file-browser.stepOut",
        "when": "inFileBrowser"
    },
    {
        "key": "ctrl+l",
        "command": "file-browser.stepIn",
        "when": "inFileBrowser"
    }
]
dwadden commented 3 years ago

Perfect, much appreciated.