Reload current file


#1

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?


#2

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


#3

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


#4

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


#5

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


#6

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