Reload current file

I accidentally dismissed the “this file has been modified, would you like to reload” dialogue. I want to reload the current file.

In vim I would just do :e %, what is the equivalent in kakoune?

Hi,
you can simply do :edit, or :edit! if you have local changes you don’t care about.

1 Like

You can also just reduce that to :e in vim land.

If I do :edit I get 1:1: 'edit' wrong argument count

Oh yeah, it looks like only :edit! does the trick, that’s a bit surprising.

It should be :edit <c-r>%<ret>, in any case.