Re: alphabetical order of a long bibl file

2007-01-05 Thread Vim Visual
HI, thanks for the answer. If I try that the whole reference blocks are deleted... If I do it after having selected them on visual mode, I get Not an editor command If you want to try yourself, the whole file is here http://www.aei.mpg.de/~pau/biblio_TOT.bbl vim version 7.0.42 here ...

RE: .vimrc from URL

2007-01-05 Thread Hugo Ahlenius
| I change my .vimrc very often, and I use vim | in many computers. The result is that my changes | are not always updated to all computers. Mauricio, Maybe you should consider having your .vimrc (and other vim configuration files, like plugins etc) under source control? I have all my personal

Re: .vimrc from URL

2007-01-05 Thread Albie Janse van Rensburg
Hi all (Hugo, sorry about the double-post - I replied *wrong*) I find this idea of a net-vimrc very interesting, so I have made a simple .vimrc that the OP can use: === so $VIMRUNTIME/plugin/netrwPlugin.vim Nread {website}_vimrc.http sav! ~/__vimrc so ~/__vimrc

[Fwd: Re: .vimrc from URL]

2007-01-05 Thread A.J.Mechelynck
Forwarding to list. Original Message Subject: Re: .vimrc from URL Date: Fri, 5 Jan 2007 13:12:41 +0200 From: Albie Janse van Rensburg [EMAIL PROTECTED] To: A.J.Mechelynck [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]

Re: alphabetical order of a long bibl file

2007-01-05 Thread Vim Visual
gosh, I was wrong! you don't even need vim7 for that... just visual, !sort -k 2 and that's it the problem is that after that the block are no longer separated by whitespaces and a BIG blank screen is showed but the rerefences are ahead, in the bottom of the file... That's why I thought vim was

:sort by date

2007-01-05 Thread striker
I have a text file in the format: 01/04/2007,field1,field2,field3 01/03/2007,field1,field2,field3 12/30/2006,field1,field2,field3 etc... I need to sort by date, but the new dates in 2007 are placed first in the sort algorithm. How can I sort by the entire date in the format above? TIA,

Re: :sort by date

2007-01-05 Thread Tim Chase
I have a text file in the format: 01/04/2007,field1,field2,field3 01/03/2007,field1,field2,field3 12/30/2006,field1,field2,field3 etc... I need to sort by date, but the new dates in 2007 are placed first in the sort algorithm. How can I sort by the entire date in the format above? You can

Re: :sort by date

2007-01-05 Thread Erlend Hamberg
On Friday 05 January 2007 15:47, striker wrote: I have a text file in the format: 01/04/2007,field1,field2,field3 01/03/2007,field1,field2,field3 12/30/2006,field1,field2,field3 etc... I need to sort by date, but the new dates in 2007 are placed first in the sort algorithm. How can I sort

Re: How to open multiple files in split windows?

2007-01-05 Thread Charles E Campbell Jr
Peng Yu wrote: gvim a b The above command will open a and b. But only one file will be show at one time. How to show them in to split windows? Tim already showed how to open the two files in split windows by modifying the command above. However, if one has already typed gvim a b and then

Re: .vimrc from URL

2007-01-05 Thread Albie
Hi DrChip I have updated netrw. I then checked out a page from my ftp server using Nread ftp://morph.t.../_vimrc Then, to save it back, I used: Nwrite ftp://mo.../_vimrc Now I get a new, much improved error message:

Re: :sort by date

2007-01-05 Thread Gary Johnson
On 2007-01-05, Erlend Hamberg [EMAIL PROTECTED] wrote: On Friday 05 January 2007 15:47, striker wrote: I have a text file in the format: 01/04/2007,field1,field2,field3 01/03/2007,field1,field2,field3 12/30/2006,field1,field2,field3 etc... I need to sort by date, but the new dates

Re: :sort by date

2007-01-05 Thread Bill McCarthy
On Fri 5-Jan-07 1:04pm -0600, Gary Johnson wrote: On 2007-01-05, Erlend Hamberg [EMAIL PROTECTED] wrote: On Friday 05 January 2007 15:47, striker wrote: I have a text file in the format: 01/04/2007,field1,field2,field3 01/03/2007,field1,field2,field3 12/30/2006,field1,field2,field3

Re: :sort by date

2007-01-05 Thread A.J.Mechelynck
Gary Johnson wrote: On 2007-01-05, Erlend Hamberg [EMAIL PROTECTED] wrote: On Friday 05 January 2007 15:47, striker wrote: I have a text file in the format: 01/04/2007,field1,field2,field3 01/03/2007,field1,field2,field3 12/30/2006,field1,field2,field3 etc... I need to sort by date, but the

Re: :sort by date

2007-01-05 Thread Gary Johnson
On 2007-01-05, Bill McCarthy [EMAIL PROTECTED] wrote: On Fri 5-Jan-07 1:04pm -0600, Gary Johnson wrote: On 2007-01-05, Erlend Hamberg [EMAIL PROTECTED] wrote: On Friday 05 January 2007 15:47, striker wrote: I have a text file in the format: 01/04/2007,field1,field2,field3

map the arrow keys

2007-01-05 Thread Rui Gonçalves
is possible change the meaning of key combination shiftleft-arrow to go to begin of line in insert mode? thanks

help with multi environment vim on xp

2007-01-05 Thread Marc Bernstein
I have cygwin and xp needs for editing files on xp. In addition most of the scripts I edit are destined for use on unix and possibly windows as well (Perl).brbrAfter extensive search I am still looking for a cogent explanation about how best to setup the xp environment for seamless use of gvim,

Re: map the arrow keys

2007-01-05 Thread A.J.Mechelynck
Rui Gonçalves wrote: is possible change the meaning of key combination shiftleft-arrow to go to begin of line in insert mode? thanks :map!S-LeftHome Best regards, Tony.

Re: help with multi environment vim on xp

2007-01-05 Thread A.J.Mechelynck
Marc Bernstein wrote: I have cygwin and xp needs for editing files on xp. In addition most of the scripts I edit are destined for use on unix and possibly windows as well (Perl).brbrAfter extensive search I am still looking for a cogent explanation about how best to setup the xp environment for

Re: map the arrow keys

2007-01-05 Thread A.J.Mechelynck
Rui Gonçalves wrote: On 1/5/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: Rui Gonçalves wrote: is possible change the meaning of key combination shiftleft-arrow to go to begin of line in insert mode? thanks :map!S-LeftHome Best regards, Tony. I forgot... i use MacOSX. in

Re: help with multi environment vim on xp

2007-01-05 Thread Gary Johnson
On 2007-01-05, Marc Bernstein [EMAIL PROTECTED] wrote: I have cygwin and xp needs for editing files on xp. In addition most of the scripts I edit are destined for use on unix and possibly windows as well (Perl). After extensive search I am still looking for a cogent explanation about how

Perl plugin example

2007-01-05 Thread David Fishburn
I just searched through the help and didn't find anything to get me started. I have written many Vim plugins using VimL, but in this case I need to write one using Perl. I also want to use Perl's DBI interface. Does anyone have a perl/vim plugin that I can use as a template to get me started?

Re: map the arrow keys

2007-01-05 Thread A.J.Mechelynck
Rui Gonçalves wrote: is possible change the meaning of key combination shiftleft-arrow to go to begin of line in insert mode? :map!S-LeftHome I forgot... i use MacOSX. in MacOSX the Home key doesn' t work that way. In Vim the Home key works that key. Maybe not

Re: map the arrow keys

2007-01-05 Thread Rui Gonçalves
Ah. This means (apparently) that Vim doesn't properly recognise your Shift-Left key combo. This could mean either that the keys are not passed to it, or that the termcap/terminfo entry is bad. Are you using gvim (with its graphical display) or Console Vim (within the Terminal app)? Does the

Re: map the arrow keys

2007-01-05 Thread A.J.Mechelynck
Rui Gonçalves wrote: Ah. This means (apparently) that Vim doesn't properly recognise your Shift-Left key combo. This could mean either that the keys are not passed to it, or that the termcap/terminfo entry is bad. Are you using gvim (with its graphical display) or Console Vim (within the

Re: help with multi environment vim on xp

2007-01-05 Thread Marc Bernstein
Thanks so much! I have a few specific startup env questions. If I am going to use the gvim that comes with cygwin for cygwin command prompt, I presume all I need to do is put .vim and the antecedent files in my home directory. To keep things simple, I would of course set the path etc in .bashrc

Re: help with multi environment vim on xp

2007-01-05 Thread A.J.Mechelynck
Marc Bernstein wrote: Thanks so much! I have a few specific startup env questions. If I am going to use the gvim that comes with cygwin for cygwin command prompt, I presume all I need to do is put .vim and the antecedent files in my home directory. To keep things simple, I would of course set

Re: .vimrc from URL

2007-01-05 Thread Maurí­cio
I change my .vimrc very often, and I use vim in many computers. (...) Mauricio, Maybe you should consider having your .vimrc (and other vim configuration files, like plugins etc) under source control? I have all my personal vimfiles directory + .vimrc under subversion, and it works very

Re: .vimrc from URL

2007-01-05 Thread Maurí­cio
I change my .vimrc very often, and I use vim in many computers. The result is that my changes are not always updated to all computers. Is it possible to ask vim to update its .vimrc from an URL, like an FTP address? The vimrc is sourced before the global plugins, in particular before

Re: help with multi environment vim on xp

2007-01-05 Thread Marc Weber
On Fri, Jan 05, 2007 at 12:35:57PM -0800, Marc Bernstein wrote: I have cygwin and xp needs for editing files on xp. In addition most of the scripts I edit are destined for use on unix and possibly windows as well (Perl).brbrAfter extensive search I am still looking for a cogent explanation

RE: Perl plugin example

2007-01-05 Thread Suresh Govindachar
David Fishburn indicated that: [has written many plugins in VimL; wants to write on in perl; looking for perl/vim plugin examples] The best tip for getting started with perl/vim is in the Additional Notes section dated October 29, 2001 23:02 for a tip by Benoit Cerrin:

Re: Vim Scripting - passing parameters to/from Perl code using Perl interface

2007-01-05 Thread Suresh Govindachar
Marcin Komorowski asked a long time ago around Thursday, September 22, 2005 6:24 PM Vim provides a very nice way of executing Perl code right within Vim scripts, but I have been trying to find a way to pass parameters to this code, and return parameters from it. I have been

Vim and Unicode supplementary chars

2007-01-05 Thread Kenneth Reid Beesley
I've started looking at vim again, and as far as I can see, it handles Unicode supplementary chars internally, but still doesn't render them properly. E.g. if you enter CTRL-V U00010400 the character is in the buffer, and can be written to file, but all you see on the screen is a question mark.

Re: Vim and Unicode supplementary chars

2007-01-05 Thread LandSurveyor
Your secret to success is 'digraphs'. Vim provides its' own method of displaying many special characters. While in vim, type :help digraphs-and enjoy! -Original Message- From: Kenneth Reid Beesley [EMAIL PROTECTED] Sent: Jan 6, 2007 12:30 AM To: vim@vim.org Subject: Vim and Unicode