Mercurial > vim
diff runtime/keymap/korean.vim @ 23047:29c5f168c6fd
Update runtime files
Commit: https://github.com/vim/vim/commit/23515b4ef7580af8b9d3b964a558ab2007cacda5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 29 14:36:24 2020 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 29 Nov 2020 14:45:04 +0100 |
parents | |
children | 11b656e74444 |
line wrap: on
line diff
new file mode 100644 --- /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 alse `성ㅜㄹ댛ㅏㄱ교`, 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