On 07/11/08 12:11, [EMAIL PROTECTED] wrote:
> Hello,
>
> <my life>
> Vi(m) is great to avoid RSI and so is the dvorak layout. As I'm french, I
> write a lot of french text, so I decided to use the wonderful dvorak fr
> bépo layout[1].
> </my life>
>
> Now what I would like is that when I use vim in normal mode, the layout
> corresponds to the qwerty keyboard, and when in insert mode, it use my
> bépo layout. The command "set langmap" is just what I need. So here is
> what I added to my .vimrc :
> set
> langmap=bq,éw,pe,or,èt,^y,vu,di,lo,jp,z[,w],aa,us,id,ef,\,g,ch,tj,sk,rl,n;;,m',ç\,ê<,àz,yx,xc,.v,kb,'n,qm,g\\,,h.,f/,BQ,ÉW,PE,OR,ÈT,!Y,VU,DI,LO,JP,Z{,W},AA,US,ID,EF,\;G,CH,TJ,SK,RL,N:,M\",Ç\|,Ê>,ÀZ,YX,XC,:V,KB,?N,QM,G<,H>,F?,$`,"1,«2,»3,(4,)5,@6,+7,-8,/9,*0,=-,%=,#~,1!,2@,3#,4$,5%,6^,7&,8*,9(,0),°_,`+
>
>
> My first and most annoying problem is that on the 'y' qwerty touch used to
> copy in vim there is a '^' character on the bépo layout. The problem is
> that it's a 'compositing' character, ie if you press it once, nothing
> happen. For example, typing ^a will result in sending the â signal.
>
> So, if I want to copy a word I have to type ^^b. The 'b' is fine, the
> problem is a have to type twice '^' to send the '^' signal which is
> transformed into a 'y' signal. So I wanted to know if there was a way to
> match the composing '^' character. I tried with ctrl+v then ^ then an
> arrow which give me a '^[OC' but it doesn't work at all.
>
[...]
>
> Kind regards,
> Mathieu Stumpf
>
> [1] http://www.clavier-dvorak.org/wiki/Accueil
>

No, the French "accent circonflexe" and "tréma" (which on an AZERTY 
keyboard are on the far right) are memorized by the (French) keyboard 
driver, which only passes them (or the resulting â ê î ô û ŷ ä ë ï ö ü 
ÿ) after the next key has been hit. Vim gets no warning that a dead key 
has been hit as long as nothing else follows it.

I don't know the French Dvorak-bépo but I assume it handles dead keys 
the same way.


Best regards,
Tony.
-- 
Under deadline pressure for the next week.  If you want something, it
can wait.  Unless it's blind screaming paroxysmally hedonistic ...

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to