Re: yanking text

2007-05-16 Thread Robert Cussons
A.J.Mechelynck wrote: 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

Identify this Vim font for me, please

2007-05-16 Thread madiyaan
Hello, This isn't very related to Vim, but I found this font on Vim's wikipedia webpage: http://upload.wikimedia.org/wikipedia/commons/8/8c/Vim-%28logiciel%29-console.png Can anyone identify this font for me? It looks very good for programming. Thank you very much, -- View this message in

RE: Vim Wiki - Tip Page Formatting Deadline

2007-05-16 Thread Zdenek Sekera
-Original Message- From: Tom Purl [mailto:[EMAIL PROTECTED] Sent: 15 May 2007 17:24 To: vim@vim.org Subject: Vim Wiki - Tip Page Formatting Deadline Task: Wiki Format Sign-Off Deadline: Monday, May 21st (arbitrary, I know) Overview We've had some great,

Re: Vim Wiki - Tip Page Formatting Deadline

2007-05-16 Thread fREW
On 5/15/07, 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 decide how

Re: vim 7.1 and cr/lf interpretation

2007-05-16 Thread A.J.Mechelynck
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: enabling cyrillic character display support

2007-05-16 Thread Yongwei Wu
Hi Snucky, On 16/05/07, Snucky [EMAIL PROTECTED] wrote: 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

Vim71: breaking change not mentioned in the document.

2007-05-16 Thread panshizhu
Hi, vimmers: The line 1230 of editing.txt said: To change to the directory of the current file: :cd %:h This works for Vim 7.0 and before, but not for Vim 7.1. In Vim 7.1 when the pwd is the same as the directory of current file, the command will fail with E500. The failure will break

RE: Vim Wiki - Tip Page Formatting Deadline

2007-05-16 Thread Sebastian Menge
Am Mittwoch, den 16.05.2007, 09:43 +0200 schrieb Zdenek Sekera: - Tip2 template is seems fine to me. - Who will or how it will be decided what are the different 'complexity' (what terms will be allowed)? I also vote for v2 (though i wrote v1 :-) ) And lets dont forget, that the layout of

Re: Vim Wiki - Tip Page Formatting Deadline

2007-05-16 Thread A. S. Budden
On 15/05/07, 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 decide how

Re: vim 7.1 and cr/lf interpretation

2007-05-16 Thread Thomas Michael Engelke
2007/5/15, Micah Cowan [EMAIL PROTECTED]: Please note that he had already given you this exact same answer already in his last message, including and especially the bit that \n is an end-of-line (line terminator), not a open-new-line (line separator). This is generally true for all operating

Re: Vim71: breaking change not mentioned in the document.

2007-05-16 Thread Gary Johnson
On 2007-05-16, [EMAIL PROTECTED] wrote: Hi, vimmers: The line 1230 of editing.txt said: To change to the directory of the current file: :cd %:h This works for Vim 7.0 and before, but not for Vim 7.1. In Vim 7.1 when the pwd is the same as the directory of current file, the

Tip #80: Restore cursor to file position in previous editing session does not work on Ubuntu

2007-05-16 Thread Tushar Desai
This tip (which restores cursor to the last position in previous editing session) is the lifeline of any developer and it works great for me at work (on Fedora Core 6). I've Ubuntu 7.04 @home and I just compiled and installed vim7.1 and this doesn't work for me. It didn't work with vim7.0 either.

Re: Vim Wiki - Tip Page Formatting Deadline

2007-05-16 Thread Martin Krischik
Am Dienstag 15 Mai 2007 schrieb Tom Purl: Task: Wiki Format Sign-Off Deadline: Monday, May 21st (arbitrary, I know) I like Template 2 more. How do you want to handle comments? Typically on a Mediawiki site, you sign you comments like so: This is so cool! Which is

Re: Vim Wiki - Wiki Template Proposal

2007-05-16 Thread Martin Krischik
Am Dienstag 15 Mai 2007 schrieb Zdenek Sekera: Problem with asking for more opinions is that you may end up with too many. Current WikiMedia allows for default values and if|then|else structures. So Templates can have beginner and expert options. Martin -- Martin Krischik mailto://[EMAIL

