On Tue, 21 Oct 2008, Roberto Miura Honji wrote: > How can I to identify if I'm using vim on konsole or xterm? > For example, I would like set background=light on the konsole and dark on the > xterm. Try something like this, it matches any name starts with "xterm" if (&term =~ "xterm") set background=dark endif
But I think that you cannot actually change background with this command because it only provides hint to vim. -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
