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

<CR> in Insert-mode breaks up changes #34

Open
linduxed opened this issue Jul 12, 2013 · 2 comments
Open

<CR> in Insert-mode breaks up changes #34

linduxed opened this issue Jul 12, 2013 · 2 comments

Comments

@linduxed
Copy link

Normally if you enter Insert-mode, everything from entering the mode until you return to Normal-mode is stored as one change.

It seems like every <CR> in Insert-mode breaks the change up into one more. So if between entering Insert-mode and exiting back to Normal-mode involved pressing <CR> three times, then you'd have three changes in total, instead of the expected one.

@linduxed
Copy link
Author

Could this issue be related to this discussion on vim-dev?

@tpope
Copy link
Owner

tpope commented Jul 13, 2013

I can't reproduce.

I used to want it to split the undo up at carriage returns, so I made sure that if you had added <C-G>u to a <CR> mapping, that would be preserved. So, make sure nothing else is mapping <CR>.

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

2 participants