Re: Colorscheme vanishes after edit

2019-02-25 Thread 'Andrew Long' via vim_use
on. I was fairly sure that it wasn’t a badly formatted file, as the file opens cleanly and displays all syntax colouring until you do ‘something’ to it. THanks again. Reggards, Andy -- Andrew Long Andrew dot Long at Mac dot com -- Andrew Long Andrew dot Long at Mac dot com -- -- You receive

Re: Colorscheme vanishes after edit

2019-02-25 Thread 'Andrew Long' via vim_use
led the value from the default (2000 mx) to 4000 ms and so far it’s working. I haven’t worked it hard yet, though. I’ll have to wait and see. Thanks for your help. Regards, Andy -- Andrew Long Andrew dot Long at Mac dot com -- Andrew Long Andrew dot Long at Mac dot com -- -- You received

Colorscheme vanishes after edit

2019-02-23 Thread 'Andrew Long' via vim_use
-lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -lelf -lnsl-lncursesw -liconv -lacl -lattr -lintl -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -fstack-protector-strong -L/usr/lib/perl5/5.26/x86_64-cygwin-threads/CORE -lperl -lpthread -ldl -lcrypt "~/vers

Re: VIM & Eclipse

2018-11-25 Thread 'Andrew Long' via vim_use
ould get a "vimlike" experience by installing the vrapper plugin for > eclipse, but it's not quite the same. According to the ‘eclim’ web site, they’ve withdrawn support of it on Windows; only supported on Linux & OSX. I’ll have a look at vrapper. Thanks. Regards, Andy -- Andrew Long A

Re: VIM & Eclipse

2018-11-23 Thread 'Andrew Long' via vim_use
l it locally - everything has to be loaded off a company server, so I’d have to be pretty convincing with the corporate IT guys to make any headway. Must keep talking to them, I guess. Thanks again for the feedback. Regards, Andy -- Andrew Long Andrew dot Long at Mac dot com -- -- You received

VIM & Eclipse

2018-11-22 Thread 'Andrew Long' via vim_use
Some time back, there was some discussion over using VIM as the editor inside eclipse. I can’t find it now, can someone point me at it, or what the resoluition was, please? Regards, Amdy -- Andrew Long Andrew dot Long at Mac dot com -- -- You received this message from the "vi

Re: Can you edit EBCDIC files on non-OS390 builds of VIM?

2016-01-31 Thread Andrew Long
ASCII support is not present. Is there an option to turn it on? I edit copies of mainframe files locally by using netrw, and get ftp to translate between Ascii & EBCDIC Regards, Andy -- Andrew Long Andrew dot Long at Mac dot com -- -- You received this message from the "vim_use&q

Re: vim with Windows developments under linux and git

2015-05-22 Thread Andrew Long
-of-file, so yes, that might be a case of 'inconsistent line endings'. In such cases I just do a global replace ':%s/CTRL-VCTRL-M//' to get rid of the spurious characters and then settle on the desired file format Regards, Andy -- Andrew Long Andrew dot Long at Mac dot com -- -- You

Re: Who maintains cobol.vim?

2015-02-10 Thread Andrew Long
to be a valid line as invalid. I got around this by switching off smart tabs in the ftdetect.vim script If it's this problem you should be able to find out by looking for hard tab characters where there ought to be single space characters? Regards, Andy -- Andrew Long Andrew dot Long at Mac dot com

Re: Who maintains cobol.vim?

2015-02-10 Thread Andrew Long
On 10 Feb 2015, at 18:17, John Culleton wrote: On Tue, 10 Feb 2015 17:56:29 + Andrew Long andrew.l...@mac.com wrote: On 10 Feb 2015, at 15:57, John Culleton wrote: snip/ I've had problems with COBOL.vim if smarttabs are switched on, after starting a new line. The problem

Re: Who maintains cobol.vim?

2015-02-10 Thread Andrew Long
On 10 Feb 2015, at 18:17, John Culleton wrote: On Tue, 10 Feb 2015 17:56:29 + Andrew Long andrew.l...@mac.com wrote: On 10 Feb 2015, at 15:57, John Culleton wrote: snip/ I've had problems with COBOL.vim if smarttabs are switched on, after starting a new line. The problem

