Re: problems with vim

2007-05-15 Thread A.J.Mechelynck
Nageshwar M wrote: Hello, I compiled the vim 7.1 source for unix and installed it in my fedora core 4 pc. When I pressed arrows its printing A,B,C,D's(in insert mode) , backspace is not working and when I pressed delete continuously the gvim is closing down. Someone please help me. The

Re: problems with vim

2007-05-15 Thread Nikolai Weibull
On 5/15/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: Nageshwar M wrote: Hello, I compiled the vim 7.1 source for unix and installed it in my fedora core 4 pc. When I pressed arrows its printing A,B,C,D's(in insert mode) , backspace is not working and when I pressed delete continuously the

Re: problems with vim

2007-05-15 Thread Nageshwar M
Hello, I tried in xterm, konsole, and yakuake but got the same problem. I guess the problem is with compilation options... When I used :set esckeys arrow keys working properly but not backspace (in gvim also i faced the same problem). Also the command completion is not working .. i typed :he and

patch 7.1.002

2007-05-15 Thread Bram Moolenaar
Patch 7.1.002 Problem:Oracle Pro*C/C++ files are not detected. Solution: Add the missing star. (Micah J. Cowan) Files: runtime/filetype.vim *** ../vim-7.1.001/runtime/filetype.vim Thu May 10 20:42:30 2007 --- runtime/filetype.vimTue May 15 09:12:06 2007 *** ***

Re: [Patch] proper detection of ProC files.

2007-05-15 Thread Bram Moolenaar
Micah Cowan wrote: Fixes an apparent typo in filetype.vim. Per https://bugs.launchpad.net/ubuntu/+source/vim/+bug/86916. Must have been there for a while. Thanks for the fix! -- In a world without fences, who needs Gates and Windows? /// Bram Moolenaar -- [EMAIL PROTECTED] --

Re: patch 7.1.002

2007-05-15 Thread Micah Cowan
Bram Moolenaar wrote: Patch 7.1.002 Problem:Oracle Pro*C/C++ files are not detected. Solution: Add the missing star. (Micah J. Cowan) Just to be clear: while I reformatted the solution in patch-form, it was Arturo Olguín Cruz who first found the bug and determined its fix:

Re: Stable Vim version 7.1 has been released

2007-05-15 Thread Bram Moolenaar
Francois Pinard wrote: [Bram Moolenar] Hmm, in my POV a rule like: target: one two three means that one, two and three are build in sequence, not at the same time. I suppose adding the -jN argument changes the semantics of the Makefile, and that causes it to break. In fact,

Re: problems with vim

2007-05-15 Thread Nageshwar
Thanks, The problem was sloved by keeping these two lines in .vimrc set backspace=2 set nocompatible Thanks once again.. -- Nageshwar M

Re: Stable Vim version 7.1 has been released

2007-05-15 Thread François Pinard
[Bram Moolenar] So how do I tell make that I want to build three targets in sequence then? For generice make, not GNU make. It was once forbidden to depend on GNU make in GNU packages. I guess the first package to blatantly break this rule has been GNU libc. So, most of our habits were

new text object feature request

2007-05-15 Thread Larson, David
I often need to replace parameter text and usually try to remember the text object that selects the inner parameter, only to come up short since that type isn't defined. It seems natural to have a parameter text object, where it would act on the text between commas or parentheses, i.e. from (, to

RE: new text object feature request

2007-05-15 Thread Larson, David
Hi Peter, It can (see below), but then again, the other text objects could be implemented as vimscript as well. Extending the existing text objects to include parameters seems like a natural fit. David nmap silent cim :call ChangeInnerParam()cr function ChangeInnerParam() call

Re: vim 7.1 and cr/lf interpretation

2007-05-15 Thread Thomas Michael Engelke
2007/5/14, Andy Wokula [EMAIL PROTECTED]: Thomas Michael Engelke schrieb: :set fileformats? gives fileformats=dos,unix, so both formats are available, yet the detection and switching does not seem to work. Are you sure _every_ line ends in ^M? Positive. Every single line shows an ^M at

Re: compiling vim7.1 (huge version) gets build with normal version

2007-05-15 Thread panshizhu
[EMAIL PROTECTED] 写于 2007-05-15 13:30:28: I recently did a clean install of Ubuntu 7.04 and also installed all vim related packages. That got me a gui version of vim (7.0.164/Big compiled on 2007/03/11). I now want to compile and install the gui version of vim 7.1. So, I downloaded the

Re: vim 7.1 and cr/lf interpretation

2007-05-15 Thread A.J.Mechelynck
Thomas Michael Engelke wrote: 2007/5/14, Andy Wokula [EMAIL PROTECTED]: Thomas Michael Engelke schrieb: :set fileformats? gives fileformats=dos,unix, so both formats are available, yet the detection and switching does not seem to work. Are you sure _every_ line ends in ^M? Positive.

Re: compiling vim7.1 (huge version) gets build with normal version

2007-05-15 Thread panshizhu
[EMAIL PROTECTED] 写于 2007-05-15 14:51:43: Thanks Pan. Now it does say Huge Version. But I'm seeing couple of problems ... 1. It still doesn't show the menu's and toolbars. 2. It tries to use my $HOME/.gvimrc (which works fine with the ubuntu installed vim7.0) and complains that it can't find

Re: Appending to Paste (*) Register

2007-05-15 Thread Yegappan Lakshmanan
Hi, On 5/14/07, zzapper [EMAIL PROTECTED] wrote: Hi I believe that the problem of Appending to Paste (*) Register was one of the points Bram was looking at (problem is no uppercase for a symbol) Was there/will there be any progress? Here's a hack I use let @w=:redir @*^M:g//^M:redir END

RE: Vim Wiki - Wiki Template Proposal

2007-05-15 Thread Zdenek Sekera
-Original Message- From: fREW [mailto:[EMAIL PROTECTED] Sent: 15 May 2007 04:24 To: Tom Purl Cc: vim@vim.org Subject: Re: Vim Wiki - Wiki Template Proposal On 5/14/07, Tom Purl [EMAIL PROTECTED] wrote: Sebastian Menge has graciously created a Mediawiki template that could

Re: compiling vim7.1 (huge version) gets build with normal version

2007-05-15 Thread A.J.Mechelynck
Tushar Desai wrote: I recently did a clean install of Ubuntu 7.04 and also installed all vim related packages. That got me a gui version of vim (7.0.164/Big compiled on 2007/03/11). I now want to compile and install the gui version of vim 7.1. So, I downloaded the tar-ball for the 7.1 sources

Re: Stable Vim version 7.1 has been released

2007-05-15 Thread Bram Moolenaar
Yongwei Wu wrote: On 13/05/07, Bram Moolenaar [EMAIL PROTECTED] wrote: Announcing: Vim (Vi IMproved) version 7.1 I guess you already know about them. Just in case: * The home page still says Vim 7.0.243 is the current version That should be fixed automatically when

MSVC build option about default library MSVCRT

2007-05-15 Thread Yongwei Wu
Hi Bram, I am wondering whether l. 705 of Make_mvc.mak in vim-7.1-extra.tar.gz should be change from LINKARGS1 = $(linkdebug) $(conflags) /nodefaultlib:libc to LINKARGS1 = $(linkdebug) $(conflags) /nodefaultlib:libc /nodefaultlib:msvcrt I have been using it for maybe half a year and not

RE: Vim Wiki - Wiki Template Proposal

2007-05-15 Thread Sebastian Menge
Thanks for the feedback! 1) I think learning to fillout the template is easier than learning wiki markup. 2) Im pretty sure there is a way to post a new tip by means of an HTML Form. Perhaps Martin knows more about the abilities of mediawiki in this respect. There is an extension called InbutBox

Re: Appending to Paste (*) Register

