Skip to content

Keymaps don't work if default_mapping is disabled #92

@sbmueller

Description

@sbmueller

On 7514301, I have issues manually mapping keys to functions. It works fine if default_mapping is set to true: I can overwrite mappings with the keymaps variable. However, if I set the former to false, the mappings of keymaps are not applied. Minimal example:

require'navigator'.setup({
  default_mapping = false,
  keymaps = {
    {key = "gr", func = "references()"},
  },
})

With this, no key maps are applied.
I want to disable all <Space> mappings completely since I use space as non-leader key.

Metadata

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