Vim Tips Wiki
(Added to I18n category + comment)
(Move categories to tip template)
Line 9: Line 9:
 
|version=6.0
 
|version=6.0
 
|rating=1/1
 
|rating=1/1
  +
|category1=I18n
  +
|category2=
 
}}
 
}}
 
I wanted a scheme which was easy to memorize for French characters.
 
I wanted a scheme which was easy to memorize for French characters.
Line 55: Line 57:
 
--[[User:Luc Hermitte|Luc Hermitte]] 01:43, 19 April 2008 (UTC)
 
--[[User:Luc Hermitte|Luc Hermitte]] 01:43, 19 April 2008 (UTC)
 
----
 
----
 
[[Category:I18n]]
 

Revision as of 04:12, 25 April 2008

Tip 697 Printable Monobook Previous Next

created April 9, 2004 · complexity basic · author U.R. Molar · version 6.0


I wanted a scheme which was easy to memorize for French characters.

Take a couple of minutes to study the pattern below, and its "logical" ordering alphabetically. Once understood, I hope it will serve you a lifetime of writing «les belles lettres».

" FRENCH Mapping scheme in alphabetic order
" where _ denotes primary letter
"
"       à _â  ä
"         _ç
"       è _ê  ë  é
"         _î  ï
"         _ô  ö
"       ù _û  ü
"
" For capital letters, use the ~ or U operator.
" Note:  French usage does not require putting accents
" on capital letters, with the exception of Ç, unless
" you're typing all caps, e.g., Ecoutez ! vs. ÉCOUTEZ !
"
" Note:  map! for Insert and Command-line, i.e. imap & cmap
"
map! ;z à
map! ;a â
map! ;b ä
map! ;c ç
map! ;d è
map! ;e ê
map! ;f ë
map! ;g é
map! ;i î
map! ;j ï
map! ;o ô
map! ;p ö
imap ;q «  »<Esc>hi
"         ^inserts within Quotations
map! ;t ù
map! ;u û
map! ;v ü

Comments

:help digraphs for French characters are really intuitive --Luc Hermitte 01:43, 19 April 2008 (UTC)