Re: gvim --help

2012-10-24 Thread Christian Brabandt
On Wed, October 24, 2012 01:13, Tony Mechelynck wrote: On 23/10/12 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 my

Re: gvim --help

2012-10-24 Thread Christian Brabandt
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 my console [marc@nixos:~]$ gvim --help 2 /tmp/file;

Re: why is it so difficult to start using vim (may be just for me).

2012-10-24 Thread Phil Dobbin
Deepak adhikari wrote: I am trying to use this editor, searched stackoverflow.com http://stackoverflow.com (didn't ask though) went to vim.org http://vim.org but very complex operations are explained and found difficult to grasp. just trying to know some basic commands like how to start,

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

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 ] -- You

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 to

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

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$

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

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 terminato...@gmail.comwrote: Hello I am trying to see if the current system is 32-bit or 64-bit Windows. On 64-bit Windows the environment variable

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 '(x86)'

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 check

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)', '=')[1]

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 fritzophre...@gmail.com 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

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

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 tell

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 my console

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 johntslatt...@gmail.com 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$

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: text:alphabetical-index-mark text:string-value=String text:key1=S/ 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

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: text:alphabetical-index-mark text:string-value=String text:key1=S/ 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

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: