Mercurial > vim
comparison runtime/doc/hangulin.txt @ 236:4707450c2b33
updated for version 7.0066
author | vimboss |
---|---|
date | Fri, 15 Apr 2005 21:00:38 +0000 |
parents | bdeee1504ac1 |
children | 6beb2c667935 |
comparison
equal
deleted
inserted
replaced
235:23d380e32c95 | 236:4707450c2b33 |
---|---|
1 *hangulin.txt* For Vim version 7.0aa. Last change: 2001 Sep 03 | 1 *hangulin.txt* For Vim version 7.0aa. Last change: 2005 Mar 29 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Chi-Deok Hwang and Sung-Hyun Nam | 4 VIM REFERENCE MANUAL by Chi-Deok Hwang and Sung-Hyun Nam |
5 | 5 |
6 Introduction *hangul* | 6 Introduction *hangul* |
7 ------------ | 7 ------------ |
8 It is to input hangul, the Korean language, with VIM GUI version. | 8 It is to input hangul, the Korean language, with VIM GUI version. |
9 If you have a XIM program, you can use another |+xim| feature. | 9 If you have a XIM program, you can use another |+xim| feature. |
10 Basically, it is for whom has no XIM program. | 10 Basically, it is for anybody who has no XIM program. |
11 | 11 |
12 Compile | 12 Compile |
13 ------- | 13 ------- |
14 Next is a basic option. You can add any other configure option. > | 14 Next is a basic option. You can add any other configure option. > |
15 | 15 |
16 ./configure --with-x --enable-multibyte --enable-fontset --enable-hangulinput | 16 ./configure --with-x --enable-multibyte --enable-fontset --enable-hangulinput |
17 | 17 |
18 And you should check the feature.h. If |+hangul_input| feature is enabled | 18 And you should check feature.h. If |+hangul_input| feature is enabled |
19 by configure, you can select more options such as keyboard type, 2 bulsik | 19 by configure, you can select more options such as keyboard type, 2 bulsik |
20 or 3 bulsik. You can find keywords like next in there. > | 20 or 3 bulsik. You can find keywords like next in there. > |
21 | 21 |
22 #define HANGUL_DEFAULT_KEYBOARD 2 | 22 #define HANGUL_DEFAULT_KEYBOARD 2 |
23 #define ESC_CHG_TO_ENG_MODE | 23 #define ESC_CHG_TO_ENG_MODE |
24 /* #define X_LOCALE */ | 24 /* #define X_LOCALE */ |
25 /* #define SLOW_XSERVER */ | 25 /* #define SLOW_XSERVER */ |
36 :set fileencoding=korea | 36 :set fileencoding=korea |
37 | 37 |
38 Keyboard | 38 Keyboard |
39 -------- | 39 -------- |
40 You can change keyboard type (2 bulsik or 3 bulsik) using VIM_KEYBOARD | 40 You can change keyboard type (2 bulsik or 3 bulsik) using VIM_KEYBOARD |
41 or HANGUL_KEYBOARD_TYPE environment variables. For sh, just do (2 bulsik): > | 41 or HANGUL_KEYBOARD_TYPE environment variables. For sh, just do (2 bulsik): > |
42 | 42 |
43 export VIM_KEYBOARD="2" | 43 export VIM_KEYBOARD="2" |
44 or > | 44 or > |
45 export HANGUL_KEYBOARD_TYPE="2" | 45 export HANGUL_KEYBOARD_TYPE="2" |
46 | 46 |
65 $HOME/.gvimrc: > | 65 $HOME/.gvimrc: > |
66 set guifontset=english_font,hangul_font | 66 set guifontset=english_font,hangul_font |
67 | 67 |
68 attention! the , (comma) or ; (semicolon) | 68 attention! the , (comma) or ; (semicolon) |
69 | 69 |
70 And there should be no ':set guifont'. If it exists, then Gvim ignores | 70 And there should be no ':set guifont'. If it exists, then Gvim ignores |
71 ':set guifontset'. It means VIM runs without fontset supporting. | 71 ':set guifontset'. It means VIM runs without fontset supporting. |
72 So, you can see only English. Hangul does not be correctly displayed. | 72 So, you can see only English. Hangul does not be correctly displayed. |
73 | 73 |
74 After 'fontset' feature is enabled, VIM does not allow using 'font'. | 74 After 'fontset' feature is enabled, VIM does not allow using 'font'. |
75 For example, if you use > | 75 For example, if you use > |
76 :set guifontset=eng_font,your_font | 76 :set guifontset=eng_font,your_font |
77 in your .gvimrc, then you should do for syntax > | 77 in your .gvimrc, then you should do for syntax > |
78 :hi Comment guifg=Cyan font=another_eng_font,another_your_font | 78 :hi Comment guifg=Cyan font=another_eng_font,another_your_font |
79 If you just do > | 79 If you just do > |
80 :hi Comment font=another_eng_font | 80 :hi Comment font=another_eng_font |
81 then you can see a GOOD error message. Be careful! | 81 then you can see a GOOD error message. Be careful! |
82 | 82 |
83 hangul_font width should be twice than english_font width. | 83 hangul_font width should be twice than english_font width. |
84 | 84 |
85 Unsupported Feature | 85 Unsupported Feature |
86 ------------------- | 86 ------------------- |
87 Johab font not yet supported. And I don't have any plan. | 87 Johab font not yet supported. And I don't have any plan. |
88 If you really want to use johab font, you can use the | 88 If you really want to use johab font, you can use the |
89 hanguldraw.c in gau package. | 89 hanguldraw.c in gau package. |
90 | 90 |
91 Hanja input not yet supported. And I don't have any plan. | 91 Hanja input not yet supported. And I don't have any plan. |
92 If you really want to input hanja, just use VIM with hanterm. | 92 If you really want to input hanja, just use VIM with hanterm. |
93 | 93 |
94 Bug or Comment | 94 Bug or Comment |
95 -------------- | 95 -------------- |
96 Send comments, patches and suggestions to: | 96 Send comments, patches and suggestions to: |