Re: Two new Vim books

2014-10-13 Thread Andrew Long
On 13 Oct 2014, at 03:20, Kevin O'Gorman wrote: I found two versions there, a PDF and a LibreOffice version. Maybe it got restored. Seems so. Thank you for pointing me back at it! Regards, Andy -- Andrew Long Andrew dot Long at Mac dot com signature.asc Description: Message signed

Re: Two new Vim books

2014-10-07 Thread Andrew Long
above seems to have vanished? Regards, Andy -- Andrew Long Andrew dot Long at Mac dot com signature.asc Description: Message signed with OpenPGP using GPGMail

Re: Search and replace

2014-04-05 Thread Andrew Long
.com etc. How would I remove the comma and insert ENTER to move theses URL's to a single line? Thank You Danny :s/,/\r/g Regards, Andy -- Andrew Long andrew dot long at mac dot com signature.asc Description: Message signed with OpenPGP using GPGMail

Re: Using back-references in 'range'

2013-09-24 Thread Andrew Long
On 23 Sep 2013, at 19:44, Ben Fritz wrote: On Monday, September 23, 2013 11:54:27 AM UTC-5, Andrew Long wrote: What I thought of was to use a global operation limited to the 'for' and the matching 'repeat', and what I tried was this:- :/^\(\s\+\)for\s\+\(\a\k*\)\s\+to.*/,/^\1repeat/g

Using back-references in 'range'

2013-09-23 Thread Andrew Long
the matching repeat pattern. Is this possible? Or am I missing an easier way to do this? Regards, Andy -- Andrew Long andrew dot long at mac dot com signature.asc Description: Message signed with OpenPGP using GPGMail

Re: Vim under cygwin

2012-10-24 Thread Andrew Long
On 23 Oct 2012, at 03:42, Tony Mechelynck wrote: On 12/07/12 18:06, Andrew Long wrote: Begin forwarded message: From: Long, Andrew andrew.l...@virginmoney.com Subject: Vim under cygwin Date: 12 July 2012 10:18:32 GMT+01:00 To: andrew.l...@mac.com 0126792@XP037234 ~/NRock

Re: Vim under cygwin

2012-10-22 Thread Andrew Long
On 18 Oct 2012, at 15:51, Andrew Long wrote: On 17 Oct 2012, at 18:19, Gary Johnson wrote: On 2012-10-17, Andrew Long wrote: On 12 Jul 2012, at 17:06, Andrew Long wrote: Begin forwarded message: From: Long, Andrew Subject: Vim under cygwin Date: 12 July 2012 10:18:32 GMT+01:00

Re: Vim under cygwin

2012-10-17 Thread Andrew Long
On 12 Jul 2012, at 17:06, Andrew Long wrote: Begin forwarded message: From: Long, Andrew andrew.l...@virginmoney.com Subject: Vim under cygwin Date: 12 July 2012 10:18:32 GMT+01:00 To: andrew.l...@mac.com 0126792@XP037234 ~/NRock/Projects/dbJnlStats/working $ vim -gS Session.vim

Re: Vim for iPad

2012-09-03 Thread Andrew Long
. Regards, Andy -- Andrew Long andrew dot long at mac dot com signature.asc Description: Message signed with OpenPGP using GPGMail

Re: Vim for iPad

2012-09-03 Thread Andrew Long
On 3 Sep 2012, at 17:22, Benjamin Klein wrote: On Sep 3, 2012, at 8:06 AM, Andrew Long andrew.l...@mac.com wrote: I thought I'd saved the original posts about vim on the iPad, but can't find them any more :-( These don’t refer to the Vim for iOS app but do refer to using Vim on an iPad

Fwd: Vim under cygwin

2012-07-12 Thread Andrew Long
-pathnames 0126792@XP037234 ~/NRock/Projects/dbJnlStats/working -- Andrew LongIT Specialist Mainframe ManagementVirgin Money +44 (191) 279 4537 Andrew dot Long at Virgin Money dot com snip

Re: Highlighting block of text

2012-05-08 Thread Andrew Long
://www.vim.org/maillist.php -- Andrew Long andrew dot long at mac dot com -- 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

Re: Change needed in cobol.vim syntax file.

2012-02-14 Thread Andrew Long
of that, in area A, or even in the line number field. Not saying that is your problem here, but it's worth a look. Regards, Andy -- Andrew Long andrew dot long at mac dot com PGP.sig Description: This is a digitally signed message part

Re: Plugin/addon managers

2011-07-25 Thread Andrew Long
to be found in OS X which I have never played with by myself). Sadly, it's not. That was the program that drove my installation of macports, though. Regards, Andy - -- Andrew Long andrew dot long at mac dot com -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools

syntax highlighting: 'good' syntax item becomes 'bad' after unrelated change in file

2011-06-02 Thread Andrew Long
? Regards, Andy -- Andrew Long andrew dot long at mac dot com PGP.sig Description: This is a digitally signed message part

Re: is there s 'toinitialupper' function?

2011-04-30 Thread Andrew Long
. The following works: let s=substitute(s, '\w\+', '\u', 'g') Tim/John Thanks for your suggestions. That's much simpler than I was going to do (cut the word to pieces with strpart, capitalise with toupper, then join them back together). Regards, Andy -- Andrew Long andrew dot long at mac dot com

is there s 'toinitialupper' function?

2011-04-29 Thread Andrew Long
with strpart() and len(), but I hoped that it might be simpler than that. looking for 'initial' and 'leading in helpgrep yielded too many hits to easily scan. TIA. Regards, Andy -- Andrew Long andrew dot long at mac dot com PGP.sig Description: This is a digitally signed message part

Re: syntax highlighting colors bold text

2011-04-25 Thread Andrew Long
(actually, /root/.vimrc is just symlinked to the one in my normal $HOME). Just a guess... at my site, we are mandated to have screen colours 'jump out' at you when you're logging into a production system; it's to make you think twice before doing something irrevocable. Regards, Andy -- Andrew Long

Re: New to vim: How to get the matched string in a search and use it in a replace

2011-02-17 Thread Andrew Long
:- :s/\(abcd\)\(efgh\)/\2\1 reverses the order of the substrings 'abcd' and 'efgh' in the current line. Regards, Andy -- Andrew Long andrew dot long at mac dot com PGP.sig Description: This is a digitally signed message part

Re: E255 on sign command

2010-09-08 Thread Andrew Long
On 7 Sep 2010, at 15:57, Andrew Long wrote: On 7 Sep 2010, at 03:54, Vincent B. wrote: Hi, I made the patch for graphical file loading in MacVim, the implementation rely directly in Cocoa for image loading, and I don't think xpm is supported by cocoa. You may try to convert your xpm

Re: E255 on sign command

2010-09-07 Thread Andrew Long
. Regards, Andy Vincent B. On 6 sep, 18:19, Andrew Long andrew.l...@mac.com wrote: On 6 Sep 2010, at 23:12, Andrew Long wrote: I'm having some troubles using the 'sign define' command. I'm running macvim stable 53 (using vim 7.3, as at bottom) In my .vimrc I have the following lines

E255 on sign command

2010-09-06 Thread Andrew Long
-lncurses -liconv -framework Cocoa -L/usr/local/lib -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -lperl -lm -lutil -lc -framework Python -framework Ruby -- Andrew Long andrew dot long at mac dot com -- You received this message from the vim_use maillist. Do not top

Re: E255 on sign command

2010-09-06 Thread Andrew Long
On 6 Sep 2010, at 23:12, Andrew Long wrote: I'm having some troubles using the 'sign define' command. I'm running macvim stable 53 (using vim 7.3, as at bottom) In my .vimrc I have the following lines to set up the sign Place a sign in the file sign define information text

Re: syn region question

2010-08-13 Thread Andrew Long
' and 'syntax region'. Regards, Andy -- Andrew Long andrew dot long at mac dot com PGP.sig Description: This is a digitally signed message part

syntax file for git fast-import files?

