Bug in non-gui vim 7.0-178: Command line expansion for emenu doesn't work for menu entries containing a period.

2007-01-13 Thread Thomas
Hi, In the following, command line expansion works in gvim but not in vim: set nocompatible set wildmenu amenu test.etc\..1 :echo 1cr emenu test.{press tab} This presents no possible completion in vim, but correctly shows the submenu in gvim. Regards, Thomas.

Re: Bug in non-gui vim 7.0-178: Command line expansion for emenu doesn't work for menu entries containing a period.

2007-01-13 Thread Bram Moolenaar
Thomas wrote: In the following, command line expansion works in gvim but not in vim: set nocompatible set wildmenu amenu test.etc\..1 :echo 1cr emenu test.{press tab} This presents no possible completion in vim, but correctly shows the submenu in gvim. It works fine for me. Could

vim on cygwin using win32 clipboard

2007-01-13 Thread Frodak
Hi, One of the things I didn't like about using VIM with cygwin, is that although it's integrated with the posix layer, you didn't have access to the win32 clipboard. I've reused the clipboard handling code in os_mswin.c and had to make some minor modifications in a few other files. My goal

Re: Bug in non-gui vim 7.0-178: Command line expansion for emenu doesn't work for menu entries containing a period.

2007-01-13 Thread Thomas Link
set nocompatible set wildmenu amenu test.etc\..1 :echo 1cr emenu test.{press tab} This presents no possible completion in vim, but correctly shows the submenu in gvim. It works fine for me. Could there be something else that matters? I tried this with the terminal version on linux

use mesg/write out from Vim

2007-01-13 Thread Popovic Dan
Hi dear list memebers, i was wondering wether a chat whith Vim is possible or if a vim script for this yet exists: I often chat with other users via the shell command write. Since I know one kann execute any shell command inside vim, i ask myself if it is possible to have a chat-window within

Re: use mesg/write out from Vim

2007-01-13 Thread Albie Janse van Rensburg
Popovic Dan wrote: Hi dear list memebers, i was wondering wether a chat whith Vim is possible or if a vim script for this yet exists: I often chat with other users via the shell command write. Since I know one kann execute any shell command inside vim, i ask myself if it is possible to have

Re: use mesg/write out from Vim

2007-01-13 Thread danpopovic
Hello list, Tony and Albie, thanks for your suggestions. Till today I didn't know for the reasonable restrictions on allowing interactive programs in Vim . It seems to me that the vim_shell extension/script should satisfy my wishes. Best regards, Dan -Ursprüngliche Nachricht- Von:

Can I delete this control sequence?

2007-01-13 Thread Anthony Campbell
I've imported a lot of files from a DOS word processor. These have lots of control sequences of the form M-J ) New lines I think). I can search for the M, which is Return, but I don't see any way to get the -J. Is it possible? Anthony This message has been scanned for viruses by BlackSpider

Re: Can I delete this control sequence?

2007-01-13 Thread Tim Chase
I've imported a lot of files from a DOS word processor. These have lots of control sequences of the form M-J ) New lines I think). I can search for the M, which is Return, but I don't see any way to get the -J. Is it possible? IIUC, you have CR/LF pairs in the incoming file and want do do

Re: Can I delete this control sequence?

2007-01-13 Thread Anthony Campbell
On 13 Jan 2007, Tim Chase wrote: I've imported a lot of files from a DOS word processor. These have lots of control sequences of the form M-J ) New lines I think). I can search for the M, which is Return, but I don't see any way to get the -J. Is it possible? IIUC, you have CR/LF pairs in

Re: Can I delete this control sequence?

2007-01-13 Thread Tim Chase
I'm not worried about the original line breaks. I think these controls were put in by the WP to be reformatable.ends of lines. But they don't seem to be ordinary CR/LF. Anyway, the problem is that -J is not recognized as a control sequence by vim so I can't search for it or replace it. The

Re: Can I delete this control sequence?

2007-01-13 Thread Anthony Campbell
On 13 Jan 2007, Tim Chase wrote: And, with xdd, I get arcadia:~/tmp:$ xxd extract 000: 200d 8a20 0d0a Is this any help? Ah...the most telling/helpful aspect! :) You might be able to use :%s/\r\%x8a//g (typed literally) to nuke those items, or replace them with your favorite

Re: Can I delete this control sequence?

2007-01-13 Thread Bill McCarthy
On Sat 13-Jan-07 10:01am -0600, Anthony Campbell wrote: I've imported a lot of files from a DOS word processor. These have lots of control sequences of the form M-J ) New lines I think). I can search for the M, which is Return, but I don't see any way to get the -J. Is it possible? I have

Re: Reformat in visual area - vmap question

2007-01-13 Thread DervishD
Hi Jean Rene :) * Jean-Rene David [EMAIL PROTECTED] dixit: * DervishD [2007.01.12 07:45]: * A.J.Mechelynck [EMAIL PROTECTED] dixit: [...] Beware of ' and ` though: they are used in Normal mode for mark movements. Yes, but both keys do the same, so I'm on the safe side if

Re: Reformat in visual area - vmap question

2007-01-13 Thread DervishD
Hi Tim :) * Tim Chase [EMAIL PROTECTED] dixit: Yes, ñ or ç would be good. Beware of ' and ` though: they are used in Normal mode for mark movements. Yes, but both keys do the same, so I'm on the safe side if I choose only one of them, am I wrong? They do similar, but not

Re: Encoding problem

2007-01-13 Thread DervishD
Hi Tony :) * A.J.Mechelynck [EMAIL PROTECTED] dixit: :scriptencoding applies no farther than the end of the current script. And does it affect sourced scripts or should I put that line in all scripts? It doesn't affect sourced scripts. Each script should include or not include

C++ Syntax highlighting for Identifier, Statement

2007-01-13 Thread Matt England
I'm trying to get function names, class names, objects, variables and similar things to appear as non-white text with 'syntax on'. I thus far have been unsuccessful. I can get many other constructs (constants, types, keywords, etc) to be highlighted, but not the things mentioned above.

last line view in gvim

2007-01-13 Thread Ilia N Ternovich
Hi all! Is there any opportunity to watch only for last 2-3 lines in vim buffer while watching for some big output? This means that when I create some buffer in vim, then run in it some process, that produces big output ( for example gdb debugger ) I want to see only last lines produced this