Re: wiki hosting

2007-05-16 Thread Martin Krischik
Am Dienstag 15 Mai 2007 schrieb 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

Re: Vim Wiki - Wiki Template Proposal

2007-05-16 Thread Martin Krischik
Am Dienstag 15 Mai 2007 schrieb Tom Purl: On Mon, May 14, 2007 2:49 pm, Martin Krischik wrote: Am Montag 14 Mai 2007 schrieb Tom Purl: So far, we know about the opinions of me and Sebastian. What does everyone else think? Is the template thing a good idea for our wiki? Templates tend

Re: Vim71: breaking change not mentioned in the document.

2007-05-16 Thread panshizhu
Gary Johnson [EMAIL PROTECTED] 写于 2007-05-16 16:41:22: On 2007-05-16, [EMAIL PROTECTED] wrote: Hi, vimmers: The line 1230 of editing.txt said: To change to the directory of the current file: :cd %:h This works for Vim 7.0 and before, but not for Vim 7.1. In Vim 7.1 when

Re: Tip #80: Restore cursor to file position in previous editing session does not work on Ubuntu

2007-05-16 Thread François Ingelrest
Hi, You should try to have a look at this bug and see if it's the same problem: https://bugs.launchpad.net/ubuntu/+bug/58002 On 5/16/07, Tushar Desai [EMAIL PROTECTED] wrote: This tip (which restores cursor to the last position in previous editing session) is the lifeline of any developer and

Re: Vim Wiki - Wiki Template Proposal

2007-05-16 Thread fREW
On 5/15/07, Sebastian Menge [EMAIL PROTECTED] wrote: 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

Re: vim 7.1 and cr/lf interpretation

2007-05-16 Thread Thomas Michael Engelke
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 remark, considering I pointed out to

Re: Vim Wiki - Tip Page Formatting Deadline

2007-05-16 Thread fREW
On 5/15/07, Gary Johnson [EMAIL PROTECTED] wrote: 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

Re: Vim Wiki - Wiki Template Proposal

2007-05-16 Thread fREW
On 5/15/07, Tom Purl [EMAIL PROTECTED] wrote: 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

Re: Vim and email quoting

2007-05-16 Thread Benjamin Esham
fREW wrote: On 5/12/07, Troy Piggins [EMAIL PROTECTED] wrote: * Timothy Knox is quoted my replies are inline below : I use vim to write my outgoing email, and for the most part, it rocks. Thanks to all the folks who have written modules and provided tips that make it the best thing for

Re: Vim Wiki - Wiki Template Proposal

2007-05-16 Thread fREW
On 5/15/07, fREW [EMAIL PROTECTED] wrote: On 5/15/07, Sebastian Menge [EMAIL PROTECTED] wrote: 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

calling normal commands from ex/a function

2007-05-16 Thread fREW
Hey everyone, How do I have a function call Normal commands? Example: I'd like to make a function that will open a certain file, and then set the foldlevel to 1, and then go to the right window. So I have: function TodoListMode() execute :e ~/.todo.otl execute :Calendar endfunction and

Re: vim 7.1 and cr/lf interpretation

2007-05-16 Thread John Beckett
Thomas Michael Engelke wrote: In the programming language I currently write, using the seperator string somewhere in the string I'm parsing gives a new entry. So a string containing only a line seperator char/pattern would have 2 entries, which in this case would mean 2 lines. As I see now, this

Re: Vim Wiki - Tip Page Formatting Deadline

2007-05-16 Thread John Beckett
Sebastian Menge wrote: Therefore, I would vote for using tip-title == page-title and let the categorization be done by [[Category:VimTip]]. Using Wikipedia standards (CamelCaseIsUgly) we would get pages like The Super Star and we could reuse the title in the template. We would lose the tip-id

Re: Vim Wiki - Wiki Template Proposal

2007-05-16 Thread John Beckett
Martin Krischik wrote: We should not include comments on the content page! That's what the discussion page is for. You are very keen on that point, so I'm going into a bit of detail about why I don't agree. A wiki discussion page (as you know!) is intended for people to discuss the future of

