Wednesday, November 23, 2011

Re: gvim doesn't start from desktop icons or unity launcher but from shell

yup, this works. thanx very much!

On 23 Nov., 16:36, Ben Fritz <fritzophre...@gmail.com> wrote:
> On Nov 23, 2:30 am, punknroll <punknr...@gmx.at> wrote:
>
> > I found the error;-)....yeeehhhaaa!
>
> > if !has('win32') && !has('win64')
> >      set term=$TERM       " Make arrow and other keys work
> > endif
>
> > So commenting this out works for me at the moment. thanx tony for the
> > tip with if 0 endif.
>
> Maybe you can change it to:
>
> if !has('win32') && !has('win64') && !has('gui_running')
>      set term=$TERM       " Make arrow and other keys work
> endif
>
> I assume this snippet is intended for a Vim running in a terminal.
> Although I'm not sure if it's needed or a good idea at all, supposedly
> it's in your .vimrc for a reason :-)

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: