vimwiki-backup / vimwiki

Automatically exported from code.google.com/p/vimwiki
1 stars 1 forks source link

auto-indent problem with langmap #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
> What steps will reproduce the problem?
1. Create a gtd-item (uncompleted):
 * [ ] item
2. Switch to non-english keyboard layout.
3. Press 'o' to start a new item (langmap should be enabled & properly
configured for your vim installation).

> What is the expected output? What do you see instead?
- Expected:
 * [ ] item
 * [ ] |
- Got:
 * [ ] item
 * |

(If using 'o' in english layout - everything is ok, we've got en expected
result).

> What version of the product are you using? On what operating system?
0.9.9, Linux, locale = ru_RU.utf-8

Original issue reported on code.google.com by JaGoTerr on 7 Apr 2010 at 1:35

GoogleCodeExporter commented 9 years ago
Could you send me your langmap?

Original comment by habamax on 7 Apr 2010 at 4:54

GoogleCodeExporter commented 9 years ago
set
langmap=йq,цw,уe,кr,еt,нy,гu,шi,щo,зp,х[,ъ],фa,ыs,вd,аf,пg,рh,
оj,лk,дl,э\',яz,чx,сc,мv,иb,тn,ьm,б\,,ю.,ё\',ЙQ,ЦW,УE,КR,ЕT,�
�Y,ГU,ШI,ЩO,ЗP,Х\{,Ъ\},ФA,ЫS,ВD,АF,ПG,РH,ОJ,ЛK,ДL,Ж\:,Э\",ЯZ,�
�X,СC,МV,ИB,ТN,ЬM,Б\<,Ю\>

Original comment by JaGoTerr on 8 Apr 2010 at 5:45

GoogleCodeExporter commented 9 years ago
Thx. I'll check it.

Original comment by habamax on 8 Apr 2010 at 3:54

GoogleCodeExporter commented 9 years ago
I have fixed it.
But it would work only for langmap with paired symbols (not for `set 
lmap=фыва;asdf`)

PS
Your langmap lacks ж symbol. It is useful if you do f<буква> and then 
press ж to go to the next 
occurency of <буква>.

Updated version of your langmap:
set langmap=йq,цw,уe,кr,еt,нy,гu,шi,щo,зp,х[,ъ]
set langmap+=фa,ыs,вd,аf,пg,рh,оj,лk,дl,ж\\;,э\'
set langmap+=яz,чx,сc,мv,иb,тn,ьm,б\,,ю.,ё\'
set langmap+=ЙQ,ЦW,УE,КR,ЕT,НY,ГU,ШI,ЩO,ЗP,Х\{,Ъ\}
set langmap+=ФA,ЫS,ВD,АF,ПG,РH,ОJ,ЛK,ДL,Ж\:,Э\"
set langmap+=ЯZ,ЧX,СC,МV,ИB,ТN,ЬM,Б\<,Ю\>

Original comment by habamax on 9 Apr 2010 at 4:03