Re: Vim Wiki - Tip Page Formatting Deadline

2007-05-16 Thread Brian McKee
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15-May-07, at 3:02 PM, Gary Johnson wrote: Please take a look at these tips, decide which one you prefer, and then provide constructive criticism for that tip's format. There's no such thing as a dumb comment. I much prefer VimTip1 v2.

Re: calling normal commands from ex/a function

2007-05-16 Thread Robert Cussons
fREW wrote: Hey everyone, How do I have a function call Normal commands? Example: I'd like to make a function that will open a certain file, and then set the foldlevel to 1, and then go to the right window. So I have: function TodoListMode() execute :e ~/.todo.otl execute :Calendar

Syntax highlightning

2007-05-16 Thread Meier Zwei
Hi list, I'm currently customizing my one syntax file for C and C++. Therby I don't understand one little detail: How can I outline C functions? I didn't find a syntax file that does similar. Greetings from Cologne Meier

Re: Tip #80: Restore cursor to file position in previous editing session does not work on Ubuntu

2007-05-16 Thread fREW
On 5/15/07, Tushar Desai [EMAIL PROTECTED] wrote: This tip (which restores cursor to the last position in previous editing session) is the lifeline of any developer and it works great for me at work (on Fedora Core 6). I've Ubuntu 7.04 @home and I just compiled and installed vim7.1 and this

Re: calling normal commands from ex/a function

2007-05-16 Thread Charles E Campbell Jr
fREW wrote: Hey everyone, How do I have a function call Normal commands? Example: I'd like to make a function that will open a certain file, and then set the foldlevel to 1, and then go to the right window. So I have: function TodoListMode() execute :e ~/.todo.otl execute :Calendar

Re: Vim Wiki - Wiki Template Proposal

2007-05-16 Thread fREW
On 5/16/07, John Beckett [EMAIL PROTECTED] wrote: Martin Krischik wrote: We should not include comments on the content page! That's what the discussion page is for. You are very keen on that point, so I'm going into a bit of detail about why I don't agree. A wiki discussion page (as you

Re: calling normal commands from ex/a function

2007-05-16 Thread fREW
On 5/16/07, Charles E Campbell Jr [EMAIL PROTECTED] wrote: fREW wrote: Hey everyone, How do I have a function call Normal commands? Example: I'd like to make a function that will open a certain file, and then set the foldlevel to 1, and then go to the right window. So I have: function

RE: Vim Wiki - Tip Page Formatting Deadline

2007-05-16 Thread Gene Kwiecinski
Thinking about how a wiki works shows that keeping tip numbers is doomed. First, there is no auto-increment id, and as you point out, there is no reasonable way to automate fixes. Is there any equivalent to javascript's document.lastModified? Can create a serial number based on the date of

Re: Identify this Vim font for me, please

2007-05-16 Thread Dudley Fox
On 5/16/07, madiyaan [EMAIL PROTECTED] wrote: Hello, This isn't very related to Vim, but I found this font on Vim's wikipedia webpage: http://upload.wikimedia.org/wikipedia/commons/8/8c/Vim-%28logiciel%29-console.png Can anyone identify this font for me? It looks very good for programming.

Re: Tip #80: Restore cursor to file position in previous editing session does not work on Ubuntu

2007-05-16 Thread Tushar Desai
Yes this is the same issue. Thanks for the pointer... On 5/16/07, François Ingelrest [EMAIL PROTECTED] wrote: Hi, You should try to have a look at this bug and see if it's the same problem: https://bugs.launchpad.net/ubuntu/+bug/58002 On 5/16/07, Tushar Desai [EMAIL PROTECTED] wrote: This

RE: Identify this Vim font for me, please

2007-05-16 Thread Gene Kwiecinski
This isn't very related to Vim, but I found this font on Vim's wikipedia webpage: http://upload.wikimedia.org/wikipedia/commons/8/8c/Vim-%28logiciel%29-c onsole.png Can anyone identify this font for me? It looks very good for programming. Eww. That dates back to the crappy default IBM font

