In plain old (n)vimdiff, one can jump to the next/previous difference using [c or ]c respectively. (says :help diff documentation, at least)

Not so much in my AstroNvim; running nvim -d -R old.txt new.txt, after typing [, there's no c option (and pressing c just exits the menu):

Screenshot of my terminal emulator showing neovim running the AstroNvim frontend, showing the key selection choice after pressing \, not encompassing a c option

So, how does one navigate nvimdiff from within AstroNvim?

1 Answer 1


There is no option indeed (I believe because ]c is a standard functionality and that are no added mapping has been introduced) but the command do work (at least for me).

  • 1
    they don't work for me, as said :( Feb 9 at 21:47
  • Your screenshot shows two files that look very similar. Could you provide one with two files with clear differences may be some additions? Feb 9 at 22:00
  • 1
    sure, give me a minute Feb 9 at 22:06
  • 1
    fantastic! Now it works! (just made a 100 lines file, for i in {1..100}; do echo $i >> text.original; done, deleted and duplicated a few lines and added some text in a line, and it now does work) So, it might be a file size problem? interesting, but not subject of my question! Feb 9 at 22:13
  • 1
    no, I've tried different cadences; maybe the diffing process times out on the ~ 5MB file. Feb 9 at 22:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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