Ken Moffat wrote:
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.

Well for me:

$ ls /usr/share/vim/vim73/colors
README.txt    delek.vim    koehler.vim  peachpuff.vim  torte.vim
blue.vim      desert.vim   morning.vim  ron.vim        zellner.vim
darkblue.vim  elflord.vim  murphy.vim   shine.vim
default.vim   evening.vim  pablo.vim    slate.vim

Just a straight LFS install.

  -- Bruce



--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to