2009-10-13 Thread Andrew Long
Hi I'm in the process of converting my CVS repositories to Git, and I wondered if anyne had written a syntax file for the fast-import files? regards, Andy -- Andrew Long andrew dot long at mac dot com --~--~-~--~~~---~--~~ You received this message from

Re: How do I have all folds expanded by default when file opens?

2009-08-03 Thread Andrew Long
number of folds to be open when the file is opened. I set this in my .vimrc as a global for all file types, but you an set it on a file-by-file basis in the file type initialisation routines. see :he 'foldlevel' (note the apostrophes denote help for an option) Regards, Andy -- Andrew Long andrew dot

testing from .mac

2009-07-19 Thread Andrew Long
-- Andrew Long andrew dot long at mac dot com --~--~-~--~~~---~--~~ You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Help with 'syntax region' terminating too soon

2009-07-19 Thread Andrew Long
help appreciated Regards, Andy -- Andrew Long andrew dot long at mac dot com --~--~-~--~~~---~--~~ You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: Insert Mode Mappings on a Mac

2008-12-20 Thread Andrew Long
Mac (Leopard 10.5.6), CTRL=Left, Right, Up or Down are grabbed by Spaces to move the viewport between diffeent virtual screens... Regards, Andy -- Andrew Long andrew dot long at mac dot com --~--~-~--~~~---~--~~ You received this message from the vim_use maillist

Re: match() questions

2008-11-09 Thread Andrew Long
this? let var=substitute( someVar, ^.*\(what you're interested in\).*$, \1, ) Regards, Andy -- Andrew Long andrew dot long at mac dot com --~--~-~--~~~---~--~~ You received this message from the vim_use maillist. For more information, visit http://www.vim.org

Re: Installing PyClewn on Mac OS X

2008-11-08 Thread Andrew Long
On 7 Nov 2008, at 19:58, Xavier de Gaye wrote: On Fri, Nov 7, 2008 at 6:56 PM, Andrew Long [EMAIL PROTECTED] wrote: snip lots/ Hello Andy This is not an issue with --nofork as pyclewn runs gvim with '-es' and gvim does not fork in this case. Can you check gvim file type on your

Re: Installing PyClewn on Mac OS X

2008-11-07 Thread Andrew Long
On 7 Nov 2008, at 06:58, Andrew Long wrote: Hi all I tried to install pyclewn on OS X Leopard last night. The install failed Update. I've had a couple of tries at using different instances of vim with the pyclewn setup file. 1. mvim --nofork gets past the first hurdle, but fails as it's

Re: Installing PyClewn on Mac OS X

2008-11-07 Thread Andrew Long
On 7 Nov 2008, at 17:03, Andrew Long wrote: On 7 Nov 2008, at 06:58, Andrew Long wrote: Hi all I tried to install pyclewn on OS X Leopard last night. The install failed Update. I've had a couple of tries at using different instances of vim with the pyclewn setup file. snip

Installing PyClewn on Mac OS X

2008-11-06 Thread Andrew Long
is calling 'gvim -- version' and getting no reply back. This seems to be due to gvim forking and returning immediately; I tried to force '-f' in the arglist in the script, but that didn't seem to work. Is there something I'm missing in trying to get this working? Regards, Andy -- Andrew Long andrew

Re: ANN: YankRing 6.1

2008-11-02 Thread Andrew Long
of Vim (7.2), and it all worked perfectly. Regards, Andy -- Andrew Long andrew dot long at mac dot com --~--~-~--~~~---~--~~ You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: Search expression spanning multiple lines

2008-10-30 Thread Andrew Long
would let you highlight things like the socket errors as Error, and then just look for the timesheet addresses which are followed by an Error. regards, Andy -- Andrew Long andrew dot long at mac dot com --~--~-~--~~~---~--~~ You received this message from

Re: Search expression spanning multiple lines

2008-10-23 Thread Andrew Long
anything, including end-of-lines, and '\{-\}' matchces as few occurences as possible. HTH Regards, Andy -- Andrew Long andrew dot long at mac dot com --~--~-~--~~~---~--~~ You received this message from the vim_use maillist. For more information, visit http