Re: map C-tab if there are more than one tabpage then :tabnext else C-ww

2010-08-23 Thread Tony Mechelynck
On 21/08/10 13:34, Christian Brabandt wrote: Hi eliweiq001! On Fr, 20 Aug 2010, eliweiq001 wrote: Hi, I want to write this: mapC-tab if there are more than one tabpage then :tabnext else C-ww How to finish it? Besides the fact, that you can't mapC-Tab because a Tab is already Oh,

Re: i think ive been through this so many times again. i am a user for at least a few months, posted a dozen of times even helped out here and there i already begged last week to be on the group whit

2010-08-23 Thread Tony Mechelynck
On 21/08/10 02:30, ale wrote: this is regarding the nabble webiste.. i think ive been through this so many times again. i am a user for at least a few months, posted a dozen of times even helped out here and there i already begged last week to be on the group whitelist...but still didnt get an

Re: ^M character - / CTRL-V CTRL-M

2010-08-23 Thread Christian Brabandt
Hi Tony! On So, 22 Aug 2010, Tony Mechelynck wrote: Why get rid of them? Because Unix Vim can *edit* a dos-format file if 'fileformats' includes dos but it cannot *source* it. And that's why get rid of them and for the same reason I prefer unix line endings. regards, Christian -- You

Re: map C-tab if there are more than one tabpage then :tabnext else C-ww

2010-08-23 Thread Christian Brabandt
Hi Tony! On Mo, 23 Aug 2010, Tony Mechelynck wrote: Oh, but you can — unless the Ctrl-Tab event doesn't reach Vim, or reaches it as a plain 0x09. My gvim can see whether or not Esc, Tab, Enter or Space has been hit with or without Ctrl and/or Shift: try it, in Insert mode in gvim, by

Re: How to get ruby support for gvim73 on a windows XP machine.

2010-08-23 Thread Jeri Raye
Tony Mechelynck wrote on 22-8-2010 22:10: Jeri Raye wrote on 20-8-2010 17:03: Hi, I'm using gvim73 on windows xp. [snip] I'm a complete newbie on compiling gvim. But how to do that on windows XP? [snip] [snip] - You can now download the latest Vim sources from Bram's Mercurial

Re: how to read long shell output

2010-08-23 Thread yosi izaq
On Sun, Aug 22, 2010 at 6:16 PM, Charles E Campbell Jr wrote: Check out RunView (http://mysite.verizon.net/astronaut/vim/index.html#RUNVIEW) Regards, Chip Campbell Looks cool but probably an overkill. That page seems to have a treasure of useful scripts though. On Sun, Aug 22, 2010 at 8:59

Re: i really think the moderating is insulting to say the least

2010-08-23 Thread caruso_g
I think this is a good time to say how much I like to thank for the work of the moderators and to the all other regulars on this list. I can, without any doubt, say that this user group is one of the most organized, helpfully and friendly I ever participated. I totally agree with Kazuo and I

RE: How to get ruby support for gvim73 on a windows XP machine.

2010-08-23 Thread John Beckett
Jeri Raye wrote: There isn't any other way to get ruby code to work with gvim, besides compiling it? I think you want Vim for Windows? See 'Vim without Cream' at: http://vim.wikia.com/wiki/download That gives you a 'huge' build which includes Ruby. The release notes include:

Windows version with Python, Ruby and Lua support?

2010-08-23 Thread Didlybom
Hi, this is my first post on this list so first I'd like to thank all the Vim contributors for your work on this awesome piece of software that is VIM. That being said, I have a question regarding python, ruby and lua support (or lack thereof) on the official Vim installer for windows. I am

RE: Windows version with Python, Ruby and Lua support?

2010-08-23 Thread John Beckett
Didlybom wrote: I am trying to use some vim scripts that require python or ruby support (such as command-t) but when I try to use them on a fresh install of Vim 7.3 on windows they do not work. See 'Vim without Cream' at: http://vim.wikia.com/wiki/download If there is a further problem, state

Re: map C-tab if there are more than one tabpage then :tabnext else C-ww

2010-08-23 Thread Tony Mechelynck
On 23/08/10 09:52, Christian Brabandt wrote: Hi Tony! On Mo, 23 Aug 2010, Tony Mechelynck wrote: Oh, but you can — unless the Ctrl-Tab event doesn't reach Vim, or reaches it as a plain 0x09. My gvim can see whether or not Esc, Tab, Enter or Space has been hit with or without Ctrl and/or

Re: How to get ruby support for gvim73 on a windows XP machine.

2010-08-23 Thread Tony Mechelynck
On 23/08/10 10:59, John Beckett wrote: Jeri Raye wrote: There isn't any other way to get ruby code to work with gvim, besides compiling it? I think you want Vim for Windows? See 'Vim without Cream' at: http://vim.wikia.com/wiki/download That gives you a 'huge' build which includes Ruby. The

Re: Windows version with Python, Ruby and Lua support?

2010-08-23 Thread Adam Duck
On 23.08.2010 13:19, Didlybom wrote: Hi, this is my first post on this list so first I'd like to thank all the Vim contributors for your work on this awesome piece of software that is VIM. That being said, I have a question regarding python, ruby and lua support (or lack thereof) on the

More information about the strange clipboard behaviour

2010-08-23 Thread Raúl Núñez de Arenas Coronado
Hi all :) A time ago I posted a message about a problem I was having with the clipboard and Vim 7.2. After updating to 7.3 I checked to see if the problem had vanished. I'm using console-only Vim 7.3-3, self compiled, under Ubuntu Linux 10.04 with X Window System. Here is how I reproduce it: - I

Re: Windows version with Python, Ruby and Lua support?

2010-08-23 Thread Didlybom
On Aug 23, 1:36 pm, John Beckett johnb.beck...@gmail.com wrote: Didlybom wrote: I am trying to use some vim scripts that require python or ruby support (such as command-t) but when I try to use them on a fresh install of Vim 7.3 on windows they do not work. See 'Vim without Cream'

Re: Windows version with Python, Ruby and Lua support?

2010-08-23 Thread Didlybom
On Aug 23, 2:18 pm, Adam Duck adam.ian.d...@gmail.com wrote: On 23.08.2010 13:19, Didlybom wrote: Hi, this is my first post on this list so first I'd like to thank all the Vim contributors for your work on this awesome piece of software that is VIM. That being said, I have a

Re: Windows version with Python, Ruby and Lua support?

2010-08-23 Thread Jeri Raye
On Aug 23, 2:18 pm, Adam Duck adam.ian.d...@gmail.com wrote: On 23.08.2010 13:19, Didlybom wrote: Hi, [snip] I am trying to use some vim scripts that require python or ruby support (such as command-t) but when I try to use them on a fresh install of Vim 7.3 on windows they do not work.

Vim 7.3 - View Previous Commands and Searches

2010-08-23 Thread Roy Fulbright
I am using Vim 7.3 on Windows Vista. The following scenario worked in Vim 7.2, but does not work in Vim 7.3: While editing a file, I enter the following command - :s/a/b/ I then enter a colon (:) and press the up and down arrows to view and select any previous commands I have entered. While

Re: Vim 7.3 - View Previous Commands and Searches

2010-08-23 Thread Charles Campbell
Roy Fulbright wrote: I am using Vim 7.3 on Windows Vista. The following scenario worked in Vim 7.2, but does not work in Vim 7.3: While editing a file, I enter the following command - :s/a/b/ I then enter a colon (:) and press the up and down arrows to view and select any previous commands I

RE: Vim 7.3 - View Previous Commands and Searches

2010-08-23 Thread Roy Fulbright
From: rfulb...@hotmail.com To: vim_use@googlegroups.com Subject: Vim 7.3 - View Previous Commands and Searches Date: Mon, 23 Aug 2010 10:13:27 -0400 I am using Vim 7.3 on Windows Vista. The following scenario worked in Vim 7.2, but does not work in Vim 7.3: While editing a file, I

Re: Vim 7.3 - View Previous Commands and Searches

2010-08-23 Thread Charles Campbell
Roy Fulbright wrote: From: rfulb...@hotmail.com To: vim_use@googlegroups.com Subject: Vim 7.3 - View Previous Commands and Searches Date: Mon, 23 Aug 2010 10:13:27 -0400 I am using Vim 7.3 on Windows Vista. The following

Re: i really think the moderating is insulting to say the least

2010-08-23 Thread Paul Stewart
I second that! On Mon, Aug 23, 2010 at 1:28 AM, caruso_g peppecar...@gmail.com wrote: I think this is a good time to say how much I like to thank for the work of the moderators and to the all other regulars on this list. I can, without any doubt, say that this user group is one of the most

Re: if version = 700 ?vim6.2 and for

2010-08-23 Thread Ben Fritz
On Aug 20, 1:33 pm, Bee 200...@calcentral.com wrote: I have a .vimrc that is used for vim6.2 thru vim7.3 on Mac Terminal This works to eliminate errror messages for the older vim6.2: if version = 700 ?vim6.2 ... endif EXCEPT with a new script which has a FOR ... ENDFOR The ENDFOR

Re: How to get ruby support for gvim73 on a windows XP machine.

2010-08-23 Thread Ben Fritz
On Aug 23, 3:02 am, Jeri Raye jeri.r...@gmail.com wrote: gvim 7.2.0 (offical release aug 2008) and 7.3 (just relaesed) give boths -ruby when I asked it with: vim --version Yes, but at least the gvim 7.3 installer I grabbed from vim.org has +ruby/dyn which means it has ruby support, you just

Re: Windows version with Python, Ruby and Lua support?

2010-08-23 Thread Ben Fritz
On Aug 20, 4:57 am, Didly Bom didly...@gmail.com wrote: So if you could point me to where I could download the versions of vim and gvim that have this language support I would be very grateful. The default installer on vim.org contains the language support you desire, but set up for dynamic

Re: How to get ruby support for gvim73 on a windows XP machine.

2010-08-23 Thread Jeri Raye
Ben Fritz wrote on 23-8-2010 17:42: On Aug 23, 3:02 am, Jeri Raye jeri.r...@gmail.com wrote: gvim 7.2.0 (offical release aug 2008) and 7.3 (just relaesed) give boths -ruby when I asked it with: vim --version Yes, but at least the gvim 7.3 installer I grabbed from vim.org has +ruby/dyn

Preventing accidental command-line pastes from destroying the universe

2010-08-23 Thread Ted
Hi all, Note that this is *not* a vim 7.3-related issue -- I'm still running 7.2. I'm using the ubuntu 10.04 `vim-gnome` package. I've noticed that pasting into the command line from a register uses a conspicuous amount of resources, both in terms of processing time and memory. This can

Re: Preventing accidental command-line pastes from destroying the universe

2010-08-23 Thread Christian Brabandt
Hi Ted! On Mo, 23 Aug 2010, Ted wrote: Hi all, Note that this is *not* a vim 7.3-related issue -- I'm still running 7.2. I'm using the ubuntu 10.04 `vim-gnome` package. I've noticed that pasting into the command line from a register uses a conspicuous amount of resources, both in

Re: if version = 700 ?vim6.2 and for

2010-08-23 Thread Bee
On Aug 23, 8:28 am, Ben Fritz fritzophre...@gmail.com wrote: On Aug 20, 1:33 pm, Bee 200...@calcentral.com wrote: I have a .vimrc that is used for vim6.2 thru vim7.3 on Mac Terminal This works to eliminate errror messages for the older vim6.2: if version = 700 ?vim6.2 ... endif

Re: Preventing accidental command-line pastes from destroying the universe

2010-08-23 Thread Marc Weber
Excerpts from Ted's message of Mon Aug 23 21:28:51 +0200 2010: hogging lots of CPU while I worked on something else. After a few minutes that vim process had consumed at least another couple of hundred megs of memory, at which point I killed it from another Not a true fix, but a workaround:

Visual selection not working ?

2010-08-23 Thread Aaron Lewis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Assuming a typo , char test [] = { a , b , c , d }; // should be { 'a' , 'b' , 'c' } Now i need to make the correction. So i pressed v , select from '{' to '}' , typed in command s/\w/''/g ( ',' is automatically

Re: Visual selection not working ?

2010-08-23 Thread AK
On 08/23/2010 09:47 PM, Aaron Lewis wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Assuming a typo , char test [] = { a , b , c , d }; // should be { 'a' , 'b' , 'c' } Now i need to make the correction. So i pressed v , select from '{' to '}' , typed

vim diff

2010-08-23 Thread rudy b
Hi, I have a question about diff. I've always found diff very powerful, and I've never had any issue with this commad. Expect that I encoutered a problem, that I wish diff would be just slightly more flexible. Usually diff is very smart in aligning the lines in a way to optimise its match. Is

Re: Visual selection not working ?

2010-08-23 Thread Ben Fritz
On Aug 23, 9:00 pm, AK andrei@gmail.com wrote: No mistake, but you apparently did not know that s command works on the whole line, always, as far as I know. This is true, but you can restrict matches to always start within the last (or current) visual selection. See: :help /\%V

Re: Possible bug: cchar not applied to region start token when cole=2

2010-08-23 Thread Ben Fritz
On Aug 21, 9:15 am, Stahlman Family brettstahl...@comcast.net wrote: Now comes the unexpected part... With the cursor on the 2nd line (the one containing the yz region), and Vim in normal mode, the region end token (Z) is displayed as cchar (`-') (as expected), but the start token (Y) is

Moving over wrapped lines in Insert Mode

2010-08-23 Thread HAKAN YILDIZ
Hi, I was wondering if there was any setting that changes Vim's behavior so that pressing the down key moves the cursor to the next line on the screen (not on the file) in Insert Mode (similar to 'gj' in Command Mode). The default behavior becomes a problem for me when I edit files with long

Re: Visual selection not working ?

2010-08-23 Thread C K Kashyap
Thanks a lot ... this is really useful .. looks like even search can be restricted to within the selection! On Tue, Aug 24, 2010 at 8:42 AM, Ben Fritz fritzophre...@gmail.com wrote: On Aug 23, 9:00 pm, AK andrei@gmail.com wrote: No mistake, but you apparently did not know that s command

Re: Moving over wrapped lines in Insert Mode

2010-08-23 Thread AK
On 08/23/2010 10:32 PM, HAKAN YILDIZ wrote: Hi, I was wondering if there was any setting that changes Vim's behavior so that pressing the down key moves the cursor to the next line on the screen (not on the file) in Insert Mode (similar to 'gj' in Command Mode). The default behavior becomes a

Re: Moving over wrapped lines in Insert Mode

2010-08-23 Thread Dominique Pellé
HAKAN YILDIZ wrote: Hi, I was wondering if there was any setting that changes Vim's behavior so that pressing the down key moves the cursor to the next line on the screen (not on the file) in Insert Mode (similar to 'gj' in Command Mode). The default behavior becomes a problem for me when

Re: Typing accents

2010-08-23 Thread Alessandro Antonello
Hi, Tony. Sorry for the delay to answer. I actually downgrade my Vim to 7.2 again. I am in a project dead line and could not stop to check this issue. I'm planning to do that the next weekend. This sounds typical of a mapping. Try        :verbose map        :verbose map!        :verbose