Skip to content

Usage as operator / operating on a motion #144

@xeruf

Description

@xeruf

What I would like to do - maybe the plugin already supports this, but I at least couldn't find anything in the help - is mapping the commands as operators, similar to how it is done here: https://www.reddit.com/r/vim/comments/ebaoku/function_to_google_any_text_object/

This would solve #119 nicely - instead of changing anything, one could map the function OpenGithubProject to the operator gx and then simply type gxi' to open the project currently under the cursor. Of course this specific example applies to the derivative open-browser-github plugin, but it could be used in any way - you could search whole paragraphs or full WORDS.

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