vim-7.0.035 linux motif gui crashes immediately (test16)

2006-06-30 Thread raf
hi, on linux-2.6.17.1 (ubuntu-6.06, core duo), vim-7.0.035 with motif/lesstif crashes immediately when :gui or -g is used (e.g. test16). or is it just me? the :version output and two examples are included below. cheers, raf :version VIM - Vi IMproved 7.0 (2006 May 7, compiled Jun 30 2006

vim mac close button state patch

2006-06-30 Thread Nicolas Weber
Hi, this patch sets the close button state according to Indicating Changes With the Close Button in the Apple HIG ( http:// developer.apple.com/documentation/UserExperience/Conceptual/ OSXHIGuidelines/XHIGWindows/chapter_17_section_3.html ). I set the button state in gui_mch_flush(), if a

Re: insert space after comma based on context

2006-06-30 Thread Luc Hermitte
Hello, * On Fri, Jun 30, 2006 at 09:03:57AM +0800, Dr Bean [EMAIL PROTECTED] wrote: Is there a way to not insert a space based on context around the cursor so that if the text before cursor is [xxx, or (xxx, no space will be inserted? He used the function InsertIfNotAfter() I define

Re: Disable Windows shortcuts in GVIM

2006-06-30 Thread Marc Demlenne
That's it ... Thanks very much ! On 6/29/06, Tim Chase [EMAIL PROTECTED] wrote: How is it possible, using GVIM, to forbid Windows executing commands destinated to VIM? e.g CTRL-V (Virtual select) is interpreted as Paste by MS. CTRL-A as select all, ... How can I disable this, and retrieve

Preserving undo through save

2006-06-30 Thread Thomas Michael Engelke
Hello! I'm not sure if it was always the case or if this is a recent change (through vim 7). I am not able to undo anything after saving a file. Is this normal? What settings are involved? How can I change this behaviour? The help-file for undo is pretty silent regarding this. Regards, Thomas

Re: Preserving undo through save

2006-06-30 Thread Anthony Campbell
On 30 Jun 2006, Thomas Michael Engelke wrote: Hello! I'm not sure if it was always the case or if this is a recent change (through vim 7). I am not able to undo anything after saving a file. Is this normal? What settings are involved? How can I change this behaviour? The help-file for undo

Get hold of a function name

2006-06-30 Thread Preben Randhol
Hi I use the script pydoc.vim (http://www.vim.org/scripts/script.php?script_id=910) to pull out the documentation of functions in python. It is a great script. One can use \pW or \pw to get the documentation of the function under the cursor (by using Word, word). Problem is that if one has the

Re: Preserving undo through save

2006-06-30 Thread Thomas Michael Engelke
2006/6/30, Michael Naumann [EMAIL PROTECTED]: Do you have :set hidden If not, you should. HTH, Michael On Friday 30 June 2006 11:59, Thomas Michael Engelke wrote: Hello! I'm not sure if it was always the case or if this is a recent change (through vim 7). I am not able to undo anything

Re: Get hold of a function name

2006-06-30 Thread Preben Randhol
Preben Randhol [EMAIL PROTECTED] wrote on 30/06/2006 (13:01) : Hi I use the script pydoc.vim (http://www.vim.org/scripts/script.php?script_id=910) to pull out the documentation of functions in python. It is a great script. One can use \pW or \pw to get the documentation of the function

Problem doing diffs using win 2000

2006-06-30 Thread Wolfgang Schmidt
Hi, I just installed gvim70 (from the self-extracting exe) on WIN 2K system. Everything seems to work, exept the diff functionality. If I do a diff, e.g. C:\Programme\Vimvim _vimrc -d _vimrc.bak I get 2 Dateien zum Editieren Das angegebene Programm kann nicht ausgeführt werden. E97:

s?

2006-06-30 Thread Wim R. Crols
Hi, Not really a request for help, but I was wondering if you guys ever use the 's' command. It's just a shortcut for 'cl', which I almost never need. Since I don't assume it was put in to be complete or something, I'm intrigued by it's enigmatic purpose. :) Thanks, Wim

Re: s?

2006-06-30 Thread Tim Chase
Not really a request for help, but I was wondering if you guys ever use the 's' command. It's just a shortcut for 'cl', which I almost never need. Since I don't assume it was put in to be complete or something, I'm intrigued by it's enigmatic purpose. :) I'll admit that it took me a while

Re: s?

2006-06-30 Thread Peter Slizik
Not really a request for help, but I was wondering if you guys ever use the 's' command. It's just a shortcut for 'cl', which I almost never need. Since I don't assume it was put in to be complete or something, I'm intrigued by it's enigmatic purpose. :) Well, I use it when I want to

Re: s?

2006-06-30 Thread Michael Naumann
On Friday 30 June 2006 15:16, Wim R. Crols wrote: Peter Slizik wrote: Not really a request for help, but I was wondering if you guys ever use the 's' command. It's just a shortcut for 'cl', which I almost never need. Since I don't assume it was put in to be complete or something, I'm

Re: s?

2006-06-30 Thread Eric Arnold
I can't remember why or when (it was so long ago), but I've always used 's' and 'S' in 'vi'. It never really occured to me to use 'cl' instead. It was just another command in the list. It was part of the original 'vi', but I'm not sure if you meant that by 'put in to be complete'. It is no

strange :w behavior

2006-06-30 Thread Dimitriy V. Masterov
I am having a strange issue with :w. Instead of just writing the whole buffer to the current file, it also creates another copy of the file. I don't think this is normal behavior. Is there a way to turn it off? I am running Vim 7.0 on XP. Dimitriy

Re: strange :w behavior

2006-06-30 Thread Yakov Lerner
On 6/30/06, Dimitriy V. Masterov [EMAIL PROTECTED] wrote: I am having a strange issue with :w. Instead of just writing the whole buffer to the current file, it also creates another copy of the file. Copy where ? Under which name ? Yakov

Re: strange :w behavior

2006-06-30 Thread Yakov Lerner
On 6/30/06, Dimitriy V. Masterov [EMAIL PROTECTED] wrote: I am having a strange issue with :w. Instead of just writing the whole buffer to the current file, it also creates another copy of the file. Copy where ? Under which name ? In the same directory, with the the same name, but a tilde

Re: strange :w behavior

2006-06-30 Thread Dimitriy V. Masterov
Great advice. Putting set nobackup in my _gvimrc remedies the problem. I believe that the underlying issue was the compatible setting. DVM

Any programs to format numbers out there?

2006-06-30 Thread Mun Johl
Hi, When in vim, I often want to format numbers. For example, when editing a Verilog file, I want to quickly change 12345678 to 12_345_678 for readability; and when editing an email, sometimes I'd like to change 12345678 to 12,345,678 . I did a search for programs to format numbers, but didn't

Re: Any programs to format numbers out there?

2006-06-30 Thread Jean-Pierre Radley
Mun Johl typed (on Fri, Jun 30, 2006 at 03:43:34PM -0700): | Hi, | | When in vim, I often want to format numbers. For example, when editing | a Verilog file, I want to quickly change 12345678 to 12_345_678 for | readability; and when editing an email, sometimes I'd like to change | 12345678 to