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 proc

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. I've

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

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 simila

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

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 h

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 favori

Re: Can I delete this control sequence?

2007-01-13 Thread Tim Chase
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 contents. And I get to put "\%x" o

Re: Can I delete this control sequence?

2007-01-13 Thread Anthony Campbell
If you could, would it be possible to post an excerpt of a dump of the file through xxd/od? This will help determine exactly what the file contains at these junctures. Or, perhaps you can even determine from such output exactly what is following the CR. If it truly is a CR/LF pair, and your

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: >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'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 som

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: 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:

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

Re: use mesg/write out from Vim

2007-01-13 Thread A.J.Mechelynck
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

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