Wade Curry wrote: > John H. Robinson, IV said: > > James Keeline wrote: > >> The subject pretty much says it all. Sometimes I'd like to view a file > >> (not > >> edit it) and less is a good tool. However, as near as I can tell, it does > >> not > >> offer the color syntax highlighting as seen in vim. > > > > I don't think so. But vim does. And vim can be configured to be used > > like a pager. See the instructions here: > > > > http://vim.sourceforge.net/tips/tip.php?tip_id=121 > > > > I was pretty sure that vim needed no real configuration to do this. I did a > google > search and found a vim man page that says this:
It does need configuration to act as a $PAGER. Fortunatly, it comes with macro set for less keybindings already, and a shell script to launch it. -john -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie
