Y
Hacker News
new
|
ask
|
show
|
jobs
by
dcohenp
4093 days ago
BTW, starting vim as "view" (through e.g. a symlink) is equivalent to "vim -R", precisely for this use case [0].
[0]
http://vimdoc.sourceforge.net/htmldoc/starting.html#view
1 comments
blueblob
4093 days ago
I have used `view` but it didn't give me syntax highlighting. On my system (archlinux) view is actually a symlink to ex (which must change its behavior based on its name?).
readlink /usr/bin/view ex
link