1- *hangulin.txt* For Vim version 7.4. Last change: 2009 Jun 24
1+ *hangulin.txt* For Vim version 7.4. Last change: 2015 Nov 10
22
33
44 VIM REFERENCE MANUAL by Chi-Deok Hwang and Sung-Hyun Nam
55
6- NOTE: The | +hangul_input | feature is scheduled to be removed. If you want to
7- keep it, please send a message to the Vim user maillist.
8-
96
107Introduction *hangul*
118------------
@@ -17,7 +14,8 @@ Compile
1714-------
1815Next is a basic option. You can add any other configure option. >
1916
20- ./configure --with-x --enable-multibyte --enable-fontset --enable-hangulinput
17+ ./configure --with-x --enable-multibyte --enable-hangulinput \
18+ --disable-xim
2119
2220 And you should check feature.h. If | +hangul_input | feature is enabled
2321by configure, you can select more options such as keyboard type, 2 bulsik
@@ -26,18 +24,21 @@ or 3 bulsik. You can find keywords like next in there. >
2624 #define HANGUL_DEFAULT_KEYBOARD 2
2725 #define ESC_CHG_TO_ENG_MODE
2826 /* #define X_LOCALE */
29- /* #define SLOW_XSERVER */
3027
3128 Environment variables
3229---------------------
33- You should set LANG variable to Korean locale such as ko or ko_KR.euc.
30+ You should set LANG variable to Korean locale such as ko, ko_KR.eucKR
31+ or ko_KR.UTF-8.
3432If you set LC_ALL variable, it should be set to Korean locale also.
3533
3634VIM resource
3735------------
38- You should add nexts to your global vimrc ($HOME/.vimrc). >
36+ You may want to set 'encoding' and 'fileencodings' .
37+ Next are examples:
3938
40- :set fileencoding=korea
39+ :set encoding=euc-kr
40+ :set encoding=utf-8
41+ :set fileencodings=ucs-bom,utf-8,cp949,euc-kr,latin1
4142
4243Keyboard
4344--------
@@ -52,8 +53,16 @@ If both are set, VIM_KEYBOARD has higher priority.
5253
5354Hangul Fonts
5455------------
55- You can set text font using $HOME/.Xdefaults or in your gvimrc file.
56- But to use Hangul, you should set 'guifontset' in your vimrc.
56+ If you use GTK version of GVIM, you should set 'guifont' and 'guifontwide' .
57+ For example:
58+ set guifont=Courier\ 12
59+ set guifontwide=NanumGothicCoding\ 12
60+
61+ If you use Motif or Athena version of GVIM, you should set 'guifontset' in
62+ your vimrc. You can set fontset in the .Xdefaults file.
63+
64+ $HOME/.gvimrc: >
65+ set guifontset=english_font,hangul_font
5766
5867 $HOME/.Xdefaults: >
5968 Vim.font: english_font
@@ -66,40 +75,38 @@ $HOME/.Xdefaults: >
6675 *international: True
6776 Vim*fontList: english_font;hangul_font:
6877
69- $HOME/.gvimrc: >
70- set guifontset=english_font,hangul_font
71-
7278 attention! the , (comma) or ; (semicolon)
7379
7480And there should be no ':set guifont'. If it exists, then Gvim ignores
7581':set guifontset'. It means VIM runs without fontset supporting.
7682So, you can see only English. Hangul does not be correctly displayed.
7783
78- After 'fontset' feature is enabled, VIM does not allow using 'font' .
84+ After 'fontset' feature is enabled, VIM does not allow using english
85+ font only in 'font' setting for syntax.
7986For example, if you use >
8087 :set guifontset=eng_font,your_font
8188 in your .gvimrc, then you should do for syntax >
8289 :hi Comment guifg=Cyan font=another_eng_font,another_your_font
8390 If you just do >
8491 :hi Comment font=another_eng_font
85- then you can see a GOOD error message. Be careful!
92+ then you can see a error message. Be careful!
8693
8794hangul_font width should be twice than english_font width.
8895
8996Unsupported Feature
9097-------------------
91- Johab font not yet supported. And I don't have any plan .
92- If you really want to use johab font, you can use the
93- hanguldraw.c in gau package .
98+ We don't support Johab font .
99+ We don't support Hanja input.
100+ And We don't have any plan to support them .
94101
95- Hanja input not yet supported. And I don't have any plan.
96- If you really want to input hanja, just use VIM with hanterm .
102+ If you really need such features, you can use console version of VIM with a
103+ capable terminal emulator .
97104
98105Bug or Comment
99106--------------
100107Send comments, patches and suggestions to:
101108
102- Chi-Deok Hwang <
[email protected] >
103109110+ Chi-Deok Hwang <...>
104111
105112 vim:tw=78:ts=8:ft=help:norl:
0 commit comments