Hacker News new | past | comments | ask | show | jobs | submit login

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.



Also, 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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: