annotate runtime/doc/hangulin.txt @ 5844:8ec9d2196bee v7.4.265

updated for version 7.4.265 Problem: Can't call a global function with "g:" in an expression. Solution: Skip the "g:" when looking up the function.
author Bram Moolenaar <bram@vim.org>
date Thu, 24 Apr 2014 17:12:33 +0200
parents 359743c1f59a
children 2c00f6b312bf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5294
359743c1f59a release version 7.4
Bram Moolenaar <bram@vim.org>
parents: 5247
diff changeset
1 *hangulin.txt* For Vim version 7.4. Last change: 2009 Jun 24
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 VIM REFERENCE MANUAL by Chi-Deok Hwang and Sung-Hyun Nam
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 Introduction *hangul*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 ------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 It is to input hangul, the Korean language, with VIM GUI version.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 If you have a XIM program, you can use another |+xim| feature.
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 12
diff changeset
14 Basically, it is for anybody who has no XIM program.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 Compile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 -------
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 12
diff changeset
18 Next is a basic option. You can add any other configure option. >
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 ./configure --with-x --enable-multibyte --enable-fontset --enable-hangulinput
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 12
diff changeset
22 And you should check feature.h. If |+hangul_input| feature is enabled
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 by configure, you can select more options such as keyboard type, 2 bulsik
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 12
diff changeset
24 or 3 bulsik. You can find keywords like next in there. >
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 #define HANGUL_DEFAULT_KEYBOARD 2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 #define ESC_CHG_TO_ENG_MODE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 /* #define X_LOCALE */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 /* #define SLOW_XSERVER */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 Environment variables
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 ---------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 You should set LANG variable to Korean locale such as ko or ko_KR.euc.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 If you set LC_ALL variable, it should be set to Korean locale also.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 VIM resource
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 ------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 You should add nexts to your global vimrc ($HOME/.vimrc). >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 :set fileencoding=korea
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 Keyboard
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 --------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 You can change keyboard type (2 bulsik or 3 bulsik) using VIM_KEYBOARD
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 12
diff changeset
45 or HANGUL_KEYBOARD_TYPE environment variables. For sh, just do (2 bulsik): >
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 export VIM_KEYBOARD="2"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 or >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 export HANGUL_KEYBOARD_TYPE="2"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 If both are set, VIM_KEYBOARD has higher priority.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 Hangul Fonts
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 ------------
819
23f82b5d2814 updated for version 7.0c10
vimboss
parents: 810
diff changeset
55 You can set text font using $HOME/.Xdefaults or in your gvimrc file.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 But to use Hangul, you should set 'guifontset' in your vimrc.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 $HOME/.Xdefaults: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 Vim.font: english_font
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 ! Nexts are for hangul menu with Athena
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 *international: True
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 Vim*fontSet: english_font,hangul_font
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 ! Nexts are for hangul menu with Motif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 *international: True
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 Vim*fontList: english_font;hangul_font:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 $HOME/.gvimrc: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 set guifontset=english_font,hangul_font
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 attention! the , (comma) or ; (semicolon)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 12
diff changeset
74 And there should be no ':set guifont'. If it exists, then Gvim ignores
4707450c2b33 updated for version 7.0066
vimboss
parents: 12
diff changeset
75 ':set guifontset'. It means VIM runs without fontset supporting.
4707450c2b33 updated for version 7.0066
vimboss
parents: 12
diff changeset
76 So, you can see only English. Hangul does not be correctly displayed.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 After 'fontset' feature is enabled, VIM does not allow using 'font'.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 For example, if you use >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 :set guifontset=eng_font,your_font
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 in your .gvimrc, then you should do for syntax >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 :hi Comment guifg=Cyan font=another_eng_font,another_your_font
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 If you just do >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 :hi Comment font=another_eng_font
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 12
diff changeset
85 then you can see a GOOD error message. Be careful!
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 hangul_font width should be twice than english_font width.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 Unsupported Feature
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 -------------------
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 12
diff changeset
91 Johab font not yet supported. And I don't have any plan.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 If you really want to use johab font, you can use the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 hanguldraw.c in gau package.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 12
diff changeset
95 Hanja input not yet supported. And I don't have any plan.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 If you really want to input hanja, just use VIM with hanterm.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 Bug or Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 --------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 Send comments, patches and suggestions to:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 vim:tw=78:ts=8:ft=help:norl: