Re: dab on escaped backslashes

2012-10-24 Thread BPJ
On 2012-10-23 05:57, Bram Moolenaar wrote: What language has a backslash for ( but not for )? We should handle that in a more generic way then, not just for "dib". Perl for one. See $ perldoc perlref /enumerated Also something like /(...\(...)/ is very well possible in a regular exp

Re: Ruby 1.9 on Windows?

2012-10-24 Thread Steve Hall
On Tue, Oct 23, 2012 at 10:34 PM, Cesar Romani wrote: > > Are you building vim on windows 32 or 64bit? I built vim 7.3.712 > with mingw on windows 7 32bit using Ruby 1.9.3-p125 without any > problem. I'm building 32-bit on Windows 7 with Cygwin. -- Steve Hall [ digitect dancingpaper com ] --

Re: Issue with netrw copy and move

2012-10-24 Thread Charles E Campbell Jr
Marcin Szamotulski wrote: On 16:49 Tue 10 Apr , Charles Campbell wrote: A Loumiotis wrote: Hi, I'm facing exactly the same problem that Bart mentioned with netrw v146a as well. I'm using gVim 7.3 on Windows XP SP3. I'm not sure what other MS-DOS commands to use besides "MOVE" and "COPY" t

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" >>> Subject: Vim under cygwin >>> Date: 12 July 2012 10:18:32 GMT+01:00 >>> To: andrew.l...@mac.com >>> >>> >>> 0126792@XP037234 ~/NRock/Pro

Problem Using :substitute to Replace Empty Fields in Tab Delimited File

2012-10-24 Thread John Slattery
Hi, In a tab delimited data file I want to replace empty fields with \N. I wasn’t getting the result I expected and began working with a simple test file that looked as follows with set list: ^I^I^I^I^I$ ^I^I^I^I$ ^I^I^I$ ^I^I$ ^I$ $ The desired result would be: \N^I\N^I\N^I\N^I\N^I\N$ \N^I\N

How to check for $ProgramFiles(x86) ?

2012-10-24 Thread Timothy Madden
Hello I am trying to see if the current system is 32-bit or 64-bit Windows. On 64-bit Windows the environment variable $ProgramFiles(x86) is known to exits, but Vim will just check for $ProgramFiles and the appendthe '(x86)' part. Is there a way to check if the environment variable $ProgramFi

Re: How to check for $ProgramFiles(x86) ?

2012-10-24 Thread Gerald Klein
What your doing I would think would work, but check in the system applet in control panel. On Wed, Oct 24, 2012 at 3:25 PM, Timothy Madden wrote: > Hello > > I am trying to see if the current system is 32-bit or 64-bit Windows. On > 64-bit Windows the environment variable $ProgramFiles(x86) is kn

Re: How to check for $ProgramFiles(x86) ?

2012-10-24 Thread Ben Fritz
On Wednesday, October 24, 2012 3:25:41 PM UTC-5, Timothy Madden wrote: > > I am trying to see if the current system is 32-bit or 64-bit Windows. On > 64-bit Windows the environment variable $ProgramFiles(x86) is known to > exits, but Vim will just check for $ProgramFiles and the appendthe > '(x

Thread safety not mentioned for python bindings

2012-10-24 Thread Timothy Madden
Hello I read the python bindings help file (if_python.txt) and I found nothing about thread safety. Although Vim itself does not use threads, the invoked python code can create them and than the main thread can return control to Vim normally. I would like to write a plug-in that listens to a

Re: How to check for $ProgramFiles(x86) ?

2012-10-24 Thread Gary Johnson
On 2012-10-24, Timothy Madden wrote: > Hello > > I am trying to see if the current system is 32-bit or 64-bit Windows. > On 64-bit Windows the environment variable $ProgramFiles(x86) is > known to exits, but Vim will just check for $ProgramFiles and the > appendthe '(x86)' part. Is there a way to

Re: How to check for $ProgramFiles(x86) ?

2012-10-24 Thread Ben Fritz
On Wednesday, October 24, 2012 4:25:41 PM UTC-5, Gary Johnson wrote: > > I think the following or a variation should do it. I was only able > to test it on names without parentheses as I didn't see any variable > names with them in my environment. > > split(system('set ProgramFiles(x86)', '=

Re: How to check for $ProgramFiles(x86) ?

2012-10-24 Thread George V. Reilly
On Wed, Oct 24, 2012 at 2:50 PM, Ben Fritz wrote: > On Wednesday, October 24, 2012 4:25:41 PM UTC-5, Gary Johnson wrote: >> >> I think the following or a variation should do it. I was only able >> to test it on names without parentheses as I didn't see any variable >> names with them in my enviro

Indenting

2012-10-24 Thread analogsix
I created a 'scratch notes file' of VIM commands on gvim on my home pc's Fedora desktop environment. When I port this file to my workplace's UNIX environment and launch the notes from VIM, my tab spacing is thrown off. For example, at home my text looks like this: command1<- comment bla

Re: Spellcheck on Tex-Files

2012-10-24 Thread xxx
On Tuesday, October 16, 2012 10:47:54 PM UTC-4, skeept wrote: > On Tuesday, October 16, 2012 3:10:38 PM UTC-4, Charles Campbell wrote: > > > > I would gladly put the specific rules in my after/ftplugin, but > > > > > > unfortunately I don't know exactly what to put there. Could you please >

Re: Indenting

2012-10-24 Thread Tim Chase
On 10/24/12 21:02, analogsix wrote: > I created a 'scratch notes file' of VIM commands on gvim on my home pc's > Fedora desktop environment. > When I port this file to my workplace's UNIX environment and launch the notes > from VIM, my tab spacing is thrown off. For example, at home my text looks

Re: Indenting

2012-10-24 Thread Tony Mechelynck
On 25/10/12 04:02, analogsix wrote: I created a 'scratch notes file' of VIM commands on gvim on my home pc's Fedora desktop environment. When I port this file to my workplace's UNIX environment and launch the notes from VIM, my tab spacing is thrown off. For example, at home my text looks like

Re: gvim --help

2012-10-24 Thread Bram Moolenaar
Christian Brabandt wrote: > On Tue, October 23, 2012 21:48, Marc Weber wrote: > > What magic is gvim doing to hide its documentation? > > > > I understand this: > > [marc@nixos:~]$ gvim --help 1> /tmp/file; ls -l /tmp/file > > 3326 (bytes in /tmp/file) > > > > I'd expect stdout to be printed to m

Re: Problem Using :substitute to Replace Empty Fields in Tab Delimited File

2012-10-24 Thread Karthick Gururaj
On Wed, Oct 24, 2012 at 11:05 PM, John Slattery wrote: > Hi, > > In a tab delimited data file I want to replace empty fields with \N. I wasn’t > getting the result I expected and began working with a simple test file that > looked as follows with set list: > > ^I^I^I^I^I$ > ^I^I^I^I$ > ^I^I^I$ >

Need help to remove multiple copies of text

2012-10-24 Thread Dan Thurman
I have an XML document and wanted to remove the following strings: There are hundreds of places where the alphabetical-indexes are interspersed and "String", "key1" and "S" are variable, so what vi command string can I use to delete these text? I have tried many combinations, the simplest bein

Need help to remove multiple copies of text

2012-10-24 Thread Dan Thurman
I have an XML document and wanted to remove the following strings: There are hundreds of places where the alphabetical-indexes are interspersed and "String", "key1" and "S" are variable, so what vi command string can I use to delete these text? I have tried many combinations, the simplest bein

Re: Possible to make the + Register the default?

2012-10-24 Thread colinkeenan
Yes, now it's possible to make the + Register the default so that it works with the X Window clipboard used in linux. In vim 7.3.74 and higher you can *set clipboard=unnamedplus* to alias unnamed register to the + register, which is the X Window clipboard. -- View this message in context: http