Re: Vim Wiki - Wiki Template Proposal

2007-05-16 Thread Martin Krischik
Am Mittwoch 16 Mai 2007 schrieb John Beckett: A wiki discussion page (as you know!) is intended for people to discuss the future of the page. And most valuable comments are about improving the tip. However, we hope that will be temporary. Perhaps I should say that *I* hope it will be

regex help

2007-05-16 Thread Brian McKee
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All I'm trying to work out if it's possible to refer to 'the previous line' in a regex. e.g. if the first 8 characters of a line are blank, ^\s{8} replace them with the 8 characters at the start of the previous line. Ideally it would

Re: Vim71: breaking change not mentioned in the document.

2007-05-16 Thread Gary Johnson
On 2007-05-16, [EMAIL PROTECTED] wrote: Gary Johnson [EMAIL PROTECTED] 2007-05-16 16:41:22: On 2007-05-16, [EMAIL PROTECTED] wrote: Hi, vimmers: The line 1230 of editing.txt said: To change to the directory of the current file: :cd %:h This works for Vim 7.0

Automatically select encoding based on certain characters present in the file

2007-05-16 Thread Szabolcs Horvát
I have fileencodings=ucs-bom,utf-8,latin1. But I would like to use latin2 instead of latin1 for files that contain the characters 0xf5 or 0xfb (ő and ű in latin2). I tried to modify the example that is given on the help page for 'fileencodings', like this: au BufReadPost * if fenc == latin1

Re: Syntax highlightning

2007-05-16 Thread Ian Tegebo
On 5/16/07, Meier Zwei [EMAIL PROTECTED] wrote: Hi list, I'm currently customizing my one syntax file for C and C++. Therby I don't understand one little detail: How can I outline C functions? I didn't find a syntax file that does similar. What do you mean by outline? There is a vimscript

Re: regex help

2007-05-16 Thread Brian McKee
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 16-May-07, at 12:49 PM, Gene Kwiecinski wrote: :g/^\(.{8}\)\(.*\)\n\(\s{8}\)/s//\1\2\r\1/ Well, :g/^\(.\{8}\)\(.*\)\n\(\s{8}\)/s//\1\2\r\1/ ^ works, but I'd have to run it 12 times if there are twelve blanks after the filled in

RE: regex help

2007-05-16 Thread Gene Kwiecinski
:g/^\(.{8}\)\(.*\)\n\(\s{8}\)/s//\1\2\r\1/ Well, :g/^\(.\{8}\)\(.*\)\n\(\s{8}\)/s//\1\2\r\1/ ^ works, but I'd have to run it 12 times if there are twelve blanks after the filled in line. Hm? Not sure why you escaped the '{'. Apparently didn't need to after the \s. I suppose global

comments after brackets with vim?

2007-05-16 Thread Simon Butler
So, anyone done something like this before, i'm about to break out the vim scripting manual.. :( -- hi, when i write this skill (cadence extension language) fragment in emacs i get the following: procedure( vscCheckpointHier( @key lib cell view message inclibs ) let(( ddCVs

Re: regex help

2007-05-16 Thread Brian McKee
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 16-May-07, at 1:05 PM, Tim Chase wrote: :g/^\s\{8}/-s/^\(.\{8}\).*\n\zs\s\{8}/\1 I don't understand that regex completely - but it deletes lines of data :-) Looks like it globably matches the 'blank start' lines, then searches in that

Re: regex help

2007-05-16 Thread Tim Chase
I'm trying to work out if it's possible to refer to 'the previous line' in a regex. e.g. if the first 8 characters of a line are blank, ^\s{8} replace them with the 8 characters at the start of the previous line. Ideally it would handle a line a time, thus multiple blank line starts

Re: regex help

2007-05-16 Thread Brian McKee
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 16-May-07, at 2:23 PM, Gene Kwiecinski wrote: :g/^\(.{8}\)\(.*\)\n\(\s{8}\)/s//\1\2\r\1/ Well, :g/^\(.\{8}\)\(.*\)\n\(\s{8}\)/s//\1\2\r\1/ ^ works, but I'd have to run it 12 times if there are twelve blanks after the filled in line.