2007-05-15 Thread zzapper
Yegappan Lakshmanan [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: Hi, On 5/14/07, zzapper [EMAIL PROTECTED] wrote: Hi I believe that the problem of Appending to Paste (*) Register was one of the points Bram was looking at (problem is no uppercase for a symbol) Was there In

Re: vim 7.1 and cr/lf interpretation

2007-05-15 Thread Thomas Michael Engelke
2007/5/15, A.J.Mechelynck [EMAIL PROTECTED]: Thomas Michael Engelke wrote: 2007/5/14, Andy Wokula [EMAIL PROTECTED]: Thomas Michael Engelke schrieb: :set fileformats? gives fileformats=dos,unix, so both formats are available, yet the detection and switching does not seem to work.

Re: Appending to Paste (*) Register

2007-05-15 Thread A.J.Mechelynck
zzapper wrote: Yegappan Lakshmanan [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: Hi, On 5/14/07, zzapper [EMAIL PROTECTED] wrote: Hi I believe that the problem of Appending to Paste (*) Register was one of the points Bram was looking at (problem is no uppercase for a symbol) Was

Re: vim 7.1 and cr/lf interpretation

2007-05-15 Thread Micah Cowan
Thomas Michael Engelke wrote: Hello Tony, and thanks for your extensive answer. Unfortunately, this is what I can report. To make things easier, I'll attach the file I am talking about to this message so that you can either check for yourselves and/or see that I'm telling the truth. What is

Re: vim 7.1 and cr/lf interpretation

2007-05-15 Thread A.J.Mechelynck
Thomas Michael Engelke wrote: 2007/5/15, A.J.Mechelynck [EMAIL PROTECTED]: Thomas Michael Engelke wrote: 2007/5/14, Andy Wokula [EMAIL PROTECTED]: Thomas Michael Engelke schrieb: :set fileformats? gives fileformats=dos,unix, so both formats are available, yet the detection and

Re: vim 7.1 and cr/lf interpretation

2007-05-15 Thread Thomas Michael Engelke
2007/5/15, A.J.Mechelynck [EMAIL PROTECTED]: Thomas Michael Engelke wrote: 2007/5/15, A.J.Mechelynck [EMAIL PROTECTED]: Thomas Michael Engelke wrote: 2007/5/14, Andy Wokula [EMAIL PROTECTED]: Thomas Michael Engelke schrieb: :set fileformats? gives fileformats=dos,unix, so

wiki hosting

2007-05-15 Thread Sebastian Menge
Am Montag, den 14.05.2007, 21:49 +0200 schrieb Martin Krischik: Now refresh my mind: Why did we choose advertising ridden wikea over advertising free wikibooks? There was already a lot of discussion on this topic but no real decision. I think that mediawiki is accepted as the most stable,

Re: vim 7.1 and cr/lf interpretation

2007-05-15 Thread A.J.Mechelynck
Thomas Michael Engelke wrote: 2007/5/15, A.J.Mechelynck [EMAIL PROTECTED]: Thomas Michael Engelke wrote: 2007/5/15, A.J.Mechelynck [EMAIL PROTECTED]: Thomas Michael Engelke wrote: 2007/5/14, Andy Wokula [EMAIL PROTECTED]: Thomas Michael Engelke schrieb: :set fileformats? gives

where to install tlib?

2007-05-15 Thread Claus Atzenbeck
Hi all, I run Vim 7.0 on Mac OS X. I want to try out tmru http://www.vim.org/scripts/script.php?script_id=1864, which requires tlib http://www.vim.org/scripts/script.php?script_id=1863. I moved tmru.vim into ~/.vim/plugin, but where do I install tlib.vba? Cheers, Claus

Re: where to install tlib?

2007-05-15 Thread Thomas
I moved tmru.vim into ~/.vim/plugin, but where do I install tlib.vba? Open the file in vim and type: :so % See http://www.vim.org/scripts/script.php?script_id=1502 for details. With 7.0, you might need to install a current version of vimball first. (I'm not sure about that though.)

how to get the highlighting status for search command?

2007-05-15 Thread Simson Liu
Dear all, The search command '*' in normal mode will highlight the cursor word. The command ':noh' in command mode will stop the highlighting. But how to get the current highlighting status for the search command '*' in a vim script? Can anyone give me some hints? Thanks. Lht

Re: vim 7.1 and cr/lf interpretation

2007-05-15 Thread John Beckett
Thomas Michael Engelke wrote: Assuming that fileformat unix means 0x10 means open a new line which seems to be the case (0x13 stays as ^M, 0x10 is interpreted as a new line), shouldn't this mean that in the last line there is a line break missing? It's not important here, but for the record,

RE: Vim Wiki - Wiki Template Proposal

2007-05-15 Thread Sebastian Menge
Am Dienstag, den 15.05.2007, 10:03 +0200 schrieb Sebastian Menge: There is an extension called InbutBox but I have not understood yet howto use it. Now I have. There is a sample on http://scratchpad.wikia.com/wiki/VimTest But it leads to another problem: In a wiki we have no means to

RE: Vim Wiki - Wiki Template Proposal

2007-05-15 Thread Zdenek Sekera
-Original Message- From: Sebastian Menge [mailto:[EMAIL PROTECTED] Sent: 15 May 2007 13:49 To: Zdenek Sekera Cc: fREW; Tom Purl; vim@vim.org Subject: RE: Vim Wiki - Wiki Template Proposal Am Dienstag, den 15.05.2007, 10:03 +0200 schrieb Sebastian Menge: There is an extension

Problem with digraphs through Putty

2007-05-15 Thread Jeenu V
Hi Vimmers, I'm using VIM (version 6.2) through putty. The digraphs that are displayed (either through :dig command or CTRL-K insertions) are all weird characters. When I tried to use digraphs as fold markers, it worked, but the fold markers inserted are still those weird characters. Does any

Re: map CR Nop gives me headache!

2007-05-15 Thread Alberto Miorin
You can use the BufEnter or BufNew autocmd and test whether the 'buftype' option is set to 'quickfix' for the current buffer. - Yegappan I did this script, but it doesn't work. I open the quickfix window with :cope . I have to leave the quickfix window and come back to trigger the event

yanking text

2007-05-15 Thread Robert Cussons
Hi, I think a question like this was posted a long time ago, but I can't remember where or the answer, so please excuse me for asking it again. If I yank the next word with yw the cursor stays where it is. However if I want to yank text backwards from my current position for example to get the

RE: Vim Wiki - Wiki Template Proposal

2007-05-15 Thread Sebastian Menge
Am Dienstag, den 15.05.2007, 13:51 +0200 schrieb Zdenek Sekera: http://scratchpad.wikia.com/wiki/VimTest This page gives error on page message during loading plus some other message, but all flashes so quickly at the bottom of the Works for me... S.

Re: vim 7.1 and cr/lf interpretation

2007-05-15 Thread Jean-Rene David
* A.J.Mechelynck [2007.05.15 08:01]: If you had, as I already told you twice (this is the third one) done :set fileformats= :e ++ff=dos list02.p :w your file would have been repaired immediately. SO WHY DIDN'T YOU? Or equivalently: :e list02.p GAC-VC-MESC add ^M at

Re: Problem with digraphs through Putty

2007-05-15 Thread Micah Cowan
Jeenu V wrote: Hi Vimmers, I'm using VIM (version 6.2) through putty. The digraphs that are displayed (either through :dig command or CTRL-K insertions) are all weird characters. When I tried to use digraphs as fold markers, it worked, but the fold markers inserted are still those weird

RE: Vim Wiki - Wiki Template Proposal

2007-05-15 Thread Tom Purl
On Tue, May 15, 2007 7:46 am, Sebastian Menge wrote: Am Dienstag, den 15.05.2007, 13:51 +0200 schrieb Zdenek Sekera: http://scratchpad.wikia.com/wiki/VimTest Since I'm the *only* person who has so far voted against using wiki templates, I will accept the fact that I'm in the minority and get

Re: Vim Wiki - Wiki Template Proposal

2007-05-15 Thread Tom Purl
On Tue, May 15, 2007 9:51 am, fREW wrote: On 5/15/07, Sebastian Menge [EMAIL PROTECTED] wrote: Am Dienstag, den 15.05.2007, 10:03 +0200 schrieb Sebastian Menge: Now I have. There is a sample on http://scratchpad.wikia.com/wiki/VimTest But it leads to another problem: In a wiki we have no

Vim Wiki - Tip Page Formatting Deadline

2007-05-15 Thread Tom Purl
Task: Wiki Format Sign-Off Deadline: Monday, May 21st (arbitrary, I know) Overview We've had some great, constructive discussions lately regarding how we will be creating and editing tips in the future. Before we can finally decide how this is going to work, however, we need to

Re: vim 7.1 and cr/lf interpretation

2007-05-15 Thread Micah Cowan
Thomas Michael Engelke wrote: But that's arguing semantics when the core of the problem is known now. I apologize for having a different set of mind and not understanding the problem instantly. This is not a fair remark, considering I pointed out to you, privately, that he made the statement

Re: Vim Wiki - Wiki Template Proposal

2007-05-15 Thread Tom Purl
On Tue, May 15, 2007 10:13 am, fREW wrote: Also, check out the wikia site (vim.wiki.com). I uploaded Sebastian's logo. Thanks, Tom Purl I dig the page! That logo is great :-) I think you dropped off an a when you sent out the link though. http://vim.wikia.com/wiki/Main_Page Yikes!

Re: Vim Wiki - Wiki Template Proposal

2007-05-15 Thread Sebastian Menge
Am Dienstag, den 15.05.2007, 09:09 -0600 schrieb fREW: possible to wiki syntax. Could someone send out the script that was used to upload pages initially? It would be helpful to see it so that we could set up some translation code in the script. I adapted the script vimtips.py from the URL

Re: Vim Wiki - Wiki Template Proposal

2007-05-15 Thread Tom Purl
On Tue, May 15, 2007 10:39 am, Sebastian Menge wrote: I attach the three scripts (without any warranty ;-) ). But it would be better to use a svn repository when we work on it together... Can we get commit access to http://vimtips.googlecode.com/svn/trunk/scripts/ ? Sure, I can handle that.

RE: mouse-wheel scrolling with vertically split windows

2007-05-15 Thread Waters, Bill
If the right window is selected and I do CTRL-wheel, the right window will scroll. That is the only way that I can get the right window to scroll with the mouse wheel though. So, I am seeing similar behavior to yours, but not the exact same thing. --Bill -Original Message- From:

RE: mouse-wheel scrolling with vertically split windows

2007-05-15 Thread Waters, Bill
Bringing it up with gvim -u NONE -U NONE, I see guioptions=egmrLtT. I set it to your options (gimrLTt) and I see the same behavior as before - the mouse wheel only scrolls the left window. When running as a GUI, if I use my mouse wheel to scroll, the window under the mouse pointer scrolls,

RE: mouse-wheel scrolling with vertically split windows

2007-05-15 Thread Waters, Bill
Is there a way to map mouse-wheel to CTRL-mouse-wheel? That seems to be a work-around. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, May 14, 2007 6:43 PM To: Waters, Bill; vim Subject: Re: mouse-wheel scrolling with vertically split windows Yes,

Re: vim 7.1 and cr/lf interpretation

2007-05-15 Thread Micah Cowan
Thomas Michael Engelke wrote: 2007/5/15, Micah Cowan [EMAIL PROTECTED]: Thomas Michael Engelke wrote: But that's arguing semantics when the core of the problem is known now. I apologize for having a different set of mind and not understanding the problem instantly. This is not a fair

Re: Project specific settings

2007-05-15 Thread hermitte
Hello, Gary Johnson [EMAIL PROTECTED]: On 2007-05-14, Larson, David [EMAIL PROTECTED] wrote: From: Gary Johnson [mailto:[EMAIL PROTECTED] Sent: Monday, May 14, 2007 12:41 PM On 2007-05-14, [EMAIL PROTECTED] wrote: Another solution is to use plugins like local_vimrc.vim (there

RE: vim 7.1 and cr/lf interpretation

2007-05-15 Thread Gene Kwiecinski
fileformats=dos,unix, so both formats are available, yet the detection and switching does not seem to work. Are you sure _every_ line ends in ^M? Positive. Every single line shows an ^M at the end. set fileformat gives unix after loading. Setting fileformat to dos doesn't change the files

RE: vim 7.1 and cr/lf interpretation

2007-05-15 Thread Gene Kwiecinski
Uhhh, don't think it *should* automagically delete the ^Ms. I'm always running into that, and in addition to an almost reflexive alt-EIFD to go dos-mode, I *still* always have to ':s/^V^M' to get rid of 'em, and I'm wak, wak, wak I sit corrected, so before anyone yells at me :D I should point

Re: vim 7.1 and cr/lf interpretation

2007-05-15 Thread Micah Cowan
Gene Kwiecinski wrote: fileformats=dos,unix, so both formats are available, yet the detection and switching does not seem to work. Are you sure _every_ line ends in ^M? Positive. Every single line shows an ^M at the end. set fileformat gives unix after loading. Setting fileformat to dos

Re: Vim Wiki - Tip Page Formatting Deadline

2007-05-15 Thread Gary Johnson
On 2007-05-15, Tom Purl [EMAIL PROTECTED] wrote: Task: Wiki Format Sign-Off Deadline: Monday, May 21st (arbitrary, I know) Overview We've had some great, constructive discussions lately regarding how we will be creating and editing tips in the future. Before we can finally

VIM 7.1 compilation error

2007-05-15 Thread keedi
Hi, :-) I am faced by the difficulity during compiling the new version of vim 7.1. I think I already have dev packages(gtk2-dev, gnome2-dev, xft-dev, ...) but my system could not compile `gui_gtk_x11.c' Any helpful suggestions appreciated. :-) Regards, keedi I changed src/Makefile just

Re: yanking text

2007-05-15 Thread A.J.Mechelynck
Robert Cussons wrote: Hi, I think a question like this was posted a long time ago, but I can't remember where or the answer, so please excuse me for asking it again. If I yank the next word with yw the cursor stays where it is. However if I want to yank text backwards from my current position

enabling cyrillic character display support

2007-05-15 Thread Snucky
Hi, i am pretty much a newbie among the VIM-configurations though love to type in this editor. I have tried to get through by using the help and such but soon realized that it takes some hours to learn out all basics - which i am not interested in, at least right now. So, i know that there is