When invoked as view
, Vim normally switches to read-only mode, as if invoked as vim -R
.
NVIM 0.1.3-dev
When the view
executable is a symlink to nvim
, invoking it simply starts Neovim with no special behaviour.
sudo update-alternatives --install /usr/bin/view view /usr/bin/nvim 60
sudo update-alternatives --config view # choose nvim
view /some/writeable/file
This has been removed by https://github.com/neovim/neovim/pull/2008. Also see https://github.com/neovim/neovim/issues/1646.
Ok, edited the Wiki page accordingly, but still wondering, if Neovim is to be a drop-in replacement, why it wouldn鈥檛 implement all of Vim鈥檚 interfaces that a user might expect.
why it wouldn鈥檛 implement all of Vim鈥檚 interfaces that a user might expect.
It does implement -R
. The reason for removing the "view" alias magic is given in the linked issues: it is totally pointless.