Skip to content

Adding keybinding for <c-/> does not work  #5165

Open
@kamurani

Description

Question

Hello,

I was trying to add a custom keybinding (to toggle comment blocks) using Ctrl+/. However, with this in my kakrc:

map global normal <c-/> ":comment-line<ret>"

Pressing Ctrl+/ causes the terminal bell error sound, and acts as if I have only pressed / (with the search: prompt appearing).

Is this just a bug, or is / a reserved character in kakoune and can't be used in bindings?

Thanks in advance!

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions