Re: Using a variable as a command's 'count' argument

2009-07-29 Thread S. Cowles
On Wed, 29 Jul 2009, Daniel Tripp wrote: From: Daniel Tripp qpmirruvnnvwoca...@dt.theorem.ca Say that I have set a variable like this: :let desiredcolumn=42 And now I want to define a mapping that will go to that column on the current line, using the bar command. My problem is that I

Re: Using a variable as a command's 'count' argument

2009-07-29 Thread Efraim Yawitz
On Wed, Jul 29, 2009 at 9:47 AM, S. Cowles scow...@ckhb.org wrote: On Wed, 29 Jul 2009, Daniel Tripp wrote: From: Daniel Tripp qpmirruvnnvwoca...@dt.theorem.ca Say that I have set a variable like this: :let desiredcolumn=42 And now I want to define a mapping that will go to that

Re: Using a variable as a command's 'count' argument

2009-07-29 Thread Maxim Kim
On 29 июл, 09:02, Daniel Tripp qpmirruvnnvwoca...@dt.theorem.ca wrote: Hello all.  I have a situation that I can't figure out. Say that I have set a variable like this: :let desiredcolumn=42 ... But instead of a constant like 42, I want to take the value from my 'desiredcolumn' variable.

Re: Using a variable as a command's 'count' argument

2009-07-29 Thread Efraim Yawitz
On Wed, Jul 29, 2009 at 10:19 AM, Efraim Yawitz efraim.yaw...@gmail.comwrote: how about :map F2 :exec 'norm ' . desiredcolumn . 'barCR' Correction: This should be :map F2 :exec 'norm ' . desiredcolumn . '\|' CR --~--~-~--~~~---~--~~ You received this

Re: Using a variable as a command's 'count' argument

2009-07-29 Thread Matt Wozniski
On Wed, Jul 29, 2009 at 3:20 AM, Maxim Kim wrote: On 29 июл, 09:02, Daniel Tripp wrote: Hello all.  I have a situation that I can't figure out. Say that I have set a variable like this: :let desiredcolumn=42 ... But instead of a constant like 42, I want to take the value from my

find procedure declarations

2009-07-29 Thread J.Hofmann
Hi, I have a file with many procedures like this: CREATE PROCEDURE MyProcedure1 AS ...body... GO CREATE PROCEDURE MyProcedure2 AS ...body... GO ... In some of the procedure bodys, there is the word COLLATE. For these procedures I d like to write the header line (CREATE PROCEDURE..) into a

Re: Directory listing in (g)vim

2009-07-29 Thread Charles Campbell
googler wrote: Perhaps you misunderstood my problem. The left window is directory listing and the right window is an open file. The left window is active. Now I click somewhere on the _right_ window wishing to make it the active window. This makes the directory listing disappear on the left

python interface

2009-07-29 Thread Steven Woody
Hi, Is there anyone here using vim python interface? Do you know what is the highest version of python version that works with windows's version of vim? Thanks in advance. -- Life is the only flaw in an otherwise perfect nonexistence -- Schopenhauer narke public key at

Re: find procedure declarations

2009-07-29 Thread Ben Fritz
On Jul 29, 8:53 am, j.hofm...@e-punkt.eu wrote: Hi, I have a file with many procedures like this: CREATE PROCEDURE MyProcedure1 AS ...body... GO CREATE PROCEDURE MyProcedure2 AS ...body... GO ... In some of the procedure bodys, there is the word COLLATE. For these procedures I

Re: Using a variable as a command's 'count' argument

2009-07-29 Thread Daniel Tripp
Thank you all very much for the suggestions. They all work great. --~--~-~--~~~---~--~~ You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: Directory listing in (g)vim

2009-07-29 Thread googler
On Jul 29, 9:08 am, Charles Campbell charles.e.campb...@nasa.gov wrote: I click on a file, then  ctrl-wh   (ie. move back to the directory window, move down a bit, and then leftmouse click on the right window).  The right window becomes selected; no change in the directory listing

Re: Directory listing in (g)vim

2009-07-29 Thread Charles Campbell
googler wrote: I'm using netrw v132, maybe that is causing the problem? That version is getting old; I suggest getting v136k: http://mysite.verizon.net/astronaut/vim/index.html#NETRW Thanks for your help on this. It's pretty cool using vim like this, so I can simultaneously see the

Re: Directory listing in (g)vim

2009-07-29 Thread scott
On Wednesday 29 July 2009 12:15:55 Charles Campbell wrote: Currently the banner cannot be suppressed. +1 wishing he could suppress the banner sc --~--~-~--~~~---~--~~ You received this message from the vim_use maillist. For more information, visit

Re: Directory listing in (g)vim

2009-07-29 Thread googler
On Jul 29, 12:15 pm, Charles Campbell charles.e.campb...@nasa.gov wrote: googler wrote: I'm using netrw v132, maybe that is causing the problem? That version is getting old; I suggest getting v136k:  http://mysite.verizon.net/astronaut/vim/index.html#NETRW Thanks for your help on

Re: netrw.vim help (or a mailing list)

2009-07-29 Thread Fuzzy Logic
Any thoughts on where I might go to get more ideas? On Fri, Jul 24, 2009 at 11:02 AM, Fuzzy Logicfuzz...@gmail.com wrote: I was hoping to use netrw.vim to view members in a z/OS PDS, but I cannot quite get the format of the URL correct. (Windows XP; Vim 7.2, Big version with GUI) I first

Re: netrw.vim help (or a mailing list)

2009-07-29 Thread Charles Campbell
Fuzzy Logic wrote: Any thoughts on where I might go to get more ideas? On Fri, Jul 24, 2009 at 11:02 AM, Fuzzy Logicfuzz...@gmail.com wrote: I was hoping to use netrw.vim to view members in a z/OS PDS, but I cannot quite get the format of the URL correct. (Windows XP; Vim 7.2, Big

Re: netrw.vim help (or a mailing list)

2009-07-29 Thread Fuzzy Logic
I'll give that a try. I'm an experienced programmer outside of vim scripts, so it will be enjoyable to learn about the scripting side of vim. Thanks! On Wed, Jul 29, 2009 at 2:43 PM, Charles Campbellcharles.e.campb...@nasa.gov wrote: I'm fairly certain that this is being done by the

Re: Directory listing in (g)vim

2009-07-29 Thread Charles Campbell
googler wrote: On Jul 29, 12:15 pm, Charles Campbell charles.e.campb...@nasa.gov wrote: googler wrote: I'm using netrw v132, maybe that is causing the problem? That version is getting old; I suggest getting v136k: http://mysite.verizon.net/astronaut/vim/index.html#NETRW

Re: Directory listing in (g)vim

2009-07-29 Thread scott
On Wednesday 29 July 2009 14:13:43 Charles Campbell wrote: The banner is of variable length depending on a few options (hiding/showing/normal), whether or not a target directory has been set for copying, etc. I've added yet-another-option (g:netrw_banner) which can be used to suppress

Re: Directory listing in (g)vim

2009-07-29 Thread scott
On Wednesday 29 July 2009 14:19:42 scott wrote: On Wednesday 29 July 2009 14:13:43 Charles Campbell wrote: The banner is of variable length depending on a few options (hiding/showing/normal), whether or not a target directory has been set for copying, etc. I've added yet-another-option

Re: Directory listing in (g)vim

2009-07-29 Thread scott
On Wednesday 29 July 2009 14:19:42 scott wrote: On Wednesday 29 July 2009 14:13:43 Charles Campbell wrote: The banner is of variable length depending on a few options (hiding/showing/normal), whether or not a target directory has been set for copying, etc. I've added yet-another-option

Re: Directory listing in (g)vim

2009-07-29 Thread googler
On Jul 29, 2:19 pm, scott tooth...@swbell.net wrote: On Wednesday 29 July 2009 14:13:43 Charles Campbell wrote: The banner is of variable length depending on a few options (hiding/showing/normal), whether or not a target directory has been set for copying, etc.  I've added

Re: Directory listing in (g)vim

2009-07-29 Thread Charles Campbell
googler wrote: Is this new version v136I already available? In an earlier post, Dr Chip said that currently there is no option of suppressing the banner, but now he says there is an option g:netrw_banner. I'm confused. The version of netrw on my website is my development version.

Re: Directory listing in (g)vim

2009-07-29 Thread scott
On Wednesday 29 July 2009 15:12:50 googler wrote: Is this new version v136I already available? In an earlier post, Dr Chip said that currently there is no option of suppressing the banner, but now he says there is an option g:netrw_banner. I'm confused. it's available if you go to his

Re: Hello,Every one,I can use the textwidth option !

2009-07-29 Thread Nicolas Sebrecht
On Thu, Jun 04, 2009 at 09:24:46AM +0800, 潘正强 wrote: I can not use the textwdith option in the C files.Whatever I set it ,It does not work.But I can use it in other file type such as TXT I would check what :set textwdith says. If there is something wrong, you should

Re: editing Python files -- how to keep track of class membership?

2009-07-29 Thread Pete Johns
On Jul 27, 11:18 pm, Reckoner recko...@gmail.com wrote: Thanks! Big help! Excellent. Is there a way to put this on the statusline? Undoubtedly! This is Vim, after all! Of course, this is a bit more complicated as you want to ensure that it only displays a match if you are actually within a

RE: python interface

2009-07-29 Thread John Beckett
Steven Woody wrote: Is there anyone here using vim python interface? Do you know what is the highest version of python version that works with windows's version of vim? With Vim 7.2 (with or without the standard patches, and probably earlier versions of Vim), Python 2.6 works fine. On

Re: python interface

2009-07-29 Thread Ben Fritz
On Jul 29, 6:03 pm, John Beckett johnb.beck...@gmail.com wrote: On 2009-06-04 Roland Puntaier posted a patch to allow use of Python 3.0. It was sent to vim_use and vim_dev with subject: Re: [ANN] vim patch to support python3 interface I cannot find the above message in Google Groups, so I

Re: python interface

2009-07-29 Thread Steven Woody
Thank you both! 2.6 to me is enough. I asked the question just because someone told me that is 2.4. Now it clear and i am happy for i can use 2.6. On Thu, Jul 30, 2009 at 8:32 AM, Ben Fritz fritzophre...@gmail.com wrote: On Jul 29, 6:03 pm, John Beckett johnb.beck...@gmail.com wrote: