Re: Quickfix and Perl - Vim won't jump to my next compilation error

2012-07-14 Thread mascip
Thank you Mark. Unfortunately, i didn't understand the vim-addon-actions documentation. But you made me understand enough in your message : when i was typing :cf, it wasn't executing :cfirst, as i was expecting, but :cfile instead. Now i can confirm that :cfirst indicates the first compilation

Re: Quickfix and Perl - Vim won't jump to my next compilation error

2012-07-14 Thread mascip
In fact, it was not that simple on my computer (could this be Windows-related?). The error file would only be created if i ran perl -MVi::QuickFix=C:/quickfix_errors.err /my/program from an external console (but not from inside Vim, with :!perl -MVi::QuickFix=C:/quickfix_errors.err /my/program)

GVIM Files Written In GVIM Ubuntu Do NOT Show Text In GVIM Windows

2012-07-14 Thread JC Jackson
A session set of GVIM Ubuntu files function well in GVIM Ubuntu, they show all editing colors and indentation appropriate file type, save and open fully, and all functions seem normal. But when the entire set of session files is copied to a Windows machine, and the GVIM on Windows appears to

Re: Random j, k characters appearing on line ends

2012-07-14 Thread Edan Maor
On Friday, July 13, 2012 9:44:17 PM UTC+3, Evan Goer wrote: Hello, I#39;m using vim 7.3 with patches 1-244, 246-584. When I quickly navigate around a file using j and k, vim will occasionally amp; randomly insert quot;phantomquot; j and k characters at the end of the line. These

Re: vim: remember search ex cmd history across vim reload

2012-07-14 Thread Simon Ruderich
On Fri, Jul 13, 2012 at 05:08:15PM -0400, ping wrote: hi: I kind of forgot somewhere (maybe user-manual) I saw a way to make vim remember all search ex cmd history, across vim instances, even remember all history info after a vim reload. but I couldn't find out how. is it viminfo

RE: scripting make and quickfix window behaviour

2012-07-14 Thread John Beckett
Marc Jessome wrote: I'm writing a script that will allow for what I feel is a more comfortable :make + :copen behaviour. Essentially what I am writing is a function that will run :make!, and check if there are errors. It's not quite what you want, but are you aware that :cw opens the quickfix

Re: Quickfix and Perl - Vim won't jump to my next compilation error

2012-07-14 Thread Marc Weber
Sorry, I was too tired. make should load the error list into quickfix. So I don't understand is going wrong. Try this: :set makeprg=echo :make test then after :copen you should have that || test in the qf window. Maybe just try :make % in your case (after using :compiler perl or resetting

Re: how to override system ftplugin settings with user custom ?

2012-07-14 Thread Christian Brabandt
Hi Tony! On So, 08 Jul 2012, Tony Mechelynck wrote: On 08/07/12 08:48, Christian Brabandt wrote: Hi chris! On So, 08 Jul 2012, chris wrote: I set one option omnifunc in `~/.vim/ftplugin/python/python.vim` like this: setlocal omnifunc=3Dpython3complete#Complete But this can not

Re: scripting make and quickfix window behaviour

2012-07-14 Thread Marc Jessome
The addition of set switchbuf=useopen to my vimrc has gotten me the behaviour that I was looking for without any other modifications. Thanks for the help! Marc On Sat, Jul 14, 2012 at 6:15 AM, John Beckett johnb.beck...@gmail.com wrote: Marc Jessome wrote: I'm writing a script that will allow

Re: scripting make and quickfix window behaviour

2012-07-14 Thread mascip
Hi Marc, thanks a lots ! I adapted your code a bit, it does exactly what i want :o) I don't know why, but all my errors where not valid, so your code didn't work. Instead, i just told it to open a new tab and do copen (and cfile), if there was more than 1 element in qflist (if there is just one,

Re: Quickfix and Perl - Vim won't jump to my next compilation error

2012-07-14 Thread mascip
I'm just seeing this message now. I'll try this on monday, thank you :-) On 14 July 2012 11:45, Marc Weber marco-owe...@gmx.de wrote: Sorry, I was too tired. make should load the error list into quickfix. So I don't understand is going wrong. Try this: :set makeprg=echo :make test

Re: GVIM Files Written In GVIM Ubuntu Do NOT Show Text In GVIM Windows

2012-07-14 Thread Tony Mechelynck
On 14/07/12 11:37, JC Jackson wrote: A session set of GVIM Ubuntu files function well in GVIM Ubuntu, they show all editing colors and indentation appropriate file type, save and open fully, and all functions seem normal. But when the entire set of session files is copied to a Windows