Re: Deleting lines from L1 to L2 in Vim script

2006-05-30 Thread Baha-Eddine MOKADEM

OK thank you for your help.
And how about deleting from line L1 for instance to the end of the file.
And put it in a script file, since "G" don't appear like a regexp and
$ represent end of line if I'm not wrong ?


Deleting lines from L1 to L2 in Vim script

2006-05-30 Thread Baha-Eddine MOKADEM

Hi,


I would like to to delete line from L1 to L2, I try to script that but
obviously commands are different for a script.
What is the right thing to do ?

Thank you.

Eddine.


Vertical selection

2006-05-18 Thread Baha-Eddine MOKADEM

Hi all,

Is it possible to make a vertical selection in a text, to have a
rectangular selection in the text ?
If so, how ?

thank you,
best regads.

Eddine


Re: Multiline file appearing in one line under Vim

2006-05-17 Thread Baha-Eddine MOKADEM

2006/5/17, Georg Dahn <[EMAIL PROTECTED]>:

Hi!

My guess is: notepad breaks at column 1024. In notepad the first two
lines of your file have exact 1024 characters. This could be a
notepad limitation.

Best wishes,
Georg



Is there a way to make profit of this kind of limitation. Or is there
a way to cut the single line so I can have n lines of the same L
length ?


Multiline file appearing in one line under Vim

2006-05-17 Thread Baha-Eddine MOKADEM

I'm attaching the file so you can have a better idea.
And it's not a problem of wrapped unwrapped option on Vim.
The file is indeed converted from EBCDIC format to ASCII (through dd
command) it could explain but I won't able to say why.

Eddine.
90021865300028  186520201052A0059016049E 
01459643   270720010925
FRAMO09082001 014  432  
EURR+008186110+0+0+0+0+0+00311598012

+0+0+0+0+0+0+000

+0+0+0+0+0+0+000

+0+0+0+0+0+0+000

+0+0+0+0+0+0+000
  14150   0001N07145WE14
   1 DTY
 101930785  90021865
300028  186520201512001 60015565 01532786   
12072001O FRAMC0509200109052006 
110  431  
EURR+000100690+0+0+0+0+0+012

+0+0+0+0+0+0+000

+0+0+0+0+0+0+000

+0+0+0+0+0+0+000

+0+0+0+0+0+0+000
 MAIRIE DE PARIS99000   000
1N0693NNS75  1 FES  
   203263576
  90021865300028  186520201063ZB  
A0059037655Q 03600316   040420031450
06000FRAMO17042003 011  932 
 
EURR+00100+0+0+0+0+0+01226
  
EURR+000145368+0+0+0+0+0+012

+0+0+0+0+0+0+000

+0+0+0+0+0+0+000

+0+0+0+0+0+0+000
 BRIOLA OLIVIER 06230   244AYB062484150137G
1O1537AYT06 CHAKI ABDELGHANI 1 SPG  
   340008714
  


Multiline file appearing in one line under Vim

2006-05-17 Thread Baha-Eddine MOKADEM

Hi all,


I have a file which behaves differently whether edited with win32
Notepad and gVim.
When opened in notepad I got several lines, which is the most
convenient "layout" for me, but when opened in gVim I got the file in
only one line.

I tried to set "ff" to "dos" but it does not have any effect.

Does any one have a clue ?
How can I do to have the file edited in several lines ?
What have I missed ?

Thank you.

Eddine.


Re: Key Mapping for spellcheck.

2006-05-16 Thread Baha-Eddine MOKADEM

Thank you for your response, it you will save me much time looking a
mapping that doesn't not exist as I expected.

Thank you.

Not sure Vim sees that key. In Insert mode, try hitting Ctrl-V (or
Ctrl-Q if you use Ctrl-V to paste) followed by the key in question. If
something is inserted in your buffer, that's (probably) how your version
of Vim sees the key. If nothing is inserted, or if something else
happens (e.g., a menu opens) then Vim doesn't see the key. You might try
changing the status of the 'winaltkeys' setting to see if it makes any
difference.


Best regards,
Tony.



Key Mapping for spellcheck.

2006-05-16 Thread Baha-Eddine MOKADEM

Hi,

I would like to map the right-clic-key (to make myself clear it's the
one between Win flag and Ctrl key)

so I can have the suggestion when I'm spellchecking a file.

How is it named under vim ?

Thank you for your help

Eddine.