Skip to content

map repeat macro command @@ malfunction #22

@dohsimpson

Description

@dohsimpson

I tried to map @@ to repeat with @ only:

call submode#enter_with('repeat_ex_cmd', 'n', '', '@@', '@@')
call submode#leave_with('repeat_ex_cmd', 'n', '', '')
call submode#map('repeat_ex_cmd', 'n', '', '@', '@@')

It would enter submode and works find as long as I stay in submode. But when I exit submode and try to use @@ again. I would get something like this inserted at the beginning of my buffer: ubmode-enter:repeat_ex_cmd). And I would be put into insert mode.

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