onivim/oni

Keybinding Mechanism isn't Robust

Open

#1240 aperta il 6 gen 2018

Vedi su GitHub
 (7 commenti) (0 reazioni) (0 assegnatari)TypeScript (336 fork)batch import
bughelp wanted

Metriche repository

Star
 (11.389 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor