onivim/oni

Keybinding Mechanism isn't Robust

Open

#1,240 opened on Jan 6, 2018

View on GitHub
 (7 comments) (0 reactions) (0 assignees)TypeScript (336 forks)batch import
bughelp wanted

Repository metrics

Stars
 (11,389 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

const activate = (oni) => {
    console.log("config activated")

    // Input 
    //
    // Add input bindings here:
    //
    oni.input.bind("<c-enter>", () => console.log("Control+Enter was pressed"))
    oni.input.bind("<c-s-r>", "language.findAllReferences")

    //
    // Or remove the default bindings here by uncommenting the below line:
    //
    // oni.input.unbind("<c-p>")
}

I input <c-enter> , there is no any output on developer console I input <c-s-r>, there is no any response.

Contributor guide