#5274·kakoune

[BUG] :e <directory>

Author: donaldcallenCreated Jan 16, 2025Updated Jun 22, 2026
Labelsbug

Version of Kakoune

Kakoune 2024.05.18

Reproducer

Enter :e and then begin typing a directory that is in the current directory. When the correct directory appears in the bar above the command area, press tab. You will get the entire directory name followed by '/', but the contents of the directory do not appear. However, instead of pressing tab to complete the dirname, you type the rest of it instead, followed by the /, you are now shown the contents of the directory. So the same characters (the dirname + /) follow the :e in both cases, but the outcomes are very different. Furthermore, in the first case (where the contents of the directory are not shown), if you press up-arrow or right-arrow, the contents of the directory will be shown. Where is this documented? I was not able to find it.

Outcome

Already described above.

Expectations

I expect the same argument to :e, however you arrive at it, to produce the same outcome -- the contents of the directory.

Additional information

I'm running kak on an up-to-date Arch Linux system.