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

Unexpected change list behavior #283

Closed
GoogleCodeExporter opened this issue Aug 18, 2015 · 2 comments
Closed

Unexpected change list behavior #283

GoogleCodeExporter opened this issue Aug 18, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

Start a fresh vim instance with no .vimrc (vim -u NONE).

This is exactly what I do (# are just for explanation):

iI like chips and fish.<Esc>  # Insert text. Realize I want to switch the words
Fc                            # Jump back to 'chips'
de                            # Delete the word (and put it in anon register)
ff                            # Jump to the 'fish' word
vep                           # Select the word, and paste from anon register

# Now print the change list:
:changes
    change line  col text
        2     1   12 I like  and chips.
        1     2   12 -invalid-
    >

The -invalid- on line 2 is unexpected. Never got to write on line 2.

On MacVim 5.3 it's reported to work as expected:
:changes
    change line  col text
    >   0     1   16 I like fish and chips.


Im using Vim 7.4.52 on Ubuntu 14.04

You can read more details here: 
http://stackoverflow.com/questions/26927016/vim-change-list-behaviour


Original issue reported on code.google.com by Maxi.Pad...@gmail.com on 14 Nov 2014 at 12:39

@GoogleCodeExporter
Copy link
Author

Posted a patch here:
https://groups.google.com/d/msg/vim_dev/36POoBWl5rM/945alw80YTcJ

Original comment by chrisbr...@googlemail.com on 14 Nov 2014 at 4:47

@GoogleCodeExporter
Copy link
Author

Fix included as patch 7.4.521

Original comment by brammool...@gmail.com on 19 Nov 2014 at 4:36

  • Changed state: Fixed

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

No branches or pull requests

1 participant