Skip to content

Conversation

backdround
Copy link

I have a remapped 'u' key, so i tried to map undo keys to another by #58:

if empty(mapcheck("<Plug>(RepeatUndo)"))
  nnoremap <Plug>(RepeatUndo) u
endif

It works, but sometimes vim reset my 'u' key to undo. And I dont know why

Here i divided into two files and add option to disable default mappings

@marcoaaguiar
Copy link

Merging this would be appreciated!

@tpope
Copy link
Owner

tpope commented Mar 20, 2021

I merged another PR that solves this with hasmapto().

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

Successfully merging this pull request may close these issues.

3 participants