Mercurial > vim
annotate runtime/doc/hangulin.txt @ 4700:0c25fa1dfd97 v7.3.1097
updated for version 7.3.1097
Problem: Python: a few recently added items are not documented.
Solution: Update the documentation. (ZyX)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 02 Jun 2013 17:46:40 +0200 |
parents | 073ff46fe397 |
children | 6ec6b7ff2d43 |
rev | line source |
---|---|
2572
ee53a39d5896
Last changes for the 7.3 release!
Bram Moolenaar <bram@vim.org>
parents:
2561
diff
changeset
|
1 *hangulin.txt* For Vim version 7.3. Last change: 2009 Jun 24 |
7 | 2 |
3 | |
4 VIM REFERENCE MANUAL by Chi-Deok Hwang and Sung-Hyun Nam | |
5 | |
2033
de5a43c5eedc
Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1702
diff
changeset
|
6 NOTE: The |+hangul_input| feature is scheduled to be removed. If you want to |
de5a43c5eedc
Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1702
diff
changeset
|
7 keep it, please send a message to the Vim user maillist. |
de5a43c5eedc
Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1702
diff
changeset
|
8 |
de5a43c5eedc
Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1702
diff
changeset
|
9 |
7 | 10 Introduction *hangul* |
11 ------------ | |
12 It is to input hangul, the Korean language, with VIM GUI version. | |
13 If you have a XIM program, you can use another |+xim| feature. | |
236 | 14 Basically, it is for anybody who has no XIM program. |
7 | 15 |
16 Compile | |
17 ------- | |
236 | 18 Next is a basic option. You can add any other configure option. > |
7 | 19 |
20 ./configure --with-x --enable-multibyte --enable-fontset --enable-hangulinput | |
21 | |
236 | 22 And you should check feature.h. If |+hangul_input| feature is enabled |
7 | 23 by configure, you can select more options such as keyboard type, 2 bulsik |
236 | 24 or 3 bulsik. You can find keywords like next in there. > |
7 | 25 |
26 #define HANGUL_DEFAULT_KEYBOARD 2 | |
27 #define ESC_CHG_TO_ENG_MODE | |
28 /* #define X_LOCALE */ | |
29 /* #define SLOW_XSERVER */ | |
30 | |
31 Environment variables | |
32 --------------------- | |
33 You should set LANG variable to Korean locale such as ko or ko_KR.euc. | |
34 If you set LC_ALL variable, it should be set to Korean locale also. | |
35 | |
36 VIM resource | |
37 ------------ | |
38 You should add nexts to your global vimrc ($HOME/.vimrc). > | |
39 | |
40 :set fileencoding=korea | |
41 | |
42 Keyboard | |
43 -------- | |
44 You can change keyboard type (2 bulsik or 3 bulsik) using VIM_KEYBOARD | |
236 | 45 or HANGUL_KEYBOARD_TYPE environment variables. For sh, just do (2 bulsik): > |
7 | 46 |
47 export VIM_KEYBOARD="2" | |
48 or > | |
49 export HANGUL_KEYBOARD_TYPE="2" | |
50 | |
51 If both are set, VIM_KEYBOARD has higher priority. | |
52 | |
53 Hangul Fonts | |
54 ------------ | |
819 | 55 You can set text font using $HOME/.Xdefaults or in your gvimrc file. |
7 | 56 But to use Hangul, you should set 'guifontset' in your vimrc. |
57 | |
58 $HOME/.Xdefaults: > | |
59 Vim.font: english_font | |
60 | |
61 ! Nexts are for hangul menu with Athena | |
62 *international: True | |
63 Vim*fontSet: english_font,hangul_font | |
64 | |
65 ! Nexts are for hangul menu with Motif | |
66 *international: True | |
67 Vim*fontList: english_font;hangul_font: | |
68 | |
69 $HOME/.gvimrc: > | |
70 set guifontset=english_font,hangul_font | |
71 | |
72 attention! the , (comma) or ; (semicolon) | |
73 | |
236 | 74 And there should be no ':set guifont'. If it exists, then Gvim ignores |
75 ':set guifontset'. It means VIM runs without fontset supporting. | |
76 So, you can see only English. Hangul does not be correctly displayed. | |
7 | 77 |
78 After 'fontset' feature is enabled, VIM does not allow using 'font'. | |
79 For example, if you use > | |
80 :set guifontset=eng_font,your_font | |
81 in your .gvimrc, then you should do for syntax > | |
82 :hi Comment guifg=Cyan font=another_eng_font,another_your_font | |
83 If you just do > | |
84 :hi Comment font=another_eng_font | |
236 | 85 then you can see a GOOD error message. Be careful! |
7 | 86 |
87 hangul_font width should be twice than english_font width. | |
88 | |
89 Unsupported Feature | |
90 ------------------- | |
236 | 91 Johab font not yet supported. And I don't have any plan. |
7 | 92 If you really want to use johab font, you can use the |
93 hanguldraw.c in gau package. | |
94 | |
236 | 95 Hanja input not yet supported. And I don't have any plan. |
7 | 96 If you really want to input hanja, just use VIM with hanterm. |
97 | |
98 Bug or Comment | |
99 -------------- | |
100 Send comments, patches and suggestions to: | |
101 | |
102 Chi-Deok Hwang <hwang@mizi.co.kr> | |
2033
de5a43c5eedc
Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1702
diff
changeset
|
103 SungHyun Nam <goweol@gmail.com> |
7 | 104 |
105 vim:tw=78:ts=8:ft=help:norl: |