1

I'm using homebrew-installed vim

My changelist looks something like this:

   10   250    0 nmap <leader>rn <Plug>(coc-rename)
    9   266   11 set report=0
    8   267   20 set display+=lastline
    7   268    8 set title
    6   271    0 -invalid-
    5    75   23 set backspace=indent,eol
    4    76    6
    3    76    0
    2   271    0 -invalid-
    1   270    0 "this will be deleted
>
Press ENTER or type command to continue

But when I type g-, I see the following message:

0 changes; before #1

I think this question indicates that the -invalid-'s are a bug.

Thoughts? I'm not sure how else to use the changelist.

2
  • 1
    The cursor > is already at changes 0. You cannot step back to change -1. g+ will bring you to change 1|. Jul 22 at 5:26
  • 1
    g+ results in Already at newest change Jul 22 at 5:40

1 Answer 1

0

I was confusing changelist and undolist

Seems g- and g+ are for the undolist, not the changelist

Why does Vim say "Already at newest change" despite a full "changes" history list?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.