Reputation: 4294
I've installed Vim 7.4 and Netrw plugin v149 over Ubuntu 14.04 LTS
When I try to open a directory with command $vi /your/path/
it returns an error message: "/your/path/ is a directory"
but in my older versions it opens the directory with netrw and works fine.
But when I run $vi .
from command line it runs without problem.
What would be the problem?
Upvotes: 1
Views: 2636
Reputation: 1181
The "error message" about ... is a directory is what vim normally produces when asked to edit a directory. This message appears even when netrw is active. A possible reason for your plight is that vi is a "tiny" build that comes with your o/s -- see if "where vim" differs from "where vi". Netrw is not supported by tiny builds of vim. Also try "vim --version" and "vi --version" to see what's supported by your vim/vi. Netrw needs +eval (which a tiny build does not support).
Upvotes: 1
Reputation: 9273
This is a strange problem. Try updating to the latests version, 1.53r.
If it doesn't solves the issue, try to debug it yourself. Check :help netrw-debug
for detailed instructions about enabling debug messages.
Upvotes: 0