diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 08:50:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 08:50:31 +0000 |
commit | aed8ce9da277f5ecffe968b324f242c41c3b752a (patch) | |
tree | d2e538394cb7a8a7c42a4aac6ccf1a8e3256999b /runtime/keymap/korean.vim | |
parent | Initial commit. (diff) | |
download | vim-upstream.tar.xz vim-upstream.zip |
Adding upstream version 2:9.0.1378.upstream/2%9.0.1378upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'runtime/keymap/korean.vim')
-rw-r--r-- | runtime/keymap/korean.vim | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/runtime/keymap/korean.vim b/runtime/keymap/korean.vim new file mode 100644 index 0000000..64ae519 --- /dev/null +++ b/runtime/keymap/korean.vim @@ -0,0 +1,23 @@ +" Maintainer: Jang Whemoon <palindrom615@gmail.com> +" Last Change: Nov 24, 2020 +" +" +" +" Unlike Japanese or Chinese, modern Korean texts do not depends on conversion +" to Hanja (Chinese character). Thus, general Korean text totally can be +" covered without help of IME but this keymap. +" +" BUT, simply mapping each letter of Hangul with sequence of alphabet 1 by 1 +" can fail to combine Hangul jamo (conconants and vowels) right. +" For example, sequentially pressing `ㅅㅓㅇㅜㄹㄷㅐㅎㅏㄱㅛ` can not only be +" combined as `서울대학교`, but also `성ㅜㄹ댛ㅏㄱ교`, which is totally +" nonsense. +" Though combining Hangul is deterministic with law that each letter must be +" one of (consonant + vowel) or (consonant + vowel + consonant), there is no +" way to apply such law without implementing input engine. +" +" Thus, user of this keymap should wait until previous hangul letter is +" completed before typing next one. To reduce such inconvenience, I suggest to +" set `timeoutlen` with their own value. (default value is 1000ms) + +source <sfile>:p:h/korean-dubeolsik_utf-8.vim |