Re: breakindent, take 2

2007-05-30 Thread Václav Šmilauer
What do you think? I prefer (c) from implementation, efficiency and intuitivity perspective. I agree. Strongly. Based on popular demand, this patch implements, in addition, 'breakindentshift' (brishift). It seems to work well, report problems. And please suggestions for some shorter names:

[ANN] vimgdb 1.11

2007-05-30 Thread Xavier de Gaye
Hi all Vimgdb 1.11 is a port of vimgb to Vim 7.1. Vimgdb is a vim patch implemented as a vim optional feature that provides full gdb support in the vim editor: breakpoints, watch variables, gdb command completion, assembly windows, etc. You can get vimgdb from http://clewn.sourceforge.net.

Re: Tear off this menu in messages-history

2007-05-30 Thread Edward L. Fox
To Yongwei: Does this patch solve your problem? To Bram: Please consider adding this patch. I think it is really a bug. Index: src/gui_w32.c === --- src/gui_w32.c (revision 296) +++ src/gui_w32.c (working copy) @@

Re: Tear off this menu in messages-history

2007-05-30 Thread Yongwei Wu
Hi Edward, On 30/05/07, Edward L. Fox [EMAIL PROTECTED] wrote: To Yongwei: Does this patch solve your problem? To Bram: Please consider adding this patch. I think it is really a bug. Index: src/gui_w32.c === --- src/gui_w32.c

Re: Is there a xml formatter?

2007-05-30 Thread panshizhu
wangxu [EMAIL PROTECTED] 写于 2007-05-31 01:17:41: I want to have this function: formatting my xml file automatically. or,indent xml element and attributes. is there any plugin like this? thanks! did you set autoindent ? provide that there's $VIMRUNTIME/indent/xml.vim it should do automatic

Re: Is there a xml formatter?

2007-05-30 Thread Peter Palm
Op woensdag 30 mei 2007, schreef wangxu: I want to have this function: formatting my xml file automatically. or,indent xml element and attributes. is there any plugin like this? thanks! Well, if you're on a unix machine with xmllint installed, you could do the following: setlocal

Re: Why bottom-posting is prefered on Vim Mainling List?

2007-05-30 Thread Matthew Winn
On Tue, 29 May 2007 21:29:57 +0200, David Ne?as (Yeti) [EMAIL PROTECTED] wrote: On Tue, May 29, 2007 at 09:14:43PM +0200, Tobias Klausmann wrote: PS: On another note: how do you (as in y'all) feel about somebody re-arranging your text when quoting you? I guess the simple parts

Re: Why bottom-posting is prefered on Vim Mainling List?

2007-05-30 Thread Sebastian Menge
Am Dienstag, den 29.05.2007, 17:05 +0800 schrieb [EMAIL PROTECTED]: PS: This Off-topic thread has been talked long and I'm sorry to bring excess load to vim mailing list, please mail directly to me if any vimmer friends wants to talk futher about it. Thanks. This was a very good comment.

Re: Vim over cifs share

2007-05-30 Thread Tobia
Fabien Meghazi wrote: I've got a problem while editing files through a cifs share. (probably a datestamp problem) Each time I write buffer to the opened file, vim prompts this : WARNING: The file has been changed since reading it!!! Do you really want to write to it (y/n)? I know it's not

Re: Tip#166 Caps_lock and Escape switch and imwheel

2007-05-30 Thread Robert Cussons
Robert Cussons wrote: --snip-- So, on with the problem. I was using the excellent Tip#166 to switch the Caps Lock and Escape keys and it worked wonderfully. Then on Friday, I tried to install imwheel as non-root, don't know if this is possible, but I read the documentation and it didn't

OT: Vi in a browser...

2007-05-30 Thread Tim Chase
Just stumbled across this link: http://gpl.internetconnection.net/vi/ for a basic implementation of Vi, authored in JavaScript. Sick, sick, sick. So just in case you're on a foreign computer that doesn't have vi/vim installed, and you need a fix, you can get it via the web. :) -tim

Re: Is there a xml formatter?

2007-05-30 Thread A.J.Mechelynck
wangxu wrote: I want to have this function: formatting my xml file automatically. or,indent xml element and attributes. is there any plugin like this? thanks! I see that an indent/xml.vim is distributed with Vim. Try the following: 1) In you vimrc, make sure that you enable

Encoding

