Skip to content

Problem with vim-repeat and remapping keys #58

Description

@oskarkv

I don't have the qwerty layout, and so want to remap some keys, in particular u.

Looking at vim-repeat, it seems I should be able to just map another key to RepeatUndo, like so:

nmap k <Plug>(RepeatUndo)

and vim-repeat will not overwrite my u mapping, because it checks for a mapping with hasmapto.

The problem is that unless I have used a command that requires vim-repeat, for example, used vim-surround, my k key does not undo anything. It starts working only after I have used vim-surround.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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