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

Make it possible to remap 'a' to another character. #10

Open
xbot opened this issue Sep 23, 2022 · 0 comments
Open

Make it possible to remap 'a' to another character. #10

xbot opened this issue Sep 23, 2022 · 0 comments

Comments

@xbot
Copy link

xbot commented Sep 23, 2022

The character 'a' is conflicted with the argument object of targets.vim, to me, the argument object is used more frequently than the after object, so I want to keep 'a' for the argument object and map another character (e.g. A) to after object.

Sadly, for now, I can only remap the argument object, because targets.vim provides a solution for this:

        autocmd User targets#mappings#user call targets#mappings#extend({ 
            \ 'A': {'argument': [{'o': '[([]', 'c': '[])]', 's': ','}]}, 
            \ }) 

But what I want is the opposite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant