(Shamelessly stolen and rewritten in|Ported to) lua from: EinfachToll/DidYouMean
Let's say you want to open that_thing.txt
so you happily type ...
> nvim somedir/th<TAB><CR>
But! You forgot about the existence of the_other_thing.md
so
after the <TAB>
the shell prompted you to disambiguate ... but you
already swiftly hit <CR>
so you've just opened a new file
called somedir/th
... womp womp
But wait! With this plugin you'll get a prompt asking you if you
actually want to choose that_thing
or the_other_thing
.
But don't worry, if you really intended to make a file called th
,
you can cancel, because you actually knew all along.
The regular way.
packer use "mong8se/actually.nvim"
Ain't none.
You mean stevearc/dressing.nvim ? Hold on let me go check ...
... ya totally worked
If you like this you might also like actually.fish which is the same concept for changing directories in fish shell.
TODO: Cleanup TODO: Windows Operating System!?