Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
korean.vim24 linesDownload Raw Back to keymap
1" Maintainer: Jang Whemoon <palindrom615@gmail.com>2" Last Change: Nov 24, 20203"4"5"6" Unlike Japanese or Chinese, modern Korean texts do not depends on conversion7" to Hanja (Chinese character). Thus, general Korean text totally can be8" covered without help of IME but this keymap. 9" 10" BUT, simply mapping each letter of Hangul with sequence of alphabet 1 by 111" can fail to combine Hangul jamo (conconants and vowels) right.12" For example, sequentially pressing `ㅅㅓㅇㅜㄹㄷㅐㅎㅏㄱㅛ` can not only be13" combined as `서울대학교`, but also `성ㅜㄹ댛ㅏㄱ교`, which is totally 14" nonsense. 15" Though combining Hangul is deterministic with law that each letter must be 16" one of (consonant + vowel) or (consonant + vowel + consonant), there is no17" way to apply such law without implementing input engine.18"19" Thus, user of this keymap should wait until previous hangul letter is20" completed before typing next one. To reduce such inconvenience, I suggest to21" set `timeoutlen` with their own value. (default value is 1000ms)22 23source <sfile>:p:h/korean-dubeolsik_utf-8.vim24 
codekingpro/portable-devtools · Team Ai