Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for repeating previous/next commands #146

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 7, 2019

  1. Add support for repeating previous/next commands

    This is useful for mapping it to something convenient like `üü` and `++`
    on a German keyboard layout, allowing for context-sensitive movement by
    default (e.g. forwarding to `[c`, `]c` in diff mode), and remembering
    the last used command group.
    
    Other plugins are able to hook into this by setting `g:unimpaired_prevnext`.
    
    It uses `:normal` in g:unimpaired_prevnext explicitly.  This allows to
    specify the whole command for `:exe`, and does not require a mapping.
    
    The mapping is used internally to handle the `zv`, but that could be
    included in the command already now.
    
    It uses the `g:` namespace, which is important for repeating `[q/]q`
    across buffers.
    blueyed committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    038d657 View commit details
    Browse the repository at this point in the history