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

Transpose chars with "xp" #21

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

herbertjones
Copy link

"x" and "X" should insert the removed character into the paste buffer.

Address #19.

@oscarfv
Copy link

oscarfv commented May 24, 2021

With this change things like 4x seems not to work anymore. Tested with up to date Evil and Emacs 28.

@oscarfv
Copy link

oscarfv commented May 24, 2021

Using evil-forward-char/evil-backward-char for :motion instead of nil seems to do the trick.

Allow "5x" to delete 5 characters as it should.

See: roman#21 (comment)
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.

2 participants