2007-05-30 Thread Damir Zucic
Hi everybody, I have just recently installed my new linux box. It runs openSUSE 10.2, and I have upgraded vim to version 7.0.243 . Before, I have used older vim versions (6 and older). In the past I have used ctrl-vdecimal_number to insert special characters (there are five uppercase and five

Re: OT: Vi in a browser...

2007-05-30 Thread Tobias Klausmann
Hi! On Wed, 30 May 2007, Tim Chase wrote: Just stumbled across this link: http://gpl.internetconnection.net/vi/ for a basic implementation of Vi, authored in JavaScript. Sick, sick, sick. So just in case you're on a foreign computer that doesn't have vi/vim installed, and you need

Re: Encoding

2007-05-30 Thread Yeti
On Wed, May 30, 2007 at 04:16:57PM +0200, Damir Zucic wrote: In the past I have used ctrl-vdecimal_number to insert special characters (there are five uppercase and five lowercase exotic characters in Croatian language). A single byte was used to store each of these characters. However, in

Re: Encoding

2007-05-30 Thread A.J.Mechelynck
Damir Zucic wrote: Hi everybody, I have just recently installed my new linux box. It runs openSUSE 10.2, and I have upgraded vim to version 7.0.243 . Before, I have used older vim versions (6 and older). In the past I have used ctrl-vdecimal_number to insert special characters (there are five

Re: Vim over cifs share

2007-05-30 Thread Fabien Meghazi
Each time I write buffer to the opened file, vim prompts this : WARNING: The file has been changed since reading it!!! Do you really want to write to it (y/n)? I know it's not an answer to what you asked, but I've usually been able to fix this issue by: - ntpdate pool.ntp.org (or equivalent

Re: Is there a xml formatter?

2007-05-30 Thread fREW
Or just try gg=G after you had opened your xml file. 4) to reformat an existing file: gggqG What is the actual difference of these two commands? I usually use = for code and gq for text, so I presumed that one was for formatting and one was for 'linewidth'ing. -- -fREW

Re: Is there a xml formatter?

2007-05-30 Thread A.J.Mechelynck
fREW wrote: Or just try gg=G after you had opened your xml file. 4) to reformat an existing file: gggqG What is the actual difference of these two commands? I usually use = for code and gq for text, so I presumed that one was for formatting and one was for 'linewidth'ing. You

window ordering

2007-05-30 Thread Boyko Bantchev
Hi all! With :sp and :vs, new windows open in bottom-up and right-to-left order, respectively. Is it possible to change this to top-down and left-to-right? For some reason -- including, perhaps, that I've always only used languages with top-down, left-to-right writing direction -- I find that

JSVI: Vi implemented in Javascript

2007-05-30 Thread Kevin Old
Not sure if everyone's seen this, but it's definitely cool and quite accurate. http://ajaxian.com/archives/jsvi-you-love-vi-you-love-javascript-now-you-have-both -- Kevin Old [EMAIL PROTECTED]

RE: window ordering

2007-05-30 Thread Larson, David
Hi Boyko, Yes there is. See: :help 'splitright' :help 'splitbelow' HTH, David -Original Message- From: Boyko Bantchev [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 30, 2007 11:16 AM To: vim@vim.org Subject: window ordering Hi all! With :sp and :vs, new windows open in bottom-up and

Re: JSVI: Vi implemented in Javascript

2007-05-30 Thread A.J.Mechelynck
Kevin Old wrote: Not sure if everyone's seen this, but it's definitely cool and quite accurate. http://ajaxian.com/archives/jsvi-you-love-vi-you-love-javascript-now-you-have-both Hmm... when's the day when Vim will be implemented in Lisp, so if the boss wants everyone to use Emacs, we

Re: JSVI: Vi implemented in Javascript

2007-05-30 Thread Tobias Klausmann
Hi! On Wed, 30 May 2007, A.J.Mechelynck wrote: Kevin Old wrote: Not sure if everyone's seen this, but it's definitely cool and quite accurate. http://ajaxian.com/archives/jsvi-you-love-vi-you-love-javascript-now-you-have-both Hmm... when's the day when Vim will be implemented in

Re: JSVI: Vi implemented in Javascript

2007-05-30 Thread François Pinard
[Tobias Klausmann] On Wed, 30 May 2007, A.J.Mechelynck wrote: Hmm... when's the day when Vim will be implemented in Lisp [...] Of course, that has already been done. It's called viper: http://www.delorie.com/gnu/docs/emacs/viper.html Viper Is a Package for Emacs Rebels. It's quite far

Re: JSVI: Vi implemented in Javascript

2007-05-30 Thread A.J.Mechelynck
Tobias Klausmann wrote: Hi! On Wed, 30 May 2007, A.J.Mechelynck wrote: [...] Hmm... when's the day when Vim will be implemented in Lisp, so if the boss wants everyone to use Emacs, we can obey and still have the look, feel and functionality of Vim? (Not necessarily the speed, though.)

Re: Is there a xml formatter?

2007-05-30 Thread fREW
On 5/30/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: fREW wrote: Or just try gg=G after you had opened your xml file. 4) to reformat an existing file: gggqG What is the actual difference of these two commands? I usually use = for code and gq for text, so I presumed that one was

Re: JSVI: Vi implemented in Javascript

2007-05-30 Thread fREW
On 5/30/07, Kevin Old [EMAIL PROTECTED] wrote: Not sure if everyone's seen this, but it's definitely cool and quite accurate. http://ajaxian.com/archives/jsvi-you-love-vi-you-love-javascript-now-you-have-both -- Kevin Old [EMAIL PROTECTED] Wow... That is brilliant. I kinda wish I were

Re: JSVI: Vi implemented in Javascript

2007-05-30 Thread Tobias Klausmann
Hi! On Wed, 30 May 2007, A.J.Mechelynck wrote: Tobias Klausmann wrote: Hi! On Wed, 30 May 2007, A.J.Mechelynck wrote: [...] Hmm... when's the day when Vim will be implemented in Lisp, so if the boss wants everyone to use Emacs, we can obey and still have the look, feel and

RE: Is there a xml formatter?

2007-05-30 Thread David Fishburn
Op woensdag 30 mei 2007, schreef wangxu: I want to have this function: formatting my xml file automatically. or,indent xml element and attributes. is there any plugin like this? thanks! Well, if you're on a unix machine with xmllint installed, you could do the following:

Re: JSVI: Vi implemented in Javascript

2007-05-30 Thread Antony Scriven
On 5/30/07, François Pinard [EMAIL PROTECTED] wrote: [Tobias Klausmann] On Wed, 30 May 2007, A.J.Mechelynck wrote: Hmm... when's the day when Vim will be implemented in Lisp [...] Of course, that has already been done. It's called viper: http://www.delorie.com/gnu/docs/emacs/viper.html

Re: Why bottom-posting is prefered on Vim Mainling List?

2007-05-30 Thread Jean-Rene David
* [EMAIL PROTECTED] [2007.05.29 05:15]: See, though I always do trim, I still suffered from those who do not trim and use bottom-posting. I take it your mail program doesn't have a hide-quoted-text function. Who says text-based mail programs are primitive? :-) -- JR

No Previous Regular expression

2007-05-30 Thread Tim Johnson
Using vim 7.0 on kubuntu 7.04 (feisty fawn amd 64) I've recently migrated from vim 6-something on slack 10.0 On my previous version and box, if I searched on an expression in one file, closed it and opened another, n would continue with the search. Now, I get an E35: No previous regular

Re: No Previous Regular expression

2007-05-30 Thread A.J.Mechelynck
Tim Johnson wrote: Using vim 7.0 on kubuntu 7.04 (feisty fawn amd 64) I've recently migrated from vim 6-something on slack 10.0 On my previous version and box, if I searched on an expression in one file, closed it and opened another, n would continue with the search. Now, I get an E35: No

Re: OT: Vi in a browser...

2007-05-30 Thread Edward L. Fox
On 5/30/07, Tobias Klausmann [EMAIL PROTECTED] wrote: [...] as for the classic use case of wanting to edit textfields vim-style (longer blog posts come to mind), I usually use MozEx, an extension to FF, which allows to use any editor for such things. It has more features but I don't use any of

plugins in vim 7.1

2007-05-30 Thread Tushar Desai
Hello, I recently upgraded from vim 7.0 to vim 7.1 (on ubuntu feisty) by compiling the vim7.1 tarball. However, it looks like my plugins are not working, For example, the plugin that used to highlight matching braces/parentheses is not doing so. I downloaded a cscope_maps.vim plugin for some