Related to Bash-like partial tab-complete for filenames in Vim
One of the truly fantastic features of zsh
is that you can type, for example, ls /u/s/m/m/who.1
, press Tab and have it complete to
ls /usr/share/man/man1/who.1.gz
. Once you get used to it, it's really annoying to to go back to /u<tab>/s<tab>/m<tab>/m<tab>...
, especially when the entire partial path can only resolve to one actual path, but each individual component may have multiple completions. Can this be achieved in Vim, for example, when using :e
or :cd
?
There are other useful path-related features in zsh, such as using cd foo bar
to move to an equivalent path with foo
replaced with bar
(i.e., /blah/foo/baz/yada
becomes /blah/bar/baz/yada
). If there's a solution that brings in these as well (essentially handing over shell-related tasks to a shell that does those very well), it would be great.