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.
The second problem, I can live with it, but it could be a bug, I'm not
sure. The fact is that digits characters are not well changed. If you look
at my langmap again, you'll see that when I press '(', I should send a 4
signal (see the dvorak layout to understand better). But it's not what
happens. Vim acts just like it would act without remapping ! Any idea here
?
Kind regards,
Mathieu Stumpf
[1] http://www.clavier-dvorak.org/wiki/Accueil
--
Association Culture-Libre
http://www.culture-libre.org/
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---