annotate runtime/doc/hangulin.txt @ 18450:507348b211b4 v8.1.2219

patch 8.1.2219: no autocommand for open window with terminal Commit: https://github.com/vim/vim/commit/28ed4dfe1f80905fb399c2cde31ace5ee14d8c67 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 26 16:21:40 2019 +0200 patch 8.1.2219: no autocommand for open window with terminal Problem: No autocommand for open window with terminal. Solution: Add TerminalWinOpen. (Christian Brabandt)
author Bram Moolenaar <Bram@vim.org>
date Sat, 26 Oct 2019 16:30:03 +0200
parents 2f7e67dd088c
children df141c730008
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13963
1174611ad715 Vim 8.1 release
Christian Brabandt <cb@256bit.org>
parents: 11473
diff changeset
1 *hangulin.txt* For Vim version 8.1. Last change: 2015 Nov 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
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 Introduction *hangul*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 ------------
11473
bd6ff5246c71 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
9 It is to input hangul, the Korean language, with Vim GUI version.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 If you have a XIM program, you can use another |+xim| feature.
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 12
diff changeset
11 Basically, it is for anybody who has no XIM program.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 Compile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 -------
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 12
diff changeset
15 Next is a basic option. You can add any other configure option. >
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
7208
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
17 ./configure --with-x --enable-multibyte --enable-hangulinput \
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
18 --disable-xim
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 12
diff changeset
20 And you should check feature.h. If |+hangul_input| feature is enabled
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 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
22 or 3 bulsik. You can find keywords like next in there. >
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 #define HANGUL_DEFAULT_KEYBOARD 2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 #define ESC_CHG_TO_ENG_MODE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 /* #define X_LOCALE */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 Environment variables
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 ---------------------
7208
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
30 You should set LANG variable to Korean locale such as ko, ko_KR.eucKR
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
31 or ko_KR.UTF-8.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 If you set LC_ALL variable, it should be set to Korean locale also.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
11473
bd6ff5246c71 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
34 Vim resource
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 ------------
7208
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
36 You may want to set 'encoding' and 'fileencodings'.
7272
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 7208
diff changeset
37 Next are examples: >
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
7208
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
39 :set encoding=euc-kr
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
40 :set encoding=utf-8
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
41 :set fileencodings=ucs-bom,utf-8,cp949,euc-kr,latin1
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 Keyboard
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 --------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 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
46 or HANGUL_KEYBOARD_TYPE environment variables. For sh, just do (2 bulsik): >
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 export VIM_KEYBOARD="2"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 or >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 export HANGUL_KEYBOARD_TYPE="2"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 If both are set, VIM_KEYBOARD has higher priority.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 Hangul Fonts
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 ------------
11473
bd6ff5246c71 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
56 If you use GTK version of gvim, you should set 'guifont' and 'guifontwide'.
7272
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 7208
diff changeset
57 For example: >
7208
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
58 set guifont=Courier\ 12
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
59 set guifontwide=NanumGothicCoding\ 12
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
60
11473
bd6ff5246c71 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
61 If you use Motif or Athena version of gvim, you should set 'guifontset' in
7208
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
62 your vimrc. You can set fontset in the .Xdefaults file.
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
63
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
64 $HOME/.gvimrc: >
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
65 set guifontset=english_font,hangul_font
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 $HOME/.Xdefaults: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 Vim.font: english_font
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 ! Nexts are for hangul menu with Athena
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 *international: True
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 Vim*fontSet: english_font,hangul_font
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 ! Nexts are for hangul menu with Motif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 *international: True
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 Vim*fontList: english_font;hangul_font:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 attention! the , (comma) or ; (semicolon)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79
11473
bd6ff5246c71 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
80 And there should be no ':set guifont'. If it exists, then gvim ignores
bd6ff5246c71 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
81 ':set guifontset'. It means Vim runs without fontset supporting.
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 12
diff changeset
82 So, you can see only English. Hangul does not be correctly displayed.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83
11473
bd6ff5246c71 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
84 After "fontset" feature is enabled, Vim does not allow using english
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 10198
diff changeset
85 font only in "font" setting for syntax.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 For example, if you use >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 :set guifontset=eng_font,your_font
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 in your .gvimrc, then you should do for syntax >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 :hi Comment guifg=Cyan font=another_eng_font,another_your_font
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 If you just do >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 :hi Comment font=another_eng_font
7208
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
92 then you can see a error message. Be careful!
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 hangul_font width should be twice than english_font width.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 Unsupported Feature
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 -------------------
7208
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
98 We don't support Johab font.
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
99 We don't support Hanja input.
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
100 And We don't have any plan to support them.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101
11473
bd6ff5246c71 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
102 If you really need such features, you can use console version of Vim with a
7208
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
103 capable terminal emulator.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 Bug or Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 --------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 Send comments, patches and suggestions to:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108
2033
de5a43c5eedc Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents: 1702
diff changeset
109 SungHyun Nam <goweol@gmail.com>
7208
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 5294
diff changeset
110 Chi-Deok Hwang <...>
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111
14421
2f7e67dd088c Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13963
diff changeset
112 vim:tw=78:ts=8:noet:ft=help:norl: