Skip to content

Remapping keys to close two popups at the same time #5990

Open
@xosxos

Description

@xosxos

Hello, have just switched to helix from neovim and I am quite impressed.

However often when writing, both the code completion and definition pop up appear at the same time. I always use Ctrl-c to close and have remapped C-c = "normal_mode" in all modes. I still find that I need to press it twice to close both popups, but when using Escape, it actually closes both popups and returns to normal mode. Is there a way to remap a key to do whatever Escape does there? I am using the latest 22.12 (0a7cd97d) version built from source.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-helix-termArea: Helix term improvementsA-keymapArea: Keymap and keybindingsC-enhancementCategory: Improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions