Re: vim-display problem?!

2006-12-12 Thread Matthew Winn
On Mon, 11 Dec 2006 19:00:27 +0800, [EMAIL PROTECTED] wrote: No, this is not a problem. This is a feature... ;-) It's not even a feature. It's the right way of doing things. The character (or characters, if it's a DOS file) at the end of each line aren't line _separators_ but line

Re: vim-display problem?!

2006-12-12 Thread Yakov Lerner
On 12/11/06, dong wang [EMAIL PROTECTED] wrote: I found a problem ( sorry , here i just call it problem ) when i edit a csv file. That is the vim don't display the last line as a seperate line when i do set nu For exmaple , use Notepad.exe (or some other Editor) to create a file , and do

I wonder if can I display the current date time at the bottom of Vim ?

2006-12-12 Thread KLEIN Stéphane
Hi, I wonder if can I display the current date time at the bottom of Vim like in emacs status bar ? Thanks for your help, Stephane

Re[2]: vim-display problem?!

2006-12-12 Thread mbbill
Hello Matthew, Tuesday, December 12, 2006, 5:00:30 PM, you wrote: ?On Mon, 11 Dec 2006 19:00:27 +0800, [EMAIL PROTECTED] wrote: ?No, this is not a problem. This is a feature... ;-) ?It's not even a feature. It's the right way of doing things. ?The character (or characters, if it's a DOS file)

Re: I wonder if can I display the current date time at the bottom of Vim ?

2006-12-12 Thread Yakov Lerner
On 12/12/06, KLEIN Stéphane [EMAIL PROTECTED] wrote: I wonder if can I display the current date time at the bottom of Vim like in emacs status bar ? On one hand, you can use strftime() inside %{...} in statusline :he 'statusline' :he strftime :helpgrep %{ and 'set

Re: vim70: Dictionaries echo vs echom: Bug?

2006-12-12 Thread Bram Moolenaar
Sanoblast wrote: Looking back, now that Vim script has become much more complex, a bit more type checking would be good. A valid point. Mabye this could be done by an assert command/function that checks its arguments or does nothing depending on an option (maybe

regexp substitution problem

2006-12-12 Thread Bram Kuijper
Hi, I am quite new to vim and just started to use regular expressions to replace certain amounts of text. For example, in the following piece of text I would like to keep only the first column and delete the rest: optimal_value_viability | real| default 0.0 number_generations

Re: regexp substitution problem

2006-12-12 Thread zzapper
Bram Kuijper [EMAIL PROTECTED] wrote in news:457F106C.6060207 @rug.nl: Hi, I am quite new to vim and just started to use regular expressions to replace certain amounts of text. For example, in the following piece of text I would like to keep only the first column and delete the rest:

Re: regexp substitution problem

2006-12-12 Thread Charles E Campbell Jr
Bram Kuijper wrote: I am quite new to vim and just started to use regular expressions to replace certain amounts of text. For example, in the following piece of text I would like to keep only the first column and delete the rest: optimal_value_viability | real| default 0.0

Re: regexp substitution problem

2006-12-12 Thread Charles E Campbell Jr
Bram Kuijper wrote: I am quite new to vim and just started to use regular expressions to replace certain amounts of text. For example, in the following piece of text I ... Whoops! Looks like I removed the first column, but you wanted to keep just the first column. Try :%s/\s*|.*$//

Re: vim-display problem?!

2006-12-12 Thread A.J.Mechelynck
mbbill wrote: Hello Matthew, Tuesday, December 12, 2006, 5:00:30 PM, you wrote: ?On Mon, 11 Dec 2006 19:00:27 +0800, [EMAIL PROTECTED] wrote: ?No, this is not a problem. This is a feature... ;-) ?It's not even a feature. It's the right way of doing things. ?The character (or

Re: regexp substitution problem

2006-12-12 Thread zzapper
zzapper [EMAIL PROTECTED] wrote in news:Xns9897D2B986F7zzappergmailcom@ 80.91.229.5: :%s/\s\+|.* You need to backslash the +, but not the | or simpler but possibly morally inferior :%s/\s*|.* -- zzapper http://successtheory.com/tips/ Vim, Zsh, MySQL Tips

RE: vim-display problem?!

2006-12-12 Thread Dan Mergens
I've always held the belief that emacs was devised to maintain a steady flow of carpul tunnel syndrome patients. Of course there is always the option of an all visual editor, like Microsoft Visual Studio which encourages the minimal typing in the hopes of global assimilation. Dan Mergens

Re: regexp substitution problem

2006-12-12 Thread Bill McCarthy
On Tue 12-Dec-06 2:26pm -0600, Bram Kuijper wrote: I am quite new to vim and just started to use regular expressions to replace certain amounts of text. For example, in the following piece of text I would like to keep only the first column and delete the rest: optimal_value_viability

vim 7 python completion

2006-12-12 Thread Andrea Spadaccini
Hello everybody, I can't get the python omni-completion to work, can anybody help me? Are there any special steps to make it work? Can you point me to a tutorial? Thanks in advance, -- [ Andrea Spadaccini - a.k.a. Lupino - from Catania - ICQ #: 91528290 ] [ GPG ID: 5D41ABF0 - key on keyservers

RE: I can't make gvim the default application for .txt files in WinXP

2006-12-12 Thread Jeffrey Robertson
Jeffrey Robertson wrote: No. That's my problem. How does gvim tell Windows to make itself an option in this list? [...] A.J.Mechelynck wrote: I'm not sure; I think it's something in the registry. Maybe the install program should do it. Have you installed Vim from Steve Hall's

Re: I can't make gvim the default application for .txt files in WinXP

2006-12-12 Thread Bill McCarthy
On Tue 12-Dec-06 4:43pm -0600, Jeffrey Robertson wrote: A.J.Mechelynck wrote: I'm not sure; I think it's something in the registry. Maybe the install program should do it. Have you installed Vim from Steve Hall's self-installer

Re: vim 7 python completion

2006-12-12 Thread Karl Guertin
On 12/12/06, Andrea Spadaccini [EMAIL PROTECTED] wrote: Hello everybody, I can't get the python omni-completion to work, can anybody help me? Are there any special steps to make it work? Can you point me to a tutorial? To cover the basics, is your vim compiled with +python? vim --version |