xref: /vim-8.2.3635/runtime/keymap/korean.vim (revision 6c391a74)
123515b4eSBram Moolenaar" Maintainer: Jang Whemoon <[email protected]>
223515b4eSBram Moolenaar" Last Change: Nov 24, 2020
323515b4eSBram Moolenaar"
423515b4eSBram Moolenaar"
523515b4eSBram Moolenaar"
623515b4eSBram Moolenaar" Unlike Japanese or Chinese, modern Korean texts do not depends on conversion
723515b4eSBram Moolenaar" to Hanja (Chinese character). Thus, general Korean text totally can be
823515b4eSBram Moolenaar" covered without help of IME but this keymap.
923515b4eSBram Moolenaar"
1023515b4eSBram Moolenaar" BUT, simply mapping each letter of Hangul with sequence of alphabet 1 by 1
1123515b4eSBram Moolenaar" can fail to combine Hangul jamo (conconants and vowels) right.
1223515b4eSBram Moolenaar" For example, sequentially pressing `ㅅㅓㅇㅜㄹㄷㅐㅎㅏㄱㅛ` can not only be
13*6c391a74SBram Moolenaar" combined as `서울대학교`, but also `성ㅜㄹ댛ㅏㄱ교`, which is totally
1423515b4eSBram Moolenaar" nonsense.
1523515b4eSBram Moolenaar" Though combining Hangul is deterministic with law that each letter must be
1623515b4eSBram Moolenaar" one of (consonant + vowel) or (consonant + vowel + consonant), there is no
1723515b4eSBram Moolenaar" way to apply such law without implementing input engine.
1823515b4eSBram Moolenaar"
1923515b4eSBram Moolenaar" Thus, user of this keymap should wait until previous hangul letter is
2023515b4eSBram Moolenaar" completed before typing next one. To reduce such inconvenience, I suggest to
2123515b4eSBram Moolenaar" set `timeoutlen` with their own value. (default value is 1000ms)
2223515b4eSBram Moolenaar
2323515b4eSBram Moolenaarsource <sfile>:p:h/korean-dubeolsik_utf-8.vim
24