On Tue, Oct 14, 2014 at 09:35:24PM +1300, Simon Geard wrote: > On Sun, 2014-10-12 at 23:37 +0100, Ken Moffat wrote: > > Better yet, no need to put them into a file. Just pipe the diff command > straight to vim, passing a flag for stdin. > > diff -Naur directory1 directory2 | vim -R - > > In theory I should be able to replace "vim -R" with "view", but I don't > get syntax highlighting in "view"... I assume that's the "set up nicely" > you refer to. > > Simon. > Odd, I thought that syntax highlighting came for free, the problem I had had (a few years ago) was sorting out colours - I prefer a black background in my terms. The only thing I can see in either /etc/vimrc or ~/.vimrc which seems at all related is:
:colorscheme elflord This is with a standard LFS build of vim, not any extra bells and whistles. ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
