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

Is it possible to unmap and recreate repeat's 'u' mapping later, for specific buffers? #49

Open
gfixler opened this issue May 4, 2015 · 0 comments

Comments

@gfixler
Copy link

gfixler commented May 4, 2015

I'm having this issue with arpeggio.vim: kana/vim-arpeggio#3

The following line maps 'u' and 't' separately to vim-arpeggio, and 'u' conflicts with vim-repeat:

Arpeggionnoremap ut etc...

I'm using the advice at the link to fix my own gk map for these buffers via ftplugin script:

unmap k
nnoremap <Plug>(arpeggio-default:k) gk

I don't know how to do this for the only other conflict, though, which is the 'u' key mapped by repeat.vim. I can fix it with a buffer-local unmap u in the filetype where I use this arpeggio, but I like repeatable undo. If I can't fix it, oh well, but I thought I'd ask.

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