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 ...
was removing everything... it wasn't, it was just working
properly... you delete spaces and they are kept, as blank lines... the
size of the file is the same but you just have to look in the bottom!
A mere :%s/$/\r suffices then, as Tim said
vim is just great!
Pau
2007/1/5, Vim Visual [EMAIL
Hi,
I have a long bibliography file for a latex document and I must put
the references in order. Unfortunately the different authors have used
different styles, so that I have two blocks.
In the first block all references look like
Hi,
I have a text file like
Mr Bla Blo
Ms Ble Blu
Dr Bli Blu
etc
and I would like to sort the file alphabetically after the surname
(3rd column). How can I do that? I know how to sort it after the first
one (visual + !sort)
thanks!
Pau
sorry, I got it:
sort -k 3
The problem now are midnames, like
Mr Bla Blo
Ms Ble Blu
Dr Bli T. Blu
but I have deleted them :)
2006/11/22, Vim Visual [EMAIL PROTECTED]:
Hi,
I have a text file like
Mr Bla Blo
Ms Ble Blu
Dr Bli Blu
etc
and I would like to sort the file alphabetically after
Hi,
I guess you already know that typping
set -o vi
sets the cursor to vi mode... but vi indeed... Is there a way to set
the cursor to vim, and load all map, ab etc defined in my vimrc? It'd
great because I have to type a lot of times long commands like rsync
-avurltz --rsh=ssh --progress
ah!
I love you!
you solved the problem!
My encoding was set to UTF-8, though
2006/10/16, A.J.Mechelynck [EMAIL PROTECTED]:
Vim Visual wrote:
Hi,
is there a way to remove all those strange symbols (and substitute
them with proper caracters) you get when you select a text section
from
Hey!
Thanks! This worked out perfectly
Now I have another question to you...
The final file, which I got thanks to the help of all of you, is to be
embedded into another web page...
Which command should I add in the script to tell vi to embed it in the
correct place?
At the moment I do
Hi Tim,
somehow my email was partially deleted... ??
cat file | vim -
What stands the - for?
Then, clean up the stuff we don't want
1,/received/d
$?^\s*For subscribe options?,$d
to strip off the header and footer.
this worked out nicely
My first-pass solution will end
Hi,
I am struggling with sed and gawk but I guess that it'd be possible to
employ vim in the command line (it's to make a script that will be
automatically launched every 24 hours) but I don't have any idea of
how to do it...
How could I select the blocks (see file ahead) of a text file (say
10 matches
Mail list logo