Re: regex help

2007-05-16 Thread Brian McKee
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 16-May-07, at 2:27 PM, Tim Chase wrote: :g/^\s\+/k a|?^\S?y|'a|s/^\s\+/\=strpart(@, 0, strlen(submatch(0))) That works dunno what it does... but that works :-) I'm going to record that little gem, and put it aside for a bedtime

Re: regex help

2007-05-16 Thread Tim Chase
:g/^\s\{8}/-s/^\(.\{8}\).*\n\zs\s\{8}/\1 I don't understand that regex completely - but it deletes lines of data :-) Looks like it globably matches the 'blank start' lines, then searches in that for the pattern - thus deleting the third line... That's really odd...the \zs *should* be forcing

Re: Go to start of visual selection

2007-05-16 Thread Andy Wokula
Andy Wokula schrieb: Tim Chase schrieb: How can I move the cursor the start of the visual selection? With the o command, yes. But how can I make sure the cursor is at the start while visual mode is on? The ` motion followed by gv sets the cursor back to the end if it was there. I think it

RE: regex help

2007-05-16 Thread Gene Kwiecinski
Well, :g/^\(.\{8}\)\(.*\)\n\(\s{8}\)/s//\1\2\r\1/ ^ works, but I'd have to run it 12 times if there are twelve blanks after the filled in line. Hm? Not sure why you escaped the '{'. Apparently didn't need to after the \s. You are right - it was a typo - I actually need to escape both

OT: net neutrality comments to FCC

2007-05-16 Thread Alan G Isaac
Apologies if this is too off topic! (And it mostly interests US residents, I think.) I am looking at this through the lens of securing my access to the Vim website. The FCC is accepting public comment on Docket 07-52, In the Matter of Broadband Industry Practices. Essential, large ISPs are

Re: Identify this Vim font for me, please

2007-05-16 Thread Friedrich Strohmaier
Hi madiyaan, *, madiyaan schrieb: Hello, This isn't very related to Vim, but I found this font on Vim's wikipedia webpage: http://upload.wikimedia.org/wikipedia/commons/8/8c/Vim-%28logiciel%29console.png Can anyone identify this font for me? It's called console and I'm using it every day.

Re: Syntax highlightning

2007-05-16 Thread Manfred Rondorf
What do you mean by outline? I think outline was the wrong word. I just want to highlight functions. -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

Re: Identify this Vim font for me, please

2007-05-16 Thread Greg Novack
Thus spake madiyaan [05/16/07 @ 00.41.45 -0700]: Hello, This isn't very related to Vim, but I found this font on Vim's wikipedia webpage: http://upload.wikimedia.org/wikipedia/commons/8/8c/Vim-%28logiciel%29-console.png Can anyone identify this font for me? It looks very good for

Re: OT: net neutrality comments to FCC

2007-05-16 Thread Alan G Isaac
Someone wrote: Here is the URL for submitting e-mail comments: http://www.fcc.gov/cgb/ecfs/email.html I found it by starting at the FCC home page, www.fcc.gov and following the link from the left side-bar labeled Filing Public Comments, main. That page didn't have 07-52, so I followed

Re: Vim Wiki - Tip Page Formatting Deadline

2007-05-16 Thread A.J.Mechelynck
Gene Kwiecinski wrote: Thinking about how a wiki works shows that keeping tip numbers is doomed. First, there is no auto-increment id, and as you point out, there is no reasonable way to automate fixes. Is there any equivalent to javascript's document.lastModified? Can create a serial number

Re: Vim Wiki - Tip Page Formatting Deadline

2007-05-16 Thread fREW
On 5/16/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: Gene Kwiecinski wrote: Thinking about how a wiki works shows that keeping tip numbers is doomed. First, there is no auto-increment id, and as you point out, there is no reasonable way to automate fixes. Is there any equivalent to

Re: enabling cyrillic character display support

2007-05-16 Thread A.J.Mechelynck
Yongwei Wu wrote: [...] If you are courageous enough see a real-world example of complicated multi-language support, check my _vimrc at: http://wyw.dcweb.cn/download.asp?path=vimfile=_vimrc.txt (as text) or http://wyw.dcweb.cn/download.asp?path=vimfile=_vimrc.html (as HTML) Best regards,

Re: Vim71: breaking change not mentioned in the document.

2007-05-16 Thread panshizhu
Gary Johnson [EMAIL PROTECTED] 写于 2007-05-17 00:35:42: On 2007-05-16, [EMAIL PROTECTED] wrote: Gary Johnson [EMAIL PROTECTED] 2007-05-16 16:41:22: On 2007-05-16, [EMAIL PROTECTED] wrote: Hi, vimmers: The line 1230 of editing.txt said: To change to the directory of

Re: Identify this Vim font for me, please

2007-05-16 Thread A.J.Mechelynck
madiyaan wrote: Hello, This isn't very related to Vim, but I found this font on Vim's wikipedia webpage: http://upload.wikimedia.org/wikipedia/commons/8/8c/Vim-%28logiciel%29-console.png Can anyone identify this font for me? It looks very good for programming. Thank you very much, That's

Re: Vim71: breaking change not mentioned in the document.

2007-05-16 Thread Gary Johnson
On 2007-05-17, [EMAIL PROTECTED] wrote: Gary Johnson [EMAIL PROTECTED] 2007-05-17 00:35:42: On 2007-05-16, [EMAIL PROTECTED] wrote: Gary Johnson [EMAIL PROTECTED] 2007-05-16 16:41:22: On 2007-05-16, [EMAIL PROTECTED] wrote: Hi, vimmers: The line 1230 of

embedable vim?

2007-05-16 Thread Franco Saliola
Is there a way to embed vim into my browser (or any other application for that matter)? I hate typing in the html text boxes and would much prefer to use vim to edit my email. Or are there any suggestions on reading/writing email using Gmail and Vim? I'll create a tip if I figure out a good

Re: Vim71: breaking change not mentioned in the document.

2007-05-16 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Hi, vimmers: The line 1230 of editing.txt said: To change to the directory of the current file: :cd %:h This works for Vim 7.0 and before, but not for Vim 7.1. In Vim 7.1 when the pwd is the same as the directory of current file, the command will fail with

Re: Identify this Vim font for me, please

2007-05-16 Thread panshizhu
A.J.Mechelynck [EMAIL PROTECTED] 写于 2007-05-17 09:19:03: I don't think that font is available on Motorola Macs (including Power PCs). It may or may not be available in Intel Macs but I don't know how to get at it. Maybe the same way on OS X as on Linux above, I'm not sure. Best regards, Tony.

Re: embedable vim?

2007-05-16 Thread fREW
On 5/16/07, Franco Saliola [EMAIL PROTECTED] wrote: Is there a way to embed vim into my browser (or any other application for that matter)? I hate typing in the html text boxes and would much prefer to use vim to edit my email. Or are there any suggestions on reading/writing email using Gmail

Re: embedable vim?

2007-05-16 Thread Pete Johns
On Wed, 2007-05-16 at 21:26:10 -0400, Franco Saliola sent: I hate typing in the html text boxes and would much prefer to use vim to edit my email. Don't we all? Using w3m, it's easy to use Vim to edittext areas. I shall assume that you are using a graphic web-browser and assume further that you

Re: embedable vim?

2007-05-16 Thread Chris Grau
On Wed, May 16, 2007 at 09:26:10PM -0400, Franco Saliola wrote: Is there a way to embed vim into my browser (or any other application for that matter)? I hate typing in the html text boxes and would much prefer to use vim to edit my email. Or are there any suggestions on reading/writing

Re: map CR Nop gives me headache!

2007-05-16 Thread Winfred Lu
function! RaiseEnter() if getbufvar(, buftype) == quickfix nunmap CR endif endfunction function! KillEnter() if getbufvar(, buftype) == quickfix nmap CR Nop endif endfunction Try this out. function! RaiseEnter() let i =

Re: embedable vim?

2007-05-16 Thread A.J.Mechelynck
Franco Saliola wrote: Is there a way to embed vim into my browser (or any other application for that matter)? I hate typing in the html text boxes and would much prefer to use vim to edit my email. Or are there any suggestions on reading/writing email using Gmail and Vim? I'll create a tip if

Flashing omnicomplete menu

2007-05-16 Thread Michael F. Lamb
In gVim (and console vim) 7.0 under linux, when using omnicomplete with a large list of choices, scrolling through the list causes the whole omnicomplete menu to be cleared and redrawn, which creates an annoying flashing effect. Is this a bug? Is there a way to fix this?

Re: enabling cyrillic character display support

2007-05-16 Thread Snucky
Yongwei Wu wrote: Please describe in more detail, so other people understand if it is a display issue or encoding issue. The above discussion addresses the encoding issue, i.e., the Cyrillic characters are displayed in Latin-1 or things like that. If some squares are in the place of the

Re: embedable vim?

2007-05-16 Thread Greg Novack
Thus spake Franco Saliola [05/16/07 @ 21.26.10 -0400]: Is there a way to embed vim into my browser (or any other application for that matter)? I hate typing in the html text boxes and would much prefer to use vim to edit my email. Or are there any suggestions on reading/writing email

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

2007-05-16 Thread A.J.Mechelynck
Forward to vim-dev list. See my comments at bottom. Original Message Subject: Re: compiling vim7.1 (huge version) gets build with normal version Date: Tue, 15 May 2007 08:14:28 -0700 From: Tushar Desai [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: A.J.Mechelynck [EMAIL

Re: paste clipboard as visual block mode

2007-05-16 Thread Nikolai Weibull
On 5/16/07, Ernie Rael [EMAIL PROTECTED] wrote: For jvi, not vim, I want to implement a way to p the clipboard as though it were yank'd in block mode. I couldn't see anyway in the vim doc to do this so I'm guessing that this is not supported. This could be used to paste a rectangular selection

Re: MSVC build option about default library MSVCRT

2007-05-16 Thread Yongwei Wu
Hi Bram, On 15/05/07, Bram Moolenaar [EMAIL PROTECTED] wrote: [redirecting to vim-dev] 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)

Re: new text object feature request

2007-05-16 Thread Peter Hodge
--- Larson, David [EMAIL PROTECTED] wrote: 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

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

2007-05-16 Thread A.J.Mechelynck
Stephan Hegel wrote: A.J.Mechelynck wrote: patch -p0 patches/7.1.001 patch -p0 patches/7.1.002 As long as you have two patches this can be done easily. But what if you have 100+ ? Then try this: cat patches/7.1.* patchfile patch -p0 patchfile rm patchfile Done. Rgds, Stephan.

Three small patches

2007-05-16 Thread Nico Weber
Hi, I wanted to send this several days ago, but the lists kept rejecting my mails (silently). Took me a while to figure out that my mail client started send mails from @gmx.net instead of @gmx.de. Hi, here are some low-risk patches to improve the mac experience of vim 7.1. I hope they

RE: MSVC build option about default library MSVCRT

2007-05-16 Thread Doug Cook
Bram is wise. Adding a nodefaultlib:msvcrt could potentially break things if you set USE_MSVCRT=1 to use the CRT DLL instead of statically linking the CRT. The problem is that you're linking a static-CRT version of Vim with DLL-CRT versions of ActiveState components. The problem is not with Vim's

Bug in completion

2007-05-16 Thread Gautam Iyer
Hi All, I see the following bug: 1. Open Vim, and vertically split into two windows. 2. File name complete something with very long file names (longer than the width of the window you're typing into). The screen is hodge podge. There are uncleared pieces of the completion menu

Re: Compiling Vim

2007-05-16 Thread A.J.Mechelynck
fREW wrote: Hey Tony, What is the URL for your Vim Compile site? I can't find the link anywhere. Thanks! -fREW Method I: Start at my home portal http://users.skynet.be/antoine.mechelynck/ Click The Vim Editor then the two bottom links in the list at top left point to my HowTo pages for