Skip to content

Loading custom key bindings for code-server #6324

Closed
@indoben

Description

@indoben

Referencing the instructions found here: link

I added the following lines to my startup script

    mkdir -p /home/coder/.local/share/code-server/User
    echo '[{"key": "ctrl+enter", "command": "workbench.action.terminal.runSelectedText"}]' > /home/coder/.local/share/code-server/User/keybindings.json

However, even after a full restart, the file appears where expected, but it is not being picked up by code-server. Is there a newer approach since this documentation was written?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions