4 ms·
I find 'view' fine for things like looking at a logfile, but not great for one of my more common use-cases for a pager, which is looking at something from stdin
by _delirium 12y ago
I find 'view' fine for things like looking at a logfile, but not great for one of my more common use-cases for a pager, which is looking at something from stdin that's either large or slow-to-produce. You have to wait until vim reads in the entire stream before you can do anything with it. With 'less' you can immediately navigate/search/etc. while the stream is still coming in.
- paddyoloughlin 12y agoAlso, the default action of the cursor keys is more useful for paging in less than in view. In view, cursor keys move the cursor; in less, they scroll the screen. And less has built-in tailing which you can start and stop at any time. That's its killer feature for me. On the other hand, vim/view can have some nice syntax highlighting for syslog format log files. I haven't found that enough to switch though.