5 ms·
I think your idea of `vi -R` or `vim -R` is a good idea. `less` uses less memory and may load faster but looking at logs for things like valgrind vim will give
by blueblob 12y ago
I think your idea of `vi -R` or `vim -R` is a good idea. `less` uses less memory and may load faster but looking at logs for things like valgrind vim will give you syntax highlighting that I am not sure you can get with `less`.
- dcohenp 12y agoBTW, 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 http://vimdoc.sourceforge.net/htmldoc/starting.html#view
- blueblob 12y agoI 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