Open mode (from the :open
command) is a bit of a legacy command:
*:o* *:op* *:open*
:[range]o[pen] Works like |:visual|: end Ex mode.
{Vi: start editing in open mode}
:[range]o[pen] /pattern/ As above, additionally move the cursor to the
column where "pattern" matches in the cursor
line.
Vim does not support open mode, since it's not really useful. For those
situations where ":open" would start open mode Vim will leave Ex mode, which
allows executing the same commands, but updates the whole screen instead of
only one line.
You want to use :edit
instead to, well, edit a file. By default, you should be able to use :help cmdline-completion
, including tab, to complete filenames. This works for :split
, :vsplit
, and :tabedit
, too, as these are the standard "edit a file" commands.
:h 'wildmenu'
<c-d>
. Indeed, it does not work with:o
, you'll need:e
.