Skip to content

Prevent keymaps from overriding ssr's keymaps overrides #11

Open
@chrisgrieser

Description

@chrisgrieser

I have this mapping for <CR>

keymap("n", "<CR>", "<C-^>")

When I now try to press <CR> in the ssr window, it tries to run <C-^> instead of triggering the replace from ssr. Checking the mappings also indicates that my global map seems to override ssr's map somehow?

Pasted image 2022-12-06 21 32 51

My current workaround is to simply use a different mapping via ssr's setup, but <CR> actually makes a lot of sense (and switching buffers does not work in the ssr window anyway).

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