mirror of
https://github.com/zoriya/vim.git
synced 2025-12-16 12:15:18 +00:00
Compare commits
846 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9afe5e9cc0 | ||
|
|
0a2f578e22 | ||
|
|
2ace1bd652 | ||
|
|
ba64ba0935 | ||
|
|
2c519cf3bf | ||
|
|
f7e47af776 | ||
|
|
0398e00a1b | ||
|
|
60ebd524cf | ||
|
|
9029b918f9 | ||
|
|
08cda65ddf | ||
|
|
d00e024d9f | ||
|
|
64c8ed366d | ||
|
|
697005f2cf | ||
|
|
61be376337 | ||
|
|
e142a9467a | ||
|
|
8e9a24a127 | ||
|
|
828bff1f9b | ||
|
|
4eefe47ea4 | ||
|
|
8376c3d321 | ||
|
|
493fbe4abe | ||
|
|
26967617a3 | ||
|
|
049ca59236 | ||
|
|
647e24ba3d | ||
|
|
38db5276cd | ||
|
|
3b5fef6a99 | ||
|
|
ab89d7ab89 | ||
|
|
2ba4238818 | ||
|
|
713bf9e996 | ||
|
|
1f271efbbb | ||
|
|
0251d2d811 | ||
|
|
209b8e3e3b | ||
|
|
4aa47b28f4 | ||
|
|
55d81cd2a1 | ||
|
|
e165f63598 | ||
|
|
6edbbd8114 | ||
|
|
cbef8e1aa1 | ||
|
|
8156ed3755 | ||
|
|
fd731b0e31 | ||
|
|
9d7fdd403a | ||
|
|
19a66858a5 | ||
|
|
d5a5886ce9 | ||
|
|
6bb8c66c8b | ||
|
|
f0fab3046c | ||
|
|
8fcb60f961 | ||
|
|
772153f8d8 | ||
|
|
cce713ddcc | ||
|
|
975880b6e6 | ||
|
|
e21c1580b7 | ||
|
|
bdace838c6 | ||
|
|
d82a81cad9 | ||
|
|
6ef8f9eacd | ||
|
|
ef8c956172 | ||
|
|
ab350f89f9 | ||
|
|
c69efcb42f | ||
|
|
1eed532999 | ||
|
|
32033d2397 | ||
|
|
5b868a82ed | ||
|
|
58d63a0a23 | ||
|
|
1fa8fdd611 | ||
|
|
2472ae81df | ||
|
|
0d13cce345 | ||
|
|
e4963c543d | ||
|
|
c666388367 | ||
|
|
882d02eeb5 | ||
|
|
cd62512c55 | ||
|
|
72e83c1ae5 | ||
|
|
f6b401090e | ||
|
|
55d3bdbbe2 | ||
|
|
ed79d1e348 | ||
|
|
97c2c05ead | ||
|
|
527a2d86fb | ||
|
|
1417031cfd | ||
|
|
3876789b23 | ||
|
|
e86ecbd922 | ||
|
|
353aca1215 | ||
|
|
4a7d2d3b40 | ||
|
|
d91e5dafd5 | ||
|
|
9166838420 | ||
|
|
8caa43d815 | ||
|
|
a25e3d0695 | ||
|
|
38f08e76ac | ||
|
|
3585671888 | ||
|
|
b9ddda6c2d | ||
|
|
66ae3d199f | ||
|
|
0d8562a999 | ||
|
|
c9629251a6 | ||
|
|
bbd854dc57 | ||
|
|
44b443c5db | ||
|
|
14816ad6e5 | ||
|
|
0472b6d149 | ||
|
|
d53931ae73 | ||
|
|
7dca2ebbcf | ||
|
|
c854898881 | ||
|
|
b0e2da2b23 | ||
|
|
4c92e75dd4 | ||
|
|
a5483448cb | ||
|
|
c85c8fcb9f | ||
|
|
749f07c0db | ||
|
|
76cbe811da | ||
|
|
4f97475d32 | ||
|
|
78d21dae9c | ||
|
|
3678f65d43 | ||
|
|
21edde8742 | ||
|
|
f1b57ab2ab | ||
|
|
55c77cf2ea | ||
|
|
8bfd9469ce | ||
|
|
985079c514 | ||
|
|
6982f42f33 | ||
|
|
14184a3133 | ||
|
|
6902c0eb27 | ||
|
|
0a1b17bbec | ||
|
|
5acd987258 | ||
|
|
d634024b90 | ||
|
|
0059074008 | ||
|
|
e93e5a504f | ||
|
|
5ff7df509a | ||
|
|
7e841e3ce5 | ||
|
|
c3ef896608 | ||
|
|
96baf02aa8 | ||
|
|
81aa0f56f8 | ||
|
|
29ae223ddc | ||
|
|
0f77d6afd5 | ||
|
|
9b5c1fcdea | ||
|
|
445e71c5ee | ||
|
|
b999ba2778 | ||
|
|
a787019518 | ||
|
|
5fd0f5052f | ||
|
|
688b3983d8 | ||
|
|
18442cbcc0 | ||
|
|
943e9639a9 | ||
|
|
15bbd6ec87 | ||
|
|
d9ef1b8d77 | ||
|
|
9403a2168d | ||
|
|
5382f12c91 | ||
|
|
e1ed53f3f9 | ||
|
|
5567ad48b6 | ||
|
|
00f148d2f2 | ||
|
|
beb7574d6b | ||
|
|
ff697e6cef | ||
|
|
57ee2b6e0b | ||
|
|
48773f1f83 | ||
|
|
e0fb7d1e38 | ||
|
|
0ea21e41c6 | ||
|
|
05c00c038b | ||
|
|
5a6698169d | ||
|
|
ec0f50a35e | ||
|
|
dce1e89be4 | ||
|
|
3615abb693 | ||
|
|
eeb1b9c7ed | ||
|
|
d77aa4d22e | ||
|
|
593864817a | ||
|
|
6524068ff3 | ||
|
|
31b816042f | ||
|
|
9474716d39 | ||
|
|
b763361161 | ||
|
|
18c5632cab | ||
|
|
af630d4f7f | ||
|
|
54d6fe5e60 | ||
|
|
1aa43755e2 | ||
|
|
8c62a08faf | ||
|
|
c6ddce3f2c | ||
|
|
0036201a1a | ||
|
|
a02e3f65c5 | ||
|
|
ee8188fc74 | ||
|
|
2a78b7c704 | ||
|
|
71b13e92ae | ||
|
|
94688b8a2a | ||
|
|
9c46efd7dc | ||
|
|
970076468e | ||
|
|
34a587457f | ||
|
|
314dd79cac | ||
|
|
63d1fea814 | ||
|
|
aa5df7e312 | ||
|
|
01a6c21691 | ||
|
|
889da2f243 | ||
|
|
65951258d6 | ||
|
|
1c321dcee9 | ||
|
|
895d966e34 | ||
|
|
375e339007 | ||
|
|
b3051ce82f | ||
|
|
221cd9f4dd | ||
|
|
60f807b3f7 | ||
|
|
77255cab74 | ||
|
|
c45eb770a5 | ||
|
|
ce655743ba | ||
|
|
4b47162cce | ||
|
|
bbb5f8d4c2 | ||
|
|
af703585a3 | ||
|
|
d8c56a0d29 | ||
|
|
cbbd0f6578 | ||
|
|
ed71ed37bc | ||
|
|
8d4ce56a19 | ||
|
|
98ad1e17c3 | ||
|
|
c07ff5c60a | ||
|
|
b191be2f00 | ||
|
|
9172d23d05 | ||
|
|
39536dd557 | ||
|
|
2a4857a1fc | ||
|
|
50948e4ac2 | ||
|
|
e0de2164f6 | ||
|
|
cb908a813c | ||
|
|
2339fa335f | ||
|
|
12dfc9eef1 | ||
|
|
f58d81a187 | ||
|
|
dec01206b2 | ||
|
|
26d982185e | ||
|
|
346d2a359a | ||
|
|
3e9d4d85c4 | ||
|
|
e40b9d47bf | ||
|
|
d93090f41f | ||
|
|
2e05009218 | ||
|
|
0eb220c030 | ||
|
|
e3d0654544 | ||
|
|
d39e275b57 | ||
|
|
6aba96dd57 | ||
|
|
2a953fcf10 | ||
|
|
8e59a1e127 | ||
|
|
29ddebef40 | ||
|
|
3e460fd8b7 | ||
|
|
1ecc5e4a99 | ||
|
|
203651b9b2 | ||
|
|
cb574f4154 | ||
|
|
970f5d39f2 | ||
|
|
e295609be2 | ||
|
|
865767126e | ||
|
|
240583869a | ||
|
|
99531a7604 | ||
|
|
681b6bc86c | ||
|
|
5e66b42aae | ||
|
|
ed18f2c03a | ||
|
|
0566e891f7 | ||
|
|
9ba6117de6 | ||
|
|
30276f2beb | ||
|
|
264b74fa54 | ||
|
|
a12a161b8c | ||
|
|
091806d6f0 | ||
|
|
9e79ccbe9c | ||
|
|
fc3abf47fb | ||
|
|
135059724f | ||
|
|
4b9e91f0ba | ||
|
|
ad36a3588d | ||
|
|
a5be9b6248 | ||
|
|
fb1199d934 | ||
|
|
4456ab527a | ||
|
|
cfc15237ab | ||
|
|
dd29ea1805 | ||
|
|
bf821bccf1 | ||
|
|
31faed60bf | ||
|
|
f88af6e675 | ||
|
|
82a12468bd | ||
|
|
0d17f0d1c0 | ||
|
|
9e26f7d31f | ||
|
|
563bbeabcc | ||
|
|
57a6bf0567 | ||
|
|
555de4e3b2 | ||
|
|
b2148f5864 | ||
|
|
edce7420d0 | ||
|
|
10772307c4 | ||
|
|
113e10721f | ||
|
|
1f20daa1d7 | ||
|
|
63c0ccd2b6 | ||
|
|
2d951a486e | ||
|
|
a502caab8b | ||
|
|
e25bbc3b2b | ||
|
|
32526b3c18 | ||
|
|
d383c92ec1 | ||
|
|
b091f30bf3 | ||
|
|
b2e54b0092 | ||
|
|
2bf60b3001 | ||
|
|
05a2907cde | ||
|
|
987411db9e | ||
|
|
0314236aab | ||
|
|
147e7d0cab | ||
|
|
1ac56c2d11 | ||
|
|
3020ccb113 | ||
|
|
ae654385df | ||
|
|
c771bf9016 | ||
|
|
88c86eb751 | ||
|
|
4131fd5509 | ||
|
|
6e0b6a0bec | ||
|
|
d09091d495 | ||
|
|
bb1969b6ab | ||
|
|
e40742526e | ||
|
|
e299bbdf6e | ||
|
|
617d7ef046 | ||
|
|
83a52171ba | ||
|
|
500f361080 | ||
|
|
d89682477c | ||
|
|
3d28b58c51 | ||
|
|
2ea773b468 | ||
|
|
177ab9e026 | ||
|
|
b5443cc46d | ||
|
|
8e481e8dfe | ||
|
|
6057ed4720 | ||
|
|
8144acbec3 | ||
|
|
6acc79f5d4 | ||
|
|
1be45b2ea7 | ||
|
|
ce9d50df07 | ||
|
|
bbee8d5122 | ||
|
|
99b1272f88 | ||
|
|
b1443b480f | ||
|
|
f9e3e09fdc | ||
|
|
05500ece62 | ||
|
|
8c8b8bb56c | ||
|
|
8309b0559d | ||
|
|
81b1ba4be5 | ||
|
|
ecc8bc482b | ||
|
|
e519dfd713 | ||
|
|
c0f5a78c15 | ||
|
|
6e5ea8d2a9 | ||
|
|
e3c74d249a | ||
|
|
2be7cb73f6 | ||
|
|
ea56e167c8 | ||
|
|
5f6b379ff3 | ||
|
|
ec9d3001cf | ||
|
|
2b6185287a | ||
|
|
c3c3158756 | ||
|
|
44a7db4ffd | ||
|
|
535d5b653a | ||
|
|
465e8b5985 | ||
|
|
46fd6bf2b6 | ||
|
|
ec50401e1e | ||
|
|
977239ef52 | ||
|
|
429ab1761e | ||
|
|
5b69c22fd2 | ||
|
|
870ba5f6dc | ||
|
|
402385a7f2 | ||
|
|
6b7b7190aa | ||
|
|
cee9bc2e3d | ||
|
|
6f7e555f74 | ||
|
|
c951522943 | ||
|
|
24877cf22c | ||
|
|
ba7e1865b3 | ||
|
|
1e1153600c | ||
|
|
c46af53410 | ||
|
|
27a472c32e | ||
|
|
ae12f4bad3 | ||
|
|
663bc89bbb | ||
|
|
e12bab3144 | ||
|
|
6d4470b0e9 | ||
|
|
f62fc316a2 | ||
|
|
8aef43b66c | ||
|
|
b589f95b38 | ||
|
|
d730c8e297 | ||
|
|
04b4e1a424 | ||
|
|
6d11f3b891 | ||
|
|
bf3250a8ad | ||
|
|
b328cca254 | ||
|
|
8ad16da729 | ||
|
|
f42b45d719 | ||
|
|
4614f53e0f | ||
|
|
f780b8a1c1 | ||
|
|
8b62d87e42 | ||
|
|
4164bb204e | ||
|
|
21b5038e02 | ||
|
|
7f1664e392 | ||
|
|
ccae4672fd | ||
|
|
6d3a1940be | ||
|
|
5823f84dd0 | ||
|
|
f2d79fa92d | ||
|
|
4b7214ea78 | ||
|
|
637532b3c0 | ||
|
|
196d157f12 | ||
|
|
33c8ca923e | ||
|
|
c85ffc9dab | ||
|
|
2cbc1a02cb | ||
|
|
44746aa1eb | ||
|
|
866f355814 | ||
|
|
5e53ac00a2 | ||
|
|
b9c67a51c1 | ||
|
|
4c05fa08c9 | ||
|
|
6d5b4f566a | ||
|
|
bbea47075c | ||
|
|
9067cd6cdf | ||
|
|
e1e714ef0d | ||
|
|
3d631cb0b3 | ||
|
|
a355652ea5 | ||
|
|
c0676bab92 | ||
|
|
2f21fa8743 | ||
|
|
fb2f7aa982 | ||
|
|
c6d86dccc4 | ||
|
|
af0839acec | ||
|
|
8caa10a8ec | ||
|
|
ef0a1d5ed3 | ||
|
|
a8bfa1727a | ||
|
|
1ea88a3e12 | ||
|
|
ced198d4b4 | ||
|
|
7d83bf4f2b | ||
|
|
01e51e5b30 | ||
|
|
c0c7549687 | ||
|
|
b56ac049ea | ||
|
|
c1a9bc1a72 | ||
|
|
3de8c2d1f0 | ||
|
|
6d9e71ad99 | ||
|
|
2ac372ccee | ||
|
|
54948183d2 | ||
|
|
b7a7e039b4 | ||
|
|
c8c8849267 | ||
|
|
5976f8ff00 | ||
|
|
d385b5d329 | ||
|
|
b09c684195 | ||
|
|
06d6260323 | ||
|
|
6436cd83f9 | ||
|
|
00b1e04165 | ||
|
|
e6fdf79980 | ||
|
|
c57463c9c6 | ||
|
|
548e598573 | ||
|
|
8cf734e024 | ||
|
|
48f88ac85b | ||
|
|
4604fbbbff | ||
|
|
b413d2e6a8 | ||
|
|
e38197d50f | ||
|
|
e3d31b02a5 | ||
|
|
cd929f7ba8 | ||
|
|
7a2d9892b7 | ||
|
|
d6024e2dd4 | ||
|
|
a42df5934b | ||
|
|
5d24a2257e | ||
|
|
c33181c44c | ||
|
|
80dae04d69 | ||
|
|
9123c0b31a | ||
|
|
4814ccbdf0 | ||
|
|
81df63537e | ||
|
|
39b5d8b514 | ||
|
|
3d1491ed23 | ||
|
|
9752c72f49 | ||
|
|
ef3c6a5b02 | ||
|
|
3ac55c8644 | ||
|
|
461a7fcfce | ||
|
|
528ccfbaa1 | ||
|
|
1916673a16 | ||
|
|
af610b8e66 | ||
|
|
d155d7a851 | ||
|
|
162b71479b | ||
|
|
48f377a476 | ||
|
|
9d302ad4e3 | ||
|
|
a79fd56923 | ||
|
|
6dc6703295 | ||
|
|
9d5c84a08f | ||
|
|
e667779013 | ||
|
|
c447d8d33f | ||
|
|
9d87a37ee9 | ||
|
|
a86187b9cd | ||
|
|
6403bcdaf4 | ||
|
|
9eb76af451 | ||
|
|
e751a5f531 | ||
|
|
2caad3fbbd | ||
|
|
4efe73b478 | ||
|
|
d80232be54 | ||
|
|
eeed665b0e | ||
|
|
72846cfa76 | ||
|
|
acecb3b935 | ||
|
|
21e551cce2 | ||
|
|
a9659e0da4 | ||
|
|
8b321d6a52 | ||
|
|
37e3edce20 | ||
|
|
471f658135 | ||
|
|
6c8dd39df9 | ||
|
|
cd1a62d468 | ||
|
|
142a975815 | ||
|
|
06b056e110 | ||
|
|
06d4c4c818 | ||
|
|
eae8ae1b2b | ||
|
|
56242f2b08 | ||
|
|
5f5e203c92 | ||
|
|
8f66717a1f | ||
|
|
fb95e212a2 | ||
|
|
ca79a5fc3b | ||
|
|
2fa7fad831 | ||
|
|
98aefe7c32 | ||
|
|
5c5697f298 | ||
|
|
295471920d | ||
|
|
30700cd5ff | ||
|
|
d47d52232b | ||
|
|
37402ed534 | ||
|
|
4af7259b2b | ||
|
|
55d4691308 | ||
|
|
76ab4fd619 | ||
|
|
446e7a3cd3 | ||
|
|
539328197c | ||
|
|
10ccaa17ec | ||
|
|
9a8534673a | ||
|
|
4087bfd96d | ||
|
|
20091c18c4 | ||
|
|
10600db772 | ||
|
|
88b53fd052 | ||
|
|
74ea88c170 | ||
|
|
b6fc72851c | ||
|
|
9719568533 | ||
|
|
51a7454cd2 | ||
|
|
b513d3079b | ||
|
|
d2ec51f399 | ||
|
|
5378e1cf0a | ||
|
|
ed8bc78d23 | ||
|
|
2fb8f684d8 | ||
|
|
614ab8aa00 | ||
|
|
07dc18ffa4 | ||
|
|
01a060da74 | ||
|
|
8ff5af9544 | ||
|
|
76a6345433 | ||
|
|
10efcd5b02 | ||
|
|
1341024e08 | ||
|
|
3067a4dd0d | ||
|
|
4ace6ab7e7 | ||
|
|
dc2f73a698 | ||
|
|
b730f0c7ba | ||
|
|
916a818cea | ||
|
|
4e303c8ba8 | ||
|
|
f951416a83 | ||
|
|
2b84949ad8 | ||
|
|
247bb7e43b | ||
|
|
82e8c92ebe | ||
|
|
5958f95a40 | ||
|
|
48d23bb4de | ||
|
|
addc156c38 | ||
|
|
6b731886ca | ||
|
|
25a494ce60 | ||
|
|
447f6ce8bd | ||
|
|
2d67d307ee | ||
|
|
dbc0d2163a | ||
|
|
c0f05d0bd1 | ||
|
|
f77af0e613 | ||
|
|
c4568ab37e | ||
|
|
f0d58efc9d | ||
|
|
0c27cbcacf | ||
|
|
61fb8d8c67 | ||
|
|
d3471e5785 | ||
|
|
c2c02574ec | ||
|
|
b244373bec | ||
|
|
f3aea59afa | ||
|
|
883ba68cda | ||
|
|
218959bc91 | ||
|
|
f49cc60aa8 | ||
|
|
8617b40159 | ||
|
|
d42333d8e9 | ||
|
|
ddd1f9183b | ||
|
|
ded5f1bed7 | ||
|
|
1bbb619483 | ||
|
|
d0721058f4 | ||
|
|
389ab7122b | ||
|
|
9e353b5265 | ||
|
|
ba3ff53930 | ||
|
|
dcd71cbaed | ||
|
|
0b38f54730 | ||
|
|
0f62cf5b33 | ||
|
|
da1c11c641 | ||
|
|
9691f82f86 | ||
|
|
bd9a0c611c | ||
|
|
4dbc262764 | ||
|
|
f7acf2b63c | ||
|
|
f080d70a82 | ||
|
|
a9a8e04eab | ||
|
|
833e5dab14 | ||
|
|
1c29943416 | ||
|
|
d474686a09 | ||
|
|
5f57bdcab7 | ||
|
|
c0fe4978f2 | ||
|
|
f86db78fed | ||
|
|
babfcf54ae | ||
|
|
e6e3989c1b | ||
|
|
bf9679ae46 | ||
|
|
0fd6be77de | ||
|
|
eda9e9c2fe | ||
|
|
b6f1480a6a | ||
|
|
9f84ded38b | ||
|
|
4c5d815256 | ||
|
|
42a4ea10af | ||
|
|
839e81e12d | ||
|
|
38654503b0 | ||
|
|
2c64ca1802 | ||
|
|
04c86d27fe | ||
|
|
115510f0bd | ||
|
|
29e7fe55be | ||
|
|
b361db077f | ||
|
|
64f410742f | ||
|
|
65dc12143a | ||
|
|
d95c3c253c | ||
|
|
a2aad02830 | ||
|
|
27e80c885b | ||
|
|
a16bc54503 | ||
|
|
d6105cb408 | ||
|
|
6cdb2c9811 | ||
|
|
453ce7c16b | ||
|
|
3d6014f033 | ||
|
|
108e7b422b | ||
|
|
0664089ecc | ||
|
|
1d3dbcf743 | ||
|
|
6a2633b00b | ||
|
|
95ba5c364f | ||
|
|
1df2fa47b4 | ||
|
|
798184cc67 | ||
|
|
c0543e145f | ||
|
|
00bf8cd211 | ||
|
|
1307d1c003 | ||
|
|
a05a0d325c | ||
|
|
df77cef92e | ||
|
|
0cc7b2d6cc | ||
|
|
d8f27b30d6 | ||
|
|
019dfe6855 | ||
|
|
2610990709 | ||
|
|
8295666dc2 | ||
|
|
7554c548a4 | ||
|
|
2bc152ab53 | ||
|
|
0e9deefb4f | ||
|
|
7701f30856 | ||
|
|
4a5abbd613 | ||
|
|
586c70cdfe | ||
|
|
4f88875725 | ||
|
|
35bc7d6c52 | ||
|
|
54ade9f7e3 | ||
|
|
95bafa296a | ||
|
|
6dff58f15c | ||
|
|
f45d747ebf | ||
|
|
d3dc062160 | ||
|
|
2bfddfc508 | ||
|
|
438d176e35 | ||
|
|
b434ae2a1f | ||
|
|
95892c27b2 | ||
|
|
ee91c33570 | ||
|
|
8c63e0ec31 | ||
|
|
09037503ea | ||
|
|
31cbadf74b | ||
|
|
45c5c86e63 | ||
|
|
6dae96ef7a | ||
|
|
d339828b4b | ||
|
|
c75878c923 | ||
|
|
3b30168f04 | ||
|
|
7ff8a3cfb6 | ||
|
|
4841a7ccae | ||
|
|
9cea87c577 | ||
|
|
e76d7a63df | ||
|
|
0bd4051732 | ||
|
|
4ff4290de1 | ||
|
|
76c612a166 | ||
|
|
1f402806b8 | ||
|
|
de2bd37bec | ||
|
|
b872e63fc6 | ||
|
|
036b09ca78 | ||
|
|
b0e982bf05 | ||
|
|
d4f73438bb | ||
|
|
3f3fb0b147 | ||
|
|
933bef779a | ||
|
|
92cbf62b87 | ||
|
|
cec12cd661 | ||
|
|
476c0db002 | ||
|
|
4b1c9a91b5 | ||
|
|
a87f8fd3fe | ||
|
|
fe15b7dfa6 | ||
|
|
9e81db9742 | ||
|
|
664323e7c8 | ||
|
|
e961cba3cb | ||
|
|
cc3a997746 | ||
|
|
198fa066b2 | ||
|
|
110bd60985 | ||
|
|
d2b58c0a2c | ||
|
|
65985ac998 | ||
|
|
8f4499b816 | ||
|
|
e8fa05b5bc | ||
|
|
42c63356d7 | ||
|
|
6e272acc82 | ||
|
|
e3521d9cbb | ||
|
|
785fc6567f | ||
|
|
50eb16c3b2 | ||
|
|
ac49f61a20 | ||
|
|
ab18673731 | ||
|
|
da1f71d75f | ||
|
|
bf1c1b8513 | ||
|
|
24839edc54 | ||
|
|
fe8ef98dd1 | ||
|
|
c91c500348 | ||
|
|
8aeb504fc6 | ||
|
|
a214079008 | ||
|
|
0f7683f973 | ||
|
|
5c6f574bd1 | ||
|
|
32d19c1820 | ||
|
|
78dcd4f002 | ||
|
|
0d5f21c3df | ||
|
|
42335f50bc | ||
|
|
c787539747 | ||
|
|
3b8defd0a5 | ||
|
|
bd9a53c06c | ||
|
|
1b7fefcbce | ||
|
|
90a997987d | ||
|
|
643b614087 | ||
|
|
274cea35c6 | ||
|
|
67f8ab8299 | ||
|
|
25328e39d2 | ||
|
|
84d9390480 | ||
|
|
007921611b | ||
|
|
4c7b08f640 | ||
|
|
e797abf3c7 | ||
|
|
c93262b2e3 | ||
|
|
f29c1c6aa3 | ||
|
|
6b0b83f768 | ||
|
|
e828b7621c | ||
|
|
93a1df2c20 | ||
|
|
6f8bdab8e2 | ||
|
|
a5c48c2698 | ||
|
|
02c972153d | ||
|
|
99f043a57d | ||
|
|
a750ac2288 | ||
|
|
53c8a478cc | ||
|
|
99396d4cbf | ||
|
|
d4a1aabe37 | ||
|
|
198cb66d65 | ||
|
|
0b1468884a | ||
|
|
ed5a9d6612 | ||
|
|
e67a7d690a | ||
|
|
f1c118be93 | ||
|
|
20aac6c112 | ||
|
|
acca8df9d4 | ||
|
|
c9cc9c78f2 | ||
|
|
7ee3f15b21 | ||
|
|
3c5b8cd254 | ||
|
|
94f01956a5 | ||
|
|
32bbd00949 | ||
|
|
9049b68612 | ||
|
|
f13daa46da | ||
|
|
f6ceaf1e05 | ||
|
|
379fb76b08 | ||
|
|
dd5d18eadf | ||
|
|
2bf4fe07b6 | ||
|
|
8c9e7b00f6 | ||
|
|
92c1b69641 | ||
|
|
a449a7c6b9 | ||
|
|
fc65cabb15 | ||
|
|
627cb6a6b3 | ||
|
|
6f6ef7c195 | ||
|
|
a06afc7f5e | ||
|
|
4cbdf155ca | ||
|
|
0529583ff1 | ||
|
|
98fc8d7b6c | ||
|
|
7c60505e10 | ||
|
|
74c8be2c68 | ||
|
|
2551c037e4 | ||
|
|
7cb33a14c9 | ||
|
|
4edfe2d2a2 | ||
|
|
8b0d5ce881 | ||
|
|
8e7218c459 | ||
|
|
3b3a506f57 | ||
|
|
320bf2d85e | ||
|
|
4c5765bc47 | ||
|
|
c631f2df62 | ||
|
|
47ad5656e1 | ||
|
|
00f123a565 | ||
|
|
8e82c057ff | ||
|
|
8c5e0093c9 | ||
|
|
2f0f871159 | ||
|
|
7feb35e778 | ||
|
|
fd6100b2aa | ||
|
|
0f6b4f06de | ||
|
|
da6e8919e7 | ||
|
|
830e3583da | ||
|
|
2e31048c30 | ||
|
|
c26f7c6053 | ||
|
|
f1883479be | ||
|
|
3f6a16f022 | ||
|
|
d8f0cef2bd | ||
|
|
142ae736d9 | ||
|
|
46fad2ef0b | ||
|
|
cea1f9ec52 | ||
|
|
111bbd61e9 | ||
|
|
264cf5cfaf | ||
|
|
3b9fcfcffa | ||
|
|
4d77c65a9e | ||
|
|
9bc1eac2c7 | ||
|
|
81f56536b1 | ||
|
|
b476cb7d8d | ||
|
|
2dfcef4c08 | ||
|
|
396659592f | ||
|
|
37b15568c2 | ||
|
|
167ae42685 | ||
|
|
d7cc163570 | ||
|
|
2f6a346a4c | ||
|
|
80d83c094d | ||
|
|
33c4dbb74b | ||
|
|
effed9315c | ||
|
|
def7b1dc61 | ||
|
|
2b926fcb3c | ||
|
|
60d0871000 | ||
|
|
c7f08b7ee1 | ||
|
|
164251ff80 | ||
|
|
976b847f43 | ||
|
|
21f990e1c2 | ||
|
|
ef73a28401 | ||
|
|
d473c8c101 | ||
|
|
f53c692240 | ||
|
|
b0acacd767 | ||
|
|
b31a3acce1 | ||
|
|
51e9fbf1c7 | ||
|
|
d569bb0299 | ||
|
|
90f1e2b7bc | ||
|
|
ee8415bc59 | ||
|
|
0ee81cb638 | ||
|
|
efe03738f6 | ||
|
|
4b16ee743e | ||
|
|
1598f9937a | ||
|
|
38efd1d17a | ||
|
|
4d37557ac6 | ||
|
|
3f347e4716 | ||
|
|
af559d2c9f | ||
|
|
bfde0b482d | ||
|
|
9fa9506853 | ||
|
|
f8f88f89e1 | ||
|
|
980bab457e | ||
|
|
40385dbcdf | ||
|
|
de3b3677f7 | ||
|
|
b782ba475a | ||
|
|
b1cf16113f | ||
|
|
7ebf4e1c34 | ||
|
|
8d8a65e389 | ||
|
|
447bd5a346 | ||
|
|
ee380ae376 | ||
|
|
91d2e783b4 | ||
|
|
917e32bda5 | ||
|
|
5db7eec423 | ||
|
|
02ab97709d | ||
|
|
7cc596547a | ||
|
|
3cb4448b8a | ||
|
|
218beb3e96 | ||
|
|
7da1fb5532 | ||
|
|
87ea64ca96 | ||
|
|
82593c1a3a | ||
|
|
3bf5e6a4c8 | ||
|
|
41c363a315 | ||
|
|
ded27a1feb | ||
|
|
f711cb2f12 | ||
|
|
a5bc38b8c1 | ||
|
|
91335e5a67 | ||
|
|
d2855f5454 | ||
|
|
79c2ad50b8 | ||
|
|
92d147be95 | ||
|
|
fda95e7572 | ||
|
|
1f0bfe5617 | ||
|
|
612cc3888b | ||
|
|
91f84f6e11 | ||
|
|
fdd7155fab | ||
|
|
6ab9e429da | ||
|
|
73b4abae5d | ||
|
|
edd6aacb01 | ||
|
|
d84b26a03b | ||
|
|
2c8c681bfc | ||
|
|
95e51470f1 | ||
|
|
fd249460fe | ||
|
|
8e85db0376 | ||
|
|
d2a054910b |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -80,6 +80,7 @@ src/testdir/dostmp/*
|
|||||||
src/testdir/messages
|
src/testdir/messages
|
||||||
src/testdir/viminfo
|
src/testdir/viminfo
|
||||||
src/testdir/opt_test.vim
|
src/testdir/opt_test.vim
|
||||||
|
runtime/indent/testdir/*.out
|
||||||
src/memfile_test
|
src/memfile_test
|
||||||
src/json_test
|
src/json_test
|
||||||
src/message_test
|
src/message_test
|
||||||
|
|||||||
140
.travis.yml
140
.travis.yml
@@ -10,54 +10,58 @@ compiler:
|
|||||||
- gcc
|
- gcc
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- BUILD=yes TEST=scripttests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
- &tiny-nogui
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
BUILD=yes TEST=test COVERAGE=no FEATURES=tiny "CONFOPT='--disable-gui'" SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||||
- BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes
|
- &tiny
|
||||||
- BUILD=yes TEST=test COVERAGE=no FEATURES=normal CONFOPT= SHADOWOPT="-C src/shadow" SRCDIR=./src/shadow CHECK_AUTOCONF=no
|
BUILD=yes TEST=test COVERAGE=no FEATURES=tiny CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||||
- BUILD=yes TEST=test COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
- &asan # ASAN build
|
||||||
- BUILD=yes TEST=test COVERAGE=no FEATURES=tiny CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer"
|
||||||
# Mac OSX build
|
|
||||||
- BUILD=yes TEST=test COVERAGE=no FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
|
||||||
# ASAN build
|
|
||||||
- BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer"
|
|
||||||
FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan" LSAN_OPTIONS="suppressions=$TRAVIS_BUILD_DIR/src/testdir/lsan-suppress.txt"
|
FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan" LSAN_OPTIONS="suppressions=$TRAVIS_BUILD_DIR/src/testdir/lsan-suppress.txt"
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
||||||
|
- &linux-huge
|
||||||
|
BUILD=yes TEST="scripttests test_libvterm" COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||||
|
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
||||||
|
- &unittests
|
||||||
|
BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes
|
||||||
|
- &normal
|
||||||
|
BUILD=yes TEST=test COVERAGE=no FEATURES=normal CONFOPT= SHADOWOPT="-C src/shadow" SRCDIR=./src/shadow CHECK_AUTOCONF=no
|
||||||
|
- &small
|
||||||
|
BUILD=yes TEST=test COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||||
|
- &osx-huge # Mac OSX build
|
||||||
|
BUILD=yes TEST=test COVERAGE=no FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||||
|
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
# instead of a 2*2*8 matrix (2*os + 2*compiler + 8*env),
|
# instead of a 2*2*8 matrix (2*os + 2*compiler + 8*env),
|
||||||
# exclude some builds on mac os x and linux
|
# exclude some builds on mac os x and linux
|
||||||
|
# on mac os x "tiny" is always without GUI
|
||||||
# linux: 2*compiler + 5*env + mac: 2*compiler + 2*env
|
# linux: 2*compiler + 5*env + mac: 2*compiler + 2*env
|
||||||
matrix:
|
matrix:
|
||||||
exclude:
|
exclude:
|
||||||
- os: osx
|
- os: osx
|
||||||
env: BUILD=yes TEST=test COVERAGE=no FEATURES=normal CONFOPT= SHADOWOPT="-C src/shadow" SRCDIR=./src/shadow CHECK_AUTOCONF=no
|
env: *tiny
|
||||||
- os: osx
|
- os: osx
|
||||||
env: BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes
|
env: *normal
|
||||||
- os: osx
|
- os: osx
|
||||||
env: BUILD=yes TEST=test COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
env: *unittests
|
||||||
- os: osx
|
- os: osx
|
||||||
env: BUILD=yes TEST=scripttests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
env: *small
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
|
||||||
- os: osx
|
- os: osx
|
||||||
env: BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer"
|
env: *linux-huge
|
||||||
FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan" LSAN_OPTIONS="suppressions=$TRAVIS_BUILD_DIR/src/testdir/lsan-suppress.txt"
|
- os: osx
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
env: *asan
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env: BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer"
|
env: *asan
|
||||||
FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan" LSAN_OPTIONS="suppressions=$TRAVIS_BUILD_DIR/src/testdir/lsan-suppress.txt"
|
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env: BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes
|
env: *unittests
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env: BUILD=yes TEST=test COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
env: *small
|
||||||
- os: linux
|
- os: linux
|
||||||
env: BUILD=yes TEST=test COVERAGE=no FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
env: *osx-huge
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
except:
|
except:
|
||||||
@@ -78,38 +82,90 @@ addons:
|
|||||||
- tcl-dev
|
- tcl-dev
|
||||||
- cscope
|
- cscope
|
||||||
- libgtk2.0-dev
|
- libgtk2.0-dev
|
||||||
|
homebrew:
|
||||||
|
packages:
|
||||||
|
- lua
|
||||||
|
update: true
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- rvm reset
|
- rvm reset
|
||||||
# Remove /opt/python/3.x.x/bin from $PATH for using system python3.
|
# Remove /opt/python/3.x.x/bin from $PATH for using system python3.
|
||||||
# ("pyenv global system" doesn't seem to work.)
|
# ("pyenv global system" doesn't seem to work.)
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ] && which python3 | grep '/opt/python/' > /dev/null; then export PATH=$(echo $PATH | sed -e "s#$(echo $(which python3) | sed -e 's#/python3$##'):##"); fi
|
- |
|
||||||
- if [ "$COVERAGE" = "yes" ]; then pip install --user cpp-coveralls; fi
|
if [[ "${TRAVIS_OS_NAME}" = "linux" ]] && [[ "$(which python3)" =~ ^/opt/python/ ]]; then
|
||||||
|
export PATH=$(py3=$(which python3); echo ${PATH//${py3%/python3}:/})
|
||||||
|
fi
|
||||||
|
- |
|
||||||
|
if [[ "${COVERAGE}" = "yes" ]]; then
|
||||||
|
pip install --user cpp-coveralls
|
||||||
|
fi
|
||||||
# needed for https support for coveralls
|
# needed for https support for coveralls
|
||||||
# building cffi only works with gcc, not with clang
|
# building cffi only works with gcc, not with clang
|
||||||
- if [ "$COVERAGE" = "yes" ]; then CC=gcc pip install --user pyopenssl ndg-httpsclient pyasn1; fi
|
- |
|
||||||
|
if [[ "${COVERAGE}" = "yes" ]]; then
|
||||||
|
CC=gcc pip install --user pyopenssl ndg-httpsclient pyasn1
|
||||||
|
fi
|
||||||
# Lua is not installed on Travis OSX
|
# Lua is not installed on Travis OSX
|
||||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export HOMEBREW_NO_AUTO_UPDATE=1; brew update; brew install lua; export LUA_PREFIX=/usr/local; fi
|
- |
|
||||||
|
if [[ "${TRAVIS_OS_NAME}" = "osx" ]]; then
|
||||||
|
export LUA_PREFIX=/usr/local
|
||||||
|
fi
|
||||||
# Use llvm-cov instead of gcov when compiler is clang.
|
# Use llvm-cov instead of gcov when compiler is clang.
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CC" = "clang" ]; then ln -sf $(which llvm-cov) /home/travis/bin/gcov; fi
|
- |
|
||||||
|
if [[ "${TRAVIS_OS_NAME}" = "linux" ]] && [[ "${CC}" = "clang" ]]; then
|
||||||
|
ln -sf "$(which llvm-cov)" /home/travis/bin/gcov
|
||||||
|
fi
|
||||||
|
|
||||||
# Start virtual framebuffer to be able to test the GUI. Does not work on OS X.
|
|
||||||
before_script:
|
before_script:
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then export DISPLAY=:99.0 && sh -e /etc/init.d/xvfb start && sleep 3; fi
|
# Start virtual framebuffer to be able to test the GUI. Does not work on OS X.
|
||||||
|
- |
|
||||||
|
if [[ "${TRAVIS_OS_NAME}" = "linux" ]]; then
|
||||||
|
export DISPLAY=:99.0
|
||||||
|
sh -e /etc/init.d/xvfb start && sleep 3
|
||||||
|
fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- NPROC=$(getconf _NPROCESSORS_ONLN)
|
- NPROC=$(getconf _NPROCESSORS_ONLN)
|
||||||
- if [ "$CHECK_AUTOCONF" = "yes" -a "$CC" = "gcc" ]; then make -C src autoconf; fi
|
- |
|
||||||
- if [ "x$SHADOWOPT" != x ]; then make -C src shadow; fi
|
if [[ "${CHECK_AUTOCONF}" = "yes" ]] && [[ "${CC}" = "gcc" ]]; then
|
||||||
- (cd ${SRCDIR} && ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && if [ "$BUILD" = "yes" ]; then make -j$NPROC; fi)
|
make -C src autoconf
|
||||||
|
fi
|
||||||
|
- |
|
||||||
|
if [[ -n "${SHADOWOPT}" ]]; then
|
||||||
|
make -C src shadow
|
||||||
|
fi
|
||||||
|
- |
|
||||||
|
(
|
||||||
|
cd "${SRCDIR}" \
|
||||||
|
&& ./configure --with-features=${FEATURES} ${CONFOPT} --enable-fail-if-missing
|
||||||
|
) && if [[ "${BUILD}" = "yes" ]]; then
|
||||||
|
make ${SHADOWOPT} -j${NPROC}
|
||||||
|
fi
|
||||||
# Show Vim version and also if_xx versions.
|
# Show Vim version and also if_xx versions.
|
||||||
- if [ "$BUILD" = "yes" ]; then ${SRCDIR}/vim --version; ${SRCDIR}/vim --not-a-term -u NONE -S ${SRCDIR}/testdir/if_ver-1.vim -c quit > /dev/null; ${SRCDIR}/vim --not-a-term -u NONE -S ${SRCDIR}/testdir/if_ver-2.vim -c quit > /dev/null; cat if_ver.txt; fi
|
- |
|
||||||
- make $SHADOWOPT $TEST
|
if [[ "${BUILD}" = "yes" ]]; then
|
||||||
- if [ -n "$ASAN_OPTIONS" ]; then for log in $(find -type f -name 'asan.*' -size +0); do asan_symbolize < "$log"; err=1; done; fi
|
"${SRCDIR}"/vim --version
|
||||||
- if [ -n "$err" ]; then exit 1; fi
|
"${SRCDIR}"/vim --not-a-term -u NONE -S "${SRCDIR}"/testdir/if_ver-1.vim -c quit > /dev/null
|
||||||
|
"${SRCDIR}"/vim --not-a-term -u NONE -S "${SRCDIR}"/testdir/if_ver-2.vim -c quit > /dev/null
|
||||||
|
cat if_ver.txt
|
||||||
|
fi
|
||||||
|
- make ${SHADOWOPT} ${TEST}
|
||||||
|
- |
|
||||||
|
if [[ -n "${ASAN_OPTIONS}" ]]; then
|
||||||
|
while read log; do
|
||||||
|
asan_symbolize < "${log}"
|
||||||
|
done < <(find . -type f -name 'asan.*' -size +0)
|
||||||
|
[[ -z "${log}" ]] # exit 1 if there are ASAN logs
|
||||||
|
fi
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- if [ "$COVERAGE" = "yes" ]; then ~/.local/bin/coveralls -b ${SRCDIR} -x .xs -e ${SRCDIR}/xxd -e ${SRCDIR}/if_perl.c --encodings utf-8 latin-1 EUC-KR; fi
|
- |
|
||||||
- if [ "$COVERAGE" = "yes" ]; then cd ${SRCDIR} && bash <(curl -s https://codecov.io/bash) ; fi
|
if [[ "${COVERAGE}" = "yes" ]]; then
|
||||||
|
~/.local/bin/coveralls -b "${SRCDIR}" -x .xs -e "${SRCDIR}"/if_perl.c -e "${SRCDIR}"/xxd -e "${SRCDIR}"/libvterm --encodings utf-8 latin-1 EUC-KR
|
||||||
|
fi
|
||||||
|
- |
|
||||||
|
if [[ "${COVERAGE}" = "yes" ]]; then
|
||||||
|
(cd "${SRCDIR}" && bash <(curl -s https://codecov.io/bash))
|
||||||
|
fi
|
||||||
|
|
||||||
# vim:set sts=2 sw=2 tw=0 et:
|
# vim:set sts=2 sw=2 tw=0 et:
|
||||||
|
|||||||
65
Filelist
65
Filelist
@@ -1,5 +1,5 @@
|
|||||||
# List of distributed Vim files.
|
# List of distributed Vim files.
|
||||||
# Used by Makefile and upload.aap.
|
# Used by Makefile.
|
||||||
|
|
||||||
# source files for all source archives
|
# source files for all source archives
|
||||||
SRC_ALL = \
|
SRC_ALL = \
|
||||||
@@ -7,15 +7,17 @@ SRC_ALL = \
|
|||||||
.lgtm.yml \
|
.lgtm.yml \
|
||||||
.travis.yml \
|
.travis.yml \
|
||||||
appveyor.yml \
|
appveyor.yml \
|
||||||
|
ci/appveyor.bat \
|
||||||
src/Make_all.mak \
|
src/Make_all.mak \
|
||||||
src/appveyor.bat \
|
|
||||||
src/README.txt \
|
src/README.txt \
|
||||||
src/alloc.h \
|
src/alloc.h \
|
||||||
src/arabic.c \
|
src/arabic.c \
|
||||||
src/arabic.h \
|
src/arabic.h \
|
||||||
src/ascii.h \
|
src/ascii.h \
|
||||||
|
src/autocmd.c \
|
||||||
src/beval.c \
|
src/beval.c \
|
||||||
src/beval.h \
|
src/beval.h \
|
||||||
|
src/blob.c \
|
||||||
src/blowfish.c \
|
src/blowfish.c \
|
||||||
src/buffer.c \
|
src/buffer.c \
|
||||||
src/channel.c \
|
src/channel.c \
|
||||||
@@ -35,10 +37,9 @@ SRC_ALL = \
|
|||||||
src/ex_docmd.c \
|
src/ex_docmd.c \
|
||||||
src/ex_eval.c \
|
src/ex_eval.c \
|
||||||
src/ex_getln.c \
|
src/ex_getln.c \
|
||||||
src/farsi.c \
|
|
||||||
src/farsi.h \
|
|
||||||
src/feature.h \
|
src/feature.h \
|
||||||
src/fileio.c \
|
src/fileio.c \
|
||||||
|
src/findfile.c \
|
||||||
src/fold.c \
|
src/fold.c \
|
||||||
src/getchar.c \
|
src/getchar.c \
|
||||||
src/globals.h \
|
src/globals.h \
|
||||||
@@ -47,6 +48,7 @@ SRC_ALL = \
|
|||||||
src/gui_beval.c \
|
src/gui_beval.c \
|
||||||
src/hardcopy.c \
|
src/hardcopy.c \
|
||||||
src/hashtab.c \
|
src/hashtab.c \
|
||||||
|
src/indent.c \
|
||||||
src/json.c \
|
src/json.c \
|
||||||
src/json_test.c \
|
src/json_test.c \
|
||||||
src/kword_test.c \
|
src/kword_test.c \
|
||||||
@@ -81,16 +83,18 @@ SRC_ALL = \
|
|||||||
src/screen.c \
|
src/screen.c \
|
||||||
src/search.c \
|
src/search.c \
|
||||||
src/sha256.c \
|
src/sha256.c \
|
||||||
src/structs.h \
|
src/sign.c \
|
||||||
src/spell.c \
|
src/spell.c \
|
||||||
src/spell.h \
|
src/spell.h \
|
||||||
src/spellfile.c \
|
src/spellfile.c \
|
||||||
|
src/structs.h \
|
||||||
src/syntax.c \
|
src/syntax.c \
|
||||||
src/tag.c \
|
src/tag.c \
|
||||||
src/term.c \
|
src/term.c \
|
||||||
src/terminal.c \
|
src/terminal.c \
|
||||||
src/term.h \
|
src/term.h \
|
||||||
src/termlib.c \
|
src/termlib.c \
|
||||||
|
src/textprop.c \
|
||||||
src/ui.c \
|
src/ui.c \
|
||||||
src/undo.c \
|
src/undo.c \
|
||||||
src/userfunc.c \
|
src/userfunc.c \
|
||||||
@@ -101,9 +105,7 @@ SRC_ALL = \
|
|||||||
src/window.c \
|
src/window.c \
|
||||||
src/tee/tee.c \
|
src/tee/tee.c \
|
||||||
src/xxd/xxd.c \
|
src/xxd/xxd.c \
|
||||||
src/main.aap \
|
|
||||||
src/testdir/gen_opt_test.vim \
|
src/testdir/gen_opt_test.vim \
|
||||||
src/testdir/main.aap \
|
|
||||||
src/testdir/README.txt \
|
src/testdir/README.txt \
|
||||||
src/testdir/Make_all.mak \
|
src/testdir/Make_all.mak \
|
||||||
src/testdir/*.in \
|
src/testdir/*.in \
|
||||||
@@ -143,8 +145,11 @@ SRC_ALL = \
|
|||||||
src/testdir/if_ver*.vim \
|
src/testdir/if_ver*.vim \
|
||||||
src/testdir/color_ramp.vim \
|
src/testdir/color_ramp.vim \
|
||||||
src/proto.h \
|
src/proto.h \
|
||||||
|
src/protodef.h \
|
||||||
src/proto/arabic.pro \
|
src/proto/arabic.pro \
|
||||||
|
src/proto/autocmd.pro \
|
||||||
src/proto/beval.pro \
|
src/proto/beval.pro \
|
||||||
|
src/proto/blob.pro \
|
||||||
src/proto/blowfish.pro \
|
src/proto/blowfish.pro \
|
||||||
src/proto/buffer.pro \
|
src/proto/buffer.pro \
|
||||||
src/proto/channel.pro \
|
src/proto/channel.pro \
|
||||||
@@ -162,14 +167,15 @@ SRC_ALL = \
|
|||||||
src/proto/ex_docmd.pro \
|
src/proto/ex_docmd.pro \
|
||||||
src/proto/ex_eval.pro \
|
src/proto/ex_eval.pro \
|
||||||
src/proto/ex_getln.pro \
|
src/proto/ex_getln.pro \
|
||||||
src/proto/farsi.pro \
|
|
||||||
src/proto/fileio.pro \
|
src/proto/fileio.pro \
|
||||||
|
src/proto/findfile.pro \
|
||||||
src/proto/fold.pro \
|
src/proto/fold.pro \
|
||||||
src/proto/getchar.pro \
|
src/proto/getchar.pro \
|
||||||
src/proto/gui.pro \
|
src/proto/gui.pro \
|
||||||
src/proto/gui_beval.pro \
|
src/proto/gui_beval.pro \
|
||||||
src/proto/hardcopy.pro \
|
src/proto/hardcopy.pro \
|
||||||
src/proto/hashtab.pro \
|
src/proto/hashtab.pro \
|
||||||
|
src/proto/indent.pro \
|
||||||
src/proto/json.pro \
|
src/proto/json.pro \
|
||||||
src/proto/list.pro \
|
src/proto/list.pro \
|
||||||
src/proto/main.pro \
|
src/proto/main.pro \
|
||||||
@@ -192,6 +198,7 @@ SRC_ALL = \
|
|||||||
src/proto/screen.pro \
|
src/proto/screen.pro \
|
||||||
src/proto/search.pro \
|
src/proto/search.pro \
|
||||||
src/proto/sha256.pro \
|
src/proto/sha256.pro \
|
||||||
|
src/proto/sign.pro \
|
||||||
src/proto/spell.pro \
|
src/proto/spell.pro \
|
||||||
src/proto/spellfile.pro \
|
src/proto/spellfile.pro \
|
||||||
src/proto/syntax.pro \
|
src/proto/syntax.pro \
|
||||||
@@ -199,6 +206,7 @@ SRC_ALL = \
|
|||||||
src/proto/term.pro \
|
src/proto/term.pro \
|
||||||
src/proto/terminal.pro \
|
src/proto/terminal.pro \
|
||||||
src/proto/termlib.pro \
|
src/proto/termlib.pro \
|
||||||
|
src/proto/textprop.pro \
|
||||||
src/proto/ui.pro \
|
src/proto/ui.pro \
|
||||||
src/proto/undo.pro \
|
src/proto/undo.pro \
|
||||||
src/proto/userfunc.pro \
|
src/proto/userfunc.pro \
|
||||||
@@ -229,7 +237,7 @@ SRC_ALL = \
|
|||||||
src/libvterm/src/parser.c \
|
src/libvterm/src/parser.c \
|
||||||
src/libvterm/src/pen.c \
|
src/libvterm/src/pen.c \
|
||||||
src/libvterm/src/rect.h \
|
src/libvterm/src/rect.h \
|
||||||
src/libvterm/src/screen.c \
|
src/libvterm/src/termscreen.c \
|
||||||
src/libvterm/src/state.c \
|
src/libvterm/src/state.c \
|
||||||
src/libvterm/src/unicode.c \
|
src/libvterm/src/unicode.c \
|
||||||
src/libvterm/src/utf8.h \
|
src/libvterm/src/utf8.h \
|
||||||
@@ -275,6 +283,22 @@ SRC_ALL = \
|
|||||||
src/libvterm/t/92lp1640917.test \
|
src/libvterm/t/92lp1640917.test \
|
||||||
src/libvterm/t/harness.c \
|
src/libvterm/t/harness.c \
|
||||||
src/libvterm/t/run-test.pl \
|
src/libvterm/t/run-test.pl \
|
||||||
|
src/xdiff/COPYING \
|
||||||
|
src/xdiff/README.txt \
|
||||||
|
src/xdiff/xdiff.h \
|
||||||
|
src/xdiff/xdiffi.c \
|
||||||
|
src/xdiff/xdiffi.h \
|
||||||
|
src/xdiff/xemit.c \
|
||||||
|
src/xdiff/xemit.h \
|
||||||
|
src/xdiff/xhistogram.c \
|
||||||
|
src/xdiff/xinclude.h \
|
||||||
|
src/xdiff/xmacros.h \
|
||||||
|
src/xdiff/xpatience.c \
|
||||||
|
src/xdiff/xprepare.c \
|
||||||
|
src/xdiff/xprepare.h \
|
||||||
|
src/xdiff/xtypes.h \
|
||||||
|
src/xdiff/xutils.c \
|
||||||
|
src/xdiff/xutils.h \
|
||||||
|
|
||||||
|
|
||||||
# source files for Unix only
|
# source files for Unix only
|
||||||
@@ -291,7 +315,6 @@ SRC_UNIX = \
|
|||||||
src/INSTALLx.txt \
|
src/INSTALLx.txt \
|
||||||
src/Makefile \
|
src/Makefile \
|
||||||
src/auto/configure \
|
src/auto/configure \
|
||||||
src/config.aap.in \
|
|
||||||
src/config.h.in \
|
src/config.h.in \
|
||||||
src/config.mk.dist \
|
src/config.mk.dist \
|
||||||
src/config.mk.in \
|
src/config.mk.in \
|
||||||
@@ -316,8 +339,6 @@ SRC_UNIX = \
|
|||||||
src/gui_x11_pm.h \
|
src/gui_x11_pm.h \
|
||||||
src/hangulin.c \
|
src/hangulin.c \
|
||||||
src/if_xcmdsrv.c \
|
src/if_xcmdsrv.c \
|
||||||
src/integration.c \
|
|
||||||
src/integration.h \
|
|
||||||
src/link.sh \
|
src/link.sh \
|
||||||
src/installman.sh \
|
src/installman.sh \
|
||||||
src/installml.sh \
|
src/installml.sh \
|
||||||
@@ -340,7 +361,6 @@ SRC_UNIX = \
|
|||||||
src/proto/if_xcmdsrv.pro \
|
src/proto/if_xcmdsrv.pro \
|
||||||
src/proto/os_unix.pro \
|
src/proto/os_unix.pro \
|
||||||
src/proto/pty.pro \
|
src/proto/pty.pro \
|
||||||
src/proto/workshop.pro \
|
|
||||||
src/pty.c \
|
src/pty.c \
|
||||||
src/testdir/Makefile \
|
src/testdir/Makefile \
|
||||||
src/testdir/unix.vim \
|
src/testdir/unix.vim \
|
||||||
@@ -350,10 +370,6 @@ SRC_UNIX = \
|
|||||||
src/vimtutor \
|
src/vimtutor \
|
||||||
src/gvimtutor \
|
src/gvimtutor \
|
||||||
src/which.sh \
|
src/which.sh \
|
||||||
src/workshop.c \
|
|
||||||
src/workshop.h \
|
|
||||||
src/wsdebug.c \
|
|
||||||
src/wsdebug.h \
|
|
||||||
src/tee/Makefile \
|
src/tee/Makefile \
|
||||||
src/xxd/Makefile \
|
src/xxd/Makefile \
|
||||||
|
|
||||||
@@ -459,8 +475,8 @@ SRC_DOS = \
|
|||||||
src/xxd/Make_mvc.mak \
|
src/xxd/Make_mvc.mak \
|
||||||
nsis/gvim.nsi \
|
nsis/gvim.nsi \
|
||||||
nsis/gvim_version.nsh \
|
nsis/gvim_version.nsh \
|
||||||
nsis/vimrc.ini \
|
|
||||||
nsis/README.txt \
|
nsis/README.txt \
|
||||||
|
nsis/lang/*.nsi \
|
||||||
uninstal.txt \
|
uninstal.txt \
|
||||||
src/VisVim/Commands.cpp \
|
src/VisVim/Commands.cpp \
|
||||||
src/VisVim/Commands.h \
|
src/VisVim/Commands.h \
|
||||||
@@ -499,8 +515,7 @@ SRC_DOS_BIN = \
|
|||||||
src/xpm/x86/lib/libXpm.a \
|
src/xpm/x86/lib/libXpm.a \
|
||||||
src/xpm/x86/lib/libXpm.lib \
|
src/xpm/x86/lib/libXpm.lib \
|
||||||
src/xpm/x86/lib-vc14/libXpm.lib \
|
src/xpm/x86/lib-vc14/libXpm.lib \
|
||||||
nsis/icons/*.bmp \
|
nsis/icons.zip \
|
||||||
nsis/icons/*.ico \
|
|
||||||
|
|
||||||
# source files for Amiga, DOS, etc. (also in the extra archive)
|
# source files for Amiga, DOS, etc. (also in the extra archive)
|
||||||
SRC_AMI_DOS = \
|
SRC_AMI_DOS = \
|
||||||
@@ -612,7 +627,6 @@ RT_ALL = \
|
|||||||
runtime/macros/matchit.vim \
|
runtime/macros/matchit.vim \
|
||||||
runtime/macros/maze/README.txt \
|
runtime/macros/maze/README.txt \
|
||||||
runtime/macros/maze/[mM]akefile \
|
runtime/macros/maze/[mM]akefile \
|
||||||
runtime/macros/maze/main.aap \
|
|
||||||
runtime/macros/maze/maze.c \
|
runtime/macros/maze/maze.c \
|
||||||
runtime/macros/maze/maze_5.78 \
|
runtime/macros/maze/maze_5.78 \
|
||||||
runtime/macros/maze/maze_mac \
|
runtime/macros/maze/maze_mac \
|
||||||
@@ -640,6 +654,7 @@ RT_ALL = \
|
|||||||
runtime/tutor/tutor \
|
runtime/tutor/tutor \
|
||||||
runtime/tutor/tutor.vim \
|
runtime/tutor/tutor.vim \
|
||||||
runtime/vimrc_example.vim \
|
runtime/vimrc_example.vim \
|
||||||
|
runtime/pack/dist/opt/cfilter/plugin/cfilter.vim \
|
||||||
runtime/pack/dist/opt/dvorak/plugin/dvorak.vim \
|
runtime/pack/dist/opt/dvorak/plugin/dvorak.vim \
|
||||||
runtime/pack/dist/opt/dvorak/dvorak/enable.vim \
|
runtime/pack/dist/opt/dvorak/dvorak/enable.vim \
|
||||||
runtime/pack/dist/opt/dvorak/dvorak/disable.vim \
|
runtime/pack/dist/opt/dvorak/dvorak/disable.vim \
|
||||||
@@ -648,6 +663,7 @@ RT_ALL = \
|
|||||||
runtime/pack/dist/opt/matchit/plugin/matchit.vim \
|
runtime/pack/dist/opt/matchit/plugin/matchit.vim \
|
||||||
runtime/pack/dist/opt/matchit/doc/matchit.txt \
|
runtime/pack/dist/opt/matchit/doc/matchit.txt \
|
||||||
runtime/pack/dist/opt/matchit/doc/tags \
|
runtime/pack/dist/opt/matchit/doc/tags \
|
||||||
|
runtime/pack/dist/opt/matchit/autoload/*.vim \
|
||||||
runtime/pack/dist/opt/shellmenu/plugin/shellmenu.vim \
|
runtime/pack/dist/opt/shellmenu/plugin/shellmenu.vim \
|
||||||
runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim \
|
runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim \
|
||||||
runtime/pack/dist/opt/termdebug/plugin/termdebug.vim \
|
runtime/pack/dist/opt/termdebug/plugin/termdebug.vim \
|
||||||
@@ -677,6 +693,11 @@ RT_SCRIPTS = \
|
|||||||
runtime/compiler/README.txt \
|
runtime/compiler/README.txt \
|
||||||
runtime/indent/*.vim \
|
runtime/indent/*.vim \
|
||||||
runtime/indent/README.txt \
|
runtime/indent/README.txt \
|
||||||
|
runtime/indent/Makefile \
|
||||||
|
runtime/indent/testdir/README.txt \
|
||||||
|
runtime/indent/testdir/*.vim \
|
||||||
|
runtime/indent/testdir/*.in \
|
||||||
|
runtime/indent/testdir/*.ok \
|
||||||
runtime/ftplugin/*.vim \
|
runtime/ftplugin/*.vim \
|
||||||
runtime/ftplugin/logtalk.dict \
|
runtime/ftplugin/logtalk.dict \
|
||||||
runtime/ftplugin/README.txt \
|
runtime/ftplugin/README.txt \
|
||||||
@@ -813,8 +834,6 @@ EXTRA = \
|
|||||||
$(SRC_EXTRA) \
|
$(SRC_EXTRA) \
|
||||||
README_extra.txt \
|
README_extra.txt \
|
||||||
src/VisVim/VisVim.dll \
|
src/VisVim/VisVim.dll \
|
||||||
farsi/README.txt \
|
|
||||||
farsi/fonts/*/far-* \
|
|
||||||
runtime/vimlogo.xpm \
|
runtime/vimlogo.xpm \
|
||||||
src/tee/Makefile \
|
src/tee/Makefile \
|
||||||
src/tee/Make_mvc.mak \
|
src/tee/Make_mvc.mak \
|
||||||
|
|||||||
24
Makefile
24
Makefile
@@ -32,13 +32,25 @@ first:
|
|||||||
|
|
||||||
# Some make programs use the last target for the $@ default; put the other
|
# Some make programs use the last target for the $@ default; put the other
|
||||||
# targets separately to always let $@ expand to "first" by default.
|
# targets separately to always let $@ expand to "first" by default.
|
||||||
all install uninstall tools config configure reconfig proto depend lint tags types test scripttests unittests testclean clean distclean:
|
all install uninstall tools config configure reconfig proto depend lint tags types test scripttests test_libvterm unittests testclean clean distclean:
|
||||||
@if test ! -f src/auto/config.mk; then \
|
@if test ! -f src/auto/config.mk; then \
|
||||||
cp src/config.mk.dist src/auto/config.mk; \
|
cp src/config.mk.dist src/auto/config.mk; \
|
||||||
fi
|
fi
|
||||||
@echo "Starting make in the src directory."
|
@echo "Starting make in the src directory."
|
||||||
@echo "If there are problems, cd to the src directory and run make there"
|
@echo "If there are problems, cd to the src directory and run make there"
|
||||||
cd src && $(MAKE) $@
|
cd src && $(MAKE) $@
|
||||||
|
@# When the target is "test" also run the indent tests.
|
||||||
|
@if test "$@" = "test"; then \
|
||||||
|
$(MAKE) indenttest; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Executable used for running the indent tests.
|
||||||
|
VIM_FOR_INDENTTEST = ../../src/vim
|
||||||
|
|
||||||
|
indenttest:
|
||||||
|
cd runtime/indent && \
|
||||||
|
$(MAKE) clean VIM="$(VIM_FOR_INDENTTEST)" && \
|
||||||
|
$(MAKE) test VIM="$(VIM_FOR_INDENTTEST)"
|
||||||
|
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
@@ -193,6 +205,7 @@ MINOR = 1
|
|||||||
# - Make sure there is a diff.exe two levels up (get it from a previous Vim
|
# - Make sure there is a diff.exe two levels up (get it from a previous Vim
|
||||||
# version). Also put winpty32.dll and winpty-agent.exe there.
|
# version). Also put winpty32.dll and winpty-agent.exe there.
|
||||||
# - go to ../nsis and do:
|
# - go to ../nsis and do:
|
||||||
|
# > unzip icons.zip
|
||||||
# > makensis gvim.nsi (takes a few minutes).
|
# > makensis gvim.nsi (takes a few minutes).
|
||||||
# ignore warning for libwinpthread-1.dll
|
# ignore warning for libwinpthread-1.dll
|
||||||
# - Copy gvim##.exe to the dist directory.
|
# - Copy gvim##.exe to the dist directory.
|
||||||
@@ -456,11 +469,12 @@ dosrt_files: dist prepare no_title.vim
|
|||||||
-rm $(IN_README_DIR)
|
-rm $(IN_README_DIR)
|
||||||
mv dist/vim/$(VIMRTDIR)/runtime/* dist/vim/$(VIMRTDIR)
|
mv dist/vim/$(VIMRTDIR)/runtime/* dist/vim/$(VIMRTDIR)
|
||||||
rmdir dist/vim/$(VIMRTDIR)/runtime
|
rmdir dist/vim/$(VIMRTDIR)/runtime
|
||||||
# Add the message translations. Trick: skip ja.mo and use ja.sjis.mo instead.
|
# Add the message translations. Trick: skip ja.mo/ja.euc-jp.mo and use
|
||||||
# Same for cs.mo / cs.cp1250.mo, pl.mo / pl.cp1250.mo, sk.mo / sk.cp1250.mo,
|
# ja.sjis.mo instead. Same for cs.mo / cs.cp1250.mo, pl.mo / pl.cp1250.mo,
|
||||||
# zh_CN.mo / zh_CN.cp936.mo, uk.mo / uk.cp1251.mo and ru.mo / ru.cp1251.mo.
|
# sk.mo / sk.cp1250.mo, zh_CN.mo / zh_CN.cp936.mo, uk.mo / uk.cp1251.mo and
|
||||||
|
# ru.mo / ru.cp1251.mo.
|
||||||
for i in $(LANG_DOS); do \
|
for i in $(LANG_DOS); do \
|
||||||
if test "$$i" != "src/po/ja.mo" -a "$$i" != "src/po/pl.mo" -a "$$i" != "src/po/cs.mo" -a "$$i" != "src/po/sk.mo" -a "$$i" != "src/po/zh_CN.mo" -a "$$i" != "src/po/ru.mo" -a "$$i" != "src/po/uk.mo"; then \
|
if test "$$i" != "src/po/ja.mo" -a "$$i" != "src/po/ja.euc-jp.mo" -a "$$i" != "src/po/pl.mo" -a "$$i" != "src/po/cs.mo" -a "$$i" != "src/po/sk.mo" -a "$$i" != "src/po/zh_CN.mo" -a "$$i" != "src/po/ru.mo" -a "$$i" != "src/po/uk.mo"; then \
|
||||||
n=`echo $$i | sed -e "s+src/po/\([-a-zA-Z0-9_]*\(.UTF-8\)*\)\(.sjis\)*\(.cp1250\)*\(.cp1251\)*\(.cp936\)*.mo+\1+"`; \
|
n=`echo $$i | sed -e "s+src/po/\([-a-zA-Z0-9_]*\(.UTF-8\)*\)\(.sjis\)*\(.cp1250\)*\(.cp1251\)*\(.cp936\)*.mo+\1+"`; \
|
||||||
mkdir dist/vim/$(VIMRTDIR)/lang/$$n; \
|
mkdir dist/vim/$(VIMRTDIR)/lang/$$n; \
|
||||||
mkdir dist/vim/$(VIMRTDIR)/lang/$$n/LC_MESSAGES; \
|
mkdir dist/vim/$(VIMRTDIR)/lang/$$n/LC_MESSAGES; \
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||

|

|
||||||
|
|
||||||
[](https://travis-ci.org/vim/vim)
|
[](https://travis-ci.org/vim/vim)
|
||||||
[](https://codecov.io/gh/vim/vim?branch=master)
|
|
||||||
[](https://coveralls.io/github/vim/vim?branch=master)
|
|
||||||
[](https://ci.appveyor.com/project/chrisbra/vim)
|
[](https://ci.appveyor.com/project/chrisbra/vim)
|
||||||
|
[](https://codecov.io/gh/vim/vim?branch=master)
|
||||||
[](https://scan.coverity.com/projects/vim)
|
[](https://scan.coverity.com/projects/vim)
|
||||||
|
[](https://lgtm.com/projects/g/vim/vim/context:cpp)
|
||||||
[](https://buildd.debian.org/vim)
|
[](https://buildd.debian.org/vim)
|
||||||
|
[](https://repology.org/metapackage/vim)
|
||||||
|
|
||||||
|
|
||||||
## What is Vim? ##
|
## What is Vim? ##
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
README_zOS.txt for version 8.1 of Vim: Vi IMproved.
|
README_os390.txt for version 8.1 of Vim: Vi IMproved.
|
||||||
|
|
||||||
This readme explains how to build Vim on z/OS. Formerly called OS/390.
|
This readme explains how to build Vim on z/OS. Formerly called OS/390.
|
||||||
See "README.txt" for general information about Vim.
|
See "README.txt" for general information about Vim.
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ before_build:
|
|||||||
- 'set INCLUDE=%INCLUDE%C:\Program Files (x86)\Windows Kits\8.1\Include\um'
|
- 'set INCLUDE=%INCLUDE%C:\Program Files (x86)\Windows Kits\8.1\Include\um'
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- src/appveyor.bat
|
- ci/appveyor.bat
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- cd src/testdir
|
- cd src/testdir
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ cd %APPVEYOR_BUILD_FOLDER%
|
|||||||
cd src
|
cd src
|
||||||
echo "Building MinGW 32bit console version"
|
echo "Building MinGW 32bit console version"
|
||||||
set PATH=c:\msys64\mingw32\bin;%PATH%
|
set PATH=c:\msys64\mingw32\bin;%PATH%
|
||||||
mingw32-make.exe -f Make_ming.mak GUI=no OPTIMIZE=speed IME=yes MBYTE=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
|
mingw32-make.exe -f Make_ming.mak GUI=no OPTIMIZE=speed IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
|
||||||
:: Save vim.exe before Make clean, moved back below.
|
:: Save vim.exe before Make clean, moved back below.
|
||||||
copy vim.exe testdir
|
copy vim.exe testdir
|
||||||
mingw32-make.exe -f Make_ming.mak clean
|
mingw32-make.exe -f Make_ming.mak clean
|
||||||
@@ -16,24 +16,24 @@ mingw32-make.exe -f Make_ming.mak clean
|
|||||||
:: with specified features without python.
|
:: with specified features without python.
|
||||||
echo "Building MinGW 32bit GUI version"
|
echo "Building MinGW 32bit GUI version"
|
||||||
if "%FEATURE%" == "HUGE" (
|
if "%FEATURE%" == "HUGE" (
|
||||||
mingw32-make.exe -f Make_ming.mak OPTIMIZE=speed CHANNEL=yes GUI=yes IME=yes MBYTE=yes ICONV=yes DEBUG=no PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27 PYTHON3_VER=35 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python35 FEATURES=%FEATURE% || exit 1
|
mingw32-make.exe -f Make_ming.mak OPTIMIZE=speed CHANNEL=yes GUI=yes IME=yes ICONV=yes DEBUG=no PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27 PYTHON3_VER=35 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python35 FEATURES=%FEATURE% || exit 1
|
||||||
) ELSE (
|
) ELSE (
|
||||||
mingw32-make.exe -f Make_ming.mak OPTIMIZE=speed GUI=yes IME=yes MBYTE=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
|
mingw32-make.exe -f Make_ming.mak OPTIMIZE=speed GUI=yes IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
|
||||||
)
|
)
|
||||||
.\gvim -u NONE -c "redir @a | ver |0put a | wq" ver_ming.txt
|
.\gvim -u NONE -c "redir @a | ver |0put a | wq" ver_ming.txt
|
||||||
|
|
||||||
echo "Building MSVC 64bit console Version"
|
echo "Building MSVC 64bit console Version"
|
||||||
sed -e "s/\$(LINKARGS2)/\$(LINKARGS2) | sed -e 's#.*\\\\r.*##'/" Make_mvc.mak > Make_mvc2.mak
|
sed -e "s/\$(LINKARGS2)/\$(LINKARGS2) | sed -e 's#.*\\\\r.*##'/" Make_mvc.mak > Make_mvc2.mak
|
||||||
nmake -f Make_mvc2.mak CPU=AMD64 OLE=no GUI=no IME=yes MBYTE=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
|
nmake -f Make_mvc2.mak CPU=AMD64 OLE=no GUI=no IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
|
||||||
nmake -f Make_mvc2.mak clean
|
nmake -f Make_mvc2.mak clean
|
||||||
|
|
||||||
:: build MSVC huge version with python and channel support
|
:: build MSVC huge version with python and channel support
|
||||||
:: GUI needs to be last, so that testing works
|
:: GUI needs to be last, so that testing works
|
||||||
echo "Building MSVC 64bit GUI Version"
|
echo "Building MSVC 64bit GUI Version"
|
||||||
if "%FEATURE%" == "HUGE" (
|
if "%FEATURE%" == "HUGE" (
|
||||||
nmake -f Make_mvc2.mak DIRECTX=yes CPU=AMD64 CHANNEL=yes OLE=no GUI=yes IME=yes MBYTE=yes ICONV=yes DEBUG=no PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27-x64 PYTHON3_VER=35 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python35-x64 FEATURES=%FEATURE% || exit 1
|
nmake -f Make_mvc2.mak DIRECTX=yes CPU=AMD64 CHANNEL=yes OLE=no GUI=yes IME=yes ICONV=yes DEBUG=no PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27-x64 PYTHON3_VER=35 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python35-x64 FEATURES=%FEATURE% || exit 1
|
||||||
) ELSE (
|
) ELSE (
|
||||||
nmake -f Make_mvc2.mak CPU=AMD64 OLE=no GUI=yes IME=yes MBYTE=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
|
nmake -f Make_mvc2.mak CPU=AMD64 OLE=no GUI=yes IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
|
||||||
)
|
)
|
||||||
.\gvim -u NONE -c "redir @a | ver |0put a | wq" ver_msvc.txt
|
.\gvim -u NONE -c "redir @a | ver |0put a | wq" ver_msvc.txt
|
||||||
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
For information about installation of Farsi fonts and Vim usage in Farsi mode,
|
|
||||||
refer to the Farsi help file by typing ":help farsi" in Vim.
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -15,6 +15,7 @@ To build the installable .exe:
|
|||||||
vimrun.exe,
|
vimrun.exe,
|
||||||
install.exe,
|
install.exe,
|
||||||
uninstal.exe,
|
uninstal.exe,
|
||||||
|
tee/tee.exe,
|
||||||
xxd/xxd.exe,
|
xxd/xxd.exe,
|
||||||
|
|
||||||
Then execute tools/rename.bat to rename the executables. (mv command is
|
Then execute tools/rename.bat to rename the executables. (mv command is
|
||||||
@@ -29,14 +30,15 @@ To build the installable .exe:
|
|||||||
4. Go to the VisVim directory and build VisVim.dll (or get it from a binary
|
4. Go to the VisVim directory and build VisVim.dll (or get it from a binary
|
||||||
archive).
|
archive).
|
||||||
|
|
||||||
5. Go to the OleVim directory and build OpenWithVim.exe and SendToVim.exe (or
|
5. Get a "diff.exe" program. If you skip this the built-in diff will always
|
||||||
get them from a binary archive).
|
be used (which is fine for most users). If you do have your own
|
||||||
|
"diff.exe" put it in the "../.." directory (above the "vim81" directory,
|
||||||
6. Get a "diff.exe" program and put it in the "../.." directory (above the
|
it's the same for all Vim versions).
|
||||||
"vim80" directory, it's the same for all Vim versions).
|
|
||||||
You can find one in previous Vim versions or in this archive:
|
You can find one in previous Vim versions or in this archive:
|
||||||
http://www.mossbayeng.com/~ron/vim/diffutils.tar.gz
|
http://www.mossbayeng.com/~ron/vim/diffutils.tar.gz
|
||||||
Also put winpty32.dll and winpty-agent.exe there.
|
|
||||||
|
6 Also put winpty32.dll and winpty-agent.exe in "../.." (above the "vim81"
|
||||||
|
directory). This is required for the terminal window.
|
||||||
|
|
||||||
7. Do "make uganda.nsis.txt" in runtime/doc. This requires sed, you may have
|
7. Do "make uganda.nsis.txt" in runtime/doc. This requires sed, you may have
|
||||||
to do this on Unix. Make sure the file is in DOS file format!
|
to do this on Unix. Make sure the file is in DOS file format!
|
||||||
@@ -65,6 +67,11 @@ To build the installable .exe:
|
|||||||
Install NSIS if you didn't do that already.
|
Install NSIS if you didn't do that already.
|
||||||
Also install UPX, if you want a compressed file.
|
Also install UPX, if you want a compressed file.
|
||||||
|
|
||||||
|
Unpack the images:
|
||||||
|
cd nsis
|
||||||
|
unzip icons.zip
|
||||||
|
|
||||||
To build then, enter:
|
To build then, enter:
|
||||||
|
|
||||||
|
cd nsis
|
||||||
makensis gvim.nsi
|
makensis gvim.nsi
|
||||||
|
|||||||
1108
nsis/gvim.nsi
1108
nsis/gvim.nsi
File diff suppressed because it is too large
Load Diff
BIN
nsis/icons.zip
Normal file
BIN
nsis/icons.zip
Normal file
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 358 B |
Binary file not shown.
|
Before Width: | Height: | Size: 358 B |
Binary file not shown.
|
Before Width: | Height: | Size: 766 B |
Binary file not shown.
|
Before Width: | Height: | Size: 766 B |
175
nsis/lang/danish.nsi
Normal file
175
nsis/lang/danish.nsi
Normal file
@@ -0,0 +1,175 @@
|
|||||||
|
# vi:set ts=8 sts=4 sw=4 et fdm=marker:
|
||||||
|
#
|
||||||
|
# danish.nsi: Danish language strings for gvim NSIS installer.
|
||||||
|
#
|
||||||
|
# Locale ID : 1030
|
||||||
|
# fileencoding : UTF-8
|
||||||
|
# Author : scootergrisen
|
||||||
|
|
||||||
|
!insertmacro MUI_LANGUAGE "Danish"
|
||||||
|
|
||||||
|
|
||||||
|
# Overwrite the default translation.
|
||||||
|
# These strings should be always English. Otherwise dosinst.c fails.
|
||||||
|
LangString ^SetupCaption ${LANG_DANISH} "$(^Name) Setup"
|
||||||
|
LangString ^UninstallCaption ${LANG_DANISH} "$(^Name) Uninstall"
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# MUI Configuration Strings {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
#LangString str_dest_folder ${LANG_DANISH} "Destinationsmappe (skal slutte med $\"vim$\")"
|
||||||
|
|
||||||
|
LangString str_show_readme ${LANG_DANISH} "Vis README efter installationen er gennemført"
|
||||||
|
|
||||||
|
# Install types:
|
||||||
|
LangString str_type_typical ${LANG_DANISH} "Typisk"
|
||||||
|
|
||||||
|
LangString str_type_minimal ${LANG_DANISH} "Minimal"
|
||||||
|
|
||||||
|
LangString str_type_full ${LANG_DANISH} "Fuld"
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Section Titles & Description {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
LangString str_section_old_ver ${LANG_DANISH} "Afinstaller eksisterende version(er)"
|
||||||
|
LangString str_desc_old_ver ${LANG_DANISH} "Afinstaller eksisterende Vim-version(er) fra dit system."
|
||||||
|
|
||||||
|
LangString str_section_exe ${LANG_DANISH} "Vim GUI og afviklingsfiler"
|
||||||
|
LangString str_desc_exe ${LANG_DANISH} "Vim GUI-eksekverbare- og afviklingsfiler. Komponenten kræves."
|
||||||
|
|
||||||
|
LangString str_section_console ${LANG_DANISH} "Vim-konsolprogram"
|
||||||
|
LangString str_desc_console ${LANG_DANISH} "Konsolversion af Vim (vim.exe)."
|
||||||
|
|
||||||
|
LangString str_section_batch ${LANG_DANISH} "Opret .bat-filer"
|
||||||
|
LangString str_desc_batch ${LANG_DANISH} "Opret .bat-filer til Vim-varianter i Windows-mappen til brug fra kommandolinjen."
|
||||||
|
|
||||||
|
LangString str_group_icons ${LANG_DANISH} "Opret ikoner til Vim"
|
||||||
|
LangString str_desc_icons ${LANG_DANISH} "Opret ikoner til Vim diverse steder for at hjælpe med at gøre adgangen let."
|
||||||
|
|
||||||
|
LangString str_section_desktop ${LANG_DANISH} "På skrivebordet"
|
||||||
|
LangString str_desc_desktop ${LANG_DANISH} "Opret ikoner til gVim-eksekverbare på skrivebordet."
|
||||||
|
|
||||||
|
LangString str_section_start_menu ${LANG_DANISH} "I Programmer-mappen i menuen Start"
|
||||||
|
LangString str_desc_start_menu ${LANG_DANISH} "Tilføj Vim i Programmer-mappen i menuen Start."
|
||||||
|
|
||||||
|
#LangString str_section_quick_launch ${LANG_DANISH} "I værktøjslinjen Hurtig start"
|
||||||
|
#LangString str_desc_quick_launch ${LANG_DANISH} "Tilføj Vim-genvej i værktøjslinjen Hurtig start."
|
||||||
|
|
||||||
|
LangString str_section_edit_with ${LANG_DANISH} "Tilføj Vim-genvejsmenu"
|
||||||
|
LangString str_desc_edit_with ${LANG_DANISH} "Tilføj Vim til listen i $\"Åbn med...$\"-genvejsmenuen."
|
||||||
|
|
||||||
|
#LangString str_section_edit_with32 ${LANG_DANISH} "32-bit-version"
|
||||||
|
#LangString str_desc_edit_with32 ${LANG_DANISH} "Tilføj Vim til listen i $\"Åbn med...$\"-genvejsmenuen for 32-bit-programmer."
|
||||||
|
|
||||||
|
#LangString str_section_edit_with64 ${LANG_DANISH} "64-bit-version"
|
||||||
|
#LangString str_desc_edit_with64 ${LANG_DANISH} "Tilføj Vim til listen i $\"Åbn med...$\"-genvejsmenuen for 64-bit-programmer."
|
||||||
|
|
||||||
|
LangString str_section_vim_rc ${LANG_DANISH} "Opret standardkonfiguration"
|
||||||
|
LangString str_desc_vim_rc ${LANG_DANISH} "Opret en standardkonfigurationsfil (_vimrc) hvis der ikke allerede findes en."
|
||||||
|
|
||||||
|
LangString str_group_plugin ${LANG_DANISH} "Opret plugin-mapper"
|
||||||
|
LangString str_desc_plugin ${LANG_DANISH} "Opret plugin-mapper. Plugin-mapper giver mulighed for at udvide Vim ved at slippe en fil i en mappen."
|
||||||
|
|
||||||
|
LangString str_section_plugin_home ${LANG_DANISH} "Private"
|
||||||
|
LangString str_desc_plugin_home ${LANG_DANISH} "Opret plugin-mapper i HOME (hvis du har defineret et) eller Vim-installationsmappe."
|
||||||
|
|
||||||
|
LangString str_section_plugin_vim ${LANG_DANISH} "Delte"
|
||||||
|
LangString str_desc_plugin_vim ${LANG_DANISH} "Opret plugin-mapper i Vim-installationsmappe, det bruges af alle på systemet."
|
||||||
|
|
||||||
|
LangString str_section_vis_vim ${LANG_DANISH} "VisVim-udvidelser"
|
||||||
|
LangString str_desc_vis_vim ${LANG_DANISH} "VisVim-udvidelser til integrering i Microsoft Visual Studio."
|
||||||
|
|
||||||
|
LangString str_section_nls ${LANG_DANISH} "Understøttelse af modersmål"
|
||||||
|
LangString str_desc_nls ${LANG_DANISH} "Installer filer til understøttelse af modersmål."
|
||||||
|
|
||||||
|
LangString str_unsection_register ${LANG_DANISH} "Afregistrer Vim"
|
||||||
|
LangString str_desc_unregister ${LANG_DANISH} "Afregistrer Vim fra systemet."
|
||||||
|
|
||||||
|
LangString str_unsection_exe ${LANG_DANISH} "Fjern Vim-eksekverbare-/afviklingsfiler"
|
||||||
|
LangString str_desc_rm_exe ${LANG_DANISH} "Fjern alle Vim-eksekverbare- og afviklingsfiler."
|
||||||
|
|
||||||
|
LangString str_ungroup_plugin ${LANG_DANISH} "Fjern plugin-mapper"
|
||||||
|
LangString str_desc_rm_plugin ${LANG_DANISH} "Fjern plugin-mapperne, hvis de er tomme."
|
||||||
|
|
||||||
|
LangString str_unsection_plugin_home ${LANG_DANISH} "Private"
|
||||||
|
LangString str_desc_rm_plugin_home ${LANG_DANISH} "Fjern plugin-mapperne fra HOME-mappen."
|
||||||
|
|
||||||
|
LangString str_unsection_plugin_vim ${LANG_DANISH} "Delte"
|
||||||
|
LangString str_desc_rm_plugin_vim ${LANG_DANISH} "Fjern plugin-mapperne fra Vim-installationsmappen."
|
||||||
|
|
||||||
|
LangString str_unsection_rootdir ${LANG_DANISH} "Fjern Vim-rodmappen"
|
||||||
|
LangString str_desc_rm_rootdir ${LANG_DANISH} "Fjern Vim-rodmappen. Den indeholder dine Vim-konfigurationsfiler!"
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Messages {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
#LangString str_msg_too_many_ver ${LANG_DANISH} "Fandt $vim_old_ver_count Vim-versioner på dit system.$\r$\nInstallationsguiden kan højst håndtere ${VIM_MAX_OLD_VER}-versioner.$\r$\nFjern venligst nogle versioner og start igen."
|
||||||
|
|
||||||
|
#LangString str_msg_invalid_root ${LANG_DANISH} "Ugyldig installationssti: $vim_install_root!$\r$\nDen skal slutte med $\"vim$\"."
|
||||||
|
|
||||||
|
#LangString str_msg_bin_mismatch ${LANG_DANISH} "Uoverensstemmelse i binære sti!$\r$\n$\r$\nForventede at den binære sti var $\"$vim_bin_path$\",$\r$\nmen systemet indikerer at den binære sti er $\"$INSTDIR$\"."
|
||||||
|
|
||||||
|
#LangString str_msg_vim_running ${LANG_DANISH} "Vim kører stadig på dit system.$\r$\nLuk venligst alle instanser af Vim inden du fortsætter."
|
||||||
|
|
||||||
|
#LangString str_msg_register_ole ${LANG_DANISH} "Forsøger at registrere Vim med OLE. Der er ingen meddelelse til at indikere om det virker eller ej."
|
||||||
|
|
||||||
|
#LangString str_msg_unreg_ole ${LANG_DANISH} "Forsøger at afregistrere Vim med OLE. Der er ingen meddelelse til at indikere om det virker eller ej."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_start ${LANG_DANISH} "Afinstallerer følgende version:"
|
||||||
|
|
||||||
|
#LangString str_msg_rm_fail ${LANG_DANISH} "Kunne ikke afinstallere følgende version:"
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_key ${LANG_DANISH} "Kan ikke finde registreringsdatabasenøgle for afinstallationsguiden."
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_reg ${LANG_DANISH} "Kan ikke finde afinstallationsguiden fra registreringsdatabasen."
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_exe ${LANG_DANISH} "Kan ikke tilgå afinstallationsguide."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_copy_fail ${LANG_DANISH} "Kunne ikke kopiere afinstallationsguide til midlertidig mappe."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_run_fail ${LANG_DANISH} "Kunne ikke køre afinstallationsguide."
|
||||||
|
|
||||||
|
#LangString str_msg_abort_install ${LANG_DANISH} "Installationsguiden vil afbryde."
|
||||||
|
|
||||||
|
LangString str_msg_install_fail ${LANG_DANISH} "Installationen mislykkedes. Bedre held næste gang."
|
||||||
|
|
||||||
|
LangString str_msg_rm_exe_fail ${LANG_DANISH} "Nogle filer i $0 er ikke blevet slettet!$\r$\nDu skal gøre det manuelt."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_root_fail ${LANG_DANISH} "ADVARSEL: Kan ikke fjerne $\"$vim_install_root$\", den er ikke tom!"
|
||||||
|
|
||||||
|
LangString str_msg_uninstalling ${LANG_DANISH} "Afinstallerer den gamle version..."
|
||||||
|
|
||||||
|
LangString str_msg_registering ${LANG_DANISH} "Registrerer..."
|
||||||
|
|
||||||
|
LangString str_msg_unregistering ${LANG_DANISH} "Afregistrerer..."
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Dialog Box {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
LangString str_vimrc_page_title ${LANG_DANISH} "Vælg _vimrc-indstillinger"
|
||||||
|
LangString str_vimrc_page_subtitle ${LANG_DANISH} "Vælg indstillingerne til forbedring, tastatur og mus."
|
||||||
|
|
||||||
|
LangString str_msg_compat_title ${LANG_DANISH} " Vi- / Vim-opførsel "
|
||||||
|
LangString str_msg_compat_desc ${LANG_DANISH} "&Kompatibilitet og forbedringer"
|
||||||
|
LangString str_msg_compat_vi ${LANG_DANISH} "Vi-kompatibel"
|
||||||
|
LangString str_msg_compat_vim ${LANG_DANISH} "Vim original"
|
||||||
|
LangString str_msg_compat_defaults ${LANG_DANISH} "Vim med nogle forbedringer (indlæs defaults.vim)"
|
||||||
|
LangString str_msg_compat_all ${LANG_DANISH} "Vim med alle forbedringer (indlæs vimrc_example.vim) (standard)"
|
||||||
|
|
||||||
|
LangString str_msg_keymap_title ${LANG_DANISH} " Tilknytninger "
|
||||||
|
LangString str_msg_keymap_desc ${LANG_DANISH} "&Gentilknyt nogle få taster for Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F osv.)"
|
||||||
|
LangString str_msg_keymap_default ${LANG_DANISH} "Gentilknyt ikke taster (standard)"
|
||||||
|
LangString str_msg_keymap_windows ${LANG_DANISH} "Gentilknyt nogle få taster"
|
||||||
|
|
||||||
|
LangString str_msg_mouse_title ${LANG_DANISH} " Mus "
|
||||||
|
LangString str_msg_mouse_desc ${LANG_DANISH} "&Opførsel af højre og venstre knapper"
|
||||||
|
LangString str_msg_mouse_default ${LANG_DANISH} "Højre: genvejsmenu, venstre: visuel tilstand (standard)"
|
||||||
|
LangString str_msg_mouse_windows ${LANG_DANISH} "Højre: genvejsmenu, venstre: vælg-tilstand (Windows)"
|
||||||
|
LangString str_msg_mouse_unix ${LANG_DANISH} "Højre: udvider markering, venstre: visuel tilstand (Unix)"
|
||||||
281
nsis/lang/dutch.nsi
Normal file
281
nsis/lang/dutch.nsi
Normal file
@@ -0,0 +1,281 @@
|
|||||||
|
# vi:set ts=8 sts=4 sw=4 et fdm=marker:
|
||||||
|
#
|
||||||
|
# dutch.nsi : Dutch language strings for gvim NSIS installer.
|
||||||
|
#
|
||||||
|
# Locale ID : 1043
|
||||||
|
# Locale Name : nl
|
||||||
|
# fileencoding : UTF-8
|
||||||
|
# Author : Peter Odding <peter@peterodding.com>
|
||||||
|
|
||||||
|
!insertmacro MUI_LANGUAGE "Dutch"
|
||||||
|
|
||||||
|
|
||||||
|
# Overwrite the default translation.
|
||||||
|
# These strings should be always English. Otherwise dosinst.c fails.
|
||||||
|
LangString ^SetupCaption ${LANG_DUTCH} \
|
||||||
|
"$(^Name) Setup"
|
||||||
|
LangString ^UninstallCaption ${LANG_DUTCH} \
|
||||||
|
"$(^Name) Uninstall"
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# MUI Configuration Strings {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
#LangString str_dest_folder ${LANG_DUTCH} \
|
||||||
|
# "Doelmap (moet eindigen op $\"vim$\")"
|
||||||
|
|
||||||
|
LangString str_show_readme ${LANG_DUTCH} \
|
||||||
|
"README weergeven na installatie"
|
||||||
|
|
||||||
|
# Install types:
|
||||||
|
LangString str_type_typical ${LANG_DUTCH} \
|
||||||
|
"Gebruikelijk"
|
||||||
|
|
||||||
|
LangString str_type_minimal ${LANG_DUTCH} \
|
||||||
|
"Minimaal"
|
||||||
|
|
||||||
|
LangString str_type_full ${LANG_DUTCH} \
|
||||||
|
"Volledig"
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Section Titles & Description {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
LangString str_section_old_ver ${LANG_DUTCH} \
|
||||||
|
"Bestaande versie(s) de-installeren"
|
||||||
|
LangString str_desc_old_ver ${LANG_DUTCH} \
|
||||||
|
"Bestaande Vim versie(s) van je systeem verwijderen."
|
||||||
|
|
||||||
|
LangString str_section_exe ${LANG_DUTCH} \
|
||||||
|
"Vim GUI"
|
||||||
|
LangString str_desc_exe ${LANG_DUTCH} \
|
||||||
|
"Vim GUI uitvoerbare bestanden en runtime bestanden. Dit component is vereist."
|
||||||
|
|
||||||
|
LangString str_section_console ${LANG_DUTCH} \
|
||||||
|
"Vim console programma"
|
||||||
|
LangString str_desc_console ${LANG_DUTCH} \
|
||||||
|
"Console versie van Vim (vim.exe)."
|
||||||
|
|
||||||
|
LangString str_section_batch ${LANG_DUTCH} \
|
||||||
|
"Creëer .bat bestanden"
|
||||||
|
LangString str_desc_batch ${LANG_DUTCH} \
|
||||||
|
"Creëer .bat bestanden voor Vim varianten in de Windows map voor \
|
||||||
|
commando regel gebruik."
|
||||||
|
|
||||||
|
LangString str_group_icons ${LANG_DUTCH} \
|
||||||
|
"Creëer pictogrammen for Vim"
|
||||||
|
LangString str_desc_icons ${LANG_DUTCH} \
|
||||||
|
"Creëer pictogrammen voor Vim op verschillende locaties voor gemakkelijke toegang."
|
||||||
|
|
||||||
|
LangString str_section_desktop ${LANG_DUTCH} \
|
||||||
|
"Op het bureaublad"
|
||||||
|
LangString str_desc_desktop ${LANG_DUTCH} \
|
||||||
|
"Creëer pictogrammen voor Vim uitvoerbare bestanden op het bureaublad."
|
||||||
|
|
||||||
|
LangString str_section_start_menu ${LANG_DUTCH} \
|
||||||
|
"In de Programma's map in het start menu"
|
||||||
|
LangString str_desc_start_menu ${LANG_DUTCH} \
|
||||||
|
"Voeg Vim toe aan de programma's map in het start menu. \
|
||||||
|
Van toepassing op Windows 95 en later."
|
||||||
|
|
||||||
|
#LangString str_section_quick_launch ${LANG_DUTCH} \
|
||||||
|
# "In de snel starten balk"
|
||||||
|
#LangString str_desc_quick_launch ${LANG_DUTCH} \
|
||||||
|
# "Voeg Vim snelkoppeling toe aan de snel starten balk."
|
||||||
|
|
||||||
|
LangString str_section_edit_with ${LANG_DUTCH} \
|
||||||
|
"Voeg Vim contextmenu toe"
|
||||||
|
LangString str_desc_edit_with ${LANG_DUTCH} \
|
||||||
|
"Voeg Vim toe aan de $\"Openen met...$\" contextmenu lijst."
|
||||||
|
|
||||||
|
#LangString str_section_edit_with32 ${LANG_DUTCH} \
|
||||||
|
# "32-bit versie"
|
||||||
|
#LangString str_desc_edit_with32 ${LANG_DUTCH} \
|
||||||
|
# "Voeg Vim toe aan de $\"Openen met...$\" contextmenu lijst \
|
||||||
|
# voor 32-bit toepassingen."
|
||||||
|
|
||||||
|
#LangString str_section_edit_with64 ${LANG_DUTCH} \
|
||||||
|
# "64-bit versie"
|
||||||
|
#LangString str_desc_edit_with64 ${LANG_DUTCH} \
|
||||||
|
# "Voeg Vim toe aan de $\"Openen met...$\" contextmenu lijst \
|
||||||
|
# voor 64-bit toepassingen."
|
||||||
|
|
||||||
|
LangString str_section_vim_rc ${LANG_DUTCH} \
|
||||||
|
"Creëer standaard configuratie"
|
||||||
|
LangString str_desc_vim_rc ${LANG_DUTCH} \
|
||||||
|
"Creëer een standaard configuratie bestand (_vimrc) als er nog geen bestaat."
|
||||||
|
|
||||||
|
LangString str_group_plugin ${LANG_DUTCH} \
|
||||||
|
"Creëer Plugin mappen"
|
||||||
|
LangString str_desc_plugin ${LANG_DUTCH} \
|
||||||
|
"Creëer plugin mappen. Plugin mappen maken het mogelijk om \
|
||||||
|
Vim uit te breiden door een bestand in een map te plaatsen."
|
||||||
|
|
||||||
|
LangString str_section_plugin_home ${LANG_DUTCH} \
|
||||||
|
"Privé"
|
||||||
|
LangString str_desc_plugin_home ${LANG_DUTCH} \
|
||||||
|
"Create plugin directories in HOME directory."
|
||||||
|
|
||||||
|
LangString str_section_plugin_vim ${LANG_DUTCH} \
|
||||||
|
"Gedeeld"
|
||||||
|
LangString str_desc_plugin_vim ${LANG_DUTCH} \
|
||||||
|
"Creëer plugin mappen in Vim installatie map, deze worden gebruikt \
|
||||||
|
voor iedereen op het systeem."
|
||||||
|
|
||||||
|
LangString str_section_vis_vim ${LANG_DUTCH} \
|
||||||
|
"VisVim extensie"
|
||||||
|
LangString str_desc_vis_vim ${LANG_DUTCH} \
|
||||||
|
"VisVim extensie voor Microsoft Visual Studio integratie."
|
||||||
|
|
||||||
|
LangString str_section_nls ${LANG_DUTCH} \
|
||||||
|
"Ondersteuning voor andere talen"
|
||||||
|
LangString str_desc_nls ${LANG_DUTCH} \
|
||||||
|
"Bestanden voor ondersteuning van andere talen dan Engels installeren."
|
||||||
|
|
||||||
|
LangString str_unsection_register ${LANG_DUTCH} \
|
||||||
|
"Vim afmelden"
|
||||||
|
LangString str_desc_unregister ${LANG_DUTCH} \
|
||||||
|
"Registratie van Vim in het systeem ongedaan maken."
|
||||||
|
|
||||||
|
LangString str_unsection_exe ${LANG_DUTCH} \
|
||||||
|
"Vim uitvoerbare/runtime bestanden verwijderen"
|
||||||
|
LangString str_desc_rm_exe ${LANG_DUTCH} \
|
||||||
|
"Verwijder alle Vim uitvoerbare bestanden en runtime bestanden."
|
||||||
|
|
||||||
|
LangString str_ungroup_plugin ${LANG_DUTCH} \
|
||||||
|
"Remove plugin directories"
|
||||||
|
LangString str_desc_rm_plugin ${LANG_DUTCH} \
|
||||||
|
"Remove the plugin directories if they are empty."
|
||||||
|
|
||||||
|
LangString str_unsection_plugin_home ${LANG_DUTCH} \
|
||||||
|
"Privé"
|
||||||
|
LangString str_desc_rm_plugin_home ${LANG_DUTCH} \
|
||||||
|
"Remove the plugin directories from HOME directory."
|
||||||
|
|
||||||
|
LangString str_unsection_plugin_vim ${LANG_DUTCH} \
|
||||||
|
"Gedeeld"
|
||||||
|
LangString str_desc_rm_plugin_vim ${LANG_DUTCH} \
|
||||||
|
"Remove the plugin directories from Vim install directory."
|
||||||
|
|
||||||
|
LangString str_unsection_rootdir ${LANG_DUTCH} \
|
||||||
|
"Remove the Vim root directory"
|
||||||
|
LangString str_desc_rm_rootdir ${LANG_DUTCH} \
|
||||||
|
"Remove the Vim root directory. It contains your Vim configuration files!"
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Messages {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
#LangString str_msg_too_many_ver ${LANG_DUTCH} \
|
||||||
|
# "Er zijn $vim_old_ver_count Vim versies op je systeem gevonden.$\r$\n\
|
||||||
|
# Deze installatie kan omgaan met maximaal ${VIM_MAX_OLD_VER} versies.$\r$\n\
|
||||||
|
# Verwijder a.u.b. wat versies en probeer het dan opnieuw."
|
||||||
|
|
||||||
|
#LangString str_msg_invalid_root ${LANG_DUTCH} \
|
||||||
|
# "Ongeldig installatiepad: $vim_install_root!$\r$\n\
|
||||||
|
# Het moet eindelijk op $\"vim$\"."
|
||||||
|
|
||||||
|
#LangString str_msg_bin_mismatch ${LANG_DUTCH} \
|
||||||
|
# "Binair pad onjuist!$\r$\n$\r$\n\
|
||||||
|
# Het binaire pad zou $\"$vim_bin_path$\" moeten zijn,$\r$\n\
|
||||||
|
# maar het systeem geeft aan dat het binaire pad $\"$INSTDIR$\" is."
|
||||||
|
|
||||||
|
#LangString str_msg_vim_running ${LANG_DUTCH} \
|
||||||
|
# "Vim is nog actief op je systeem.$\r$\n\
|
||||||
|
# Sluit a.u.b. alle instanties van Vim voordat je verder gaat."
|
||||||
|
|
||||||
|
#LangString str_msg_register_ole ${LANG_DUTCH} \
|
||||||
|
# "Bezig met proberen om Vim te registreren met OLE. \
|
||||||
|
# Er is geen bericht dat aangeeft of deze operatie slaagt."
|
||||||
|
|
||||||
|
#LangString str_msg_unreg_ole ${LANG_DUTCH} \
|
||||||
|
# "Bezig met proberen om Vim te de-registreren met OLE. \
|
||||||
|
# Er is geen bericht dat aangeeft of deze operatie slaagt."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_start ${LANG_DUTCH} \
|
||||||
|
# "De volgende versies worden verwijderd:"
|
||||||
|
|
||||||
|
#LangString str_msg_rm_fail ${LANG_DUTCH} \
|
||||||
|
# "De volgende versies konden niet worden verwijderd:"
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_key ${LANG_DUTCH} \
|
||||||
|
# "Kan de uninstaller register sleutel niet vinden."
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_reg ${LANG_DUTCH} \
|
||||||
|
# "Kan de uninstaller niet vinden via het register."
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_exe ${LANG_DUTCH} \
|
||||||
|
# "Kan geen toegang krijgen tot de uninstaller."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_copy_fail ${LANG_DUTCH} \
|
||||||
|
# "Kon de uninstaller niet naar een tijdelijke map kopiëren."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_run_fail ${LANG_DUTCH} \
|
||||||
|
# "Kon de uninstaller niet uitvoeren."
|
||||||
|
|
||||||
|
#LangString str_msg_abort_install ${LANG_DUTCH} \
|
||||||
|
# "Installatie wordt gestopt."
|
||||||
|
|
||||||
|
LangString str_msg_install_fail ${LANG_DUTCH} \
|
||||||
|
"Installatie is mislukt."
|
||||||
|
|
||||||
|
LangString str_msg_rm_exe_fail ${LANG_DUTCH} \
|
||||||
|
"Sommige bestanden in $0 zijn niet verwijderd!$\r$\n\
|
||||||
|
Dit moet je handmatig doen."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_root_fail ${LANG_DUTCH} \
|
||||||
|
# "WAARSCHUWING: Kan $\"$vim_install_root$\" niet verwijderen omdat het niet leeg is!"
|
||||||
|
|
||||||
|
LangString str_msg_uninstalling ${LANG_DUTCH} \
|
||||||
|
"Uninstalling the old version..."
|
||||||
|
|
||||||
|
LangString str_msg_registering ${LANG_DUTCH} \
|
||||||
|
"Registering..."
|
||||||
|
|
||||||
|
LangString str_msg_unregistering ${LANG_DUTCH} \
|
||||||
|
"Unregistering..."
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Dialog Box {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
LangString str_vimrc_page_title ${LANG_DUTCH} \
|
||||||
|
"Choose _vimrc settings"
|
||||||
|
LangString str_vimrc_page_subtitle ${LANG_DUTCH} \
|
||||||
|
"Choose the settings for enhancement, keyboard and mouse."
|
||||||
|
|
||||||
|
LangString str_msg_compat_title ${LANG_DUTCH} \
|
||||||
|
" Vi / Vim behavior "
|
||||||
|
LangString str_msg_compat_desc ${LANG_DUTCH} \
|
||||||
|
"&Compatibility and enhancements"
|
||||||
|
LangString str_msg_compat_vi ${LANG_DUTCH} \
|
||||||
|
"Vi compatible"
|
||||||
|
LangString str_msg_compat_vim ${LANG_DUTCH} \
|
||||||
|
"Vim original"
|
||||||
|
LangString str_msg_compat_defaults ${LANG_DUTCH} \
|
||||||
|
"Vim with some enhancements (load defaults.vim)"
|
||||||
|
LangString str_msg_compat_all ${LANG_DUTCH} \
|
||||||
|
"Vim with all enhancements (load vimrc_example.vim) (Default)"
|
||||||
|
|
||||||
|
LangString str_msg_keymap_title ${LANG_DUTCH} \
|
||||||
|
" Mappings "
|
||||||
|
LangString str_msg_keymap_desc ${LANG_DUTCH} \
|
||||||
|
"&Remap a few keys for Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc)"
|
||||||
|
LangString str_msg_keymap_default ${LANG_DUTCH} \
|
||||||
|
"Do not remap keys (Default)"
|
||||||
|
LangString str_msg_keymap_windows ${LANG_DUTCH} \
|
||||||
|
"Remap a few keys"
|
||||||
|
|
||||||
|
LangString str_msg_mouse_title ${LANG_DUTCH} \
|
||||||
|
" Mouse "
|
||||||
|
LangString str_msg_mouse_desc ${LANG_DUTCH} \
|
||||||
|
"&Behavior of right and left buttons"
|
||||||
|
LangString str_msg_mouse_default ${LANG_DUTCH} \
|
||||||
|
"Right: popup menu, Left: visual mode (Default)"
|
||||||
|
LangString str_msg_mouse_windows ${LANG_DUTCH} \
|
||||||
|
"Right: popup menu, Left: select mode (Windows)"
|
||||||
|
LangString str_msg_mouse_unix ${LANG_DUTCH} \
|
||||||
|
"Right: extends selection, Left: visual mode (Unix)"
|
||||||
280
nsis/lang/english.nsi
Normal file
280
nsis/lang/english.nsi
Normal file
@@ -0,0 +1,280 @@
|
|||||||
|
# vi:set ts=8 sts=4 sw=4 et fdm=marker:
|
||||||
|
#
|
||||||
|
# english.nsi: English language strings for gvim NSIS installer.
|
||||||
|
#
|
||||||
|
# Locale ID : 1033
|
||||||
|
# fileencoding : UTF-8
|
||||||
|
# Author : Guopeng Wen, Ken Takata
|
||||||
|
|
||||||
|
!insertmacro MUI_LANGUAGE "English"
|
||||||
|
|
||||||
|
|
||||||
|
# Overwrite the default translation.
|
||||||
|
# These strings should be always English. Otherwise dosinst.c fails.
|
||||||
|
LangString ^SetupCaption ${LANG_ENGLISH} \
|
||||||
|
"$(^Name) Setup"
|
||||||
|
LangString ^UninstallCaption ${LANG_ENGLISH} \
|
||||||
|
"$(^Name) Uninstall"
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# MUI Configuration Strings {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
#LangString str_dest_folder ${LANG_ENGLISH} \
|
||||||
|
# "Destination Folder (Must end with $\"vim$\")"
|
||||||
|
|
||||||
|
LangString str_show_readme ${LANG_ENGLISH} \
|
||||||
|
"Show README after installation finish"
|
||||||
|
|
||||||
|
# Install types:
|
||||||
|
LangString str_type_typical ${LANG_ENGLISH} \
|
||||||
|
"Typical"
|
||||||
|
|
||||||
|
LangString str_type_minimal ${LANG_ENGLISH} \
|
||||||
|
"Minimal"
|
||||||
|
|
||||||
|
LangString str_type_full ${LANG_ENGLISH} \
|
||||||
|
"Full"
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Section Titles & Description {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
LangString str_section_old_ver ${LANG_ENGLISH} \
|
||||||
|
"Uninstall Existing Version(s)"
|
||||||
|
LangString str_desc_old_ver ${LANG_ENGLISH} \
|
||||||
|
"Uninstall existing Vim version(s) from your system."
|
||||||
|
|
||||||
|
LangString str_section_exe ${LANG_ENGLISH} \
|
||||||
|
"Vim GUI and runtime files"
|
||||||
|
LangString str_desc_exe ${LANG_ENGLISH} \
|
||||||
|
"Vim GUI executables and runtime files. This component is required."
|
||||||
|
|
||||||
|
LangString str_section_console ${LANG_ENGLISH} \
|
||||||
|
"Vim console program"
|
||||||
|
LangString str_desc_console ${LANG_ENGLISH} \
|
||||||
|
"Console version of Vim (vim.exe)."
|
||||||
|
|
||||||
|
LangString str_section_batch ${LANG_ENGLISH} \
|
||||||
|
"Create .bat files"
|
||||||
|
LangString str_desc_batch ${LANG_ENGLISH} \
|
||||||
|
"Create .bat files for Vim variants in the Windows directory for \
|
||||||
|
command line use."
|
||||||
|
|
||||||
|
LangString str_group_icons ${LANG_ENGLISH} \
|
||||||
|
"Create icons for Vim"
|
||||||
|
LangString str_desc_icons ${LANG_ENGLISH} \
|
||||||
|
"Create icons for Vim at various locations to facilitate easy access."
|
||||||
|
|
||||||
|
LangString str_section_desktop ${LANG_ENGLISH} \
|
||||||
|
"On the Desktop"
|
||||||
|
LangString str_desc_desktop ${LANG_ENGLISH} \
|
||||||
|
"Create icons for gVim executables on the desktop."
|
||||||
|
|
||||||
|
LangString str_section_start_menu ${LANG_ENGLISH} \
|
||||||
|
"In the Start Menu Programs Folder"
|
||||||
|
LangString str_desc_start_menu ${LANG_ENGLISH} \
|
||||||
|
"Add Vim in the programs folder of the start menu."
|
||||||
|
|
||||||
|
#LangString str_section_quick_launch ${LANG_ENGLISH} \
|
||||||
|
# "In the Quick Launch Bar"
|
||||||
|
#LangString str_desc_quick_launch ${LANG_ENGLISH} \
|
||||||
|
# "Add Vim shortcut in the quick launch bar."
|
||||||
|
|
||||||
|
LangString str_section_edit_with ${LANG_ENGLISH} \
|
||||||
|
"Add Vim Context Menu"
|
||||||
|
LangString str_desc_edit_with ${LANG_ENGLISH} \
|
||||||
|
"Add Vim to the $\"Open With...$\" context menu list."
|
||||||
|
|
||||||
|
#LangString str_section_edit_with32 ${LANG_ENGLISH} \
|
||||||
|
# "32-bit Version"
|
||||||
|
#LangString str_desc_edit_with32 ${LANG_ENGLISH} \
|
||||||
|
# "Add Vim to the $\"Open With...$\" context menu list \
|
||||||
|
# for 32-bit applications."
|
||||||
|
|
||||||
|
#LangString str_section_edit_with64 ${LANG_ENGLISH} \
|
||||||
|
# "64-bit Version"
|
||||||
|
#LangString str_desc_edit_with64 ${LANG_ENGLISH} \
|
||||||
|
# "Add Vim to the $\"Open With...$\" context menu list \
|
||||||
|
# for 64-bit applications."
|
||||||
|
|
||||||
|
LangString str_section_vim_rc ${LANG_ENGLISH} \
|
||||||
|
"Create Default Config"
|
||||||
|
LangString str_desc_vim_rc ${LANG_ENGLISH} \
|
||||||
|
"Create a default config file (_vimrc) if one does not already exist."
|
||||||
|
|
||||||
|
LangString str_group_plugin ${LANG_ENGLISH} \
|
||||||
|
"Create Plugin Directories"
|
||||||
|
LangString str_desc_plugin ${LANG_ENGLISH} \
|
||||||
|
"Create plugin directories. Plugin directories allow extending Vim \
|
||||||
|
by dropping a file into a directory."
|
||||||
|
|
||||||
|
LangString str_section_plugin_home ${LANG_ENGLISH} \
|
||||||
|
"Private"
|
||||||
|
LangString str_desc_plugin_home ${LANG_ENGLISH} \
|
||||||
|
"Create plugin directories in HOME directory."
|
||||||
|
|
||||||
|
LangString str_section_plugin_vim ${LANG_ENGLISH} \
|
||||||
|
"Shared"
|
||||||
|
LangString str_desc_plugin_vim ${LANG_ENGLISH} \
|
||||||
|
"Create plugin directories in Vim install directory, it is used for \
|
||||||
|
everybody on the system."
|
||||||
|
|
||||||
|
LangString str_section_vis_vim ${LANG_ENGLISH} \
|
||||||
|
"VisVim Extension"
|
||||||
|
LangString str_desc_vis_vim ${LANG_ENGLISH} \
|
||||||
|
"VisVim Extension for Microsoft Visual Studio integration."
|
||||||
|
|
||||||
|
LangString str_section_nls ${LANG_ENGLISH} \
|
||||||
|
"Native Language Support"
|
||||||
|
LangString str_desc_nls ${LANG_ENGLISH} \
|
||||||
|
"Install files for native language support."
|
||||||
|
|
||||||
|
LangString str_unsection_register ${LANG_ENGLISH} \
|
||||||
|
"Unregister Vim"
|
||||||
|
LangString str_desc_unregister ${LANG_ENGLISH} \
|
||||||
|
"Unregister Vim from the system."
|
||||||
|
|
||||||
|
LangString str_unsection_exe ${LANG_ENGLISH} \
|
||||||
|
"Remove Vim Executables/Runtime Files"
|
||||||
|
LangString str_desc_rm_exe ${LANG_ENGLISH} \
|
||||||
|
"Remove all Vim executables and runtime files."
|
||||||
|
|
||||||
|
LangString str_ungroup_plugin ${LANG_ENGLISH} \
|
||||||
|
"Remove plugin directories"
|
||||||
|
LangString str_desc_rm_plugin ${LANG_ENGLISH} \
|
||||||
|
"Remove the plugin directories if they are empty."
|
||||||
|
|
||||||
|
LangString str_unsection_plugin_home ${LANG_ENGLISH} \
|
||||||
|
"Private"
|
||||||
|
LangString str_desc_rm_plugin_home ${LANG_ENGLISH} \
|
||||||
|
"Remove the plugin directories from HOME directory."
|
||||||
|
|
||||||
|
LangString str_unsection_plugin_vim ${LANG_ENGLISH} \
|
||||||
|
"Shared"
|
||||||
|
LangString str_desc_rm_plugin_vim ${LANG_ENGLISH} \
|
||||||
|
"Remove the plugin directories from Vim install directory."
|
||||||
|
|
||||||
|
LangString str_unsection_rootdir ${LANG_ENGLISH} \
|
||||||
|
"Remove the Vim root directory"
|
||||||
|
LangString str_desc_rm_rootdir ${LANG_ENGLISH} \
|
||||||
|
"Remove the Vim root directory. It contains your Vim configuration files!"
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Messages {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
#LangString str_msg_too_many_ver ${LANG_ENGLISH} \
|
||||||
|
# "Found $vim_old_ver_count Vim versions on your system.$\r$\n\
|
||||||
|
# This installer can only handle ${VIM_MAX_OLD_VER} versions \
|
||||||
|
# at most.$\r$\n\
|
||||||
|
# Please remove some versions and start again."
|
||||||
|
|
||||||
|
#LangString str_msg_invalid_root ${LANG_ENGLISH} \
|
||||||
|
# "Invalid install path: $vim_install_root!$\r$\n\
|
||||||
|
# It should end with $\"vim$\"."
|
||||||
|
|
||||||
|
#LangString str_msg_bin_mismatch ${LANG_ENGLISH} \
|
||||||
|
# "Binary path mismatch!$\r$\n$\r$\n\
|
||||||
|
# Expect the binary path to be $\"$vim_bin_path$\",$\r$\n\
|
||||||
|
# but system indicates the binary path is $\"$INSTDIR$\"."
|
||||||
|
|
||||||
|
#LangString str_msg_vim_running ${LANG_ENGLISH} \
|
||||||
|
# "Vim is still running on your system.$\r$\n\
|
||||||
|
# Please close all instances of Vim before you continue."
|
||||||
|
|
||||||
|
#LangString str_msg_register_ole ${LANG_ENGLISH} \
|
||||||
|
# "Attempting to register Vim with OLE. \
|
||||||
|
# There is no message indicates whether this works or not."
|
||||||
|
|
||||||
|
#LangString str_msg_unreg_ole ${LANG_ENGLISH} \
|
||||||
|
# "Attempting to unregister Vim with OLE. \
|
||||||
|
# There is no message indicates whether this works or not."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_start ${LANG_ENGLISH} \
|
||||||
|
# "Uninstalling the following version:"
|
||||||
|
|
||||||
|
#LangString str_msg_rm_fail ${LANG_ENGLISH} \
|
||||||
|
# "Fail to uninstall the following version:"
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_key ${LANG_ENGLISH} \
|
||||||
|
# "Cannot find uninstaller registry key."
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_reg ${LANG_ENGLISH} \
|
||||||
|
# "Cannot find uninstaller from registry."
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_exe ${LANG_ENGLISH} \
|
||||||
|
# "Cannot access uninstaller."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_copy_fail ${LANG_ENGLISH} \
|
||||||
|
# "Fail to copy uninstaller to temporary directory."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_run_fail ${LANG_ENGLISH} \
|
||||||
|
# "Fail to run uninstaller."
|
||||||
|
|
||||||
|
#LangString str_msg_abort_install ${LANG_ENGLISH} \
|
||||||
|
# "Installer will abort."
|
||||||
|
|
||||||
|
LangString str_msg_install_fail ${LANG_ENGLISH} \
|
||||||
|
"Installation failed. Better luck next time."
|
||||||
|
|
||||||
|
LangString str_msg_rm_exe_fail ${LANG_ENGLISH} \
|
||||||
|
"Some files in $0 have not been deleted!$\r$\n\
|
||||||
|
You must do it manually."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_root_fail ${LANG_ENGLISH} \
|
||||||
|
# "WARNING: Cannot remove $\"$vim_install_root$\", it is not empty!"
|
||||||
|
|
||||||
|
LangString str_msg_uninstalling ${LANG_ENGLISH} \
|
||||||
|
"Uninstalling the old version..."
|
||||||
|
|
||||||
|
LangString str_msg_registering ${LANG_ENGLISH} \
|
||||||
|
"Registering..."
|
||||||
|
|
||||||
|
LangString str_msg_unregistering ${LANG_ENGLISH} \
|
||||||
|
"Unregistering..."
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Dialog Box {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
LangString str_vimrc_page_title ${LANG_ENGLISH} \
|
||||||
|
"Choose _vimrc settings"
|
||||||
|
LangString str_vimrc_page_subtitle ${LANG_ENGLISH} \
|
||||||
|
"Choose the settings for enhancement, keyboard and mouse."
|
||||||
|
|
||||||
|
LangString str_msg_compat_title ${LANG_ENGLISH} \
|
||||||
|
" Vi / Vim behavior "
|
||||||
|
LangString str_msg_compat_desc ${LANG_ENGLISH} \
|
||||||
|
"&Compatibility and enhancements"
|
||||||
|
LangString str_msg_compat_vi ${LANG_ENGLISH} \
|
||||||
|
"Vi compatible"
|
||||||
|
LangString str_msg_compat_vim ${LANG_ENGLISH} \
|
||||||
|
"Vim original"
|
||||||
|
LangString str_msg_compat_defaults ${LANG_ENGLISH} \
|
||||||
|
"Vim with some enhancements (load defaults.vim)"
|
||||||
|
LangString str_msg_compat_all ${LANG_ENGLISH} \
|
||||||
|
"Vim with all enhancements (load vimrc_example.vim) (Default)"
|
||||||
|
|
||||||
|
LangString str_msg_keymap_title ${LANG_ENGLISH} \
|
||||||
|
" Mappings "
|
||||||
|
LangString str_msg_keymap_desc ${LANG_ENGLISH} \
|
||||||
|
"&Remap a few keys for Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc)"
|
||||||
|
LangString str_msg_keymap_default ${LANG_ENGLISH} \
|
||||||
|
"Do not remap keys (Default)"
|
||||||
|
LangString str_msg_keymap_windows ${LANG_ENGLISH} \
|
||||||
|
"Remap a few keys"
|
||||||
|
|
||||||
|
LangString str_msg_mouse_title ${LANG_ENGLISH} \
|
||||||
|
" Mouse "
|
||||||
|
LangString str_msg_mouse_desc ${LANG_ENGLISH} \
|
||||||
|
"&Behavior of right and left buttons"
|
||||||
|
LangString str_msg_mouse_default ${LANG_ENGLISH} \
|
||||||
|
"Right: popup menu, Left: visual mode (Default)"
|
||||||
|
LangString str_msg_mouse_windows ${LANG_ENGLISH} \
|
||||||
|
"Right: popup menu, Left: select mode (Windows)"
|
||||||
|
LangString str_msg_mouse_unix ${LANG_ENGLISH} \
|
||||||
|
"Right: extends selection, Left: visual mode (Unix)"
|
||||||
280
nsis/lang/german.nsi
Normal file
280
nsis/lang/german.nsi
Normal file
@@ -0,0 +1,280 @@
|
|||||||
|
# vi:set ts=8 sts=4 sw=4 et fdm=marker:
|
||||||
|
#
|
||||||
|
# german.nsi : German language strings for gvim NSIS installer.
|
||||||
|
#
|
||||||
|
# Locale ID : 1031
|
||||||
|
# fileencoding : UTF-8
|
||||||
|
# Author : Christian Brabandt, tux
|
||||||
|
|
||||||
|
!insertmacro MUI_LANGUAGE "German"
|
||||||
|
|
||||||
|
|
||||||
|
# Overwrite the default translation.
|
||||||
|
# These strings should be always English. Otherwise dosinst.c fails.
|
||||||
|
LangString ^SetupCaption ${LANG_GERMAN} \
|
||||||
|
"$(^Name) Setup"
|
||||||
|
LangString ^UninstallCaption ${LANG_GERMAN} \
|
||||||
|
"$(^Name) Uninstall"
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# MUI Configuration Strings {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
#LangString str_dest_folder ${LANG_GERMAN} \
|
||||||
|
# "Zielverzeichnis auswählen (muss auf $\"vim$\" enden)"
|
||||||
|
|
||||||
|
LangString str_show_readme ${LANG_GERMAN} \
|
||||||
|
"README-Datei nach der Installation anzeigen"
|
||||||
|
|
||||||
|
# Install types:
|
||||||
|
LangString str_type_typical ${LANG_GERMAN} \
|
||||||
|
"Typisch"
|
||||||
|
|
||||||
|
LangString str_type_minimal ${LANG_GERMAN} \
|
||||||
|
"Minimal"
|
||||||
|
|
||||||
|
LangString str_type_full ${LANG_GERMAN} \
|
||||||
|
"Vollständig"
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Section Titles & Description {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
LangString str_section_old_ver ${LANG_GERMAN} \
|
||||||
|
"Vorherige Version deinstallieren"
|
||||||
|
LangString str_desc_old_ver ${LANG_GERMAN} \
|
||||||
|
"Vorherige installierte Versionen auf diesem System deinstallieren."
|
||||||
|
|
||||||
|
LangString str_section_exe ${LANG_GERMAN} \
|
||||||
|
"Vim GUI"
|
||||||
|
LangString str_desc_exe ${LANG_GERMAN} \
|
||||||
|
"Vim (Anwendung) und Laufzeitdateien (Dieser Teil ist zwingend \
|
||||||
|
erforderlich)."
|
||||||
|
|
||||||
|
LangString str_section_console ${LANG_GERMAN} \
|
||||||
|
"Vim Konsolenanwendung"
|
||||||
|
LangString str_desc_console ${LANG_GERMAN} \
|
||||||
|
"Konsolenversion von Vim."
|
||||||
|
|
||||||
|
LangString str_section_batch ${LANG_GERMAN} \
|
||||||
|
".bat-Dateien erstellen"
|
||||||
|
LangString str_desc_batch ${LANG_GERMAN} \
|
||||||
|
".bat-Dateien erstellen, um Vim in der Konsole auszuführen."
|
||||||
|
|
||||||
|
LangString str_group_icons ${LANG_GERMAN} \
|
||||||
|
"Vim-Verknüpfungen erstellen"
|
||||||
|
LangString str_desc_icons ${LANG_GERMAN} \
|
||||||
|
"Verknüpfungen mit Vim für einfachen Aufruf erstellen."
|
||||||
|
|
||||||
|
LangString str_section_desktop ${LANG_GERMAN} \
|
||||||
|
"Auf dem Desktop"
|
||||||
|
LangString str_desc_desktop ${LANG_GERMAN} \
|
||||||
|
"Icons für GVim auf dem Desktop erstellen."
|
||||||
|
|
||||||
|
LangString str_section_start_menu ${LANG_GERMAN} \
|
||||||
|
"Im Startmenü"
|
||||||
|
LangString str_desc_start_menu ${LANG_GERMAN} \
|
||||||
|
"Vim im Programmverzeichnis des Startmenüs hinzufügen."
|
||||||
|
|
||||||
|
#LangString str_section_quick_launch ${LANG_GERMAN} \
|
||||||
|
# "In der Schnellstartleiste"
|
||||||
|
#LangString str_desc_quick_launch ${LANG_GERMAN} \
|
||||||
|
# "Verknüpfung zu Vim in der Schnellstartleiste ablegen."
|
||||||
|
|
||||||
|
LangString str_section_edit_with ${LANG_GERMAN} \
|
||||||
|
"Vim zum Kontextmenü hinzufügen"
|
||||||
|
LangString str_desc_edit_with ${LANG_GERMAN} \
|
||||||
|
"Vim in das $\"Öffnen mit...$\"-Kontextmenü einfügen."
|
||||||
|
|
||||||
|
#LangString str_section_edit_with32 ${LANG_GERMAN} \
|
||||||
|
# "32-Bit-Version"
|
||||||
|
#LangString str_desc_edit_with32 ${LANG_GERMAN} \
|
||||||
|
# "Vim in das $\"Öffnen mit...$\"-Kontextmenü \
|
||||||
|
# für 32-Bit-Anwendungen integrieren."
|
||||||
|
|
||||||
|
#LangString str_section_edit_with64 ${LANG_GERMAN} \
|
||||||
|
# "64-Bit-Version"
|
||||||
|
#LangString str_desc_edit_with64 ${LANG_GERMAN} \
|
||||||
|
# "Vim in das $\"Öffnen mit...$\"-Kontextmenü \
|
||||||
|
# für 64-Bit-Anwendungen integrieren."
|
||||||
|
|
||||||
|
LangString str_section_vim_rc ${LANG_GERMAN} \
|
||||||
|
"Standard-Konfigurationsdatei erstellen"
|
||||||
|
LangString str_desc_vim_rc ${LANG_GERMAN} \
|
||||||
|
"Eine Standard-Konfigurationsdatei (_vimrc) erstellen, \
|
||||||
|
falls noch keine existiert."
|
||||||
|
|
||||||
|
LangString str_group_plugin ${LANG_GERMAN} \
|
||||||
|
"Plugin-Verzeichnisse anlegen"
|
||||||
|
LangString str_desc_plugin ${LANG_GERMAN} \
|
||||||
|
"Plugin-Verzeichnisse anlegen. Plugins erlauben es, Vim \
|
||||||
|
um zusätzliche Funktionen zu erweitern."
|
||||||
|
|
||||||
|
LangString str_section_plugin_home ${LANG_GERMAN} \
|
||||||
|
"Privat"
|
||||||
|
LangString str_desc_plugin_home ${LANG_GERMAN} \
|
||||||
|
"Erstelle Plugin-Verzeichnis im HOME Benutzerverzeichnis."
|
||||||
|
|
||||||
|
LangString str_section_plugin_vim ${LANG_GERMAN} \
|
||||||
|
"Freigegeben"
|
||||||
|
LangString str_desc_plugin_vim ${LANG_GERMAN} \
|
||||||
|
"Plugin-Verzeichnisse im Vim-Installationsverzeichnis erstellen. Diese werden \
|
||||||
|
für alle Benutzer dieses Systems genutzt."
|
||||||
|
|
||||||
|
LangString str_section_vis_vim ${LANG_GERMAN} \
|
||||||
|
"VisVim-Erweiterung"
|
||||||
|
LangString str_desc_vis_vim ${LANG_GERMAN} \
|
||||||
|
"VisVim-Erweiterung zur Integration in Microsoft Visual Studio."
|
||||||
|
|
||||||
|
LangString str_section_nls ${LANG_GERMAN} \
|
||||||
|
"Unterstützung für andere Sprachen"
|
||||||
|
LangString str_desc_nls ${LANG_GERMAN} \
|
||||||
|
"Dateien zur Unterstützung anderer Sprachen als Englisch installieren."
|
||||||
|
|
||||||
|
LangString str_unsection_register ${LANG_GERMAN} \
|
||||||
|
"Vim deinstallieren"
|
||||||
|
LangString str_desc_unregister ${LANG_GERMAN} \
|
||||||
|
"Vim vom System entfernen."
|
||||||
|
|
||||||
|
LangString str_unsection_exe ${LANG_GERMAN} \
|
||||||
|
"Vim-Anwendung und Laufzeitdateien entfernen"
|
||||||
|
LangString str_desc_rm_exe ${LANG_GERMAN} \
|
||||||
|
"Alle Vim-Anwendungen und Laufzeitdateien von diesem System entfernen."
|
||||||
|
|
||||||
|
LangString str_ungroup_plugin ${LANG_GERMAN} \
|
||||||
|
"Entferne Plugin-Verzeichnisse"
|
||||||
|
LangString str_desc_rm_plugin ${LANG_GERMAN} \
|
||||||
|
"Entferne Plugin-Verzeichnisse, falls sie leer sind."
|
||||||
|
|
||||||
|
LangString str_unsection_plugin_home ${LANG_GERMAN} \
|
||||||
|
"Privat"
|
||||||
|
LangString str_desc_rm_plugin_home ${LANG_GERMAN} \
|
||||||
|
"Entfernt die Plugin-Verzeichnisse aus dem HOME Benutzerverzeichnis."
|
||||||
|
|
||||||
|
LangString str_unsection_plugin_vim ${LANG_GERMAN} \
|
||||||
|
"Freigegeben"
|
||||||
|
LangString str_desc_rm_plugin_vim ${LANG_GERMAN} \
|
||||||
|
"Entfernt das Plugin-Verzeichnis aus dem Vim-Installationsverzeichnis."
|
||||||
|
|
||||||
|
LangString str_unsection_rootdir ${LANG_GERMAN} \
|
||||||
|
"Entferne Vim Installationsverzeichnis"
|
||||||
|
LangString str_desc_rm_rootdir ${LANG_GERMAN} \
|
||||||
|
"Entfernt das Vim Installationsverzeichnis. Es enthält die Vim Konfigurationsdateien!"
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Messages {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
#LangString str_msg_too_many_ver ${LANG_GERMAN} \
|
||||||
|
# "$vim_old_ver_count Vim-Versionen auf diesem System gefunden..$\r$\n\
|
||||||
|
# Dieser Installer kann maximal ${VIM_MAX_OLD_VER} Versionen \
|
||||||
|
# handhaben.$\r$\n\
|
||||||
|
# Bitte alte Versionen entfernen und noch einmal probieren."
|
||||||
|
|
||||||
|
#LangString str_msg_invalid_root ${LANG_GERMAN} \
|
||||||
|
# "Nicht gültiges Installationsverzeichnis: $vim_install_root!$\r$\n\
|
||||||
|
# Der Pfad muss auf $\"vim$\" enden."
|
||||||
|
|
||||||
|
#LangString str_msg_bin_mismatch ${LANG_GERMAN} \
|
||||||
|
# "Pfaddiskrepanz!$\r$\n$\r$\n\
|
||||||
|
# Erwarte Anwendungsverzeichnis $\"$vim_bin_path$\",$\r$\n\
|
||||||
|
# aber fand Anwendungspfad $\"$INSTDIR$\" vor."
|
||||||
|
|
||||||
|
#LangString str_msg_vim_running ${LANG_GERMAN} \
|
||||||
|
# "Laufender Vim-Prozess erkannt.$\r$\n\
|
||||||
|
# Bitte alle laufenden Vim-Prozesse vor dem Fortfahren beenden."
|
||||||
|
|
||||||
|
#LangString str_msg_register_ole ${LANG_GERMAN} \
|
||||||
|
# "Versuche OLE-Registrierung durchzuführen."
|
||||||
|
|
||||||
|
#LangString str_msg_unreg_ole ${LANG_GERMAN} \
|
||||||
|
# "Versuche OLE-Registrierung zu löschen."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_start ${LANG_GERMAN} \
|
||||||
|
# "Deinstalliere die folgende Version:"
|
||||||
|
|
||||||
|
#LangString str_msg_rm_fail ${LANG_GERMAN} \
|
||||||
|
# "Deinstallation der Version fehlgeschlagen:"
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_key ${LANG_GERMAN} \
|
||||||
|
# "Deinstallationsschlüssel in der Registrierungsdatenbank nicht gefunden."
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_reg ${LANG_GERMAN} \
|
||||||
|
# "Kein Uninstaller in der Registrierungsdatenbank gefunden."
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_exe ${LANG_GERMAN} \
|
||||||
|
# "Kein Zugriff auf den Uninstaller."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_copy_fail ${LANG_GERMAN} \
|
||||||
|
# "Fehler beim Kopieren des Uninstallers in ein temporäres Verzeichnis."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_run_fail ${LANG_GERMAN} \
|
||||||
|
# "Fehler beim Aufruf des Uninstallers."
|
||||||
|
|
||||||
|
#LangString str_msg_abort_install ${LANG_GERMAN} \
|
||||||
|
# "Installation wird abgebrochen."
|
||||||
|
|
||||||
|
LangString str_msg_install_fail ${LANG_GERMAN} \
|
||||||
|
"Installation fehlerhaft beendet."
|
||||||
|
|
||||||
|
LangString str_msg_rm_exe_fail ${LANG_GERMAN} \
|
||||||
|
"Einige Dateien im Pfad $0 konnten nicht gelöscht werden!$\r$\n\
|
||||||
|
Diese Dateien müssen manuell gelöscht werden."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_root_fail ${LANG_GERMAN} \
|
||||||
|
# "Achtung: Kann Verzeichnis $\"$vim_install_root$\" nicht entfernen, \
|
||||||
|
# weil es nicht leer ist!"
|
||||||
|
|
||||||
|
LangString str_msg_uninstalling ${LANG_GERMAN} \
|
||||||
|
"Deinstalliere alte Version..."
|
||||||
|
|
||||||
|
LangString str_msg_registering ${LANG_GERMAN} \
|
||||||
|
"Registriere..."
|
||||||
|
|
||||||
|
LangString str_msg_unregistering ${LANG_GERMAN} \
|
||||||
|
"Entferne Registrierung..."
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Dialog Box {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
LangString str_vimrc_page_title ${LANG_GERMAN} \
|
||||||
|
"Wähle _vimrc Konfigurationsoptionen"
|
||||||
|
LangString str_vimrc_page_subtitle ${LANG_GERMAN} \
|
||||||
|
"Wähle Einstellungen zur Kompatibilität, Tastatur und Maus."
|
||||||
|
|
||||||
|
LangString str_msg_compat_title ${LANG_GERMAN} \
|
||||||
|
" Vi / Vim Verhalten "
|
||||||
|
LangString str_msg_compat_desc ${LANG_GERMAN} \
|
||||||
|
"&Kompatibilität und Erweiterungen"
|
||||||
|
LangString str_msg_compat_vi ${LANG_GERMAN} \
|
||||||
|
"Vi-kompatibel"
|
||||||
|
LangString str_msg_compat_vim ${LANG_GERMAN} \
|
||||||
|
"Vim Original"
|
||||||
|
LangString str_msg_compat_defaults ${LANG_GERMAN} \
|
||||||
|
"Vim mit einigen Erweiterungen (Lädt defaults.vim)"
|
||||||
|
LangString str_msg_compat_all ${LANG_GERMAN} \
|
||||||
|
"Vim mit allen Erweiterungen (Lädt vimrc_example.vim) (Standard)"
|
||||||
|
|
||||||
|
LangString str_msg_keymap_title ${LANG_GERMAN} \
|
||||||
|
" Mappings für Windows Standard Tastenkombinationen "
|
||||||
|
LangString str_msg_keymap_desc ${LANG_GERMAN} \
|
||||||
|
"&Einige Tasten umkonfigurieren (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc)"
|
||||||
|
LangString str_msg_keymap_default ${LANG_GERMAN} \
|
||||||
|
"Keine Tasten umkonfigurieren (Standard)"
|
||||||
|
LangString str_msg_keymap_windows ${LANG_GERMAN} \
|
||||||
|
"Einige Tasten umkonfigurieren"
|
||||||
|
|
||||||
|
LangString str_msg_mouse_title ${LANG_GERMAN} \
|
||||||
|
" Maus "
|
||||||
|
LangString str_msg_mouse_desc ${LANG_GERMAN} \
|
||||||
|
"&Verhalten der linken und rechten Buttons"
|
||||||
|
LangString str_msg_mouse_default ${LANG_GERMAN} \
|
||||||
|
"Rechts: Popup Menü, Links: Visueller Modus (Standard)"
|
||||||
|
LangString str_msg_mouse_windows ${LANG_GERMAN} \
|
||||||
|
"Rechts: Popup Menü, Links: Auswahl Modus (Windows)"
|
||||||
|
LangString str_msg_mouse_unix ${LANG_GERMAN} \
|
||||||
|
"Rechts: Auswahl erweitern, Links: Visueller Modus (Unix)"
|
||||||
283
nsis/lang/italian.nsi
Normal file
283
nsis/lang/italian.nsi
Normal file
@@ -0,0 +1,283 @@
|
|||||||
|
# vi:set ts=8 sts=4 sw=4 et fdm=marker:
|
||||||
|
#
|
||||||
|
# italian.nsi : Italian language strings for gvim NSIS installer.
|
||||||
|
#
|
||||||
|
# Locale ID : 1040
|
||||||
|
# Locale Name : it
|
||||||
|
# fileencoding : UTF-8
|
||||||
|
# Author : Antonio Colombo
|
||||||
|
|
||||||
|
!insertmacro MUI_LANGUAGE "Italian"
|
||||||
|
|
||||||
|
|
||||||
|
# Overwrite the default translation.
|
||||||
|
# These strings should be always English. Otherwise dosinst.c fails.
|
||||||
|
LangString ^SetupCaption ${LANG_ITALIAN} \
|
||||||
|
"$(^Name) Setup"
|
||||||
|
LangString ^UninstallCaption ${LANG_ITALIAN} \
|
||||||
|
"$(^Name) Uninstall"
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# MUI Configuration Strings {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
#LangString str_dest_folder ${LANG_ITALIAN} \
|
||||||
|
# "Cartella d'installazione (il nome deve finire con $\"vim$\")"
|
||||||
|
|
||||||
|
LangString str_show_readme ${LANG_ITALIAN} \
|
||||||
|
"Visualizza README al termine dell'installazione"
|
||||||
|
|
||||||
|
# Install types:
|
||||||
|
LangString str_type_typical ${LANG_ITALIAN} \
|
||||||
|
"Tipica"
|
||||||
|
|
||||||
|
LangString str_type_minimal ${LANG_ITALIAN} \
|
||||||
|
"Minima"
|
||||||
|
|
||||||
|
LangString str_type_full ${LANG_ITALIAN} \
|
||||||
|
"Completa"
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Section Titles & Description {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
LangString str_section_old_ver ${LANG_ITALIAN} \
|
||||||
|
"Disinstalla versione/i esistente/i"
|
||||||
|
LangString str_desc_old_ver ${LANG_ITALIAN} \
|
||||||
|
"Disinstalla versione/i esistente/i di Vim dal vostro sistema."
|
||||||
|
|
||||||
|
LangString str_section_exe ${LANG_ITALIAN} \
|
||||||
|
"Vim GUI e file di supporto"
|
||||||
|
LangString str_desc_exe ${LANG_ITALIAN} \
|
||||||
|
"Vim GUI programmi e file di supporto. Questa componente è indispensabile."
|
||||||
|
|
||||||
|
LangString str_section_console ${LANG_ITALIAN} \
|
||||||
|
"Vim console (vim.exe per MS-DOS)"
|
||||||
|
LangString str_desc_console ${LANG_ITALIAN} \
|
||||||
|
"Versione console di Vim (vim.exe)."
|
||||||
|
|
||||||
|
LangString str_section_batch ${LANG_ITALIAN} \
|
||||||
|
"Crea file di invocazione (MS-DOS) .bat"
|
||||||
|
LangString str_desc_batch ${LANG_ITALIAN} \
|
||||||
|
"Crea file di invocazione .bat per varianti di Vim nella directory \
|
||||||
|
di Windows, per utilizzo da linea di comando (MS-DOS)."
|
||||||
|
|
||||||
|
LangString str_group_icons ${LANG_ITALIAN} \
|
||||||
|
"Crea icone per Vim"
|
||||||
|
LangString str_desc_icons ${LANG_ITALIAN} \
|
||||||
|
"Crea icone per Vim in vari posti, per rendere facile l'accesso."
|
||||||
|
|
||||||
|
LangString str_section_desktop ${LANG_ITALIAN} \
|
||||||
|
"Sul Desktop"
|
||||||
|
LangString str_desc_desktop ${LANG_ITALIAN} \
|
||||||
|
"Crea icone per programma gVim sul desktop."
|
||||||
|
|
||||||
|
LangString str_section_start_menu ${LANG_ITALIAN} \
|
||||||
|
"Nella cartella del menù START"
|
||||||
|
LangString str_desc_start_menu ${LANG_ITALIAN} \
|
||||||
|
"Aggiungi Vim alle cartelle del menù START."
|
||||||
|
|
||||||
|
#LangString str_section_quick_launch ${LANG_ITALIAN} \
|
||||||
|
# "Nella barra di Avvio Veloce"
|
||||||
|
#LangString str_desc_quick_launch ${LANG_ITALIAN} \
|
||||||
|
# "Aggiungi un puntatore a Vim nella barra di Avvio Veloce."
|
||||||
|
|
||||||
|
LangString str_section_edit_with ${LANG_ITALIAN} \
|
||||||
|
"Aggiungi Vim al Menù Contestuale"
|
||||||
|
LangString str_desc_edit_with ${LANG_ITALIAN} \
|
||||||
|
"Aggiungi Vim alla lista contestuale $\"Apri con...$\"."
|
||||||
|
|
||||||
|
#LangString str_section_edit_with32 ${LANG_ITALIAN} \
|
||||||
|
# "Versione a 32-bit"
|
||||||
|
#LangString str_desc_edit_with32 ${LANG_ITALIAN} \
|
||||||
|
# "Aggiungi Vim alla lista contestuale $\"Apri con...$\" \
|
||||||
|
# per applicazioni a 32-bit."
|
||||||
|
|
||||||
|
#LangString str_section_edit_with64 ${LANG_ITALIAN} \
|
||||||
|
# "Versione a 64-bit"
|
||||||
|
#LangString str_desc_edit_with64 ${LANG_ITALIAN} \
|
||||||
|
# "Aggiungi Vim alla lista contestuale $\"Apri con...$\" \
|
||||||
|
# per applicazioni a 64-bit."
|
||||||
|
|
||||||
|
LangString str_section_vim_rc ${LANG_ITALIAN} \
|
||||||
|
"Crea configurazione di default"
|
||||||
|
LangString str_desc_vim_rc ${LANG_ITALIAN} \
|
||||||
|
"Crea un file configurazione di default (_vimrc) se non \
|
||||||
|
ne esiste già uno."
|
||||||
|
|
||||||
|
LangString str_group_plugin ${LANG_ITALIAN} \
|
||||||
|
"Crea directory per plugin"
|
||||||
|
LangString str_desc_plugin ${LANG_ITALIAN} \
|
||||||
|
"Crea directory per plugin. Consentono di aggiungere funzionalità \
|
||||||
|
a Vim mettendo file in una di queste directory."
|
||||||
|
|
||||||
|
LangString str_section_plugin_home ${LANG_ITALIAN} \
|
||||||
|
"Private"
|
||||||
|
LangString str_desc_plugin_home ${LANG_ITALIAN} \
|
||||||
|
"Crea directory per plugin nella directory HOME."
|
||||||
|
|
||||||
|
LangString str_section_plugin_vim ${LANG_ITALIAN} \
|
||||||
|
"Condivise"
|
||||||
|
LangString str_desc_plugin_vim ${LANG_ITALIAN} \
|
||||||
|
"Crea directory per plugin nella directory di installazione di Vim \
|
||||||
|
per uso da parte di tutti gli utenti di questo sistema."
|
||||||
|
|
||||||
|
LangString str_section_vis_vim ${LANG_ITALIAN} \
|
||||||
|
"Estensione VisVim"
|
||||||
|
LangString str_desc_vis_vim ${LANG_ITALIAN} \
|
||||||
|
"Estensione VisVim per integrazione con Microsoft Visual Studio."
|
||||||
|
|
||||||
|
LangString str_section_nls ${LANG_ITALIAN} \
|
||||||
|
"Supporto Multilingue (NLS)"
|
||||||
|
LangString str_desc_nls ${LANG_ITALIAN} \
|
||||||
|
"Installa file per supportare messaggi in diverse lingue."
|
||||||
|
|
||||||
|
LangString str_unsection_register ${LANG_ITALIAN} \
|
||||||
|
"Togli Vim dal Registry"
|
||||||
|
LangString str_desc_unregister ${LANG_ITALIAN} \
|
||||||
|
"Togli Vim dal Registry di configurazione sistema."
|
||||||
|
|
||||||
|
LangString str_unsection_exe ${LANG_ITALIAN} \
|
||||||
|
"Cancella programmi/file di supporto Vim"
|
||||||
|
LangString str_desc_rm_exe ${LANG_ITALIAN} \
|
||||||
|
"Cancella tutti i programmi/file di supporto di Vim."
|
||||||
|
|
||||||
|
LangString str_ungroup_plugin ${LANG_ITALIAN} \
|
||||||
|
"Cancella le directory per plugin"
|
||||||
|
LangString str_desc_rm_plugin ${LANG_ITALIAN} \
|
||||||
|
"Cancella le directory per plugin se sono vuote."
|
||||||
|
|
||||||
|
LangString str_unsection_plugin_home ${LANG_ITALIAN} \
|
||||||
|
"Private"
|
||||||
|
LangString str_desc_rm_plugin_home ${LANG_ITALIAN} \
|
||||||
|
"Cancella le directory per plugin dalla directory HOME."
|
||||||
|
|
||||||
|
LangString str_unsection_plugin_vim ${LANG_ITALIAN} \
|
||||||
|
"Condivise"
|
||||||
|
LangString str_desc_rm_plugin_vim ${LANG_ITALIAN} \
|
||||||
|
"Cancella le directory per plugin dalla directory di installazione di Vim."
|
||||||
|
|
||||||
|
LangString str_unsection_rootdir ${LANG_ITALIAN} \
|
||||||
|
"Cancella la directory di installazione di Vim"
|
||||||
|
LangString str_desc_rm_rootdir ${LANG_ITALIAN} \
|
||||||
|
"Cancella la directory di installazione di Vim. Contiene i vostri file di configurazione!"
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Messages {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
#LangString str_msg_too_many_ver ${LANG_ITALIAN} \
|
||||||
|
# "Trovate $vim_old_ver_count versioni di Vim sul vostro sistema.$\r$\n\
|
||||||
|
# Questo programma di installazione può gestire solo \
|
||||||
|
# ${VIM_MAX_OLD_VER} versioni.$\r$\n\
|
||||||
|
# Disinstallate qualche versione precedente e ricominciate."
|
||||||
|
|
||||||
|
#LangString str_msg_invalid_root ${LANG_ITALIAN} \
|
||||||
|
# "Nome di directory di installazione non valida: $vim_install_root!$\r$\n\
|
||||||
|
# Dovrebbe terminare con $\"vim$\"."
|
||||||
|
|
||||||
|
#LangString str_msg_bin_mismatch ${LANG_ITALIAN} \
|
||||||
|
# "Conflitto nella directory di installazione!$\r$\n$\r$\n\
|
||||||
|
# Cartella di installazione dev'essere $\"$vim_bin_path$\",$\r$\n\
|
||||||
|
# ma il sistema segnala invece $\"$INSTDIR$\"."
|
||||||
|
|
||||||
|
#LangString str_msg_vim_running ${LANG_ITALIAN} \
|
||||||
|
# "Vim ancora in esecuzione sul vostro sistema.$\r$\n\
|
||||||
|
# Chiudete tutte le sessioni attive di Vim per continuare."
|
||||||
|
|
||||||
|
#LangString str_msg_register_ole ${LANG_ITALIAN} \
|
||||||
|
# "Tentativo di registrazione di Vim con OLE. \
|
||||||
|
# Non c'è messaggio che indica se è riuscito o no."
|
||||||
|
|
||||||
|
#LangString str_msg_unreg_ole ${LANG_ITALIAN} \
|
||||||
|
# "Tentativo di togliere dal Registry Vim con OLE. \
|
||||||
|
# Non c'è messaggio che indica se è riuscito o no."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_start ${LANG_ITALIAN} \
|
||||||
|
# "Disinstallazione della seguente versione:"
|
||||||
|
|
||||||
|
#LangString str_msg_rm_fail ${LANG_ITALIAN} \
|
||||||
|
# "Disinstallazione non riuscita per la seguente versione:"
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_key ${LANG_ITALIAN} \
|
||||||
|
# "Non riesco a trovare chiave di disinstallazione nel Registry."
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_reg ${LANG_ITALIAN} \
|
||||||
|
# "Non riesco a trovare programma disinstallazione nel Registry."
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_exe ${LANG_ITALIAN} \
|
||||||
|
# "Non riesco a trovare programma disinstallazione."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_copy_fail ${LANG_ITALIAN} \
|
||||||
|
# "Non riesco a copiare programma disinstallazione a una \
|
||||||
|
# directory temporanea."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_run_fail ${LANG_ITALIAN} \
|
||||||
|
# "Non riesco a eseguire programma disinstallazione."
|
||||||
|
|
||||||
|
#LangString str_msg_abort_install ${LANG_ITALIAN} \
|
||||||
|
# "Il programma di disinstallazione verrà chiuso senza aver fatto nulla."
|
||||||
|
|
||||||
|
LangString str_msg_install_fail ${LANG_ITALIAN} \
|
||||||
|
"Installazione non riuscita. Miglior fortuna alla prossima!"
|
||||||
|
|
||||||
|
LangString str_msg_rm_exe_fail ${LANG_ITALIAN} \
|
||||||
|
"Alcuni file in $0 non sono stati cancellati!$\r$\n\
|
||||||
|
Dovreste cancellarli voi stessi."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_root_fail ${LANG_ITALIAN} \
|
||||||
|
# "AVVISO: Non posso cancellare $\"$vim_install_root$\", non è vuota!"
|
||||||
|
|
||||||
|
LangString str_msg_uninstalling ${LANG_ITALIAN} \
|
||||||
|
"Sto disinstallando la vecchia versione..."
|
||||||
|
|
||||||
|
LangString str_msg_registering ${LANG_ITALIAN} \
|
||||||
|
"Sto aggiungendo Vim al Registry..."
|
||||||
|
|
||||||
|
LangString str_msg_unregistering ${LANG_ITALIAN} \
|
||||||
|
"Sto togliendo Vim dal Registry..."
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Dialog Box {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
LangString str_vimrc_page_title ${LANG_ITALIAN} \
|
||||||
|
"Scelta impostazioni _vimrc"
|
||||||
|
LangString str_vimrc_page_subtitle ${LANG_ITALIAN} \
|
||||||
|
"Scelta impostazioni per funzionalità ulteriori, tastiera e mouse."
|
||||||
|
|
||||||
|
LangString str_msg_compat_title ${LANG_ITALIAN} \
|
||||||
|
" comportamento come Vi / Vim "
|
||||||
|
LangString str_msg_compat_desc ${LANG_ITALIAN} \
|
||||||
|
"&Compatibilità e funzionalità ulteriori"
|
||||||
|
LangString str_msg_compat_vi ${LANG_ITALIAN} \
|
||||||
|
"Compatibile con Vi"
|
||||||
|
LangString str_msg_compat_vim ${LANG_ITALIAN} \
|
||||||
|
"Vim originale"
|
||||||
|
LangString str_msg_compat_defaults ${LANG_ITALIAN} \
|
||||||
|
"Vim con alcune funzionalità ulteriori (esecuzione defaults.vim)"
|
||||||
|
LangString str_msg_compat_all ${LANG_ITALIAN} \
|
||||||
|
"Vim con tutte le funzionalità ulteriori (esecuzione vimrc_example.vim) (Default)"
|
||||||
|
|
||||||
|
LangString str_msg_keymap_title ${LANG_ITALIAN} \
|
||||||
|
" Mappature "
|
||||||
|
LangString str_msg_keymap_desc ${LANG_ITALIAN} \
|
||||||
|
"&Rimappatura di alcuni tasti per Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc.)"
|
||||||
|
LangString str_msg_keymap_default ${LANG_ITALIAN} \
|
||||||
|
"Non effettuare rimappature di tasti (Default)"
|
||||||
|
LangString str_msg_keymap_windows ${LANG_ITALIAN} \
|
||||||
|
"Rimappare solo alcuni tasti"
|
||||||
|
|
||||||
|
LangString str_msg_mouse_title ${LANG_ITALIAN} \
|
||||||
|
" Mouse "
|
||||||
|
LangString str_msg_mouse_desc ${LANG_ITALIAN} \
|
||||||
|
"&Comportamento dei pulsanti destro e sinistro"
|
||||||
|
LangString str_msg_mouse_default ${LANG_ITALIAN} \
|
||||||
|
"Destro: popup menu, Sinistro: modalità visuale (Default)"
|
||||||
|
LangString str_msg_mouse_windows ${LANG_ITALIAN} \
|
||||||
|
"Destro: popup menu, Sinistro: seleziona modalità (Windows)"
|
||||||
|
LangString str_msg_mouse_unix ${LANG_ITALIAN} \
|
||||||
|
"Destro: estende selezione, Sinistro: modalità visuale (Unix)"
|
||||||
287
nsis/lang/japanese.nsi
Normal file
287
nsis/lang/japanese.nsi
Normal file
@@ -0,0 +1,287 @@
|
|||||||
|
# vi:set ts=8 sts=4 sw=4 et fdm=marker:
|
||||||
|
#
|
||||||
|
# japanese.nsi: Japanese language strings for gvim NSIS installer.
|
||||||
|
#
|
||||||
|
# Locale ID : 1041
|
||||||
|
# fileencoding : UTF-8
|
||||||
|
# Author : Ken Takata
|
||||||
|
|
||||||
|
!insertmacro MUI_LANGUAGE "Japanese"
|
||||||
|
|
||||||
|
|
||||||
|
# Overwrite the default translation.
|
||||||
|
# These strings should be always English. Otherwise dosinst.c fails.
|
||||||
|
LangString ^SetupCaption ${LANG_JAPANESE} \
|
||||||
|
"$(^Name) Setup"
|
||||||
|
LangString ^UninstallCaption ${LANG_JAPANESE} \
|
||||||
|
"$(^Name) Uninstall"
|
||||||
|
|
||||||
|
# Workarounds for NSIS Japanese translation. The messages are too long.
|
||||||
|
# These should be better to be fixed by the NSIS upstream.
|
||||||
|
LangString ^SpaceAvailable ${LANG_JAPANESE} \
|
||||||
|
"利用可能なディスク容量:"
|
||||||
|
LangString ^SpaceRequired ${LANG_JAPANESE} \
|
||||||
|
"必要なディスク容量:"
|
||||||
|
# Fix another NSIS Japanese translation. The access key was missing.
|
||||||
|
LangString ^InstallBtn ${LANG_JAPANESE} \
|
||||||
|
"インストール(&I)"
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# MUI Configuration Strings {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
#LangString str_dest_folder ${LANG_JAPANESE} \
|
||||||
|
# "Destination Folder (Must end with $\"vim$\")"
|
||||||
|
|
||||||
|
LangString str_show_readme ${LANG_JAPANESE} \
|
||||||
|
"インストール完了後に README を表示する"
|
||||||
|
|
||||||
|
# Install types:
|
||||||
|
LangString str_type_typical ${LANG_JAPANESE} \
|
||||||
|
"通常"
|
||||||
|
|
||||||
|
LangString str_type_minimal ${LANG_JAPANESE} \
|
||||||
|
"最小"
|
||||||
|
|
||||||
|
LangString str_type_full ${LANG_JAPANESE} \
|
||||||
|
"全て"
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Section Titles & Description {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
LangString str_section_old_ver ${LANG_JAPANESE} \
|
||||||
|
"既存のバージョンをアンインストール"
|
||||||
|
LangString str_desc_old_ver ${LANG_JAPANESE} \
|
||||||
|
"すでにインストールされている Vim をシステムから削除します。"
|
||||||
|
|
||||||
|
LangString str_section_exe ${LANG_JAPANESE} \
|
||||||
|
"Vim GUI とランタイムファイル"
|
||||||
|
LangString str_desc_exe ${LANG_JAPANESE} \
|
||||||
|
"Vim GUI 実行ファイルとラインタイムファイル。このコンポーネントは必須です。"
|
||||||
|
|
||||||
|
LangString str_section_console ${LANG_JAPANESE} \
|
||||||
|
"Vim コンソールプログラム"
|
||||||
|
LangString str_desc_console ${LANG_JAPANESE} \
|
||||||
|
"コンソール版の Vim (vim.exe)。"
|
||||||
|
|
||||||
|
LangString str_section_batch ${LANG_JAPANESE} \
|
||||||
|
".bat ファイルを作成"
|
||||||
|
LangString str_desc_batch ${LANG_JAPANESE} \
|
||||||
|
"コマンドラインから Vim と関連コマンドを実行できるように、.bat ファイルを Windows ディレクトリに作成します。"
|
||||||
|
|
||||||
|
LangString str_group_icons ${LANG_JAPANESE} \
|
||||||
|
"Vim のアイコンを作成"
|
||||||
|
LangString str_desc_icons ${LANG_JAPANESE} \
|
||||||
|
"Vim を簡単に実行できるように、いくつかの場所にアイコンを作成します。"
|
||||||
|
|
||||||
|
LangString str_section_desktop ${LANG_JAPANESE} \
|
||||||
|
"デスクトップ上"
|
||||||
|
LangString str_desc_desktop ${LANG_JAPANESE} \
|
||||||
|
"gVim 実行ファイルのアイコンをデスクトップ上に作成します。"
|
||||||
|
|
||||||
|
LangString str_section_start_menu ${LANG_JAPANESE} \
|
||||||
|
"スタートメニューのプログラムフォルダー上"
|
||||||
|
LangString str_desc_start_menu ${LANG_JAPANESE} \
|
||||||
|
"Vim のアイコンをスタートメニューのプログラムフォルダー上に作成します。"
|
||||||
|
|
||||||
|
#LangString str_section_quick_launch ${LANG_JAPANESE} \
|
||||||
|
# "In the Quick Launch Bar"
|
||||||
|
#LangString str_desc_quick_launch ${LANG_JAPANESE} \
|
||||||
|
# "Add Vim shortcut in the quick launch bar."
|
||||||
|
|
||||||
|
LangString str_section_edit_with ${LANG_JAPANESE} \
|
||||||
|
"Vim のコンテキストメニューを追加"
|
||||||
|
LangString str_desc_edit_with ${LANG_JAPANESE} \
|
||||||
|
"$\"Vimで編集する$\" をコンテキストメニューに追加します。"
|
||||||
|
|
||||||
|
#LangString str_section_edit_with32 ${LANG_JAPANESE} \
|
||||||
|
# "32-bit Version"
|
||||||
|
#LangString str_desc_edit_with32 ${LANG_JAPANESE} \
|
||||||
|
# "Add Vim to the $\"Open With...$\" context menu list \
|
||||||
|
# for 32-bit applications."
|
||||||
|
|
||||||
|
#LangString str_section_edit_with64 ${LANG_JAPANESE} \
|
||||||
|
# "64-bit Version"
|
||||||
|
#LangString str_desc_edit_with64 ${LANG_JAPANESE} \
|
||||||
|
# "Add Vim to the $\"Open With...$\" context menu list \
|
||||||
|
# for 64-bit applications."
|
||||||
|
|
||||||
|
LangString str_section_vim_rc ${LANG_JAPANESE} \
|
||||||
|
"既定のコンフィグを作成"
|
||||||
|
LangString str_desc_vim_rc ${LANG_JAPANESE} \
|
||||||
|
"もし無ければ、既定のコンフィグファイル (_vimrc) を作成します。"
|
||||||
|
|
||||||
|
LangString str_group_plugin ${LANG_JAPANESE} \
|
||||||
|
"プラグインディレクトリを作成"
|
||||||
|
LangString str_desc_plugin ${LANG_JAPANESE} \
|
||||||
|
"プラグインディレクトリを作成します。そこにプラグインファイルを置くことで Vim を拡張することができます。"
|
||||||
|
|
||||||
|
LangString str_section_plugin_home ${LANG_JAPANESE} \
|
||||||
|
"個人用"
|
||||||
|
LangString str_desc_plugin_home ${LANG_JAPANESE} \
|
||||||
|
"プラグインディレクトリをホームディレクトリに作成します。"
|
||||||
|
|
||||||
|
LangString str_section_plugin_vim ${LANG_JAPANESE} \
|
||||||
|
"共用"
|
||||||
|
LangString str_desc_plugin_vim ${LANG_JAPANESE} \
|
||||||
|
"プラグインディレクトリを Vim のインストールディレクトリに作成します。システムの全員で共有されます。"
|
||||||
|
|
||||||
|
LangString str_section_vis_vim ${LANG_JAPANESE} \
|
||||||
|
"VisVim 拡張"
|
||||||
|
LangString str_desc_vis_vim ${LANG_JAPANESE} \
|
||||||
|
"Microsoft Visual Studio 統合用の VisVim 拡張。"
|
||||||
|
|
||||||
|
LangString str_section_nls ${LANG_JAPANESE} \
|
||||||
|
"多言語サポート"
|
||||||
|
LangString str_desc_nls ${LANG_JAPANESE} \
|
||||||
|
"多言語サポート用のファイルをインストールします。"
|
||||||
|
|
||||||
|
LangString str_unsection_register ${LANG_JAPANESE} \
|
||||||
|
"Vim を登録解除"
|
||||||
|
LangString str_desc_unregister ${LANG_JAPANESE} \
|
||||||
|
"Vim をシステムから登録解除します。"
|
||||||
|
|
||||||
|
LangString str_unsection_exe ${LANG_JAPANESE} \
|
||||||
|
"Vim の実行ファイル/ランタイムファイルを削除"
|
||||||
|
LangString str_desc_rm_exe ${LANG_JAPANESE} \
|
||||||
|
"全ての Vim の実行ファイルとランタイムファイルを削除します。"
|
||||||
|
|
||||||
|
LangString str_ungroup_plugin ${LANG_JAPANESE} \
|
||||||
|
"プラグインディレクトリを削除"
|
||||||
|
LangString str_desc_rm_plugin ${LANG_JAPANESE} \
|
||||||
|
"プラグインディレクトリが空であればそれを削除します。"
|
||||||
|
|
||||||
|
LangString str_unsection_plugin_home ${LANG_JAPANESE} \
|
||||||
|
"個人用"
|
||||||
|
LangString str_desc_rm_plugin_home ${LANG_JAPANESE} \
|
||||||
|
"プラグインディレクトリをホームディレクトリから削除します。"
|
||||||
|
|
||||||
|
LangString str_unsection_plugin_vim ${LANG_JAPANESE} \
|
||||||
|
"共用"
|
||||||
|
LangString str_desc_rm_plugin_vim ${LANG_JAPANESE} \
|
||||||
|
"プラグインディレクトリを Vim のインストールディレクトリから削除します。"
|
||||||
|
|
||||||
|
LangString str_unsection_rootdir ${LANG_JAPANESE} \
|
||||||
|
"Vim のトップディレクトリを削除"
|
||||||
|
LangString str_desc_rm_rootdir ${LANG_JAPANESE} \
|
||||||
|
"Vim のトップディレクトリを削除します。あなたの Vim の設定ファイルも含まれていることに注意してください!"
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Messages {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
#LangString str_msg_too_many_ver ${LANG_JAPANESE} \
|
||||||
|
# "Found $vim_old_ver_count Vim versions on your system.$\r$\n\
|
||||||
|
# This installer can only handle ${VIM_MAX_OLD_VER} versions \
|
||||||
|
# at most.$\r$\n\
|
||||||
|
# Please remove some versions and start again."
|
||||||
|
|
||||||
|
#LangString str_msg_invalid_root ${LANG_JAPANESE} \
|
||||||
|
# "Invalid install path: $vim_install_root!$\r$\n\
|
||||||
|
# It should end with $\"vim$\"."
|
||||||
|
|
||||||
|
#LangString str_msg_bin_mismatch ${LANG_JAPANESE} \
|
||||||
|
# "Binary path mismatch!$\r$\n$\r$\n\
|
||||||
|
# Expect the binary path to be $\"$vim_bin_path$\",$\r$\n\
|
||||||
|
# but system indicates the binary path is $\"$INSTDIR$\"."
|
||||||
|
|
||||||
|
#LangString str_msg_vim_running ${LANG_JAPANESE} \
|
||||||
|
# "Vim is still running on your system.$\r$\n\
|
||||||
|
# Please close all instances of Vim before you continue."
|
||||||
|
|
||||||
|
#LangString str_msg_register_ole ${LANG_JAPANESE} \
|
||||||
|
# "Attempting to register Vim with OLE. \
|
||||||
|
# There is no message indicates whether this works or not."
|
||||||
|
|
||||||
|
#LangString str_msg_unreg_ole ${LANG_JAPANESE} \
|
||||||
|
# "Attempting to unregister Vim with OLE. \
|
||||||
|
# There is no message indicates whether this works or not."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_start ${LANG_JAPANESE} \
|
||||||
|
# "Uninstalling the following version:"
|
||||||
|
|
||||||
|
#LangString str_msg_rm_fail ${LANG_JAPANESE} \
|
||||||
|
# "Fail to uninstall the following version:"
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_key ${LANG_JAPANESE} \
|
||||||
|
# "Cannot find uninstaller registry key."
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_reg ${LANG_JAPANESE} \
|
||||||
|
# "Cannot find uninstaller from registry."
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_exe ${LANG_JAPANESE} \
|
||||||
|
# "Cannot access uninstaller."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_copy_fail ${LANG_JAPANESE} \
|
||||||
|
# "Fail to copy uninstaller to temporary directory."
|
||||||
|
|
||||||
|
#LangString str_msg_rm_run_fail ${LANG_JAPANESE} \
|
||||||
|
# "Fail to run uninstaller."
|
||||||
|
|
||||||
|
#LangString str_msg_abort_install ${LANG_JAPANESE} \
|
||||||
|
# "Installer will abort."
|
||||||
|
|
||||||
|
LangString str_msg_install_fail ${LANG_JAPANESE} \
|
||||||
|
"インストールに失敗しました。次はうまくいくことを祈ります。"
|
||||||
|
|
||||||
|
LangString str_msg_rm_exe_fail ${LANG_JAPANESE} \
|
||||||
|
"$0 内の一部のファイルは削除できませんでした!$\r$\n\
|
||||||
|
手動で削除する必要があります。"
|
||||||
|
|
||||||
|
#LangString str_msg_rm_root_fail ${LANG_JAPANESE} \
|
||||||
|
# "WARNING: Cannot remove $\"$vim_install_root$\", it is not empty!"
|
||||||
|
|
||||||
|
LangString str_msg_uninstalling ${LANG_JAPANESE} \
|
||||||
|
"古いバージョンをアンインストールしています..."
|
||||||
|
|
||||||
|
LangString str_msg_registering ${LANG_JAPANESE} \
|
||||||
|
"登録中..."
|
||||||
|
|
||||||
|
LangString str_msg_unregistering ${LANG_JAPANESE} \
|
||||||
|
"登録解除中..."
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Dialog Box {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
LangString str_vimrc_page_title ${LANG_JAPANESE} \
|
||||||
|
"_vimrc の設定を選んでください"
|
||||||
|
LangString str_vimrc_page_subtitle ${LANG_JAPANESE} \
|
||||||
|
"拡張やキーボード、マウスの設定を選んでください。"
|
||||||
|
|
||||||
|
LangString str_msg_compat_title ${LANG_JAPANESE} \
|
||||||
|
" Vi / Vim の動作 "
|
||||||
|
LangString str_msg_compat_desc ${LANG_JAPANESE} \
|
||||||
|
"互換性と拡張(&C)"
|
||||||
|
LangString str_msg_compat_vi ${LANG_JAPANESE} \
|
||||||
|
"Vi 互換"
|
||||||
|
LangString str_msg_compat_vim ${LANG_JAPANESE} \
|
||||||
|
"Vim 独自"
|
||||||
|
LangString str_msg_compat_defaults ${LANG_JAPANESE} \
|
||||||
|
"Vim 独自と多少の拡張 (defaults.vim を読み込み)"
|
||||||
|
LangString str_msg_compat_all ${LANG_JAPANESE} \
|
||||||
|
"Vim 独自と全ての拡張 (vimrc_example.vim を読み込み) (既定)"
|
||||||
|
|
||||||
|
LangString str_msg_keymap_title ${LANG_JAPANESE} \
|
||||||
|
" マッピング "
|
||||||
|
LangString str_msg_keymap_desc ${LANG_JAPANESE} \
|
||||||
|
"Windows用に一部のキーをリマップする(&R) (例: Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F など)"
|
||||||
|
LangString str_msg_keymap_default ${LANG_JAPANESE} \
|
||||||
|
"リマップしない (既定)"
|
||||||
|
LangString str_msg_keymap_windows ${LANG_JAPANESE} \
|
||||||
|
"リマップする"
|
||||||
|
|
||||||
|
LangString str_msg_mouse_title ${LANG_JAPANESE} \
|
||||||
|
" マウス "
|
||||||
|
LangString str_msg_mouse_desc ${LANG_JAPANESE} \
|
||||||
|
"右ボタンと左ボタンの動作(&B)"
|
||||||
|
LangString str_msg_mouse_default ${LANG_JAPANESE} \
|
||||||
|
"右:ポップアップメニュー、左:ビジュアルモード (既定)"
|
||||||
|
LangString str_msg_mouse_windows ${LANG_JAPANESE} \
|
||||||
|
"右:ポップアップメニュー、左:選択モード (Windows)"
|
||||||
|
LangString str_msg_mouse_unix ${LANG_JAPANESE} \
|
||||||
|
"右:選択を拡張、左:ビジュアルモード (Unix)"
|
||||||
277
nsis/lang/simpchinese.nsi
Normal file
277
nsis/lang/simpchinese.nsi
Normal file
@@ -0,0 +1,277 @@
|
|||||||
|
# vi:set ts=8 sts=4 sw=4 et fdm=marker:
|
||||||
|
#
|
||||||
|
# simpchinese.nsi: Simplified Chinese language strings for gvim NSIS
|
||||||
|
# installer.
|
||||||
|
#
|
||||||
|
# Locale ID : 2052
|
||||||
|
# fileencoding : UTF-8
|
||||||
|
# Author : Guopeng Wen
|
||||||
|
|
||||||
|
!insertmacro MUI_LANGUAGE "SimpChinese"
|
||||||
|
|
||||||
|
|
||||||
|
# Overwrite the default translation.
|
||||||
|
# These strings should be always English. Otherwise dosinst.c fails.
|
||||||
|
LangString ^SetupCaption ${LANG_SIMPCHINESE} \
|
||||||
|
"$(^Name) Setup"
|
||||||
|
LangString ^UninstallCaption ${LANG_SIMPCHINESE} \
|
||||||
|
"$(^Name) Uninstall"
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# MUI Configuration Strings {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
#LangString str_dest_folder ${LANG_SIMPCHINESE} \
|
||||||
|
# "安装路径 (必须以 vim 结尾)"
|
||||||
|
|
||||||
|
LangString str_show_readme ${LANG_SIMPCHINESE} \
|
||||||
|
"安装完成后显示 README 文件"
|
||||||
|
|
||||||
|
# Install types:
|
||||||
|
LangString str_type_typical ${LANG_SIMPCHINESE} \
|
||||||
|
"典型安装"
|
||||||
|
|
||||||
|
LangString str_type_minimal ${LANG_SIMPCHINESE} \
|
||||||
|
"最小安装"
|
||||||
|
|
||||||
|
LangString str_type_full ${LANG_SIMPCHINESE} \
|
||||||
|
"完全安装"
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Section Titles & Description {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
LangString str_section_old_ver ${LANG_SIMPCHINESE} \
|
||||||
|
"卸载旧版本"
|
||||||
|
LangString str_desc_old_ver ${LANG_SIMPCHINESE} \
|
||||||
|
"卸载系统上旧版本的 Vim。"
|
||||||
|
|
||||||
|
LangString str_section_exe ${LANG_SIMPCHINESE} \
|
||||||
|
"安装 Vim 图形界面"
|
||||||
|
LangString str_desc_exe ${LANG_SIMPCHINESE} \
|
||||||
|
"安装 Vim 图形界面及脚本。此为必选安装。"
|
||||||
|
|
||||||
|
LangString str_section_console ${LANG_SIMPCHINESE} \
|
||||||
|
"安装 Vim 命令行程序"
|
||||||
|
LangString str_desc_console ${LANG_SIMPCHINESE} \
|
||||||
|
"安装 Vim 命令行程序 (vim.exe)。该程序在命令行窗口中运行。"
|
||||||
|
|
||||||
|
LangString str_section_batch ${LANG_SIMPCHINESE} \
|
||||||
|
"安装批处理文件"
|
||||||
|
LangString str_desc_batch ${LANG_SIMPCHINESE} \
|
||||||
|
"为 Vim 的各种变体创建批处理程序,以便在命令行下运行 Vim。"
|
||||||
|
|
||||||
|
LangString str_group_icons ${LANG_SIMPCHINESE} \
|
||||||
|
"创建 Vim 图标"
|
||||||
|
LangString str_desc_icons ${LANG_SIMPCHINESE} \
|
||||||
|
"为 Vim 创建若干图标,以方便使用 Vim。"
|
||||||
|
|
||||||
|
LangString str_section_desktop ${LANG_SIMPCHINESE} \
|
||||||
|
"在桌面上"
|
||||||
|
LangString str_desc_desktop ${LANG_SIMPCHINESE} \
|
||||||
|
"在桌面上为 Vim 创建若干图标,以方便启动 Vim。"
|
||||||
|
|
||||||
|
LangString str_section_start_menu ${LANG_SIMPCHINESE} \
|
||||||
|
"在启动菜单的程序菜单下"
|
||||||
|
LangString str_desc_start_menu ${LANG_SIMPCHINESE} \
|
||||||
|
"在启动菜单的程序菜单下添加 Vim 组。适用于 Windows 95 及以上版本。"
|
||||||
|
|
||||||
|
#LangString str_section_quick_launch ${LANG_SIMPCHINESE} \
|
||||||
|
# "在快速启动启动栏中"
|
||||||
|
#LangString str_desc_quick_launch ${LANG_SIMPCHINESE} \
|
||||||
|
# "在快速启动栏中添加 Vim 图标。"
|
||||||
|
|
||||||
|
LangString str_section_edit_with ${LANG_SIMPCHINESE} \
|
||||||
|
"安装快捷菜单"
|
||||||
|
LangString str_desc_edit_with ${LANG_SIMPCHINESE} \
|
||||||
|
"将 Vim 添加到“打开方式”快捷菜单中。"
|
||||||
|
|
||||||
|
#LangString str_section_edit_with32 ${LANG_SIMPCHINESE} \
|
||||||
|
# "32 位版本"
|
||||||
|
#LangString str_desc_edit_with32 ${LANG_SIMPCHINESE} \
|
||||||
|
# "将 Vim 添加到 32 位程序的“打开方式”快捷菜单中。"
|
||||||
|
|
||||||
|
#LangString str_section_edit_with64 ${LANG_SIMPCHINESE} \
|
||||||
|
# "64 位版本"
|
||||||
|
#LangString str_desc_edit_with64 ${LANG_SIMPCHINESE} \
|
||||||
|
# "将 Vim 添加到 64 位程序的“打开方式”快捷菜单中。"
|
||||||
|
|
||||||
|
LangString str_section_vim_rc ${LANG_SIMPCHINESE} \
|
||||||
|
"创建缺省配置文件"
|
||||||
|
LangString str_desc_vim_rc ${LANG_SIMPCHINESE} \
|
||||||
|
"在安装目录下生成缺省的 Vim 配置文件(_vimrc)。\
|
||||||
|
如果该文件已经存在,则略过此项。"
|
||||||
|
|
||||||
|
LangString str_group_plugin ${LANG_SIMPCHINESE} \
|
||||||
|
"创建插件目录"
|
||||||
|
LangString str_desc_plugin ${LANG_SIMPCHINESE} \
|
||||||
|
"创建(空的)插件目录结构。插件目录用于安装 Vim 扩展插件,\
|
||||||
|
只要将文件复制到相关的子目录中即可。"
|
||||||
|
|
||||||
|
LangString str_section_plugin_home ${LANG_SIMPCHINESE} \
|
||||||
|
"私有插件目录"
|
||||||
|
LangString str_desc_plugin_home ${LANG_SIMPCHINESE} \
|
||||||
|
"Create plugin directories in HOME directory."
|
||||||
|
|
||||||
|
LangString str_section_plugin_vim ${LANG_SIMPCHINESE} \
|
||||||
|
"公共插件目录"
|
||||||
|
LangString str_desc_plugin_vim ${LANG_SIMPCHINESE} \
|
||||||
|
"在 Vim 安装目录下创建(空的)插件目录结构,系统上所有用户都能使用安装在\
|
||||||
|
该目录下的扩展插件。"
|
||||||
|
|
||||||
|
LangString str_section_vis_vim ${LANG_SIMPCHINESE} \
|
||||||
|
"安装 VisVim 插件"
|
||||||
|
LangString str_desc_vis_vim ${LANG_SIMPCHINESE} \
|
||||||
|
"安装用于与微软 Microsoft Visual Studio 进行集成的 VisVim 插件。"
|
||||||
|
|
||||||
|
LangString str_section_nls ${LANG_SIMPCHINESE} \
|
||||||
|
"安装多语言支持"
|
||||||
|
LangString str_desc_nls ${LANG_SIMPCHINESE} \
|
||||||
|
"安装用于多语言支持的文件。"
|
||||||
|
|
||||||
|
LangString str_unsection_register ${LANG_SIMPCHINESE} \
|
||||||
|
"删除 Vim 系统配置"
|
||||||
|
LangString str_desc_unregister ${LANG_SIMPCHINESE} \
|
||||||
|
"删除和 Vim 相关的系统配置。"
|
||||||
|
|
||||||
|
LangString str_unsection_exe ${LANG_SIMPCHINESE} \
|
||||||
|
"删除 Vim 执行文件以及脚本"
|
||||||
|
LangString str_desc_rm_exe ${LANG_SIMPCHINESE} \
|
||||||
|
"删除 Vim 的所有执行文件及脚本。"
|
||||||
|
|
||||||
|
LangString str_ungroup_plugin ${LANG_SIMPCHINESE} \
|
||||||
|
"Remove plugin directories"
|
||||||
|
LangString str_desc_rm_plugin ${LANG_SIMPCHINESE} \
|
||||||
|
"Remove the plugin directories if they are empty."
|
||||||
|
|
||||||
|
LangString str_unsection_plugin_home ${LANG_SIMPCHINESE} \
|
||||||
|
"私有插件目录"
|
||||||
|
LangString str_desc_rm_plugin_home ${LANG_SIMPCHINESE} \
|
||||||
|
"Remove the plugin directories from HOME directory."
|
||||||
|
|
||||||
|
LangString str_unsection_plugin_vim ${LANG_SIMPCHINESE} \
|
||||||
|
"公共插件目录"
|
||||||
|
LangString str_desc_rm_plugin_vim ${LANG_SIMPCHINESE} \
|
||||||
|
"Remove the plugin directories from Vim install directory."
|
||||||
|
|
||||||
|
LangString str_unsection_rootdir ${LANG_SIMPCHINESE} \
|
||||||
|
"Remove the Vim root directory"
|
||||||
|
LangString str_desc_rm_rootdir ${LANG_SIMPCHINESE} \
|
||||||
|
"Remove the Vim root directory. It contains your Vim configuration files!"
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Messages {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
#LangString str_msg_too_many_ver ${LANG_SIMPCHINESE} \
|
||||||
|
# "您的系统上安装了 $vim_old_ver_count 个不同版本的 Vim,$\r$\n\
|
||||||
|
# 但本安装程序最多只能处理 ${VIM_MAX_OLD_VER} 个版本。$\r$\n\
|
||||||
|
# 请您手工删除一些旧版本以后再运行本安装程序。"
|
||||||
|
|
||||||
|
#LangString str_msg_invalid_root ${LANG_SIMPCHINESE} \
|
||||||
|
# "安装路径“$vim_install_root”无效!$\r$\n\
|
||||||
|
# 该路径必须以 vim 结尾。"
|
||||||
|
|
||||||
|
#LangString str_msg_bin_mismatch ${LANG_SIMPCHINESE} \
|
||||||
|
# "Vim 执行程序安装路径异常!$\r$\n$\r$\n\
|
||||||
|
# 该版本 Vim 的执行程序安装路径应该是“$vim_bin_path”,$\r$\n\
|
||||||
|
# 而系统却指示该路径为“$INSTDIR”。"
|
||||||
|
|
||||||
|
#LangString str_msg_vim_running ${LANG_SIMPCHINESE} \
|
||||||
|
# "您的系统上仍有 Vim 在运行,$\r$\n\
|
||||||
|
# 请您在执行后续步骤前退出这些 Vim。"
|
||||||
|
|
||||||
|
#LangString str_msg_register_ole ${LANG_SIMPCHINESE} \
|
||||||
|
# "试图注册 Vim OLE 服务器。请注意无论成功与否都不再显示进一步的信息。"
|
||||||
|
|
||||||
|
#LangString str_msg_unreg_ole ${LANG_SIMPCHINESE} \
|
||||||
|
# "试图注销 Vim OLE 服务器。请注意无论成功与否都不再显示进一步的信息。"
|
||||||
|
|
||||||
|
#LangString str_msg_rm_start ${LANG_SIMPCHINESE} \
|
||||||
|
# "开始卸载以下版本:"
|
||||||
|
|
||||||
|
#LangString str_msg_rm_fail ${LANG_SIMPCHINESE} \
|
||||||
|
# "以下版本卸载失败:"
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_key ${LANG_SIMPCHINESE} \
|
||||||
|
# "找不到卸载程序的注册表键。"
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_reg ${LANG_SIMPCHINESE} \
|
||||||
|
# "在注册表中未找到卸载程序路径。"
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_exe ${LANG_SIMPCHINESE} \
|
||||||
|
# "找不到卸载程序。"
|
||||||
|
|
||||||
|
#LangString str_msg_rm_copy_fail ${LANG_SIMPCHINESE} \
|
||||||
|
# "无法将卸载程序复制到临时目录。"
|
||||||
|
|
||||||
|
#LangString str_msg_rm_run_fail ${LANG_SIMPCHINESE} \
|
||||||
|
# "执行卸载程序失败。"
|
||||||
|
|
||||||
|
#LangString str_msg_abort_install ${LANG_SIMPCHINESE} \
|
||||||
|
# "安装程序将退出。"
|
||||||
|
|
||||||
|
LangString str_msg_install_fail ${LANG_SIMPCHINESE} \
|
||||||
|
"安装失败。祝您下次好运。"
|
||||||
|
|
||||||
|
LangString str_msg_rm_exe_fail ${LANG_SIMPCHINESE} \
|
||||||
|
"目录“$0”下有部分文件删除失败!$\r$\n\
|
||||||
|
您只能手工删除该目录。"
|
||||||
|
|
||||||
|
#LangString str_msg_rm_root_fail ${LANG_SIMPCHINESE} \
|
||||||
|
# "警告:无法删除 Vim 安装目录“$vim_install_root”,\
|
||||||
|
# 该目录下仍有其他文件。"
|
||||||
|
|
||||||
|
LangString str_msg_uninstalling ${LANG_SIMPCHINESE} \
|
||||||
|
"Uninstalling the old version..."
|
||||||
|
|
||||||
|
LangString str_msg_registering ${LANG_SIMPCHINESE} \
|
||||||
|
"Registering..."
|
||||||
|
|
||||||
|
LangString str_msg_unregistering ${LANG_SIMPCHINESE} \
|
||||||
|
"Unregistering..."
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Dialog Box {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
LangString str_vimrc_page_title ${LANG_SIMPCHINESE} \
|
||||||
|
"Choose _vimrc settings"
|
||||||
|
LangString str_vimrc_page_subtitle ${LANG_SIMPCHINESE} \
|
||||||
|
"Choose the settings for enhancement, keyboard and mouse."
|
||||||
|
|
||||||
|
LangString str_msg_compat_title ${LANG_SIMPCHINESE} \
|
||||||
|
" Vi / Vim behavior "
|
||||||
|
LangString str_msg_compat_desc ${LANG_SIMPCHINESE} \
|
||||||
|
"&Compatibility and enhancements"
|
||||||
|
LangString str_msg_compat_vi ${LANG_SIMPCHINESE} \
|
||||||
|
"Vi compatible"
|
||||||
|
LangString str_msg_compat_vim ${LANG_SIMPCHINESE} \
|
||||||
|
"Vim original"
|
||||||
|
LangString str_msg_compat_defaults ${LANG_SIMPCHINESE} \
|
||||||
|
"Vim with some enhancements (load defaults.vim)"
|
||||||
|
LangString str_msg_compat_all ${LANG_SIMPCHINESE} \
|
||||||
|
"Vim with all enhancements (load vimrc_example.vim) (Default)"
|
||||||
|
|
||||||
|
LangString str_msg_keymap_title ${LANG_SIMPCHINESE} \
|
||||||
|
" Mappings "
|
||||||
|
LangString str_msg_keymap_desc ${LANG_SIMPCHINESE} \
|
||||||
|
"&Remap a few keys for Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc)"
|
||||||
|
LangString str_msg_keymap_default ${LANG_SIMPCHINESE} \
|
||||||
|
"Do not remap keys (Default)"
|
||||||
|
LangString str_msg_keymap_windows ${LANG_SIMPCHINESE} \
|
||||||
|
"Remap a few keys"
|
||||||
|
|
||||||
|
LangString str_msg_mouse_title ${LANG_SIMPCHINESE} \
|
||||||
|
" Mouse "
|
||||||
|
LangString str_msg_mouse_desc ${LANG_SIMPCHINESE} \
|
||||||
|
"&Behavior of right and left buttons"
|
||||||
|
LangString str_msg_mouse_default ${LANG_SIMPCHINESE} \
|
||||||
|
"Right: popup menu, Left: visual mode (Default)"
|
||||||
|
LangString str_msg_mouse_windows ${LANG_SIMPCHINESE} \
|
||||||
|
"Right: popup menu, Left: select mode (Windows)"
|
||||||
|
LangString str_msg_mouse_unix ${LANG_SIMPCHINESE} \
|
||||||
|
"Right: extends selection, Left: visual mode (Unix)"
|
||||||
278
nsis/lang/tradchinese.nsi
Normal file
278
nsis/lang/tradchinese.nsi
Normal file
@@ -0,0 +1,278 @@
|
|||||||
|
# vi:set ts=8 sts=4 sw=4 et fdm=marker:
|
||||||
|
#
|
||||||
|
# tradchinese.nsi: Traditional Chinese language strings for gvim NSIS
|
||||||
|
# installer.
|
||||||
|
#
|
||||||
|
# Locale ID : 1028
|
||||||
|
# fileencoding : UTF-8
|
||||||
|
# Author : Guopeng Wen
|
||||||
|
|
||||||
|
!insertmacro MUI_LANGUAGE "TradChinese"
|
||||||
|
|
||||||
|
|
||||||
|
# Overwrite the default translation.
|
||||||
|
# These strings should be always English. Otherwise dosinst.c fails.
|
||||||
|
LangString ^SetupCaption ${LANG_TRADCHINESE} \
|
||||||
|
"$(^Name) Setup"
|
||||||
|
LangString ^UninstallCaption ${LANG_TRADCHINESE} \
|
||||||
|
"$(^Name) Uninstall"
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# MUI Configuration Strings {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
#LangString str_dest_folder ${LANG_TRADCHINESE} \
|
||||||
|
# "安裝資料夾 (必須以 vim 結尾)"
|
||||||
|
|
||||||
|
LangString str_show_readme ${LANG_TRADCHINESE} \
|
||||||
|
"安裝完成後顯示 README 檔案"
|
||||||
|
|
||||||
|
# Install types:
|
||||||
|
LangString str_type_typical ${LANG_TRADCHINESE} \
|
||||||
|
"典型安裝"
|
||||||
|
|
||||||
|
LangString str_type_minimal ${LANG_TRADCHINESE} \
|
||||||
|
"最小安裝"
|
||||||
|
|
||||||
|
LangString str_type_full ${LANG_TRADCHINESE} \
|
||||||
|
"完全安裝"
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Section Titles & Description {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
LangString str_section_old_ver ${LANG_TRADCHINESE} \
|
||||||
|
"移除舊版本"
|
||||||
|
LangString str_desc_old_ver ${LANG_TRADCHINESE} \
|
||||||
|
"移除閣下電腦上舊版本的 Vim。"
|
||||||
|
|
||||||
|
LangString str_section_exe ${LANG_TRADCHINESE} \
|
||||||
|
"安裝 Vim 圖形界面程式"
|
||||||
|
LangString str_desc_exe ${LANG_TRADCHINESE} \
|
||||||
|
"安裝 Vim 圖形界面程式及腳本。此為必選安裝。"
|
||||||
|
|
||||||
|
LangString str_section_console ${LANG_TRADCHINESE} \
|
||||||
|
"安裝 Vim 命令行程式"
|
||||||
|
LangString str_desc_console ${LANG_TRADCHINESE} \
|
||||||
|
"安裝 Vim 命令行程式 (vim.exe)。該程式在控制臺窗口中運行。"
|
||||||
|
|
||||||
|
LangString str_section_batch ${LANG_TRADCHINESE} \
|
||||||
|
"安裝批次檔案"
|
||||||
|
LangString str_desc_batch ${LANG_TRADCHINESE} \
|
||||||
|
"為 Vim 的各種變體創建批次檔,以便在命令行下啟動 Vim。"
|
||||||
|
|
||||||
|
LangString str_group_icons ${LANG_TRADCHINESE} \
|
||||||
|
"建立 Vim 圖示"
|
||||||
|
LangString str_desc_icons ${LANG_TRADCHINESE} \
|
||||||
|
"建立若干 Vim 圖示,以便于使用 Vim。"
|
||||||
|
|
||||||
|
LangString str_section_desktop ${LANG_TRADCHINESE} \
|
||||||
|
"於桌面"
|
||||||
|
LangString str_desc_desktop ${LANG_TRADCHINESE} \
|
||||||
|
"建立若干 Vim 圖示於桌面上,以方便啟動 Vim。"
|
||||||
|
|
||||||
|
LangString str_section_start_menu ${LANG_TRADCHINESE} \
|
||||||
|
"於「開始」功能表的「程式」集"
|
||||||
|
LangString str_desc_start_menu ${LANG_TRADCHINESE} \
|
||||||
|
"在「開始」功能表的「程式」集中建立 Vim 啟動組。\
|
||||||
|
適用于 Windows 95 及以上版本。"
|
||||||
|
|
||||||
|
#LangString str_section_quick_launch ${LANG_TRADCHINESE} \
|
||||||
|
# "於快速啟動列"
|
||||||
|
#LangString str_desc_quick_launch ${LANG_TRADCHINESE} \
|
||||||
|
# "在快速啟動列中建立 Vim 圖示。"
|
||||||
|
|
||||||
|
LangString str_section_edit_with ${LANG_TRADCHINESE} \
|
||||||
|
"安裝快捷選單"
|
||||||
|
LangString str_desc_edit_with ${LANG_TRADCHINESE} \
|
||||||
|
"在「打開方式」快捷選單中添加 Vim 項。"
|
||||||
|
|
||||||
|
#LangString str_section_edit_with32 ${LANG_TRADCHINESE} \
|
||||||
|
# "32 位元版本"
|
||||||
|
#LangString str_desc_edit_with32 ${LANG_TRADCHINESE} \
|
||||||
|
# "在 32 位元程式的「打開方式」快捷選單中添加 Vim 項。"
|
||||||
|
|
||||||
|
#LangString str_section_edit_with64 ${LANG_TRADCHINESE} \
|
||||||
|
# "64 位元版本"
|
||||||
|
#LangString str_desc_edit_with64 ${LANG_TRADCHINESE} \
|
||||||
|
# "在 64 位元程式的「打開方式」快捷選單中添加 Vim 項。"
|
||||||
|
|
||||||
|
LangString str_section_vim_rc ${LANG_TRADCHINESE} \
|
||||||
|
"建立默認設定檔"
|
||||||
|
LangString str_desc_vim_rc ${LANG_TRADCHINESE} \
|
||||||
|
"在安裝資料夾下建立默認的 Vim 設定檔(_vimrc)。\
|
||||||
|
若該設定檔已經存在,則略過此項。"
|
||||||
|
|
||||||
|
LangString str_group_plugin ${LANG_TRADCHINESE} \
|
||||||
|
"建立插件資料夾"
|
||||||
|
LangString str_desc_plugin ${LANG_TRADCHINESE} \
|
||||||
|
"建立(空的)插件資料夾結構。插件資料夾用于安裝 Vim 的擴展插件,\
|
||||||
|
只要將檔案復制到相關的子資料夾中即可。"
|
||||||
|
|
||||||
|
LangString str_section_plugin_home ${LANG_TRADCHINESE} \
|
||||||
|
"建立插件資料夾"
|
||||||
|
LangString str_desc_plugin_home ${LANG_TRADCHINESE} \
|
||||||
|
"Create plugin directories in HOME directory."
|
||||||
|
|
||||||
|
LangString str_section_plugin_vim ${LANG_TRADCHINESE} \
|
||||||
|
"建立共享插件資料夾"
|
||||||
|
LangString str_desc_plugin_vim ${LANG_TRADCHINESE} \
|
||||||
|
"在 Vim 安裝資料夾下建立(空的)插件資料夾結構,電腦上所有用戶都能使用安裝\
|
||||||
|
在該資料夾里的擴展插件。"
|
||||||
|
|
||||||
|
LangString str_section_vis_vim ${LANG_TRADCHINESE} \
|
||||||
|
"安裝 VisVim 插件"
|
||||||
|
LangString str_desc_vis_vim ${LANG_TRADCHINESE} \
|
||||||
|
"VisVim 是用于與微軟 Microsoft Visual Studio 軟體進行整合的插件。"
|
||||||
|
|
||||||
|
LangString str_section_nls ${LANG_TRADCHINESE} \
|
||||||
|
"安裝本地語言支持"
|
||||||
|
LangString str_desc_nls ${LANG_TRADCHINESE} \
|
||||||
|
"安裝用于支持本地語言的檔案。"
|
||||||
|
|
||||||
|
LangString str_unsection_register ${LANG_TRADCHINESE} \
|
||||||
|
"移除 Vim 系統設定"
|
||||||
|
LangString str_desc_unregister ${LANG_TRADCHINESE} \
|
||||||
|
"移除與 Vim 相關的系統設定。"
|
||||||
|
|
||||||
|
LangString str_unsection_exe ${LANG_TRADCHINESE} \
|
||||||
|
"移除 Vim 程式及腳本"
|
||||||
|
LangString str_desc_rm_exe ${LANG_TRADCHINESE} \
|
||||||
|
"移除所有的 Vim 程式及腳本。"
|
||||||
|
|
||||||
|
LangString str_ungroup_plugin ${LANG_TRADCHINESE} \
|
||||||
|
"Remove plugin directories"
|
||||||
|
LangString str_desc_rm_plugin ${LANG_TRADCHINESE} \
|
||||||
|
"Remove the plugin directories if they are empty."
|
||||||
|
|
||||||
|
LangString str_unsection_plugin_home ${LANG_TRADCHINESE} \
|
||||||
|
"Private"
|
||||||
|
LangString str_desc_rm_plugin_home ${LANG_TRADCHINESE} \
|
||||||
|
"Remove the vimfiles directory in HOME directory."
|
||||||
|
|
||||||
|
LangString str_unsection_plugin_vim ${LANG_TRADCHINESE} \
|
||||||
|
"Shared"
|
||||||
|
LangString str_desc_rm_plugin_vim ${LANG_TRADCHINESE} \
|
||||||
|
"Remove the vimfiles directory in Vim install directory."
|
||||||
|
|
||||||
|
LangString str_unsection_rootdir ${LANG_TRADCHINESE} \
|
||||||
|
"Remove the Vim root directory"
|
||||||
|
LangString str_desc_rm_rootdir ${LANG_TRADCHINESE} \
|
||||||
|
"Remove the Vim root directory. It contains your Vim configuration files!"
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Messages {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
#LangString str_msg_too_many_ver ${LANG_TRADCHINESE} \
|
||||||
|
# "閣下的電腦上安裝了 $vim_old_ver_count 個不同版本的 Vim,$\r$\n\
|
||||||
|
# 但是本安裝程式最多只能處理 ${VIM_MAX_OLD_VER} 個版本。$\r$\n\
|
||||||
|
# 煩請閣下手工移除一些版本以后再運行本安裝程式。"
|
||||||
|
|
||||||
|
#LangString str_msg_invalid_root ${LANG_TRADCHINESE} \
|
||||||
|
# "安裝資料夾「$vim_install_root」無效!$\r$\n\
|
||||||
|
# 該資料夾必須以「vim」結尾。"
|
||||||
|
|
||||||
|
#LangString str_msg_bin_mismatch ${LANG_TRADCHINESE} \
|
||||||
|
# "Vim 執行程式安裝路徑異常!$\r$\n$\r$\n\
|
||||||
|
# 該版本 Vim 的執行程式安裝路徑應該是「$vim_bin_path」,$\r$\n\
|
||||||
|
# 而系統卻指示該路徑為「$INSTDIR」。"
|
||||||
|
|
||||||
|
#LangString str_msg_vim_running ${LANG_TRADCHINESE} \
|
||||||
|
# "閣下的電腦上尚有正在運行之 Vim,$\r$\n\
|
||||||
|
# 煩請閣下在執行后續步驟前將其全部退出。"
|
||||||
|
|
||||||
|
#LangString str_msg_register_ole ${LANG_TRADCHINESE} \
|
||||||
|
# "試圖注冊 Vim OLE 伺服程式。請注意不論成功與否都不再顯示進一步的信息。"
|
||||||
|
|
||||||
|
#LangString str_msg_unreg_ole ${LANG_TRADCHINESE} \
|
||||||
|
# "試圖注銷 Vim OLE 伺服程式。請注意不論成功與否都不再顯示進一步的信息。"
|
||||||
|
|
||||||
|
#LangString str_msg_rm_start ${LANG_TRADCHINESE} \
|
||||||
|
# "正移除如下版本:"
|
||||||
|
|
||||||
|
#LangString str_msg_rm_fail ${LANG_TRADCHINESE} \
|
||||||
|
# "以下版本移除失敗:"
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_key ${LANG_TRADCHINESE} \
|
||||||
|
# "找不到反安裝程式的登錄檔入口。"
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_reg ${LANG_TRADCHINESE} \
|
||||||
|
# "在登錄檔中未找到反安裝程式路徑。"
|
||||||
|
|
||||||
|
#LangString str_msg_no_rm_exe ${LANG_TRADCHINESE} \
|
||||||
|
# "找不到反安裝程式。"
|
||||||
|
|
||||||
|
#LangString str_msg_rm_copy_fail ${LANG_TRADCHINESE} \
|
||||||
|
# "無法將法將反安裝程式复制到臨時目錄。"
|
||||||
|
|
||||||
|
#LangString str_msg_rm_run_fail ${LANG_TRADCHINESE} \
|
||||||
|
# "執行反安裝程式失敗。"
|
||||||
|
|
||||||
|
#LangString str_msg_abort_install ${LANG_TRADCHINESE} \
|
||||||
|
# "安裝程式將退出。"
|
||||||
|
|
||||||
|
LangString str_msg_install_fail ${LANG_TRADCHINESE} \
|
||||||
|
"安裝失敗。預祝下次好運。"
|
||||||
|
|
||||||
|
LangString str_msg_rm_exe_fail ${LANG_TRADCHINESE} \
|
||||||
|
"資料夾「$0」下有部分檔案未能移除!$\r$\n\
|
||||||
|
閣下只能手工移除該資料夾。"
|
||||||
|
|
||||||
|
#LangString str_msg_rm_root_fail ${LANG_TRADCHINESE} \
|
||||||
|
# "警告:無法刪除 Vim 安裝資料夾「$vim_install_root」,\
|
||||||
|
# 該資料夾下仍有其他檔案。"
|
||||||
|
|
||||||
|
LangString str_msg_uninstalling ${LANG_TRADCHINESE} \
|
||||||
|
"Uninstalling the old version..."
|
||||||
|
|
||||||
|
LangString str_msg_registering ${LANG_TRADCHINESE} \
|
||||||
|
"Registering..."
|
||||||
|
|
||||||
|
LangString str_msg_unregistering ${LANG_TRADCHINESE} \
|
||||||
|
"Unregistering..."
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Dialog Box {{{1
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
LangString str_vimrc_page_title ${LANG_TRADCHINESE} \
|
||||||
|
"Choose _vimrc settings"
|
||||||
|
LangString str_vimrc_page_subtitle ${LANG_TRADCHINESE} \
|
||||||
|
"Choose the settings for enhancement, keyboard and mouse."
|
||||||
|
|
||||||
|
LangString str_msg_compat_title ${LANG_TRADCHINESE} \
|
||||||
|
" Vi / Vim behavior "
|
||||||
|
LangString str_msg_compat_desc ${LANG_TRADCHINESE} \
|
||||||
|
"&Compatibility and enhancements"
|
||||||
|
LangString str_msg_compat_vi ${LANG_TRADCHINESE} \
|
||||||
|
"Vi compatible"
|
||||||
|
LangString str_msg_compat_vim ${LANG_TRADCHINESE} \
|
||||||
|
"Vim original"
|
||||||
|
LangString str_msg_compat_defaults ${LANG_TRADCHINESE} \
|
||||||
|
"Vim with some enhancements (load defaults.vim)"
|
||||||
|
LangString str_msg_compat_all ${LANG_TRADCHINESE} \
|
||||||
|
"Vim with all enhancements (load vimrc_example.vim) (Default)"
|
||||||
|
|
||||||
|
LangString str_msg_keymap_title ${LANG_TRADCHINESE} \
|
||||||
|
" Mappings "
|
||||||
|
LangString str_msg_keymap_desc ${LANG_TRADCHINESE} \
|
||||||
|
"&Remap a few keys for Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc)"
|
||||||
|
LangString str_msg_keymap_default ${LANG_TRADCHINESE} \
|
||||||
|
"Do not remap keys (Default)"
|
||||||
|
LangString str_msg_keymap_windows ${LANG_TRADCHINESE} \
|
||||||
|
"Remap a few keys"
|
||||||
|
|
||||||
|
LangString str_msg_mouse_title ${LANG_TRADCHINESE} \
|
||||||
|
" Mouse "
|
||||||
|
LangString str_msg_mouse_desc ${LANG_TRADCHINESE} \
|
||||||
|
"&Behavior of right and left buttons"
|
||||||
|
LangString str_msg_mouse_default ${LANG_TRADCHINESE} \
|
||||||
|
"Right: popup menu, Left: visual mode (Default)"
|
||||||
|
LangString str_msg_mouse_windows ${LANG_TRADCHINESE} \
|
||||||
|
"Right: popup menu, Left: select mode (Windows)"
|
||||||
|
LangString str_msg_mouse_unix ${LANG_TRADCHINESE} \
|
||||||
|
"Right: extends selection, Left: visual mode (Unix)"
|
||||||
@@ -1,68 +0,0 @@
|
|||||||
[Settings]
|
|
||||||
NumFields=7
|
|
||||||
|
|
||||||
[Field 1]
|
|
||||||
Type=GroupBox
|
|
||||||
Left=0
|
|
||||||
Right=-1
|
|
||||||
Top=0
|
|
||||||
Bottom=53
|
|
||||||
Text=" Key remapping "
|
|
||||||
|
|
||||||
[Field 2]
|
|
||||||
Type=radiobutton
|
|
||||||
Text=Do not remap keys for Windows behavior (Default)
|
|
||||||
Left=10
|
|
||||||
Right=-10
|
|
||||||
Top=17
|
|
||||||
Bottom=25
|
|
||||||
State=1
|
|
||||||
Flags=GROUP
|
|
||||||
|
|
||||||
[Field 3]
|
|
||||||
Type=radiobutton
|
|
||||||
Text=Remap a few keys for Windows behavior (<C-V>, <C-C>, <C-A>, <C-S>, <C-F>, etc)
|
|
||||||
Left=10
|
|
||||||
Right=-10
|
|
||||||
Top=30
|
|
||||||
Bottom=47
|
|
||||||
State=0
|
|
||||||
Flags=NOTABSTOP
|
|
||||||
|
|
||||||
[Field 4]
|
|
||||||
Type=GroupBox
|
|
||||||
Left=0
|
|
||||||
Right=-1
|
|
||||||
Top=55
|
|
||||||
Bottom=-5
|
|
||||||
Text=" Mouse behavior "
|
|
||||||
|
|
||||||
[Field 5]
|
|
||||||
Type=radiobutton
|
|
||||||
Text=Right button extends selection, left button starts visual mode (Unix)
|
|
||||||
Left=10
|
|
||||||
Right=-5
|
|
||||||
Top=72
|
|
||||||
Bottom=80
|
|
||||||
State=0
|
|
||||||
Flags=GROUP
|
|
||||||
|
|
||||||
[Field 6]
|
|
||||||
Type=radiobutton
|
|
||||||
Text=Right button has a popup menu, left button starts select mode (Windows)
|
|
||||||
Left=10
|
|
||||||
Right=-5
|
|
||||||
Top=85
|
|
||||||
Bottom=93
|
|
||||||
State=0
|
|
||||||
Flags=NOTABSTOP
|
|
||||||
|
|
||||||
[Field 7]
|
|
||||||
Type=radiobutton
|
|
||||||
Text=Right button has a popup menu, left button starts visual mode (Default)
|
|
||||||
Left=10
|
|
||||||
Right=-5
|
|
||||||
Top=98
|
|
||||||
Bottom=106
|
|
||||||
State=1
|
|
||||||
Flags=NOTABSTOP
|
|
||||||
62
runtime/autoload/RstFold.vim
Normal file
62
runtime/autoload/RstFold.vim
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
" Author: Antony Lee <anntzer.lee@gmail.com>
|
||||||
|
" Description: Helper functions for reStructuredText syntax folding
|
||||||
|
" Last Modified: 2018-12-29
|
||||||
|
|
||||||
|
function s:CacheRstFold()
|
||||||
|
if !g:rst_fold_enabled
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
|
||||||
|
let closure = {'header_types': {}, 'max_level': 0, 'levels': {}}
|
||||||
|
function closure.Process(match) dict
|
||||||
|
let curline = getcurpos()[1]
|
||||||
|
if has_key(self.levels, curline - 1)
|
||||||
|
" For over+under-lined headers, the regex will match both at the
|
||||||
|
" overline and at the title itself; in that case, skip the second match.
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
let lines = split(a:match, '\n')
|
||||||
|
let key = repeat(lines[-1][0], len(lines))
|
||||||
|
if !has_key(self.header_types, key)
|
||||||
|
let self.max_level += 1
|
||||||
|
let self.header_types[key] = self.max_level
|
||||||
|
endif
|
||||||
|
let self.levels[curline] = self.header_types[key]
|
||||||
|
endfunction
|
||||||
|
let save_cursor = getcurpos()
|
||||||
|
let save_mark = getpos("'[")
|
||||||
|
silent keeppatterns %s/\v^%(%(([=`:.'"~^_*+#-])\1+\n)?.{1,2}\n([=`:.'"~^_*+#-])\2+)|%(%(([=`:.''"~^_*+#-])\3{2,}\n)?.{3,}\n([=`:.''"~^_*+#-])\4{2,})$/\=closure.Process(submatch(0))/gn
|
||||||
|
call setpos('.', save_cursor)
|
||||||
|
call setpos("'[", save_mark)
|
||||||
|
let b:RstFoldCache = closure.levels
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
function RstFold#GetRstFold()
|
||||||
|
if !g:rst_fold_enabled
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
|
||||||
|
if !has_key(b:, 'RstFoldCache')
|
||||||
|
call s:CacheRstFold()
|
||||||
|
endif
|
||||||
|
if has_key(b:RstFoldCache, v:lnum)
|
||||||
|
return '>' . b:RstFoldCache[v:lnum]
|
||||||
|
else
|
||||||
|
return '='
|
||||||
|
endif
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
function RstFold#GetRstFoldText()
|
||||||
|
if !g:rst_fold_enabled
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
|
||||||
|
if !has_key(b:, 'RstFoldCache')
|
||||||
|
call s:CacheRstFold()
|
||||||
|
endif
|
||||||
|
let indent = repeat(' ', b:RstFoldCache[v:foldstart] - 1)
|
||||||
|
let thisline = getline(v:foldstart)
|
||||||
|
" For over+under-lined headers, skip the overline.
|
||||||
|
let text = thisline =~ '^\([=`:.''"~^_*+#-]\)\1\+$' ? getline(v:foldstart + 1) : thisline
|
||||||
|
return indent . text
|
||||||
|
endfunction
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
" Vim completion script
|
" Vim completion script
|
||||||
" Language: C
|
" Language: C
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2012 Jun 20
|
" Last Change: 2018 Aug 20
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
@@ -72,8 +72,10 @@ function! ccomplete#Complete(findstart, base)
|
|||||||
" Split item in words, keep empty word after "." or "->".
|
" Split item in words, keep empty word after "." or "->".
|
||||||
" "aa" -> ['aa'], "aa." -> ['aa', ''], "aa.bb" -> ['aa', 'bb'], etc.
|
" "aa" -> ['aa'], "aa." -> ['aa', ''], "aa.bb" -> ['aa', 'bb'], etc.
|
||||||
" We can't use split, because we need to skip nested [...].
|
" We can't use split, because we need to skip nested [...].
|
||||||
|
" "aa[...]" -> ['aa', '[...]'], "aa.bb[...]" -> ['aa', 'bb', '[...]'], etc.
|
||||||
let items = []
|
let items = []
|
||||||
let s = 0
|
let s = 0
|
||||||
|
let arrays = 0
|
||||||
while 1
|
while 1
|
||||||
let e = match(base, '\.\|->\|\[', s)
|
let e = match(base, '\.\|->\|\[', s)
|
||||||
if e < 0
|
if e < 0
|
||||||
@@ -107,6 +109,7 @@ function! ccomplete#Complete(findstart, base)
|
|||||||
endwhile
|
endwhile
|
||||||
let e += 1
|
let e += 1
|
||||||
call add(items, strpart(base, s, e - s))
|
call add(items, strpart(base, s, e - s))
|
||||||
|
let arrays += 1
|
||||||
let s = e
|
let s = e
|
||||||
endif
|
endif
|
||||||
endwhile
|
endwhile
|
||||||
@@ -161,15 +164,26 @@ function! ccomplete#Complete(findstart, base)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
let res = [{'match': match, 'tagline' : '', 'kind' : kind, 'info' : line}]
|
let res = [{'match': match, 'tagline' : '', 'kind' : kind, 'info' : line}]
|
||||||
|
elseif len(items) == arrays + 1
|
||||||
|
" Completing one word and it's a local array variable: build tagline
|
||||||
|
" from declaration line
|
||||||
|
let match = items[0]
|
||||||
|
let kind = 'v'
|
||||||
|
let tagline = "\t/^" . line . '$/'
|
||||||
|
let res = [{'match': match, 'tagline' : tagline, 'kind' : kind, 'info' : line}]
|
||||||
else
|
else
|
||||||
" Completing "var.", "var.something", etc.
|
" Completing "var.", "var.something", etc.
|
||||||
let res = s:Nextitem(strpart(line, 0, col), items[1:], 0, 1)
|
let res = s:Nextitem(strpart(line, 0, col), items[1:], 0, 1)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if len(items) == 1
|
if len(items) == 1 || len(items) == arrays + 1
|
||||||
" Only one part, no "." or "->": complete from tags file.
|
" Only one part, no "." or "->": complete from tags file.
|
||||||
|
if len(items) == 1
|
||||||
let tags = taglist('^' . base)
|
let tags = taglist('^' . base)
|
||||||
|
else
|
||||||
|
let tags = taglist('^' . items[0] . '$')
|
||||||
|
endif
|
||||||
|
|
||||||
" Remove members, these can't appear without something in front.
|
" Remove members, these can't appear without something in front.
|
||||||
call filter(tags, 'has_key(v:val, "kind") ? v:val["kind"] != "m" : 1')
|
call filter(tags, 'has_key(v:val, "kind") ? v:val["kind"] != "m" : 1')
|
||||||
@@ -516,11 +530,24 @@ function! s:StructMembers(typename, items, all)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" Skip over [...] items
|
||||||
|
let idx = 0
|
||||||
|
while 1
|
||||||
|
if idx >= len(a:items)
|
||||||
|
let target = '' " No further items, matching all members
|
||||||
|
break
|
||||||
|
endif
|
||||||
|
if a:items[idx][0] != '['
|
||||||
|
let target = a:items[idx]
|
||||||
|
break
|
||||||
|
endif
|
||||||
|
let idx += 1
|
||||||
|
endwhile
|
||||||
" Put matching members in matches[].
|
" Put matching members in matches[].
|
||||||
let matches = []
|
let matches = []
|
||||||
for l in qflist
|
for l in qflist
|
||||||
let memb = matchstr(l['text'], '[^\t]*')
|
let memb = matchstr(l['text'], '[^\t]*')
|
||||||
if memb =~ '^' . a:items[0]
|
if memb =~ '^' . target
|
||||||
" Skip matches local to another file.
|
" Skip matches local to another file.
|
||||||
if match(l['text'], "\tfile:") < 0 || bufnr('%') == bufnr(matchstr(l['text'], '\t\zs[^\t]*'))
|
if match(l['text'], "\tfile:") < 0 || bufnr('%') == bufnr(matchstr(l['text'], '\t\zs[^\t]*'))
|
||||||
let item = {'match': memb, 'tagline': l['text']}
|
let item = {'match': memb, 'tagline': l['text']}
|
||||||
@@ -540,8 +567,8 @@ function! s:StructMembers(typename, items, all)
|
|||||||
endfor
|
endfor
|
||||||
|
|
||||||
if len(matches) > 0
|
if len(matches) > 0
|
||||||
" Skip over [...] items
|
" Skip over next [...] items
|
||||||
let idx = 1
|
let idx += 1
|
||||||
while 1
|
while 1
|
||||||
if idx >= len(a:items)
|
if idx >= len(a:items)
|
||||||
return matches " No further items, return the result.
|
return matches " No further items, return the result.
|
||||||
|
|||||||
30
runtime/autoload/dist/ft.vim
vendored
30
runtime/autoload/dist/ft.vim
vendored
@@ -1,7 +1,7 @@
|
|||||||
" Vim functions for file type detection
|
" Vim functions for file type detection
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2017 Dec 05
|
" Last Change: 2019 Jan 18
|
||||||
|
|
||||||
" These functions are moved here from runtime/filetype.vim to make startup
|
" These functions are moved here from runtime/filetype.vim to make startup
|
||||||
" faster.
|
" faster.
|
||||||
@@ -126,7 +126,7 @@ endfunc
|
|||||||
" This function checks if one of the first ten lines start with a '@'. In
|
" This function checks if one of the first ten lines start with a '@'. In
|
||||||
" that case it is probably a change file.
|
" that case it is probably a change file.
|
||||||
" If the first line starts with # or ! it's probably a ch file.
|
" If the first line starts with # or ! it's probably a ch file.
|
||||||
" If a line has "main", "include", "//" ir "/*" it's probably ch.
|
" If a line has "main", "include", "//" or "/*" it's probably ch.
|
||||||
" Otherwise CHILL is assumed.
|
" Otherwise CHILL is assumed.
|
||||||
func dist#ft#FTchange()
|
func dist#ft#FTchange()
|
||||||
let lnum = 1
|
let lnum = 1
|
||||||
@@ -197,7 +197,7 @@ func dist#ft#FTe()
|
|||||||
exe 'setf ' . g:filetype_euphoria
|
exe 'setf ' . g:filetype_euphoria
|
||||||
else
|
else
|
||||||
let n = 1
|
let n = 1
|
||||||
while n < 100 && n < line("$")
|
while n < 100 && n <= line("$")
|
||||||
if getline(n) =~ "^\\s*\\(<'\\|'>\\)\\s*$"
|
if getline(n) =~ "^\\s*\\(<'\\|'>\\)\\s*$"
|
||||||
setf specman
|
setf specman
|
||||||
return
|
return
|
||||||
@@ -211,7 +211,7 @@ endfunc
|
|||||||
" Distinguish between HTML, XHTML and Django
|
" Distinguish between HTML, XHTML and Django
|
||||||
func dist#ft#FThtml()
|
func dist#ft#FThtml()
|
||||||
let n = 1
|
let n = 1
|
||||||
while n < 10 && n < line("$")
|
while n < 10 && n <= line("$")
|
||||||
if getline(n) =~ '\<DTD\s\+XHTML\s'
|
if getline(n) =~ '\<DTD\s\+XHTML\s'
|
||||||
setf xhtml
|
setf xhtml
|
||||||
return
|
return
|
||||||
@@ -222,13 +222,13 @@ func dist#ft#FThtml()
|
|||||||
endif
|
endif
|
||||||
let n = n + 1
|
let n = n + 1
|
||||||
endwhile
|
endwhile
|
||||||
setf html
|
setf FALLBACK html
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" Distinguish between standard IDL and MS-IDL
|
" Distinguish between standard IDL and MS-IDL
|
||||||
func dist#ft#FTidl()
|
func dist#ft#FTidl()
|
||||||
let n = 1
|
let n = 1
|
||||||
while n < 50 && n < line("$")
|
while n < 50 && n <= line("$")
|
||||||
if getline(n) =~ '^\s*import\s\+"\(unknwn\|objidl\)\.idl"'
|
if getline(n) =~ '^\s*import\s\+"\(unknwn\|objidl\)\.idl"'
|
||||||
setf msidl
|
setf msidl
|
||||||
return
|
return
|
||||||
@@ -484,6 +484,10 @@ endfunc
|
|||||||
|
|
||||||
" Called from filetype.vim and scripts.vim.
|
" Called from filetype.vim and scripts.vim.
|
||||||
func dist#ft#SetFileTypeSH(name)
|
func dist#ft#SetFileTypeSH(name)
|
||||||
|
if did_filetype()
|
||||||
|
" Filetype was already detected
|
||||||
|
return
|
||||||
|
endif
|
||||||
if expand("<amatch>") =~ g:ft_ignore_pat
|
if expand("<amatch>") =~ g:ft_ignore_pat
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
@@ -531,6 +535,10 @@ endfunc
|
|||||||
" as used for Tcl.
|
" as used for Tcl.
|
||||||
" Also called from scripts.vim, thus can't be local to this script.
|
" Also called from scripts.vim, thus can't be local to this script.
|
||||||
func dist#ft#SetFileTypeShell(name)
|
func dist#ft#SetFileTypeShell(name)
|
||||||
|
if did_filetype()
|
||||||
|
" Filetype was already detected
|
||||||
|
return
|
||||||
|
endif
|
||||||
if expand("<amatch>") =~ g:ft_ignore_pat
|
if expand("<amatch>") =~ g:ft_ignore_pat
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
@@ -551,6 +559,10 @@ func dist#ft#SetFileTypeShell(name)
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func dist#ft#CSH()
|
func dist#ft#CSH()
|
||||||
|
if did_filetype()
|
||||||
|
" Filetype was already detected
|
||||||
|
return
|
||||||
|
endif
|
||||||
if exists("g:filetype_csh")
|
if exists("g:filetype_csh")
|
||||||
call dist#ft#SetFileTypeShell(g:filetype_csh)
|
call dist#ft#SetFileTypeShell(g:filetype_csh)
|
||||||
elseif &shell =~ "tcsh"
|
elseif &shell =~ "tcsh"
|
||||||
@@ -632,7 +644,7 @@ endfunc
|
|||||||
" Choose context, plaintex, or tex (LaTeX) based on these rules:
|
" Choose context, plaintex, or tex (LaTeX) based on these rules:
|
||||||
" 1. Check the first line of the file for "%&<format>".
|
" 1. Check the first line of the file for "%&<format>".
|
||||||
" 2. Check the first 1000 non-comment lines for LaTeX or ConTeXt keywords.
|
" 2. Check the first 1000 non-comment lines for LaTeX or ConTeXt keywords.
|
||||||
" 3. Default to "latex" or to g:tex_flavor, can be set in user's vimrc.
|
" 3. Default to "plain" or to g:tex_flavor, can be set in user's vimrc.
|
||||||
func dist#ft#FTtex()
|
func dist#ft#FTtex()
|
||||||
let firstline = getline(1)
|
let firstline = getline(1)
|
||||||
if firstline =~ '^%&\s*\a\+'
|
if firstline =~ '^%&\s*\a\+'
|
||||||
@@ -687,7 +699,7 @@ endfunc
|
|||||||
|
|
||||||
func dist#ft#FTxml()
|
func dist#ft#FTxml()
|
||||||
let n = 1
|
let n = 1
|
||||||
while n < 100 && n < line("$")
|
while n < 100 && n <= line("$")
|
||||||
let line = getline(n)
|
let line = getline(n)
|
||||||
" DocBook 4 or DocBook 5.
|
" DocBook 4 or DocBook 5.
|
||||||
let is_docbook4 = line =~ '<!DOCTYPE.*DocBook'
|
let is_docbook4 = line =~ '<!DOCTYPE.*DocBook'
|
||||||
@@ -713,7 +725,7 @@ endfunc
|
|||||||
|
|
||||||
func dist#ft#FTy()
|
func dist#ft#FTy()
|
||||||
let n = 1
|
let n = 1
|
||||||
while n < 100 && n < line("$")
|
while n < 100 && n <= line("$")
|
||||||
let line = getline(n)
|
let line = getline(n)
|
||||||
if line =~ '^\s*%'
|
if line =~ '^\s*%'
|
||||||
setf yacc
|
setf yacc
|
||||||
|
|||||||
3382
runtime/autoload/haskellcomplete.vim
Normal file
3382
runtime/autoload/haskellcomplete.vim
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,15 +1,10 @@
|
|||||||
" Vim support file to help with paste mappings and menus
|
" Vim support file to help with paste mappings and menus
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2017 Aug 30
|
" Last Change: 2019 Jan 27
|
||||||
|
|
||||||
" Define the string to use for items that are present both in Edit, Popup and
|
" Define the string to use for items that are present both in Edit, Popup and
|
||||||
" Toolbar menu. Also used in mswin.vim and macmap.vim.
|
" Toolbar menu. Also used in mswin.vim and macmap.vim.
|
||||||
|
|
||||||
" Pasting blockwise and linewise selections is not possible in Insert and
|
|
||||||
" Visual mode without the +virtualedit feature. They are pasted as if they
|
|
||||||
" were characterwise instead. Add to that some tricks to leave the cursor in
|
|
||||||
" the right position, also for "gi".
|
|
||||||
if has("virtualedit")
|
|
||||||
let paste#paste_cmd = {'n': ":call paste#Paste()<CR>"}
|
let paste#paste_cmd = {'n': ":call paste#Paste()<CR>"}
|
||||||
let paste#paste_cmd['v'] = '"-c<Esc>' . paste#paste_cmd['n']
|
let paste#paste_cmd['v'] = '"-c<Esc>' . paste#paste_cmd['n']
|
||||||
let paste#paste_cmd['i'] = "\<c-\>\<c-o>\"+gP"
|
let paste#paste_cmd['i'] = "\<c-\>\<c-o>\"+gP"
|
||||||
@@ -28,8 +23,3 @@ if has("virtualedit")
|
|||||||
endif
|
endif
|
||||||
let &ve = ove
|
let &ve = ove
|
||||||
endfunc
|
endfunc
|
||||||
else
|
|
||||||
let paste#paste_cmd = {'n': "\"=@+.'xy'<CR>gPFx\"_2x"}
|
|
||||||
let paste#paste_cmd['v'] = '"-c<Esc>gix<Esc>' . paste#paste_cmd['n'] . '"_x'
|
|
||||||
let paste#paste_cmd['i'] = 'x<Esc>' . paste#paste_cmd['n'] . '"_s'
|
|
||||||
endif
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
" Maintainer: Dávid Szabó ( complex857 AT gmail DOT com )
|
" Maintainer: Dávid Szabó ( complex857 AT gmail DOT com )
|
||||||
" Previous Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
|
" Previous Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
|
||||||
" URL: https://github.com/shawncplus/phpcomplete.vim
|
" URL: https://github.com/shawncplus/phpcomplete.vim
|
||||||
" Last Change: 2016 Oct 10
|
" Last Change: 2018 Oct 10
|
||||||
"
|
"
|
||||||
" OPTIONS:
|
" OPTIONS:
|
||||||
"
|
"
|
||||||
@@ -146,6 +146,8 @@ function! phpcomplete#CompletePHP(findstart, base) " {{{
|
|||||||
end
|
end
|
||||||
|
|
||||||
try
|
try
|
||||||
|
let eventignore = &eventignore
|
||||||
|
let &eventignore = 'all'
|
||||||
let winheight = winheight(0)
|
let winheight = winheight(0)
|
||||||
let winnr = winnr()
|
let winnr = winnr()
|
||||||
|
|
||||||
@@ -216,6 +218,7 @@ function! phpcomplete#CompletePHP(findstart, base) " {{{
|
|||||||
endif
|
endif
|
||||||
finally
|
finally
|
||||||
silent! exec winnr.'resize '.winheight
|
silent! exec winnr.'resize '.winheight
|
||||||
|
let &eventignore = eventignore
|
||||||
endtry
|
endtry
|
||||||
endfunction
|
endfunction
|
||||||
" }}}
|
" }}}
|
||||||
@@ -1393,13 +1396,15 @@ function! phpcomplete#GetCallChainReturnType(classname_candidate, class_candidat
|
|||||||
for classstructure in classcontents
|
for classstructure in classcontents
|
||||||
let docblock_target_pattern = 'function\s\+&\?'.method.'\>\|\(public\|private\|protected\|var\).\+\$'.method.'\>\|@property.\+\$'.method.'\>'
|
let docblock_target_pattern = 'function\s\+&\?'.method.'\>\|\(public\|private\|protected\|var\).\+\$'.method.'\>\|@property.\+\$'.method.'\>'
|
||||||
let doc_str = phpcomplete#GetDocBlock(split(classstructure.content, '\n'), docblock_target_pattern)
|
let doc_str = phpcomplete#GetDocBlock(split(classstructure.content, '\n'), docblock_target_pattern)
|
||||||
if doc_str != ''
|
let return_type_hint = phpcomplete#GetFunctionReturnTypeHint(split(classstructure.content, '\n'), 'function\s\+&\?'.method.'\>')
|
||||||
|
if doc_str != '' || return_type_hint != ''
|
||||||
break
|
break
|
||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
if doc_str != ''
|
if doc_str != '' || return_type_hint != ''
|
||||||
let docblock = phpcomplete#ParseDocBlock(doc_str)
|
let docblock = phpcomplete#ParseDocBlock(doc_str)
|
||||||
if has_key(docblock.return, 'type') || has_key(docblock.var, 'type') || len(docblock.properties) > 0
|
if has_key(docblock.return, 'type') || has_key(docblock.var, 'type') || len(docblock.properties) > 0 || return_type_hint != ''
|
||||||
|
if return_type_hint == ''
|
||||||
let type = has_key(docblock.return, 'type') ? docblock.return.type : has_key(docblock.var, 'type') ? docblock.var.type : ''
|
let type = has_key(docblock.return, 'type') ? docblock.return.type : has_key(docblock.var, 'type') ? docblock.var.type : ''
|
||||||
|
|
||||||
if type == ''
|
if type == ''
|
||||||
@@ -1410,6 +1415,9 @@ function! phpcomplete#GetCallChainReturnType(classname_candidate, class_candidat
|
|||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
endif
|
endif
|
||||||
|
else
|
||||||
|
let type = return_type_hint
|
||||||
|
end
|
||||||
|
|
||||||
" there's a namespace in the type, threat the type as FQCN
|
" there's a namespace in the type, threat the type as FQCN
|
||||||
if type =~ '\\'
|
if type =~ '\\'
|
||||||
@@ -1483,7 +1491,7 @@ function! phpcomplete#GetMethodStack(line) " {{{
|
|||||||
continue
|
continue
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" if it's looks like a string
|
" if it looks like a string
|
||||||
if current_char == "'" || current_char == '"'
|
if current_char == "'" || current_char == '"'
|
||||||
" and it is not escaped
|
" and it is not escaped
|
||||||
if prev_char != '\' || (prev_char == '\' && prev_prev_char == '\')
|
if prev_char != '\' || (prev_char == '\' && prev_prev_char == '\')
|
||||||
@@ -1587,9 +1595,11 @@ function! phpcomplete#GetClassName(start_line, context, current_namespace, impor
|
|||||||
elseif function_file != '' && filereadable(function_file)
|
elseif function_file != '' && filereadable(function_file)
|
||||||
let file_lines = readfile(function_file)
|
let file_lines = readfile(function_file)
|
||||||
let docblock_str = phpcomplete#GetDocBlock(file_lines, 'function\s*&\?\<'.function_name.'\>')
|
let docblock_str = phpcomplete#GetDocBlock(file_lines, 'function\s*&\?\<'.function_name.'\>')
|
||||||
|
let return_type_hint = phpcomplete#GetFunctionReturnTypeHint(file_lines, 'function\s*&\?'.function_name.'\>')
|
||||||
let docblock = phpcomplete#ParseDocBlock(docblock_str)
|
let docblock = phpcomplete#ParseDocBlock(docblock_str)
|
||||||
if has_key(docblock.return, 'type')
|
let type = has_key(docblock.return, 'type') ? docblock.return.type : return_type_hint
|
||||||
let classname_candidate = docblock.return.type
|
if type != ''
|
||||||
|
let classname_candidate = type
|
||||||
let [class_candidate_namespace, function_imports] = phpcomplete#GetCurrentNameSpace(file_lines)
|
let [class_candidate_namespace, function_imports] = phpcomplete#GetCurrentNameSpace(file_lines)
|
||||||
" try to expand the classname of the returned type with the context got from the function's source file
|
" try to expand the classname of the returned type with the context got from the function's source file
|
||||||
|
|
||||||
@@ -1821,9 +1831,11 @@ function! phpcomplete#GetClassName(start_line, context, current_namespace, impor
|
|||||||
elseif function_file != '' && filereadable(function_file)
|
elseif function_file != '' && filereadable(function_file)
|
||||||
let file_lines = readfile(function_file)
|
let file_lines = readfile(function_file)
|
||||||
let docblock_str = phpcomplete#GetDocBlock(file_lines, 'function\s*&\?\<'.function_name.'\>')
|
let docblock_str = phpcomplete#GetDocBlock(file_lines, 'function\s*&\?\<'.function_name.'\>')
|
||||||
|
let return_type_hint = phpcomplete#GetFunctionReturnTypeHint(file_lines, 'function\s*&\?'.function_name.'\>')
|
||||||
let docblock = phpcomplete#ParseDocBlock(docblock_str)
|
let docblock = phpcomplete#ParseDocBlock(docblock_str)
|
||||||
if has_key(docblock.return, 'type')
|
let type = has_key(docblock.return, 'type') ? docblock.return.type : return_type_hint
|
||||||
let classname_candidate = docblock.return.type
|
if type != ''
|
||||||
|
let classname_candidate = type
|
||||||
let [class_candidate_namespace, function_imports] = phpcomplete#GetCurrentNameSpace(file_lines)
|
let [class_candidate_namespace, function_imports] = phpcomplete#GetCurrentNameSpace(file_lines)
|
||||||
" try to expand the classname of the returned type with the context got from the function's source file
|
" try to expand the classname of the returned type with the context got from the function's source file
|
||||||
let [classname_candidate, class_candidate_namespace] = phpcomplete#ExpandClassName(classname_candidate, class_candidate_namespace, function_imports)
|
let [classname_candidate, class_candidate_namespace] = phpcomplete#ExpandClassName(classname_candidate, class_candidate_namespace, function_imports)
|
||||||
@@ -2413,6 +2425,44 @@ function! phpcomplete#ParseDocBlock(docblock) " {{{
|
|||||||
endfunction
|
endfunction
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
|
function! phpcomplete#GetFunctionReturnTypeHint(sccontent, search)
|
||||||
|
let i = 0
|
||||||
|
let l = 0
|
||||||
|
let function_line_start = -1
|
||||||
|
let function_line_end = -1
|
||||||
|
let sccontent_len = len(a:sccontent)
|
||||||
|
let return_type = ''
|
||||||
|
|
||||||
|
while (i < sccontent_len)
|
||||||
|
let line = a:sccontent[i]
|
||||||
|
" search for a function declaration
|
||||||
|
if line =~? a:search
|
||||||
|
let l = i
|
||||||
|
let function_line_start = i
|
||||||
|
" now search for the first { where the function body starts
|
||||||
|
while l < sccontent_len
|
||||||
|
let line = a:sccontent[l]
|
||||||
|
if line =~? '\V{'
|
||||||
|
let function_line_end = l
|
||||||
|
break
|
||||||
|
endif
|
||||||
|
let l += 1
|
||||||
|
endwhile
|
||||||
|
break
|
||||||
|
endif
|
||||||
|
let i += 1
|
||||||
|
endwhile
|
||||||
|
|
||||||
|
" now grab the lines that holds the function declaration line
|
||||||
|
if function_line_start != -1 && function_line_end != -1
|
||||||
|
let function_line = join(a:sccontent[function_line_start :function_line_end], " ")
|
||||||
|
let class_name_pattern = '[a-zA-Z_\x7f-\xff\\][a-zA-Z_0-9\x7f-\xff\\]*'
|
||||||
|
let return_type = matchstr(function_line, '\c\s*:\s*\zs'.class_name_pattern.'\ze\s*{')
|
||||||
|
endif
|
||||||
|
return return_type
|
||||||
|
|
||||||
|
endfunction
|
||||||
|
|
||||||
function! phpcomplete#GetTypeFromDocBlockParam(docblock_type) " {{{
|
function! phpcomplete#GetTypeFromDocBlockParam(docblock_type) " {{{
|
||||||
if a:docblock_type !~ '|'
|
if a:docblock_type !~ '|'
|
||||||
return a:docblock_type
|
return a:docblock_type
|
||||||
@@ -2572,7 +2622,7 @@ function! phpcomplete#GetCurrentNameSpace(file_lines) " {{{
|
|||||||
" find kind flags from tags or built in methods for the objects we extracted
|
" find kind flags from tags or built in methods for the objects we extracted
|
||||||
" they can be either classes, interfaces or namespaces, no other thing is importable in php
|
" they can be either classes, interfaces or namespaces, no other thing is importable in php
|
||||||
for [key, import] in items(imports)
|
for [key, import] in items(imports)
|
||||||
" if theres a \ in the name we have it's definetly not a built in thing, look for tags
|
" if theres a \ in the name we have it's definitely not a built in thing, look for tags
|
||||||
if import.name =~ '\\'
|
if import.name =~ '\\'
|
||||||
let patched_ctags_detected = 0
|
let patched_ctags_detected = 0
|
||||||
let [classname, namespace_for_classes] = phpcomplete#ExpandClassName(import.name, '\', {})
|
let [classname, namespace_for_classes] = phpcomplete#ExpandClassName(import.name, '\', {})
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
" Maintainer: Mark Guzman <segfault@hasno.info>
|
" Maintainer: Mark Guzman <segfault@hasno.info>
|
||||||
" URL: https://github.com/vim-ruby/vim-ruby
|
" URL: https://github.com/vim-ruby/vim-ruby
|
||||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Maintainer Version: 0.8.1
|
" Last Change: 2019 Jan 06
|
||||||
" ----------------------------------------------------------------------------
|
" ----------------------------------------------------------------------------
|
||||||
"
|
"
|
||||||
" Ruby IRB/Complete author: Keiju ISHITSUKA(keiju@ishitsuka.com)
|
" Ruby IRB/Complete author: Keiju ISHITSUKA(keiju@ishitsuka.com)
|
||||||
@@ -103,7 +103,7 @@ function! s:GetBufferRubyEntity( name, type, ... )
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
let curpos = getpos(".")
|
let curpos = getpos(".")
|
||||||
let [enum,ecol] = searchpairpos( crex, '', '\(end\|}\)', 'wr' )
|
let [enum,ecol] = searchpairpos( crex, '', '\(end\|}\)', 'W' )
|
||||||
call cursor(lastpos[1], lastpos[2])
|
call cursor(lastpos[1], lastpos[2])
|
||||||
|
|
||||||
if lnum > enum
|
if lnum > enum
|
||||||
@@ -253,15 +253,27 @@ class VimRubyCompletion
|
|||||||
|
|
||||||
# {{{ buffer analysis magic
|
# {{{ buffer analysis magic
|
||||||
def load_requires
|
def load_requires
|
||||||
|
|
||||||
|
custom_paths = VIM::evaluate("get(g:, 'rubycomplete_load_paths', [])")
|
||||||
|
|
||||||
|
if !custom_paths.empty?
|
||||||
|
$LOAD_PATH.concat(custom_paths).uniq!
|
||||||
|
end
|
||||||
|
|
||||||
buf = VIM::Buffer.current
|
buf = VIM::Buffer.current
|
||||||
enum = buf.line_number
|
enum = buf.line_number
|
||||||
nums = Range.new( 1, enum )
|
nums = Range.new( 1, enum )
|
||||||
nums.each do |x|
|
nums.each do |x|
|
||||||
|
|
||||||
ln = buf[x]
|
ln = buf[x]
|
||||||
begin
|
begin
|
||||||
eval( "require %s" % $1 ) if /.*require\s*(.*)$/.match( ln )
|
if /.*require_relative\s*(.*)$/.match( ln )
|
||||||
rescue Exception
|
eval( "require %s" % File.expand_path($1) )
|
||||||
#ignore?
|
elsif /.*require\s*(["'].*?["'])/.match( ln )
|
||||||
|
eval( "require %s" % $1 )
|
||||||
|
end
|
||||||
|
rescue Exception => e
|
||||||
|
dprint e.inspect
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -344,8 +356,13 @@ class VimRubyCompletion
|
|||||||
if x != cur_line
|
if x != cur_line
|
||||||
next if x == 0
|
next if x == 0
|
||||||
ln = buf[x]
|
ln = buf[x]
|
||||||
if /^\s*(module|class|def|include)\s+/.match(ln)
|
is_const = false
|
||||||
clscnt += 1 if $1 == "class"
|
if /^\s*(module|class|def|include)\s+/.match(ln) || is_const = /^\s*?[A-Z]([A-z]|[1-9])*\s*?[|]{0,2}=\s*?.+\s*?/.match(ln)
|
||||||
|
clscnt += 1 if /class|module/.match($1)
|
||||||
|
# We must make sure to load each constant only once to avoid errors
|
||||||
|
if is_const
|
||||||
|
ln.gsub!(/\s*?[|]{0,2}=\s*?/, '||=')
|
||||||
|
end
|
||||||
#dprint "\$1$1
|
#dprint "\$1$1
|
||||||
classdef += "%s\n" % ln
|
classdef += "%s\n" % ln
|
||||||
classdef += "end\n" if /def\s+/.match(ln)
|
classdef += "end\n" if /def\s+/.match(ln)
|
||||||
@@ -423,7 +440,6 @@ class VimRubyCompletion
|
|||||||
return get_buffer_entity_list( "class" )
|
return get_buffer_entity_list( "class" )
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
def load_rails
|
def load_rails
|
||||||
allow_rails = VIM::evaluate("exists('g:rubycomplete_rails') && g:rubycomplete_rails")
|
allow_rails = VIM::evaluate("exists('g:rubycomplete_rails') && g:rubycomplete_rails")
|
||||||
return if allow_rails.to_i.zero?
|
return if allow_rails.to_i.zero?
|
||||||
@@ -529,7 +545,6 @@ class VimRubyCompletion
|
|||||||
ret += ActiveRecord::ConnectionAdapters::SchemaStatements.methods
|
ret += ActiveRecord::ConnectionAdapters::SchemaStatements.methods
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
return ret
|
return ret
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -587,13 +602,15 @@ class VimRubyCompletion
|
|||||||
# {{{ main completion code
|
# {{{ main completion code
|
||||||
def self.preload_rails
|
def self.preload_rails
|
||||||
a = VimRubyCompletion.new
|
a = VimRubyCompletion.new
|
||||||
require 'Thread'
|
if VIM::evaluate("has('nvim')") == 0
|
||||||
|
require 'thread'
|
||||||
Thread.new(a) do |b|
|
Thread.new(a) do |b|
|
||||||
begin
|
begin
|
||||||
b.load_rails
|
b.load_rails
|
||||||
rescue
|
rescue
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
a.load_rails
|
a.load_rails
|
||||||
rescue
|
rescue
|
||||||
end
|
end
|
||||||
@@ -613,7 +630,6 @@ class VimRubyCompletion
|
|||||||
want_gems = VIM::evaluate("get(g:, 'rubycomplete_load_gemfile')")
|
want_gems = VIM::evaluate("get(g:, 'rubycomplete_load_gemfile')")
|
||||||
load_gems unless want_gems.to_i.zero?
|
load_gems unless want_gems.to_i.zero?
|
||||||
|
|
||||||
|
|
||||||
input = VIM::Buffer.current.line
|
input = VIM::Buffer.current.line
|
||||||
cpos = VIM::Window.current.cursor[1] - 1
|
cpos = VIM::Window.current.cursor[1] - 1
|
||||||
input = input[0..cpos]
|
input = input[0..cpos]
|
||||||
@@ -666,6 +682,7 @@ class VimRubyCompletion
|
|||||||
message = Regexp.quote($4)
|
message = Regexp.quote($4)
|
||||||
dprint "const or cls 2 [recv: \'%s\', msg: \'%s\']" % [ receiver, message ]
|
dprint "const or cls 2 [recv: \'%s\', msg: \'%s\']" % [ receiver, message ]
|
||||||
load_buffer_class( receiver )
|
load_buffer_class( receiver )
|
||||||
|
load_buffer_module( receiver )
|
||||||
begin
|
begin
|
||||||
classes = eval("#{receiver}.constants")
|
classes = eval("#{receiver}.constants")
|
||||||
#methods = eval("#{receiver}.methods")
|
#methods = eval("#{receiver}.methods")
|
||||||
@@ -786,7 +803,6 @@ class VimRubyCompletion
|
|||||||
methods += Kernel.public_methods
|
methods += Kernel.public_methods
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
include_object = VIM::evaluate("exists('g:rubycomplete_include_object') && g:rubycomplete_include_object")
|
include_object = VIM::evaluate("exists('g:rubycomplete_include_object') && g:rubycomplete_include_object")
|
||||||
methods = clean_sel( methods, message )
|
methods = clean_sel( methods, message )
|
||||||
methods = (methods-Object.instance_methods) if include_object == "0"
|
methods = (methods-Object.instance_methods) if include_object == "0"
|
||||||
@@ -829,5 +845,4 @@ let s:rubycomplete_rails_loaded = 0
|
|||||||
call s:DefRuby()
|
call s:DefRuby()
|
||||||
"}}} ruby-side code
|
"}}} ruby-side code
|
||||||
|
|
||||||
|
|
||||||
" vim:tw=78:sw=4:ts=8:et:fdm=marker:ft=vim:norl:
|
" vim:tw=78:sw=4:ts=8:et:fdm=marker:ft=vim:norl:
|
||||||
|
|||||||
@@ -152,10 +152,12 @@ fun! tar#Browse(tarfile)
|
|||||||
" assuming cygwin
|
" assuming cygwin
|
||||||
let tarfile=substitute(system("cygpath -u ".shellescape(tarfile,0)),'\n$','','e')
|
let tarfile=substitute(system("cygpath -u ".shellescape(tarfile,0)),'\n$','','e')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let curlast= line("$")
|
let curlast= line("$")
|
||||||
if tarfile =~# '\.\(gz\|tgz\)$'
|
if tarfile =~# '\.\(gz\|tgz\)$'
|
||||||
|
let gzip_command = s:get_gzip_command(tarfile)
|
||||||
" call Decho("1: exe silent r! gzip -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - ")
|
" call Decho("1: exe silent r! gzip -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - ")
|
||||||
exe "sil! r! gzip -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
|
exe "sil! r! " . gzip_command . " -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
|
||||||
elseif tarfile =~# '\.lrp'
|
elseif tarfile =~# '\.lrp'
|
||||||
" call Decho("2: exe silent r! cat -- ".shellescape(tarfile,1)."|gzip -d -c -|".g:tar_cmd." -".g:tar_browseoptions." - ")
|
" call Decho("2: exe silent r! cat -- ".shellescape(tarfile,1)."|gzip -d -c -|".g:tar_cmd." -".g:tar_browseoptions." - ")
|
||||||
exe "sil! r! cat -- ".shellescape(tarfile,1)."|gzip -d -c -|".g:tar_cmd." -".g:tar_browseoptions." - "
|
exe "sil! r! cat -- ".shellescape(tarfile,1)."|gzip -d -c -|".g:tar_cmd." -".g:tar_browseoptions." - "
|
||||||
@@ -287,12 +289,14 @@ fun! tar#Read(fname,mode)
|
|||||||
else
|
else
|
||||||
let tar_secure= " "
|
let tar_secure= " "
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if tarfile =~# '\.bz2$'
|
if tarfile =~# '\.bz2$'
|
||||||
" call Decho("7: exe silent r! bzip2 -d -c ".shellescape(tarfile,1)."| ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp)
|
" call Decho("7: exe silent r! bzip2 -d -c ".shellescape(tarfile,1)."| ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp)
|
||||||
exe "sil! r! bzip2 -d -c -- ".shellescape(tarfile,1)."| ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp
|
exe "sil! r! bzip2 -d -c -- ".shellescape(tarfile,1)."| ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp
|
||||||
elseif tarfile =~# '\.\(gz\|tgz\)$'
|
elseif tarfile =~# '\.\(gz\|tgz\)$'
|
||||||
|
let gzip_command = s:get_gzip_command(tarfile)
|
||||||
" call Decho("5: exe silent r! gzip -d -c -- ".shellescape(tarfile,1)."| ".g:tar_cmd.' -'.g:tar_readoptions.' - '.tar_secure.shellescape(fname,1))
|
" call Decho("5: exe silent r! gzip -d -c -- ".shellescape(tarfile,1)."| ".g:tar_cmd.' -'.g:tar_readoptions.' - '.tar_secure.shellescape(fname,1))
|
||||||
exe "sil! r! gzip -d -c -- ".shellescape(tarfile,1)."| ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp
|
exe "sil! r! " . gzip_command . " -d -c -- ".shellescape(tarfile,1)."| ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp
|
||||||
elseif tarfile =~# '\.lrp$'
|
elseif tarfile =~# '\.lrp$'
|
||||||
" call Decho("6: exe silent r! cat ".shellescape(tarfile,1)." | gzip -d -c - | ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp)
|
" call Decho("6: exe silent r! cat ".shellescape(tarfile,1)." | gzip -d -c - | ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp)
|
||||||
exe "sil! r! cat -- ".shellescape(tarfile,1)." | gzip -d -c - | ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp
|
exe "sil! r! cat -- ".shellescape(tarfile,1)." | gzip -d -c - | ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp
|
||||||
@@ -389,6 +393,8 @@ fun! tar#Write(fname)
|
|||||||
let tarfile = substitute(b:tarfile,'tarfile:\(.\{-}\)::.*$','\1','')
|
let tarfile = substitute(b:tarfile,'tarfile:\(.\{-}\)::.*$','\1','')
|
||||||
let fname = substitute(b:tarfile,'tarfile:.\{-}::\(.*\)$','\1','')
|
let fname = substitute(b:tarfile,'tarfile:.\{-}::\(.*\)$','\1','')
|
||||||
|
|
||||||
|
let gzip_command = s:get_gzip_command(tarfile)
|
||||||
|
|
||||||
" handle compressed archives
|
" handle compressed archives
|
||||||
if tarfile =~# '\.bz2'
|
if tarfile =~# '\.bz2'
|
||||||
call system("bzip2 -d -- ".shellescape(tarfile,0))
|
call system("bzip2 -d -- ".shellescape(tarfile,0))
|
||||||
@@ -396,12 +402,12 @@ fun! tar#Write(fname)
|
|||||||
let compress= "bzip2 -- ".shellescape(tarfile,0)
|
let compress= "bzip2 -- ".shellescape(tarfile,0)
|
||||||
" call Decho("compress<".compress.">")
|
" call Decho("compress<".compress.">")
|
||||||
elseif tarfile =~# '\.gz'
|
elseif tarfile =~# '\.gz'
|
||||||
call system("gzip -d -- ".shellescape(tarfile,0))
|
call system(gzip_command . " -d -- ".shellescape(tarfile,0))
|
||||||
let tarfile = substitute(tarfile,'\.gz','','e')
|
let tarfile = substitute(tarfile,'\.gz','','e')
|
||||||
let compress= "gzip -- ".shellescape(tarfile,0)
|
let compress= "gzip -- ".shellescape(tarfile,0)
|
||||||
" call Decho("compress<".compress.">")
|
" call Decho("compress<".compress.">")
|
||||||
elseif tarfile =~# '\.tgz'
|
elseif tarfile =~# '\.tgz'
|
||||||
call system("gzip -d -- ".shellescape(tarfile,0))
|
call system(gzip_command . " -d -- ".shellescape(tarfile,0))
|
||||||
let tarfile = substitute(tarfile,'\.tgz','.tar','e')
|
let tarfile = substitute(tarfile,'\.tgz','.tar','e')
|
||||||
let compress= "gzip -- ".shellescape(tarfile,0)
|
let compress= "gzip -- ".shellescape(tarfile,0)
|
||||||
let tgz = 1
|
let tgz = 1
|
||||||
@@ -581,7 +587,10 @@ fun! tar#Vimuntar(...)
|
|||||||
|
|
||||||
" if necessary, decompress the tarball; then, extract it
|
" if necessary, decompress the tarball; then, extract it
|
||||||
if tartail =~ '\.tgz'
|
if tartail =~ '\.tgz'
|
||||||
if executable("gunzip")
|
let gzip_command = s:get_gzip_command(tarfile)
|
||||||
|
if executable(gzip_command)
|
||||||
|
silent exe "!" . gzip_command . " -d ".shellescape(tartail)
|
||||||
|
elseif executable("gunzip")
|
||||||
silent exe "!gunzip ".shellescape(tartail)
|
silent exe "!gunzip ".shellescape(tartail)
|
||||||
elseif executable("gzip")
|
elseif executable("gzip")
|
||||||
silent exe "!gzip -d ".shellescape(tartail)
|
silent exe "!gzip -d ".shellescape(tartail)
|
||||||
@@ -619,6 +628,28 @@ fun! tar#Vimuntar(...)
|
|||||||
" call Dret("tar#Vimuntar")
|
" call Dret("tar#Vimuntar")
|
||||||
endfun
|
endfun
|
||||||
|
|
||||||
|
func s:get_gzip_command(file)
|
||||||
|
" Try using the "file" command to get the actual compression type, since
|
||||||
|
" there is no standard way for the naming: ".tgz", ".tbz", ".txz", etc.
|
||||||
|
" If the "file" command doesn't work fall back to just using the file name.
|
||||||
|
if a:file =~# 'z$'
|
||||||
|
let filetype = system('file ' . a:file)
|
||||||
|
if filetype =~ 'bzip2 compressed' && executable('bzip2')
|
||||||
|
return 'bzip2'
|
||||||
|
endif
|
||||||
|
if filetype =~ 'XZ compressed' && executable('xz')
|
||||||
|
return 'xz'
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
if a:file =~# 'bz2$'
|
||||||
|
return 'bzip2'
|
||||||
|
endif
|
||||||
|
if a:file =~# 'xz$'
|
||||||
|
return 'xz'
|
||||||
|
endif
|
||||||
|
return 'gzip'
|
||||||
|
endfunc
|
||||||
|
|
||||||
" =====================================================================
|
" =====================================================================
|
||||||
" Modelines And Restoration: {{{1
|
" Modelines And Restoration: {{{1
|
||||||
let &cpo= s:keepcpo
|
let &cpo= s:keepcpo
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
" Vim autoload file for the tohtml plugin.
|
" Vim autoload file for the tohtml plugin.
|
||||||
" Maintainer: Ben Fritz <fritzophrenic@gmail.com>
|
" Maintainer: Ben Fritz <fritzophrenic@gmail.com>
|
||||||
" Last Change: 2013 Sep 03
|
" Last Change: 2018 Nov 11
|
||||||
"
|
"
|
||||||
" Additional contributors:
|
" Additional contributors:
|
||||||
"
|
"
|
||||||
@@ -544,12 +544,16 @@ func! tohtml#Diff2HTML(win_list, buf_list) "{{{
|
|||||||
" add required javascript in reverse order so we can just call append again
|
" add required javascript in reverse order so we can just call append again
|
||||||
" and again without adjusting {{{
|
" and again without adjusting {{{
|
||||||
|
|
||||||
" insert script closing tag
|
let s:uses_script = s:settings.dynamic_folds || s:settings.line_ids || !empty(s:settings.prevent_copy)
|
||||||
|
|
||||||
|
" insert script closing tag if needed
|
||||||
|
if s:uses_script
|
||||||
call append(style_start, [
|
call append(style_start, [
|
||||||
\ '',
|
\ '',
|
||||||
\ s:settings.use_xhtml ? '//]]>' : '-->',
|
\ s:settings.use_xhtml ? '//]]>' : '-->',
|
||||||
\ "</script>"
|
\ "</script>"
|
||||||
\ ])
|
\ ])
|
||||||
|
endif
|
||||||
|
|
||||||
" insert script which corrects the size of small input elements in
|
" insert script which corrects the size of small input elements in
|
||||||
" prevent_copy mode. See 2html.vim for details on why this is needed and how
|
" prevent_copy mode. See 2html.vim for details on why this is needed and how
|
||||||
@@ -575,9 +579,10 @@ func! tohtml#Diff2HTML(win_list, buf_list) "{{{
|
|||||||
\ '}'
|
\ '}'
|
||||||
\ ])
|
\ ])
|
||||||
endif
|
endif
|
||||||
"
|
|
||||||
" insert javascript to get IDs from line numbers, and to open a fold before
|
" insert javascript to get IDs from line numbers, and to open a fold before
|
||||||
" jumping to any lines contained therein
|
" jumping to any lines contained therein
|
||||||
|
if s:settings.line_ids
|
||||||
call append(style_start, [
|
call append(style_start, [
|
||||||
\ " /* Always jump to new location even if the line was hidden inside a fold, or",
|
\ " /* Always jump to new location even if the line was hidden inside a fold, or",
|
||||||
\ " * we corrected the raw number to a line ID.",
|
\ " * we corrected the raw number to a line ID.",
|
||||||
@@ -591,6 +596,7 @@ func! tohtml#Diff2HTML(win_list, buf_list) "{{{
|
|||||||
\ " window.onhashchange = JumpToLine;",
|
\ " window.onhashchange = JumpToLine;",
|
||||||
\ "}"
|
\ "}"
|
||||||
\ ])
|
\ ])
|
||||||
|
|
||||||
if s:settings.dynamic_folds
|
if s:settings.dynamic_folds
|
||||||
call append(style_start, [
|
call append(style_start, [
|
||||||
\ "",
|
\ "",
|
||||||
@@ -607,6 +613,9 @@ func! tohtml#Diff2HTML(win_list, buf_list) "{{{
|
|||||||
\ " }",
|
\ " }",
|
||||||
\ ])
|
\ ])
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
if s:settings.line_ids
|
||||||
call append(style_start, [
|
call append(style_start, [
|
||||||
\ "",
|
\ "",
|
||||||
\ "/* function to open any folds containing a jumped-to line before jumping to it */",
|
\ "/* function to open any folds containing a jumped-to line before jumping to it */",
|
||||||
@@ -622,8 +631,9 @@ func! tohtml#Diff2HTML(win_list, buf_list) "{{{
|
|||||||
\ " if (lineNum.indexOf('W') == -1) {",
|
\ " if (lineNum.indexOf('W') == -1) {",
|
||||||
\ " lineNum = 'W1'+lineNum;",
|
\ " lineNum = 'W1'+lineNum;",
|
||||||
\ " }",
|
\ " }",
|
||||||
\ " lineElem = document.getElementById(lineNum);"
|
\ " var lineElem = document.getElementById(lineNum);"
|
||||||
\ ])
|
\ ])
|
||||||
|
endif
|
||||||
|
|
||||||
" Insert javascript to toggle matching folds open and closed in all windows,
|
" Insert javascript to toggle matching folds open and closed in all windows,
|
||||||
" if dynamic folding is active.
|
" if dynamic folding is active.
|
||||||
@@ -648,11 +658,13 @@ func! tohtml#Diff2HTML(win_list, buf_list) "{{{
|
|||||||
\ ])
|
\ ])
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if s:uses_script
|
||||||
" insert script tag; javascript is always needed for the line number
|
" insert script tag; javascript is always needed for the line number
|
||||||
" normalization for URL hashes
|
" normalization for URL hashes
|
||||||
call append(style_start, [
|
call append(style_start, [
|
||||||
\ "<script type='text/javascript'>",
|
\ "<script type='text/javascript'>",
|
||||||
\ s:settings.use_xhtml ? '//<![CDATA[' : "<!--"])
|
\ s:settings.use_xhtml ? '//<![CDATA[' : "<!--"])
|
||||||
|
endif
|
||||||
|
|
||||||
" Insert styles from all the generated html documents and additional styles
|
" Insert styles from all the generated html documents and additional styles
|
||||||
" for the table-based layout of the side-by-side diff. The diff should take
|
" for the table-based layout of the side-by-side diff. The diff should take
|
||||||
@@ -767,7 +779,7 @@ func! tohtml#GetUserSettings() "{{{
|
|||||||
if user_settings.no_pre == 0
|
if user_settings.no_pre == 0
|
||||||
call tohtml#GetOption(user_settings,
|
call tohtml#GetOption(user_settings,
|
||||||
\ 'expand_tabs',
|
\ 'expand_tabs',
|
||||||
\ &expandtab || &ts != 8 || user_settings.number_lines ||
|
\ &expandtab || &ts != 8 || &vts != '' || user_settings.number_lines ||
|
||||||
\ (user_settings.dynamic_folds && !user_settings.no_foldcolumn))
|
\ (user_settings.dynamic_folds && !user_settings.no_foldcolumn))
|
||||||
else
|
else
|
||||||
let user_settings.expand_tabs = 1
|
let user_settings.expand_tabs = 1
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
" Vim plugin for formatting XML
|
" Vim plugin for formatting XML
|
||||||
" Last Change: Thu, 22 May 2018 21:26:55 +0100
|
" Last Change: Thu, 07 Dec 2018
|
||||||
" Version: 0.1
|
" Version: 0.1
|
||||||
" Author: Christian Brabandt <cb@256bit.org>
|
" Author: Christian Brabandt <cb@256bit.org>
|
||||||
" Script: http://www.vim.org/scripts/script.php?script_id=
|
" Repository: https://github.com/chrisbra/vim-xml-ftplugin
|
||||||
" License: VIM License
|
" License: VIM License
|
||||||
" GetLatestVimScripts: ???? 18 :AutoInstall: xmlformat.vim
|
|
||||||
" Documentation: see :h xmlformat.txt (TODO!)
|
" Documentation: see :h xmlformat.txt (TODO!)
|
||||||
" ---------------------------------------------------------------------
|
" ---------------------------------------------------------------------
|
||||||
" Load Once: {{{1
|
" Load Once: {{{1
|
||||||
@@ -86,7 +85,11 @@ func! s:Trim(item)
|
|||||||
endfunc
|
endfunc
|
||||||
" Check if tag is a new opening tag <tag> {{{1
|
" Check if tag is a new opening tag <tag> {{{1
|
||||||
func! s:StartTag(tag)
|
func! s:StartTag(tag)
|
||||||
return a:tag =~? '^\s*<[^/?]'
|
let is_comment = s:IsComment(a:tag)
|
||||||
|
return a:tag =~? '^\s*<[^/?]' && !is_comment
|
||||||
|
endfunc
|
||||||
|
func! s:IsComment(tag)
|
||||||
|
return a:tag =~? '<!--'
|
||||||
endfunc
|
endfunc
|
||||||
" Remove one level of indentation {{{1
|
" Remove one level of indentation {{{1
|
||||||
func! s:DecreaseIndent()
|
func! s:DecreaseIndent()
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
:" information about the environment of a possible bug in Vim.
|
:" information about the environment of a possible bug in Vim.
|
||||||
:"
|
:"
|
||||||
:" Maintainer: Bram Moolenaar <Bram@vim.org>
|
:" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
:" Last change: 2005 Jun 12
|
:" Last change: 2019 Jan 27
|
||||||
:"
|
:"
|
||||||
:" To use inside Vim:
|
:" To use inside Vim:
|
||||||
:" :so $VIMRUNTIME/bugreport.vim
|
:" :so $VIMRUNTIME/bugreport.vim
|
||||||
@@ -54,9 +54,7 @@
|
|||||||
:endif
|
:endif
|
||||||
:set all
|
:set all
|
||||||
:set termcap
|
:set termcap
|
||||||
:if has("autocmd")
|
|
||||||
:au
|
:au
|
||||||
:endif
|
|
||||||
:if 1
|
:if 1
|
||||||
: echo "--- Normal/Visual mode mappings ---"
|
: echo "--- Normal/Visual mode mappings ---"
|
||||||
:endif
|
:endif
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" URL: https://github.com/vim-ruby/vim-ruby
|
" URL: https://github.com/vim-ruby/vim-ruby
|
||||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||||
|
" Last Change: 2018 Jan 25
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
@@ -28,8 +29,8 @@ CompilerSet errorformat=
|
|||||||
\%W%f:%l:\ warning:\ %m,
|
\%W%f:%l:\ warning:\ %m,
|
||||||
\%E%f:%l:in\ %*[^:]:\ %m,
|
\%E%f:%l:in\ %*[^:]:\ %m,
|
||||||
\%E%f:%l:\ %m,
|
\%E%f:%l:\ %m,
|
||||||
\%-C%\tfrom\ %f:%l:in\ %.%#,
|
\%-C%\t%\\d%#:%#\ %#from\ %f:%l:in\ %.%#,
|
||||||
\%-Z%\tfrom\ %f:%l,
|
\%-Z%\t%\\d%#:%#\ %#from\ %f:%l,
|
||||||
\%-Z%p^,
|
\%-Z%p^,
|
||||||
\%-G%.%#
|
\%-G%.%#
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||||
" URL: https://github.com/vim-ruby/vim-ruby
|
" URL: https://github.com/vim-ruby/vim-ruby
|
||||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||||
|
" Last Change: 2018 Mar 02
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
@@ -20,12 +21,12 @@ CompilerSet makeprg=rake
|
|||||||
|
|
||||||
CompilerSet errorformat=
|
CompilerSet errorformat=
|
||||||
\%D(in\ %f),
|
\%D(in\ %f),
|
||||||
\%\\s%#from\ %f:%l:%m,
|
\%\\s%#%\\d%#:%#\ %#from\ %f:%l:%m,
|
||||||
\%\\s%#from\ %f:%l:,
|
\%\\s%#%\\d%#:%#\ %#from\ %f:%l:,
|
||||||
\%\\s%##\ %f:%l:%m,
|
\%\\s%##\ %f:%l:%m%\\&%.%#%\\D:%\\d%\\+:%.%#,
|
||||||
\%\\s%##\ %f:%l,
|
\%\\s%##\ %f:%l%\\&%.%#%\\D:%\\d%\\+,
|
||||||
\%\\s%#[%f:%l:\ %#%m,
|
\%\\s%#[%f:%l:\ %#%m%\\&%.%#%\\D:%\\d%\\+:%.%#,
|
||||||
\%\\s%#%f:%l:\ %#%m,
|
\%\\s%#%f:%l:\ %#%m%\\&%.%#%\\D:%\\d%\\+:%.%#,
|
||||||
\%\\s%#%f:%l:,
|
\%\\s%#%f:%l:,
|
||||||
\%m\ [%f:%l]:,
|
\%m\ [%f:%l]:,
|
||||||
\%+Erake\ aborted!,
|
\%+Erake\ aborted!,
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||||
" URL: https://github.com/vim-ruby/vim-ruby
|
" URL: https://github.com/vim-ruby/vim-ruby
|
||||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||||
|
" Last Change: 2018 Aug 07
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
@@ -23,7 +24,8 @@ CompilerSet errorformat=
|
|||||||
\%E%.%#:in\ `load':\ %f:%l:%m,
|
\%E%.%#:in\ `load':\ %f:%l:%m,
|
||||||
\%E%f:%l:in\ `%*[^']':\ %m,
|
\%E%f:%l:in\ `%*[^']':\ %m,
|
||||||
\%-Z\ \ \ \ \ %\\+\#\ %f:%l:%.%#,
|
\%-Z\ \ \ \ \ %\\+\#\ %f:%l:%.%#,
|
||||||
\%E\ \ %\\d%\\+)%.%#,
|
\%E\ \ \ \ \ Failure/Error:\ %m,
|
||||||
|
\%E\ \ \ \ \ Failure/Error:,
|
||||||
\%C\ \ \ \ \ %m,
|
\%C\ \ \ \ \ %m,
|
||||||
\%C%\\s%#,
|
\%C%\\s%#,
|
||||||
\%-G%.%#
|
\%-G%.%#
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||||
" URL: https://github.com/vim-ruby/vim-ruby
|
" URL: https://github.com/vim-ruby/vim-ruby
|
||||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||||
" ----------------------------------------------------------------------------
|
" Last Change: 2019 Jan 06
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
@@ -21,21 +21,21 @@ set cpo-=C
|
|||||||
" default settings runs script normally
|
" default settings runs script normally
|
||||||
" add '-c' switch to run syntax check only:
|
" add '-c' switch to run syntax check only:
|
||||||
"
|
"
|
||||||
" CompilerSet makeprg=ruby\ -wc\ $*
|
" CompilerSet makeprg=ruby\ -c
|
||||||
"
|
"
|
||||||
" or add '-c' at :make command line:
|
" or add '-c' at :make command line:
|
||||||
"
|
"
|
||||||
" :make -c %<CR>
|
" :make -c %<CR>
|
||||||
"
|
"
|
||||||
CompilerSet makeprg=ruby\ -w\ $*
|
CompilerSet makeprg=ruby
|
||||||
|
|
||||||
CompilerSet errorformat=
|
CompilerSet errorformat=
|
||||||
\%+E%f:%l:\ parse\ error,
|
\%+E%f:%l:\ parse\ error,
|
||||||
\%W%f:%l:\ warning:\ %m,
|
\%W%f:%l:\ warning:\ %m,
|
||||||
\%E%f:%l:in\ %*[^:]:\ %m,
|
\%E%f:%l:in\ %*[^:]:\ %m,
|
||||||
\%E%f:%l:\ %m,
|
\%E%f:%l:\ %m,
|
||||||
\%-C%\tfrom\ %f:%l:in\ %.%#,
|
\%-C%\t%\\d%#:%#\ %#from\ %f:%l:in\ %.%#,
|
||||||
\%-Z%\tfrom\ %f:%l,
|
\%-Z%\t%\\d%#:%#\ %#from\ %f:%l,
|
||||||
\%-Z%p^,
|
\%-Z%p^,
|
||||||
\%-G%.%#
|
\%-G%.%#
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" URL: https://github.com/vim-ruby/vim-ruby
|
" URL: https://github.com/vim-ruby/vim-ruby
|
||||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||||
|
" Last Change: 2014 Mar 23
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
|
|||||||
37
runtime/compiler/stack.vim
Normal file
37
runtime/compiler/stack.vim
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
" Vim compiler file
|
||||||
|
" Compiler: Haskell Stack
|
||||||
|
" Maintainer: Daniel Campoverde <alx@sillybytes.net>
|
||||||
|
" Latest Revision: 2018-08-27
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
let current_compiler = "stack"
|
||||||
|
|
||||||
|
let s:cpo_save = &cpo
|
||||||
|
set cpo&vim
|
||||||
|
|
||||||
|
|
||||||
|
CompilerSet errorformat=
|
||||||
|
\%-G%.%#:\ build\ %.%#,
|
||||||
|
\%-G%.%#:\ configure\ %.%#,
|
||||||
|
\%-G[%.%#]%.%#,
|
||||||
|
\%-G%.%#preprocessing\ %.%#,
|
||||||
|
\%-G%.%#configuring\ %.%#,
|
||||||
|
\%-G%.%#building\ %.%#,
|
||||||
|
\%-G%.%#linking\ %.%#,
|
||||||
|
\%-G%.%#installing\ %.%#,
|
||||||
|
\%-G%.%#registering\ %.%#,
|
||||||
|
\%-G%.%#:\ copy/register%.%#,
|
||||||
|
\%-G%.%#process\ exited\ %.%#,
|
||||||
|
\%-G%.%#--builddir=%.%#,
|
||||||
|
\%-G--%.%#,
|
||||||
|
\%-G%.%#\|%.%#,
|
||||||
|
\%E%f:%l:%c:\ error:,%+Z\ \ \ \ %m,
|
||||||
|
\%E%f:%l:%c:\ error:\ %m,%-Z,
|
||||||
|
\%W%f:%l:%c:\ warning:,%+Z\ \ \ \ %m,
|
||||||
|
\%W%f:%l:%c:\ warning:\ %m,%-Z,
|
||||||
|
|
||||||
|
|
||||||
|
let &cpo = s:cpo_save
|
||||||
|
unlet s:cpo_save
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
" The default vimrc file.
|
" The default vimrc file.
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last change: 2017 Jun 13
|
" Last change: 2019 Feb 18
|
||||||
"
|
"
|
||||||
" This is loaded if no vimrc file was found.
|
" This is loaded if no vimrc file was found.
|
||||||
" Except when Vim is run with "-u NONE" or "-C".
|
" Except when Vim is run with "-u NONE" or "-C".
|
||||||
@@ -90,8 +90,8 @@ if &t_Co > 2 || has("gui_running")
|
|||||||
let c_comment_strings=1
|
let c_comment_strings=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Only do this part when compiled with support for autocommands.
|
" Only do this part when Vim was compiled with the +eval feature.
|
||||||
if has("autocmd")
|
if 1
|
||||||
|
|
||||||
" Enable file type detection.
|
" Enable file type detection.
|
||||||
" Use the default filetype settings, so that mail gets 'tw' set to 72,
|
" Use the default filetype settings, so that mail gets 'tw' set to 72,
|
||||||
@@ -116,7 +116,7 @@ if has("autocmd")
|
|||||||
|
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
endif " has("autocmd")
|
endif
|
||||||
|
|
||||||
" Convenient command to see the difference between the current buffer and the
|
" Convenient command to see the difference between the current buffer and the
|
||||||
" file it was loaded from, thus the changes you made.
|
" file it was loaded from, thus the changes you made.
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
" Last Change: 2001 May 27
|
" Last Change: 2001 May 27
|
||||||
|
|
||||||
aunmenu *
|
aunmenu *
|
||||||
|
tlunmenu *
|
||||||
|
|
||||||
silent! unlet did_install_default_menus
|
silent! unlet did_install_default_menus
|
||||||
silent! unlet did_install_syntax_menu
|
silent! unlet did_install_syntax_menu
|
||||||
|
|||||||
@@ -102,6 +102,7 @@ DOCS = \
|
|||||||
tagsrch.txt \
|
tagsrch.txt \
|
||||||
term.txt \
|
term.txt \
|
||||||
terminal.txt \
|
terminal.txt \
|
||||||
|
textprop.txt \
|
||||||
tips.txt \
|
tips.txt \
|
||||||
todo.txt \
|
todo.txt \
|
||||||
uganda.txt \
|
uganda.txt \
|
||||||
@@ -238,6 +239,7 @@ HTMLS = \
|
|||||||
tagsrch.html \
|
tagsrch.html \
|
||||||
term.html \
|
term.html \
|
||||||
terminal.html \
|
terminal.html \
|
||||||
|
textprop.html \
|
||||||
tips.html \
|
tips.html \
|
||||||
todo.html \
|
todo.html \
|
||||||
uganda.html \
|
uganda.html \
|
||||||
|
|||||||
@@ -319,4 +319,4 @@ There is one known minor bug,
|
|||||||
|
|
||||||
No other bugs are known to exist.
|
No other bugs are known to exist.
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*autocmd.txt* For Vim version 8.1. Last change: 2018 May 03
|
*autocmd.txt* For Vim version 8.1. Last change: 2019 Mar 13
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -301,6 +301,7 @@ Name triggered by ~
|
|||||||
|FileChangedShellPost| After handling a file changed since editing started
|
|FileChangedShellPost| After handling a file changed since editing started
|
||||||
|FileChangedRO| before making the first change to a read-only file
|
|FileChangedRO| before making the first change to a read-only file
|
||||||
|
|
||||||
|
|DiffUpdated| after diffs have been updated
|
||||||
|DirChanged| after the working directory has changed
|
|DirChanged| after the working directory has changed
|
||||||
|
|
||||||
|ShellCmdPost| after executing a shell command
|
|ShellCmdPost| after executing a shell command
|
||||||
@@ -310,6 +311,7 @@ Name triggered by ~
|
|||||||
|FuncUndefined| a user function is used but it isn't defined
|
|FuncUndefined| a user function is used but it isn't defined
|
||||||
|SpellFileMissing| a spell file is used but it can't be found
|
|SpellFileMissing| a spell file is used but it can't be found
|
||||||
|SourcePre| before sourcing a Vim script
|
|SourcePre| before sourcing a Vim script
|
||||||
|
|SourcePost| after sourcing a Vim script
|
||||||
|SourceCmd| before sourcing a Vim script |Cmd-event|
|
|SourceCmd| before sourcing a Vim script |Cmd-event|
|
||||||
|
|
||||||
|VimResized| after the Vim window size changed
|
|VimResized| after the Vim window size changed
|
||||||
@@ -619,6 +621,8 @@ CursorMoved After the cursor was moved in Normal or Visual
|
|||||||
Not triggered when there is typeahead or when
|
Not triggered when there is typeahead or when
|
||||||
an operator is pending.
|
an operator is pending.
|
||||||
For an example see |match-parens|.
|
For an example see |match-parens|.
|
||||||
|
Note: This can not be skipped with
|
||||||
|
`:noautocmd`.
|
||||||
Careful: This is triggered very often, don't
|
Careful: This is triggered very often, don't
|
||||||
do anything that the user does not expect or
|
do anything that the user does not expect or
|
||||||
that is slow.
|
that is slow.
|
||||||
@@ -656,12 +660,17 @@ FileChangedRO Before making the first change to a read-only
|
|||||||
*E881*
|
*E881*
|
||||||
If the number of lines changes saving for undo
|
If the number of lines changes saving for undo
|
||||||
may fail and the change will be aborted.
|
may fail and the change will be aborted.
|
||||||
|
*DiffUpdated*
|
||||||
|
DiffUpdated After diffs have been updated. Depending on
|
||||||
|
what kind of diff is being used (internal or
|
||||||
|
external) this can be triggered on every
|
||||||
|
change or when doing |:diffupdate|.
|
||||||
*DirChanged*
|
*DirChanged*
|
||||||
DirChanged The working directory has changed in response
|
DirChanged The working directory has changed in response
|
||||||
to the |:cd| or |:lcd| commands, or as a
|
to the |:cd| or |:lcd| commands, or as a
|
||||||
result of the 'autochdir' option.
|
result of the 'autochdir' option.
|
||||||
The pattern can be:
|
The pattern can be:
|
||||||
"window" to trigger on `:lcd
|
"window" to trigger on `:lcd`
|
||||||
"global" to trigger on `:cd`
|
"global" to trigger on `:cd`
|
||||||
"auto" to trigger on 'autochdir'.
|
"auto" to trigger on 'autochdir'.
|
||||||
"drop" to trigger on editing a file
|
"drop" to trigger on editing a file
|
||||||
@@ -753,13 +762,14 @@ FilterReadPre Before reading a file from a filter command.
|
|||||||
Not triggered when 'shelltemp' is off.
|
Not triggered when 'shelltemp' is off.
|
||||||
*FilterWritePost*
|
*FilterWritePost*
|
||||||
FilterWritePost After writing a file for a filter command or
|
FilterWritePost After writing a file for a filter command or
|
||||||
making a diff.
|
making a diff with an external diff (see
|
||||||
|
DiffUpdated for internal diff).
|
||||||
Vim checks the pattern against the name of
|
Vim checks the pattern against the name of
|
||||||
the current buffer as with FilterWritePre.
|
the current buffer as with FilterWritePre.
|
||||||
Not triggered when 'shelltemp' is off.
|
Not triggered when 'shelltemp' is off.
|
||||||
*FilterWritePre*
|
*FilterWritePre*
|
||||||
FilterWritePre Before writing a file for a filter command or
|
FilterWritePre Before writing a file for a filter command or
|
||||||
making a diff.
|
making a diff with an external diff.
|
||||||
Vim checks the pattern against the name of
|
Vim checks the pattern against the name of
|
||||||
the current buffer, not the name of the
|
the current buffer, not the name of the
|
||||||
temporary file that is the output of the
|
temporary file that is the output of the
|
||||||
@@ -829,13 +839,14 @@ MenuPopup Just before showing the popup menu (under the
|
|||||||
right mouse button). Useful for adjusting the
|
right mouse button). Useful for adjusting the
|
||||||
menu for what is under the cursor or mouse
|
menu for what is under the cursor or mouse
|
||||||
pointer.
|
pointer.
|
||||||
The pattern is matched against a single
|
The pattern is matched against one or two
|
||||||
character representing the mode:
|
characters representing the mode:
|
||||||
n Normal
|
n Normal
|
||||||
v Visual
|
v Visual
|
||||||
o Operator-pending
|
o Operator-pending
|
||||||
i Insert
|
i Insert
|
||||||
c Command line
|
c Command line
|
||||||
|
tl Terminal
|
||||||
*OptionSet*
|
*OptionSet*
|
||||||
OptionSet After setting an option. The pattern is
|
OptionSet After setting an option. The pattern is
|
||||||
matched against the long option name.
|
matched against the long option name.
|
||||||
@@ -859,6 +870,9 @@ OptionSet After setting an option. The pattern is
|
|||||||
plugin. You can always use `:noa` to prevent
|
plugin. You can always use `:noa` to prevent
|
||||||
triggering this autocommand.
|
triggering this autocommand.
|
||||||
|
|
||||||
|
When using |:set| in the autocommand the event
|
||||||
|
is not triggered again.
|
||||||
|
|
||||||
*QuickFixCmdPre*
|
*QuickFixCmdPre*
|
||||||
QuickFixCmdPre Before a quickfix command is run (|:make|,
|
QuickFixCmdPre Before a quickfix command is run (|:make|,
|
||||||
|:lmake|, |:grep|, |:lgrep|, |:grepadd|,
|
|:lmake|, |:grep|, |:lgrep|, |:grepadd|,
|
||||||
@@ -914,6 +928,12 @@ ShellFilterPost After executing a shell command with
|
|||||||
*SourcePre*
|
*SourcePre*
|
||||||
SourcePre Before sourcing a Vim script. |:source|
|
SourcePre Before sourcing a Vim script. |:source|
|
||||||
<afile> is the name of the file being sourced.
|
<afile> is the name of the file being sourced.
|
||||||
|
*SourcePost*
|
||||||
|
SourcePost After sourcing a Vim script. |:source|
|
||||||
|
<afile> is the name of the file being sourced.
|
||||||
|
Not triggered when sourcing was interrupted.
|
||||||
|
Also triggered after a SourceCmd autocommand
|
||||||
|
was triggered.
|
||||||
*SourceCmd*
|
*SourceCmd*
|
||||||
SourceCmd When sourcing a Vim script. |:source|
|
SourceCmd When sourcing a Vim script. |:source|
|
||||||
<afile> is the name of the file being sourced.
|
<afile> is the name of the file being sourced.
|
||||||
@@ -1000,10 +1020,14 @@ TermResponse After the response to |t_RV| is received from
|
|||||||
anything else that takes time is involved.
|
anything else that takes time is involved.
|
||||||
*TextChanged*
|
*TextChanged*
|
||||||
TextChanged After a change was made to the text in the
|
TextChanged After a change was made to the text in the
|
||||||
current buffer in Normal mode. That is when
|
current buffer in Normal mode. That is after
|
||||||
|b:changedtick| has changed.
|
|b:changedtick| has changed (also when that
|
||||||
|
happened before the TextChanged autocommand
|
||||||
|
was defined).
|
||||||
Not triggered when there is typeahead or when
|
Not triggered when there is typeahead or when
|
||||||
an operator is pending.
|
an operator is pending.
|
||||||
|
Note: This can not be skipped with
|
||||||
|
`:noautocmd`.
|
||||||
Careful: This is triggered very often, don't
|
Careful: This is triggered very often, don't
|
||||||
do anything that the user does not expect or
|
do anything that the user does not expect or
|
||||||
that is slow.
|
that is slow.
|
||||||
@@ -1445,8 +1469,8 @@ If you want the buffer to be unmodified after changing it, reset the
|
|||||||
instead of ":q!".
|
instead of ":q!".
|
||||||
|
|
||||||
*autocmd-nested* *E218*
|
*autocmd-nested* *E218*
|
||||||
By default, autocommands do not nest. If you use ":e" or ":w" in an
|
By default, autocommands do not nest. For example, if you use ":e" or ":w" in
|
||||||
autocommand, Vim does not execute the BufRead and BufWrite autocommands for
|
an autocommand, Vim does not execute the BufRead and BufWrite autocommands for
|
||||||
those commands. If you do want this, use the "nested" flag for those commands
|
those commands. If you do want this, use the "nested" flag for those commands
|
||||||
in which you want nesting. For example: >
|
in which you want nesting. For example: >
|
||||||
:autocmd FileChangedShell *.c nested e!
|
:autocmd FileChangedShell *.c nested e!
|
||||||
@@ -1592,5 +1616,8 @@ following command. Example: >
|
|||||||
This will write the file without triggering the autocommands defined by the
|
This will write the file without triggering the autocommands defined by the
|
||||||
gzip plugin.
|
gzip plugin.
|
||||||
|
|
||||||
|
Note that some autocommands are not triggered right away, but only later.
|
||||||
|
This specifically applies to |CursorMoved| and |TextChanged|.
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
|
||||||
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*change.txt* For Vim version 8.1. Last change: 2018 May 12
|
*change.txt* For Vim version 8.1. Last change: 2019 Feb 05
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -177,8 +177,6 @@ gR Enter Virtual Replace mode: Each character you type
|
|||||||
<Tab> may replace several characters at once.
|
<Tab> may replace several characters at once.
|
||||||
Repeat the entered text [count]-1 times. See
|
Repeat the entered text [count]-1 times. See
|
||||||
|Virtual-Replace-mode| for more details.
|
|Virtual-Replace-mode| for more details.
|
||||||
{not available when compiled without the |+vreplace|
|
|
||||||
feature}
|
|
||||||
|
|
||||||
*c*
|
*c*
|
||||||
["x]c{motion} Delete {motion} text [into register x] and start
|
["x]c{motion} Delete {motion} text [into register x] and start
|
||||||
@@ -303,8 +301,6 @@ gr{char} Replace the virtual characters under the cursor with
|
|||||||
space. See |gR| and |Virtual-Replace-mode| for more
|
space. See |gR| and |Virtual-Replace-mode| for more
|
||||||
details. As with |r| a count may be given.
|
details. As with |r| a count may be given.
|
||||||
{char} can be entered like with |r|.
|
{char} can be entered like with |r|.
|
||||||
{not available when compiled without the |+vreplace|
|
|
||||||
feature}
|
|
||||||
|
|
||||||
*digraph-arg*
|
*digraph-arg*
|
||||||
The argument for Normal mode commands like |r| and |t| is a single character.
|
The argument for Normal mode commands like |r| and |t| is a single character.
|
||||||
@@ -480,6 +476,10 @@ SHIFTING LINES LEFT OR RIGHT *shift-left-right*
|
|||||||
*<*
|
*<*
|
||||||
<{motion} Shift {motion} lines one 'shiftwidth' leftwards.
|
<{motion} Shift {motion} lines one 'shiftwidth' leftwards.
|
||||||
|
|
||||||
|
If the 'vartabstop' feature is enabled, and the
|
||||||
|
'shiftwidth' option is set to zero, the amount of
|
||||||
|
indent is calculated at the first non-blank character
|
||||||
|
in the line.
|
||||||
*<<*
|
*<<*
|
||||||
<< Shift [count] lines one 'shiftwidth' leftwards.
|
<< Shift [count] lines one 'shiftwidth' leftwards.
|
||||||
|
|
||||||
@@ -491,6 +491,10 @@ SHIFTING LINES LEFT OR RIGHT *shift-left-right*
|
|||||||
*>*
|
*>*
|
||||||
>{motion} Shift {motion} lines one 'shiftwidth' rightwards.
|
>{motion} Shift {motion} lines one 'shiftwidth' rightwards.
|
||||||
|
|
||||||
|
If the 'vartabstop' feature is enabled, and the
|
||||||
|
'shiftwidth' option is set to zero, the amount of
|
||||||
|
indent is calculated at the first non-blank character
|
||||||
|
in the line.
|
||||||
*>>*
|
*>>*
|
||||||
>> Shift [count] lines one 'shiftwidth' rightwards.
|
>> Shift [count] lines one 'shiftwidth' rightwards.
|
||||||
|
|
||||||
@@ -636,11 +640,11 @@ For other systems the tmpnam() library function is used.
|
|||||||
For the {pattern} see |pattern|.
|
For the {pattern} see |pattern|.
|
||||||
{string} can be a literal string, or something
|
{string} can be a literal string, or something
|
||||||
special; see |sub-replace-special|.
|
special; see |sub-replace-special|.
|
||||||
*E939*
|
|
||||||
When [range] and [count] are omitted, replace in the
|
When [range] and [count] are omitted, replace in the
|
||||||
current line only. When [count] is given, replace in
|
current line only. When [count] is given, replace in
|
||||||
[count] lines, starting with the last line in [range].
|
[count] lines, starting with the last line in [range].
|
||||||
When [range] is omitted start in the current line.
|
When [range] is omitted start in the current line.
|
||||||
|
*E939*
|
||||||
[count] must be a positive number. Also see
|
[count] must be a positive number. Also see
|
||||||
|cmdline-ranges|.
|
|cmdline-ranges|.
|
||||||
|
|
||||||
@@ -712,6 +716,7 @@ The flags that you can use for the substitute commands:
|
|||||||
search pattern.
|
search pattern.
|
||||||
{not in Vi: highlighting of the match, other responses than 'y' or 'n'}
|
{not in Vi: highlighting of the match, other responses than 'y' or 'n'}
|
||||||
|
|
||||||
|
*:s_e*
|
||||||
[e] When the search pattern fails, do not issue an error message and, in
|
[e] When the search pattern fails, do not issue an error message and, in
|
||||||
particular, continue in maps as if no error occurred. This is most
|
particular, continue in maps as if no error occurred. This is most
|
||||||
useful to prevent the "No match" error from breaking a mapping. Vim
|
useful to prevent the "No match" error from breaking a mapping. Vim
|
||||||
@@ -723,6 +728,7 @@ The flags that you can use for the substitute commands:
|
|||||||
Interrupted
|
Interrupted
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
|
|
||||||
|
*:s_g*
|
||||||
[g] Replace all occurrences in the line. Without this argument,
|
[g] Replace all occurrences in the line. Without this argument,
|
||||||
replacement occurs only for the first occurrence in each line. If
|
replacement occurs only for the first occurrence in each line. If
|
||||||
the 'edcompatible' option is on, Vim remembers this flag and toggles
|
the 'edcompatible' option is on, Vim remembers this flag and toggles
|
||||||
@@ -730,26 +736,30 @@ The flags that you can use for the substitute commands:
|
|||||||
pattern. If the 'gdefault' option is on, this flag is on by default
|
pattern. If the 'gdefault' option is on, this flag is on by default
|
||||||
and the [g] argument switches it off.
|
and the [g] argument switches it off.
|
||||||
|
|
||||||
|
*:s_i*
|
||||||
[i] Ignore case for the pattern. The 'ignorecase' and 'smartcase' options
|
[i] Ignore case for the pattern. The 'ignorecase' and 'smartcase' options
|
||||||
are not used.
|
are not used.
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
|
|
||||||
|
*:s_I*
|
||||||
[I] Don't ignore case for the pattern. The 'ignorecase' and 'smartcase'
|
[I] Don't ignore case for the pattern. The 'ignorecase' and 'smartcase'
|
||||||
options are not used.
|
options are not used.
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
|
|
||||||
|
*:s_n*
|
||||||
[n] Report the number of matches, do not actually substitute. The [c]
|
[n] Report the number of matches, do not actually substitute. The [c]
|
||||||
flag is ignored. The matches are reported as if 'report' is zero.
|
flag is ignored. The matches are reported as if 'report' is zero.
|
||||||
Useful to |count-items|.
|
Useful to |count-items|.
|
||||||
If \= |sub-replace-expression| is used, the expression will be
|
If \= |sub-replace-expression| is used, the expression will be
|
||||||
evaluated in the |sandbox| at every match.
|
evaluated in the |sandbox| at every match.
|
||||||
|
|
||||||
[p] Print the line containing the last substitute.
|
[p] Print the line containing the last substitute. *:s_p*
|
||||||
|
|
||||||
[#] Like [p] and prepend the line number.
|
[#] Like [p] and prepend the line number. *:s_#*
|
||||||
|
|
||||||
[l] Like [p] but print the text like |:list|.
|
[l] Like [p] but print the text like |:list|. *:s_l*
|
||||||
|
|
||||||
|
*:s_r*
|
||||||
[r] Only useful in combination with `:&` or `:s` without arguments. `:&r`
|
[r] Only useful in combination with `:&` or `:s` without arguments. `:&r`
|
||||||
works the same way as `:~`: When the search pattern is empty, use the
|
works the same way as `:~`: When the search pattern is empty, use the
|
||||||
previously used search pattern instead of the search pattern from the
|
previously used search pattern instead of the search pattern from the
|
||||||
@@ -848,7 +858,7 @@ the |substitute()| function with the following exceptions:
|
|||||||
- magic is always set without regard to 'magic'.
|
- magic is always set without regard to 'magic'.
|
||||||
- A ~ inserts a tilde literally.
|
- A ~ inserts a tilde literally.
|
||||||
- <CR> and \r inserts a carriage-return (CTRL-M).
|
- <CR> and \r inserts a carriage-return (CTRL-M).
|
||||||
- \<CR> does not have a special meaning. it's just one of \x.
|
- \<CR> does not have a special meaning. It's just one of \x.
|
||||||
|
|
||||||
Examples: >
|
Examples: >
|
||||||
:s/a\|b/xxx\0xxx/g modifies "a b" to "xxxaxxx xxxbxxx"
|
:s/a\|b/xxx\0xxx/g modifies "a b" to "xxxaxxx xxxbxxx"
|
||||||
@@ -934,9 +944,9 @@ When the result is a |List| then the items are joined with separating line
|
|||||||
breaks. Thus each item becomes a line, except that they can contain line
|
breaks. Thus each item becomes a line, except that they can contain line
|
||||||
breaks themselves.
|
breaks themselves.
|
||||||
|
|
||||||
The whole matched text can be accessed with "submatch(0)". The text matched
|
The |submatch()| function can be used to obtain matched text. The whole
|
||||||
with the first pair of () with "submatch(1)". Likewise for further
|
matched text can be accessed with "submatch(0)". The text matched with the
|
||||||
sub-matches in ().
|
first pair of () with "submatch(1)". Likewise for further sub-matches in ().
|
||||||
|
|
||||||
Be careful: The separation character must not appear in the expression!
|
Be careful: The separation character must not appear in the expression!
|
||||||
Consider using a character like "@" or ":". There is no problem if the result
|
Consider using a character like "@" or ":". There is no problem if the result
|
||||||
@@ -1451,7 +1461,7 @@ to the name of an external program for Vim to use for text formatting. The
|
|||||||
program.
|
program.
|
||||||
|
|
||||||
*format-formatexpr*
|
*format-formatexpr*
|
||||||
The 'formatexpr' option can be set to a Vim Script function that performs
|
The 'formatexpr' option can be set to a Vim script function that performs
|
||||||
reformatting of the buffer. This should usually happen in an |ftplugin|,
|
reformatting of the buffer. This should usually happen in an |ftplugin|,
|
||||||
since formatting is highly dependent on the type of file. It makes
|
since formatting is highly dependent on the type of file. It makes
|
||||||
sense to use an |autoload| script, so the corresponding script is only loaded
|
sense to use an |autoload| script, so the corresponding script is only loaded
|
||||||
@@ -1485,7 +1495,7 @@ text. Put it in your autoload directory, e.g. ~/.vim/autoload/format.vim: >
|
|||||||
|
|
||||||
You can then enable the formatting by executing: >
|
You can then enable the formatting by executing: >
|
||||||
setlocal formatexpr=format#Format()
|
setlocal formatexpr=format#Format()
|
||||||
>
|
|
||||||
Note: this function explicitly returns non-zero when called from insert mode
|
Note: this function explicitly returns non-zero when called from insert mode
|
||||||
(which basically means, text is inserted beyond the 'textwidth' limit). This
|
(which basically means, text is inserted beyond the 'textwidth' limit). This
|
||||||
causes Vim to fall back to reformat the text by using the internal formatter.
|
causes Vim to fall back to reformat the text by using the internal formatter.
|
||||||
@@ -1710,6 +1720,17 @@ j Where it makes sense, remove a comment leader when joining lines. For
|
|||||||
// in the list ~
|
// in the list ~
|
||||||
Becomes:
|
Becomes:
|
||||||
int i; // the index in the list ~
|
int i; // the index in the list ~
|
||||||
|
p Don't break lines at single spaces that follow periods. This is
|
||||||
|
intended to complement 'joinspaces' and |cpo-J|, for prose with
|
||||||
|
sentences separated by two spaces. For example, with 'textwidth' set
|
||||||
|
to 28: >
|
||||||
|
Surely you're joking, Mr. Feynman!
|
||||||
|
< Becomes: >
|
||||||
|
Surely you're joking,
|
||||||
|
Mr. Feynman!
|
||||||
|
< Instead of: >
|
||||||
|
Surely you're joking, Mr.
|
||||||
|
Feynman!
|
||||||
|
|
||||||
|
|
||||||
With 't' and 'c' you can specify when Vim performs auto-wrapping:
|
With 't' and 'c' you can specify when Vim performs auto-wrapping:
|
||||||
@@ -1884,4 +1905,4 @@ The sorting can be interrupted, but if you interrupt it too late in the
|
|||||||
process you may end up with duplicated lines. This also depends on the system
|
process you may end up with duplicated lines. This also depends on the system
|
||||||
library function used.
|
library function used.
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -163,6 +163,9 @@ Use |ch_status()| to see if the channel could be opened.
|
|||||||
The "close_cb" is also considered for this.
|
The "close_cb" is also considered for this.
|
||||||
"never" All messages will be kept.
|
"never" All messages will be kept.
|
||||||
|
|
||||||
|
*channel-noblock*
|
||||||
|
"noblock" Same effect as |job-noblock|. Only matters for writing.
|
||||||
|
|
||||||
*waittime*
|
*waittime*
|
||||||
"waittime" The time to wait for the connection to be made in
|
"waittime" The time to wait for the connection to be made in
|
||||||
milliseconds. A negative number waits forever.
|
milliseconds. A negative number waits forever.
|
||||||
@@ -594,6 +597,17 @@ See |job_setoptions()| and |ch_setoptions()|.
|
|||||||
Note: when writing to a file or buffer and when
|
Note: when writing to a file or buffer and when
|
||||||
reading from a buffer NL mode is used by default.
|
reading from a buffer NL mode is used by default.
|
||||||
|
|
||||||
|
*job-noblock*
|
||||||
|
"noblock": 1 When writing use a non-blocking write call. This
|
||||||
|
avoids getting stuck if Vim should handle other
|
||||||
|
messages in between, e.g. when a job sends back data
|
||||||
|
to Vim. It implies that when `ch_sendraw()` returns
|
||||||
|
not all data may have been written yet.
|
||||||
|
This option was added in patch 8.1.0350, test with: >
|
||||||
|
if has("patch-8.1.350")
|
||||||
|
let options['noblock'] = 1
|
||||||
|
endif
|
||||||
|
<
|
||||||
*job-callback*
|
*job-callback*
|
||||||
"callback": handler Callback for something to read on any part of the
|
"callback": handler Callback for something to read on any part of the
|
||||||
channel.
|
channel.
|
||||||
@@ -816,4 +830,4 @@ the cursor to the last line. "A" will move to the end of the line, "I" to the
|
|||||||
start of the line.
|
start of the line.
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -534,8 +534,45 @@ after a command causes the rest of the line to be ignored. This can be used
|
|||||||
to add comments. Example: >
|
to add comments. Example: >
|
||||||
:set ai "set 'autoindent' option
|
:set ai "set 'autoindent' option
|
||||||
It is not possible to add a comment to a shell command ":!cmd" or to the
|
It is not possible to add a comment to a shell command ":!cmd" or to the
|
||||||
":map" command and a few others, because they see the '"' as part of their
|
":map" command and a few others (mainly commands that expect expressions)
|
||||||
argument. This is mentioned where the command is explained.
|
that see the '"' as part of their argument:
|
||||||
|
|
||||||
|
:argdo
|
||||||
|
:autocmd
|
||||||
|
:bufdo
|
||||||
|
:cexpr (and the like)
|
||||||
|
:cdo (and the like)
|
||||||
|
:command
|
||||||
|
:cscope (and the like)
|
||||||
|
:debug
|
||||||
|
:display
|
||||||
|
:echo (and the like)
|
||||||
|
:elseif
|
||||||
|
:execute
|
||||||
|
:folddoopen
|
||||||
|
:folddoclosed
|
||||||
|
:for
|
||||||
|
:grep (and the like)
|
||||||
|
:help (and the like)
|
||||||
|
:if
|
||||||
|
:let
|
||||||
|
:make
|
||||||
|
:map (and the like including :abbrev commands)
|
||||||
|
:menu (and the like)
|
||||||
|
:mkspell
|
||||||
|
:normal
|
||||||
|
:ownsyntax
|
||||||
|
:popup
|
||||||
|
:promptfind (and the like)
|
||||||
|
:registers
|
||||||
|
:return
|
||||||
|
:sort
|
||||||
|
:syntax
|
||||||
|
:tabdo
|
||||||
|
:tearoff
|
||||||
|
:vimgrep (and the like)
|
||||||
|
:while
|
||||||
|
:windo
|
||||||
|
|
||||||
*:bar* *:\bar*
|
*:bar* *:\bar*
|
||||||
'|' can be used to separate commands, so you can give multiple commands in one
|
'|' can be used to separate commands, so you can give multiple commands in one
|
||||||
@@ -832,11 +869,12 @@ it, no matter how many backslashes.
|
|||||||
\\# \#
|
\\# \#
|
||||||
Also see |`=|.
|
Also see |`=|.
|
||||||
|
|
||||||
*:<cword>* *:<cWORD>* *:<cfile>* *<cfile>*
|
*:<cword>* *<cword>* *:<cWORD>* *<cWORD>*
|
||||||
*:<sfile>* *<sfile>* *:<afile>* *<afile>*
|
*:<cexpr>* *<cexpr>* *:<cfile>* *<cfile>*
|
||||||
*:<abuf>* *<abuf>* *:<amatch>* *<amatch>*
|
*:<afile>* *<afile>* *:<abuf>* *<abuf>*
|
||||||
*:<cexpr>* *<cexpr>*
|
*:<amatch>* *<amatch>*
|
||||||
*<slnum>* *E495* *E496* *E497* *E499* *E500*
|
*:<sfile>* *<sfile>* *:<slnum>* *<slnum>*
|
||||||
|
*:<sflnum>* *<sflnum>* *E499* *E500*
|
||||||
Note: these are typed literally, they are not special keys!
|
Note: these are typed literally, they are not special keys!
|
||||||
<cword> is replaced with the word under the cursor (like |star|)
|
<cword> is replaced with the word under the cursor (like |star|)
|
||||||
<cWORD> is replaced with the WORD under the cursor (see |WORD|)
|
<cWORD> is replaced with the WORD under the cursor (see |WORD|)
|
||||||
@@ -849,15 +887,16 @@ Note: these are typed literally, they are not special keys!
|
|||||||
|gf| uses)
|
|gf| uses)
|
||||||
<afile> When executing autocommands, is replaced with the file name
|
<afile> When executing autocommands, is replaced with the file name
|
||||||
of the buffer being manipulated, or the file for a read or
|
of the buffer being manipulated, or the file for a read or
|
||||||
write.
|
write. *E495*
|
||||||
<abuf> When executing autocommands, is replaced with the currently
|
<abuf> When executing autocommands, is replaced with the currently
|
||||||
effective buffer number (for ":r file" and ":so file" it is
|
effective buffer number (for ":r file" and ":so file" it is
|
||||||
the current buffer, the file being read/sourced is not in a
|
the current buffer, the file being read/sourced is not in a
|
||||||
buffer).
|
buffer). *E496*
|
||||||
<amatch> When executing autocommands, is replaced with the match for
|
<amatch> When executing autocommands, is replaced with the match for
|
||||||
which this autocommand was executed. It differs from
|
which this autocommand was executed. *E497*
|
||||||
<afile> only when the file name isn't used to match with
|
It differs from <afile> only when the file name isn't used
|
||||||
(for FileType, Syntax and SpellFileMissing events).
|
to match with (for FileType, Syntax and SpellFileMissing
|
||||||
|
events).
|
||||||
<sfile> When executing a ":source" command, is replaced with the
|
<sfile> When executing a ":source" command, is replaced with the
|
||||||
file name of the sourced file. *E498*
|
file name of the sourced file. *E498*
|
||||||
When executing a function, is replaced with:
|
When executing a function, is replaced with:
|
||||||
@@ -870,6 +909,9 @@ Note: these are typed literally, they are not special keys!
|
|||||||
line number. *E842*
|
line number. *E842*
|
||||||
When executing a function it's the line number relative to
|
When executing a function it's the line number relative to
|
||||||
the start of the function.
|
the start of the function.
|
||||||
|
<sflnum> When executing a script, is replaced with the line number.
|
||||||
|
It differs from <slnum> in that <sflnum> is replaced with
|
||||||
|
the script line number in any situation. *E961*
|
||||||
|
|
||||||
*filename-modifiers*
|
*filename-modifiers*
|
||||||
*:_%:* *::8* *::p* *::.* *::~* *::h* *::t* *::r* *::e* *::s* *::gs* *::S*
|
*:_%:* *::8* *::p* *::.* *::~* *::h* *::t* *::r* *::e* *::s* *::gs* *::S*
|
||||||
@@ -1164,4 +1206,4 @@ The character used for the pattern indicates the type of command-line:
|
|||||||
@ string for |input()|
|
@ string for |input()|
|
||||||
- text for |:insert| or |:append|
|
- text for |:insert| or |:append|
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -172,4 +172,4 @@ Visual C++ 2005 Express Edition can be downloaded for free from:
|
|||||||
http://msdn.microsoft.com/vstudio/express/visualC/default.aspx
|
http://msdn.microsoft.com/vstudio/express/visualC/default.aspx
|
||||||
|
|
||||||
=========================================================================
|
=========================================================================
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -139,4 +139,4 @@ Programming Environment.
|
|||||||
|
|
||||||
For Sun NetBeans support see |netbeans|.
|
For Sun NetBeans support see |netbeans|.
|
||||||
|
|
||||||
vim:tw=78:sw=4:ts=8:ft=help:norl:
|
vim:tw=78:sw=4:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*develop.txt* For Vim version 8.1. Last change: 2018 May 02
|
*develop.txt* For Vim version 8.1. Last change: 2019 Feb 17
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -355,6 +355,24 @@ OK: if (cond)
|
|||||||
cmd;
|
cmd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
When a block has one line the braces can be left out. When an if/else has
|
||||||
|
braces on one block, it usually looks better when the other block also has
|
||||||
|
braces:
|
||||||
|
OK: if (cond)
|
||||||
|
cmd;
|
||||||
|
else
|
||||||
|
cmd;
|
||||||
|
|
||||||
|
OK: if (cond)
|
||||||
|
{
|
||||||
|
cmd;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
cmd;
|
||||||
|
cmd;
|
||||||
|
}
|
||||||
|
|
||||||
Use ANSI (new style) function declarations with the return type on a separate
|
Use ANSI (new style) function declarations with the return type on a separate
|
||||||
indented line.
|
indented line.
|
||||||
|
|
||||||
@@ -367,10 +385,10 @@ OK: /*
|
|||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
function_name(
|
function_name(
|
||||||
int arg1, /* short comment about arg1 */
|
int arg1, // short comment about arg1
|
||||||
int arg2) /* short comment about arg2 */
|
int arg2) // short comment about arg2
|
||||||
{
|
{
|
||||||
int local; /* comment about local */
|
int local; // comment about local
|
||||||
|
|
||||||
local = arg1 * arg2;
|
local = arg1 * arg2;
|
||||||
|
|
||||||
@@ -563,4 +581,4 @@ long 32 or 64 bit signed, can hold a pointer
|
|||||||
Note that some compilers cannot handle long lines or strings. The C89
|
Note that some compilers cannot handle long lines or strings. The C89
|
||||||
standard specifies a limit of 509 characters.
|
standard specifies a limit of 509 characters.
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*diff.txt* For Vim version 8.1. Last change: 2017 Oct 03
|
*diff.txt* For Vim version 8.1. Last change: 2019 Feb 27
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -39,7 +39,9 @@ The second and following arguments may also be a directory name. Vim will
|
|||||||
then append the file name of the first argument to the directory name to find
|
then append the file name of the first argument to the directory name to find
|
||||||
the file.
|
the file.
|
||||||
|
|
||||||
This only works when a standard "diff" command is available. See 'diffexpr'.
|
By default an internal diff library will be used. When 'diffopt' or
|
||||||
|
'diffexpr' has been set an external "diff" command will be used. This only
|
||||||
|
works when such a diff program is available.
|
||||||
|
|
||||||
Diffs are local to the current tab page |tab-page|. You can't see diffs with
|
Diffs are local to the current tab page |tab-page|. You can't see diffs with
|
||||||
a window in another tab page. This does make it possible to have several
|
a window in another tab page. This does make it possible to have several
|
||||||
@@ -177,8 +179,8 @@ loaded. Since Vim doesn't allow having two buffers for the same file, you
|
|||||||
need another buffer. This command is useful: >
|
need another buffer. This command is useful: >
|
||||||
command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_
|
command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_
|
||||||
\ | diffthis | wincmd p | diffthis
|
\ | diffthis | wincmd p | diffthis
|
||||||
(this is in |vimrc_example.vim|). Use ":DiffOrig" to see the differences
|
(this is in |defaults.vim|). Use ":DiffOrig" to see the differences between
|
||||||
between the current buffer and the file it was loaded from.
|
the current buffer and the file it was loaded from.
|
||||||
|
|
||||||
A buffer that is unloaded cannot be used for the diff. But it does work for
|
A buffer that is unloaded cannot be used for the diff. But it does work for
|
||||||
hidden buffers. You can use ":hide" to close a window without unloading the
|
hidden buffers. You can use ":hide" to close a window without unloading the
|
||||||
@@ -344,8 +346,9 @@ between file1 and file2: >
|
|||||||
|
|
||||||
The ">" is replaced with the value of 'shellredir'.
|
The ">" is replaced with the value of 'shellredir'.
|
||||||
|
|
||||||
The output of "diff" must be a normal "ed" style diff. Do NOT use a context
|
The output of "diff" must be a normal "ed" style diff or a unified diff. Do
|
||||||
diff. This example explains the format that Vim expects: >
|
NOT use a context diff. This example explains the format that Vim expects for
|
||||||
|
the "ed" style diff: >
|
||||||
|
|
||||||
1a2
|
1a2
|
||||||
> bbb
|
> bbb
|
||||||
@@ -384,12 +387,16 @@ Example (this does almost the same as 'diffexpr' being empty): >
|
|||||||
endif
|
endif
|
||||||
silent execute "!diff -a --binary " . opt . v:fname_in . " " . v:fname_new .
|
silent execute "!diff -a --binary " . opt . v:fname_in . " " . v:fname_new .
|
||||||
\ " > " . v:fname_out
|
\ " > " . v:fname_out
|
||||||
|
redraw!
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
The "-a" argument is used to force comparing the files as text, comparing as
|
The "-a" argument is used to force comparing the files as text, comparing as
|
||||||
binaries isn't useful. The "--binary" argument makes the files read in binary
|
binaries isn't useful. The "--binary" argument makes the files read in binary
|
||||||
mode, so that a CTRL-Z doesn't end the text on DOS.
|
mode, so that a CTRL-Z doesn't end the text on DOS.
|
||||||
|
|
||||||
|
The `redraw!` command may not be needed, depending on whether executing a
|
||||||
|
shell command shows something on the display or not.
|
||||||
|
|
||||||
*E810* *E97*
|
*E810* *E97*
|
||||||
Vim will do a test if the diff output looks alright. If it doesn't, you will
|
Vim will do a test if the diff output looks alright. If it doesn't, you will
|
||||||
get an error message. Possible causes:
|
get an error message. Possible causes:
|
||||||
@@ -441,4 +448,4 @@ evaluating 'patchexpr'. This hopefully avoids that files in the current
|
|||||||
directory are accidentally patched. Vim will also delete files starting with
|
directory are accidentally patched. Vim will also delete files starting with
|
||||||
v:fname_in and ending in ".rej" and ".orig".
|
v:fname_in and ending in ".rej" and ".orig".
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*digraph.txt* For Vim version 8.1. Last change: 2016 Nov 04
|
*digraph.txt* For Vim version 8.1. Last change: 2019 Feb 17
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -24,7 +24,9 @@ An alternative is using the 'keymap' option.
|
|||||||
1. Defining digraphs *digraphs-define*
|
1. Defining digraphs *digraphs-define*
|
||||||
|
|
||||||
*:dig* *:digraphs*
|
*:dig* *:digraphs*
|
||||||
:dig[raphs] show currently defined digraphs.
|
:dig[raphs][!] Show currently defined digraphs.
|
||||||
|
With [!] headers are used to make it a bit easier to
|
||||||
|
find a specific character.
|
||||||
*E104* *E39*
|
*E104* *E39*
|
||||||
:dig[raphs] {char1}{char2} {number} ...
|
:dig[raphs] {char1}{char2} {number} ...
|
||||||
Add digraph {char1}{char2} to the list. {number} is
|
Add digraph {char1}{char2} to the list. {number} is
|
||||||
@@ -57,18 +59,9 @@ conversion to be available, it might fail. For the NUL character you will see
|
|||||||
"10". That's because NUL characters are internally represented with a NL
|
"10". That's because NUL characters are internally represented with a NL
|
||||||
character. When you write the file it will become a NUL character.
|
character. When you write the file it will become a NUL character.
|
||||||
|
|
||||||
When Vim was compiled without the |+multi_byte| feature, you need to specify
|
Example: >
|
||||||
the character in the encoding given with 'encoding'. You might want to use
|
|
||||||
something like this: >
|
|
||||||
|
|
||||||
if has("multi_byte")
|
|
||||||
digraph oe 339
|
digraph oe 339
|
||||||
elseif &encoding == "iso-8859-15"
|
This defines the "oe" digraph for a character that is number 339 in Unicode.
|
||||||
digraph oe 189
|
|
||||||
endif
|
|
||||||
|
|
||||||
This defines the "oe" digraph for a character that is number 339 in Unicode
|
|
||||||
and 189 in latin9 (iso-8859-15).
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
2. Using digraphs *digraphs-use*
|
2. Using digraphs *digraphs-use*
|
||||||
@@ -111,11 +104,14 @@ this, you will have to type <BS> e again. To avoid this don't set the
|
|||||||
|
|
||||||
You may have problems using Vim with characters which have a value above 128.
|
You may have problems using Vim with characters which have a value above 128.
|
||||||
For example: You insert ue (u-umlaut) and the editor echoes \334 in Insert
|
For example: You insert ue (u-umlaut) and the editor echoes \334 in Insert
|
||||||
mode. After leaving the Insert mode everything is fine. Note that fmt
|
mode. After leaving the Insert mode everything is fine. On some Unix systems
|
||||||
removes all characters with a value above 128 from the text being formatted.
|
this means you have to define the environment-variable LC_CTYPE. If you are
|
||||||
On some Unix systems this means you have to define the environment-variable
|
using csh, then put the following line in your .cshrc: >
|
||||||
LC_CTYPE. If you are using csh, then put the following line in your .cshrc: >
|
setenv LC_CTYPE en_US.utf8
|
||||||
setenv LC_CTYPE iso_8859_1
|
(or similar for a different language or country). The value must be a valid
|
||||||
|
locale on your system, i.e. on Unix-like systems it must be present in the
|
||||||
|
output of >
|
||||||
|
locale -a
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
3. Default digraphs *digraphs-default*
|
3. Default digraphs *digraphs-default*
|
||||||
@@ -159,8 +155,7 @@ a standard meaning:
|
|||||||
Example: a: is ä and o: is ö
|
Example: a: is ä and o: is ö
|
||||||
|
|
||||||
These are the RFC1345 digraphs for the one-byte characters. See the output of
|
These are the RFC1345 digraphs for the one-byte characters. See the output of
|
||||||
":digraphs" for the others. The characters above 255 are only available when
|
":digraphs" for the others.
|
||||||
Vim was compiled with the |+multi_byte| feature.
|
|
||||||
|
|
||||||
EURO
|
EURO
|
||||||
|
|
||||||
@@ -1488,4 +1483,4 @@ char digraph hex dec official name ~
|
|||||||
ſt ft FB05 64261 LATIN SMALL LIGATURE LONG S T
|
ſt ft FB05 64261 LATIN SMALL LIGATURE LONG S T
|
||||||
st st FB06 64262 LATIN SMALL LIGATURE ST
|
st st FB06 64262 LATIN SMALL LIGATURE ST
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*editing.txt* For Vim version 8.1. Last change: 2018 Mar 29
|
*editing.txt* For Vim version 8.1. Last change: 2018 Dec 16
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -1415,7 +1415,7 @@ cannot be read without the right key.
|
|||||||
The text in the swap file and the undo file is also encrypted. *E843*
|
The text in the swap file and the undo file is also encrypted. *E843*
|
||||||
However, this is done block-by-block and may reduce the time needed to crack a
|
However, this is done block-by-block and may reduce the time needed to crack a
|
||||||
password. You can disable the swap file, but then a crash will cause you to
|
password. You can disable the swap file, but then a crash will cause you to
|
||||||
lose your work. The undo file can be disabled without much disadvantage. >
|
lose your work. The undo file can be disabled without too much disadvantage. >
|
||||||
:set noundofile
|
:set noundofile
|
||||||
:noswapfile edit secrets
|
:noswapfile edit secrets
|
||||||
|
|
||||||
@@ -1747,4 +1747,4 @@ There are three different types of searching:
|
|||||||
currently work with 'path' items that contain a URL or use the double star
|
currently work with 'path' items that contain a URL or use the double star
|
||||||
with depth limiter (/usr/**2) or upward search (;) notations.
|
with depth limiter (/usr/**2) or upward search (;) notations.
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
1400
runtime/doc/eval.txt
1400
runtime/doc/eval.txt
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
|||||||
*farsi.txt* For Vim version 8.1. Last change: 2015 Aug 29
|
*farsi.txt* For Vim version 8.1. Last change: 2019 Feb 16
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Mortaza Ghassab Shiran
|
VIM REFERENCE MANUAL by Mortaza Ghassab Shiran
|
||||||
@@ -9,261 +9,12 @@ Right to Left and Farsi Mapping for Vim *farsi* *Farsi*
|
|||||||
{Vi does not have any of these commands}
|
{Vi does not have any of these commands}
|
||||||
|
|
||||||
*E27*
|
*E27*
|
||||||
In order to use right-to-left and Farsi mapping support, it is necessary to
|
Farsi support has been removed in patch 8.1.0932. At that time it was
|
||||||
compile Vim with the |+farsi| feature.
|
outdated and unused.
|
||||||
|
|
||||||
These functions have been made by Mortaza G. Shiran <shiran@jps.net>
|
If you would like to bring Farsi support back, please have a look at the old
|
||||||
|
Farsi code, as it was present at the 8.1 release. It should be merged with
|
||||||
|
Arabic support using the Unicode character set.
|
||||||
|
|
||||||
|
|
||||||
Introduction
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
------------
|
|
||||||
In right-to-left oriented files the characters appear on the screen from right
|
|
||||||
to left. This kind of file is most useful when writing Farsi documents,
|
|
||||||
composing faxes or writing Farsi memos.
|
|
||||||
|
|
||||||
The commands, prompts and help files are not in Farsi, therefore the user
|
|
||||||
interface remains the standard Vi interface.
|
|
||||||
|
|
||||||
|
|
||||||
Highlights
|
|
||||||
----------
|
|
||||||
o Editing left-to-right files as in the original Vim, no change.
|
|
||||||
|
|
||||||
o Viewing and editing files in right-to-left windows. File orientation is
|
|
||||||
per window, so it is possible to view the same file in right-to-left and
|
|
||||||
left-to-right modes, simultaneously.
|
|
||||||
|
|
||||||
o Compatibility to the original Vim. Almost all features work in
|
|
||||||
right-to-left mode (see bugs below).
|
|
||||||
|
|
||||||
o Changing keyboard mapping and reverse insert modes using a single
|
|
||||||
command.
|
|
||||||
|
|
||||||
o Backing from reverse insert mode to the correct place in the file
|
|
||||||
(if possible).
|
|
||||||
|
|
||||||
o While in Farsi mode, numbers are entered from left to right. Upon entering
|
|
||||||
a none number character, that character will be inserted just into the
|
|
||||||
left of the last number.
|
|
||||||
|
|
||||||
o No special terminal with right-to-left capabilities is required. The
|
|
||||||
right-to-left changes are completely hardware independent. Only
|
|
||||||
Farsi font is necessary.
|
|
||||||
|
|
||||||
o Farsi keymapping on the command line in reverse insert mode.
|
|
||||||
|
|
||||||
o Toggling between left-to-right and right-to-left via F8 function key.
|
|
||||||
|
|
||||||
o Toggling between Farsi ISIR-3342 standard encoding and Vim Farsi via F9
|
|
||||||
function key. Since this makes sense only for the text written in
|
|
||||||
right-to-left mode, this function is also supported only in right-to-left
|
|
||||||
mode.
|
|
||||||
|
|
||||||
Farsi Fonts *farsi-fonts*
|
|
||||||
-----------
|
|
||||||
|
|
||||||
The following files are found in the subdirectories of the '$VIM/farsi/fonts'
|
|
||||||
directory:
|
|
||||||
|
|
||||||
+ far-a01.pcf X Windows fonts for Unix including Linux systems
|
|
||||||
+ far-a01.bf X Windows fonts for SunOS
|
|
||||||
+ far-a01.f16 a screen fonts for Unix including Linux systems
|
|
||||||
+ far-a01.fon a monospaced fonts for Windows NT/95/98
|
|
||||||
+ far-a01.com a screen fonts for DOS
|
|
||||||
|
|
||||||
|
|
||||||
Font Installation
|
|
||||||
-----------------
|
|
||||||
|
|
||||||
o Installation of fonts for MS Window systems (NT/95/98)
|
|
||||||
|
|
||||||
From 'Control Panel' folder, start the 'Fonts' program. Then from 'file'
|
|
||||||
menu item select 'Install New Fonts ...'. Browse and select the
|
|
||||||
'far-a01.fon', then follow the installation guide.
|
|
||||||
NOTE: several people have reported that this does not work. The solution
|
|
||||||
is unknown.
|
|
||||||
|
|
||||||
o Installation of fonts for X Window systems (Unix/Linux)
|
|
||||||
|
|
||||||
Depending on your system, copy far-a01.pcf.Z or far-a01.pcf.gz into a
|
|
||||||
directory of your choice. Change to the directory containing the Farsi
|
|
||||||
fonts and execute the following commands:
|
|
||||||
|
|
||||||
> mkfontdir
|
|
||||||
> xset +fp path_name_of_farsi_fonts_directory
|
|
||||||
|
|
||||||
o Installation of fonts for X Window systems (SunOS)
|
|
||||||
|
|
||||||
Copy far-a01.bf font into a directory of your choice.
|
|
||||||
Change to the directory containing the far-a01.fb fonts and
|
|
||||||
execute the following commands:
|
|
||||||
|
|
||||||
> fldfamily
|
|
||||||
> xset +fp path_name_of_fonts_directory
|
|
||||||
|
|
||||||
o Installation of ASCII screen fonts (Unix/Linux)
|
|
||||||
|
|
||||||
For Linux system, copy the far-a01.f16 fonts into /usr/lib/kbd/consolefonts
|
|
||||||
directory and execute the setfont program as "setfont far-a01.f16". For
|
|
||||||
other systems (e.g. SCO Unix), please refer to the fonts installation
|
|
||||||
section of your system administration manuals.
|
|
||||||
|
|
||||||
o Installation of ASCII screen fonts (DOS)
|
|
||||||
|
|
||||||
After system power on, prior to the first use of Vim, upload the Farsi
|
|
||||||
fonts by executing the far-a01.com font uploading program.
|
|
||||||
|
|
||||||
|
|
||||||
Usage
|
|
||||||
-----
|
|
||||||
Prior to starting Vim, the environment in which Vim can run in Farsi mode,
|
|
||||||
must be set. In addition to installation of Farsi fonts, following points
|
|
||||||
refer to some of the system environments, which you may need to set:
|
|
||||||
Key code mapping, loading graphic card in ASCII screen mode, setting the IO
|
|
||||||
driver in 8 bit clean mode ... .
|
|
||||||
|
|
||||||
o Setting the Farsi fonts
|
|
||||||
|
|
||||||
+ For Vim GUI set the 'guifont' to far-a01. This is done by entering
|
|
||||||
':set guifont=far-a01' in the Vim window.
|
|
||||||
|
|
||||||
You can have 'guifont' set to far-a01 by Vim during the Vim startup
|
|
||||||
by appending the ':set guifont=far-a01' into your .vimrc file
|
|
||||||
(in case of NT/95/98 platforms _vimrc).
|
|
||||||
|
|
||||||
Under the X Window environment, you can also start Vim with the
|
|
||||||
'-fn far-a01' option.
|
|
||||||
|
|
||||||
+ For Vim within a xterm, start a xterm with the Farsi fonts (e.g.
|
|
||||||
kterm -fn far-a01). Then start Vim inside the kterm.
|
|
||||||
|
|
||||||
+ For Vim under DOS, prior to the first usage of Vim, upload the Farsi
|
|
||||||
fonts by executing the far-a01.com fonts uploading program.
|
|
||||||
|
|
||||||
o Farsi Keymapping Activation
|
|
||||||
|
|
||||||
To activate the Farsi keymapping, set either 'altkeymap' or 'fkmap'.
|
|
||||||
This is done by entering ':set akm' or ':set fk' in the Vim window.
|
|
||||||
You can have 'altkeymap' or 'fkmap' set as default by appending ':set akm'
|
|
||||||
or ':set fk' in your .vimrc file or _vimrc in case of NT/95/98 platforms.
|
|
||||||
|
|
||||||
To turn off the Farsi keymapping as a default second language keymapping,
|
|
||||||
reset the 'altkeymap' by entering ':set noakm'.
|
|
||||||
|
|
||||||
o right-to-left Farsi Mode
|
|
||||||
|
|
||||||
By default Vim starts in Left-to-right mode. Following are ways to change
|
|
||||||
the window orientation:
|
|
||||||
|
|
||||||
+ Start Vim with the -F option (e.g. vim -F ...).
|
|
||||||
|
|
||||||
+ Use the F8 function key to toggle between left-to-right and right-to-left.
|
|
||||||
|
|
||||||
+ While in Left-to-right mode, enter 'set rl' in the command line ('rl' is
|
|
||||||
the abbreviation for rightleft).
|
|
||||||
|
|
||||||
+ Put the 'set rl' line in your '.vimrc' file to start Vim in
|
|
||||||
right-to-left mode permanently.
|
|
||||||
|
|
||||||
Encoding
|
|
||||||
--------
|
|
||||||
|
|
||||||
The letter encoding used is the Vim extended ISIR-3342 standard with a built
|
|
||||||
in function to convert between Vim extended ISIR-3342 and ISIR-3342 standard.
|
|
||||||
|
|
||||||
For document portability reasons, the letter encoding is kept the same across
|
|
||||||
different platforms (i.e. UNIX's, NT/95/98, MS DOS, ...).
|
|
||||||
|
|
||||||
|
|
||||||
o Keyboard
|
|
||||||
|
|
||||||
+ CTRL-_ in insert/replace modes toggles between Farsi(akm)/Latin
|
|
||||||
mode as follows:
|
|
||||||
|
|
||||||
+ CTRL-_ moves the cursor to the end of the typed text in edit mode.
|
|
||||||
|
|
||||||
+ CTRL-_ in command mode only toggles keyboard mapping between Farsi(akm)/
|
|
||||||
Latin. The Farsi text is then entered in reverse insert mode.
|
|
||||||
|
|
||||||
+ F8 - Toggles between left-to-right and right-to-left.
|
|
||||||
|
|
||||||
+ F9 - Toggles the encoding between ISIR-3342 standard and Vim extended
|
|
||||||
ISIR-3342 (supported only in right-to-left mode).
|
|
||||||
|
|
||||||
+ Keyboard mapping is based on the Iranian ISIRI-2901 standard.
|
|
||||||
Following table shows the keyboard mapping while Farsi(akm) mode set:
|
|
||||||
|
|
||||||
-------------------------------------
|
|
||||||
` 1 2 3 4 5 6 7 8 9 0 - =
|
|
||||||
<09> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
|
||||||
-------------------------------------
|
|
||||||
~ ! @ # $ % ^ & * ( ) _ +
|
|
||||||
~ <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
|
||||||
-------------------------------------
|
|
||||||
q w e r t z u i o p [ ]
|
|
||||||
<09> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
|
||||||
-------------------------------------
|
|
||||||
Q W E R T Z U I O P { }
|
|
||||||
<09> <20> <20> <20> <20> <20> <20> <20> [ ] { }
|
|
||||||
-------------------------------------
|
|
||||||
a s d f g h j k l ; ' \
|
|
||||||
<09> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
|
||||||
-------------------------------------
|
|
||||||
A S D F G H J K L : " |
|
|
||||||
<09> <20><> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
|
||||||
-------------------------------------
|
|
||||||
< y x c v b n m , . /
|
|
||||||
<09> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
|
||||||
-------------------------------------
|
|
||||||
> Y X C V B N M < > ?
|
|
||||||
<09> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
|
||||||
-------------------------------------
|
|
||||||
|
|
||||||
Note:
|
|
||||||
<09> stands for Farsi PSP (break without space)
|
|
||||||
|
|
||||||
<09> stands for Farsi PCN (for HAMZE attribute)
|
|
||||||
|
|
||||||
Restrictions
|
|
||||||
------------
|
|
||||||
|
|
||||||
o In insert/replace mode and fkmap (Farsi mode) set, CTRL-B is not
|
|
||||||
supported.
|
|
||||||
|
|
||||||
o If you change the character mapping between Latin/Farsi, the redo buffer
|
|
||||||
will be reset (emptied). That is, redo is valid and will function (using
|
|
||||||
'.') only within the mode you are in.
|
|
||||||
|
|
||||||
o While numbers are entered in Farsi mode, the redo buffer will be reset
|
|
||||||
(emptied). That is, you cannot redo the last changes (using '.') after
|
|
||||||
entering numbers.
|
|
||||||
|
|
||||||
o While in left-to-right mode and Farsi mode set, CTRL-R is not supported.
|
|
||||||
|
|
||||||
o While in right-to-left mode, the search on 'Latin' pattern does not work,
|
|
||||||
except if you enter the Latin search pattern in reverse.
|
|
||||||
|
|
||||||
o In command mode there is no support for entering numbers from left
|
|
||||||
to right and also for the sake of flexibility the keymapping logic is
|
|
||||||
restricted.
|
|
||||||
|
|
||||||
o Under the X Window environment, if you want to run Vim within a xterm
|
|
||||||
terminal emulator and Farsi mode set, you need to have an ANSI compatible
|
|
||||||
xterm terminal emulator. This is because the letter codes above 128 decimal
|
|
||||||
have certain meanings in the standard xterm terminal emulator.
|
|
||||||
|
|
||||||
Note: Under X Window environment, Vim GUI works fine in Farsi mode.
|
|
||||||
This eliminates the need of any xterm terminal emulator.
|
|
||||||
|
|
||||||
|
|
||||||
Bugs
|
|
||||||
----
|
|
||||||
While in insert/replace and Farsi mode set, if you repeatedly change the
|
|
||||||
cursor position (via cursor movement) and enter new text and then try to undo
|
|
||||||
the last change, the undo will lag one change behind. But as you continue to
|
|
||||||
undo, you will reach the original line of text. You can also use U to undo all
|
|
||||||
changes made in the current line.
|
|
||||||
|
|
||||||
For more information about the bugs refer to rileft.txt.
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
|
||||||
|
|||||||
@@ -638,11 +638,40 @@ By default the following options are set, in accordance with PEP8: >
|
|||||||
|
|
||||||
setlocal expandtab shiftwidth=4 softtabstop=4 tabstop=8
|
setlocal expandtab shiftwidth=4 softtabstop=4 tabstop=8
|
||||||
|
|
||||||
To disable this behaviour, set the following variable in your vimrc: >
|
To disable this behavior, set the following variable in your vimrc: >
|
||||||
|
|
||||||
let g:python_recommended_style = 0
|
let g:python_recommended_style = 0
|
||||||
|
|
||||||
|
|
||||||
|
R MARKDOWN *ft-rmd-plugin*
|
||||||
|
|
||||||
|
By default ftplugin/html.vim is not sourced. If you want it sourced, add to
|
||||||
|
your |vimrc|: >
|
||||||
|
let rmd_include_html = 1
|
||||||
|
|
||||||
|
The 'formatexpr' option is set dynamically with different values for R code
|
||||||
|
and for Markdown code. If you prefer that 'formatexpr' is not set, add to your
|
||||||
|
|vimrc|: >
|
||||||
|
let rmd_dynamic_comments = 0
|
||||||
|
|
||||||
|
|
||||||
|
R RESTRUCTURED TEXT *ft-rrst-plugin*
|
||||||
|
|
||||||
|
The 'formatexpr' option is set dynamically with different values for R code
|
||||||
|
and for ReStructured text. If you prefer that 'formatexpr' is not set, add to
|
||||||
|
your |vimrc|: >
|
||||||
|
let rrst_dynamic_comments = 0
|
||||||
|
|
||||||
|
|
||||||
|
RESTRUCTUREDTEXT *ft-rst-plugin*
|
||||||
|
|
||||||
|
The following formatting setting are optionally available: >
|
||||||
|
setlocal expandtab shiftwidth=3 softtabstop=3 tabstop=8
|
||||||
|
|
||||||
|
To enable this behavior, set the following variable in your vimrc: >
|
||||||
|
let g:rst_style = 1
|
||||||
|
|
||||||
|
|
||||||
RPM SPEC *ft-spec-plugin*
|
RPM SPEC *ft-spec-plugin*
|
||||||
|
|
||||||
Since the text for this plugin is rather long it has been put in a separate
|
Since the text for this plugin is rather long it has been put in a separate
|
||||||
@@ -695,4 +724,4 @@ The mappings can be disabled with: >
|
|||||||
<
|
<
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -601,4 +601,4 @@ used. Otherwise the values from the window where the buffer was edited last
|
|||||||
are used.
|
are used.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -236,4 +236,4 @@ It also has a few other mappings:
|
|||||||
Note: This binding is only available in MacVim.
|
Note: This binding is only available in MacVim.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
vim:tw=78:sw=4:noet:ts=8:ft=help:norl:
|
vim:tw=78:sw=4:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -777,4 +777,4 @@ Setting the filetype back to Perl sets all the usual "perl" related items back
|
|||||||
as they were.
|
as they were.
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*gui.txt* For Vim version 8.1. Last change: 2018 Mar 06
|
*gui.txt* For Vim version 8.1. Last change: 2019 Jan 06
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -556,6 +556,7 @@ floating menus that do not appear on the main menu bar.
|
|||||||
*:sme* *:smenu* *:snoreme* *:snoremenu*
|
*:sme* *:smenu* *:snoreme* *:snoremenu*
|
||||||
*:ime* *:imenu* *:inoreme* *:inoremenu*
|
*:ime* *:imenu* *:inoreme* *:inoremenu*
|
||||||
*:cme* *:cmenu* *:cnoreme* *:cnoremenu*
|
*:cme* *:cmenu* *:cnoreme* *:cnoremenu*
|
||||||
|
*:tlm* *:tlmenu* *:tln* *:tlnoremenu*
|
||||||
*E330* *E327* *E331* *E336* *E333*
|
*E330* *E327* *E331* *E336* *E333*
|
||||||
*E328* *E329* *E337* *E792*
|
*E328* *E329* *E337* *E792*
|
||||||
To create a new menu item, use the ":menu" commands. They are mostly like
|
To create a new menu item, use the ":menu" commands. They are mostly like
|
||||||
@@ -571,6 +572,10 @@ the mouse button down on this will pop up a menu containing the item
|
|||||||
"Big Changes", which is a sub-menu containing the item "Delete All Spaces",
|
"Big Changes", which is a sub-menu containing the item "Delete All Spaces",
|
||||||
which when selected, performs the operation.
|
which when selected, performs the operation.
|
||||||
|
|
||||||
|
To create a menu for terminal mode, use |:tlmenu| instead of |:tmenu| unlike
|
||||||
|
key mapping (|:tmap|). This is because |:tmenu| is already used for defining
|
||||||
|
tooltips for menus. See |terminal-typing|.
|
||||||
|
|
||||||
Special characters in a menu name:
|
Special characters in a menu name:
|
||||||
|
|
||||||
& The next character is the shortcut key. Make sure each
|
& The next character is the shortcut key. Make sure each
|
||||||
@@ -589,9 +594,9 @@ With the shortcut "F" (while keeping the <Alt> key pressed), and then "O",
|
|||||||
this menu can be used. The second part is shown as "Open :e". The ":e"
|
this menu can be used. The second part is shown as "Open :e". The ":e"
|
||||||
is right aligned, and the "O" is underlined, to indicate it is the shortcut.
|
is right aligned, and the "O" is underlined, to indicate it is the shortcut.
|
||||||
|
|
||||||
The ":amenu" command can be used to define menu entries for all modes at once.
|
The ":amenu" command can be used to define menu entries for all modes at once,
|
||||||
To make the command work correctly, a character is automatically inserted for
|
except for Terminal mode. To make the command work correctly, a character is
|
||||||
some modes:
|
automatically inserted for some modes:
|
||||||
mode inserted appended ~
|
mode inserted appended ~
|
||||||
Normal nothing nothing
|
Normal nothing nothing
|
||||||
Visual <C-C> <C-\><C-G>
|
Visual <C-C> <C-\><C-G>
|
||||||
@@ -865,6 +870,16 @@ be used to complete the name of the menu item.
|
|||||||
insert-mode menu Eg: >
|
insert-mode menu Eg: >
|
||||||
:emenu File.Exit
|
:emenu File.Exit
|
||||||
|
|
||||||
|
:[range]em[enu] {mode} {menu} Like above, but execute the menu for {mode}:
|
||||||
|
'n': |:nmenu| Normal mode
|
||||||
|
'v': |:vmenu| Visual mode
|
||||||
|
's': |:smenu| Select mode
|
||||||
|
'o': |:omenu| Operator-pending mode
|
||||||
|
't': |:tlmenu| Terminal mode
|
||||||
|
'i': |:imenu| Insert mode
|
||||||
|
'c': |:cmenu| Cmdline mode
|
||||||
|
|
||||||
|
|
||||||
If the console-mode vim has been compiled with WANT_MENU defined, you can
|
If the console-mode vim has been compiled with WANT_MENU defined, you can
|
||||||
use :emenu to access useful menu items you may have got used to from GUI
|
use :emenu to access useful menu items you may have got used to from GUI
|
||||||
mode. See 'wildmenu' for an option that works well with this. See
|
mode. See 'wildmenu' for an option that works well with this. See
|
||||||
@@ -885,6 +900,7 @@ using the last visual selection.
|
|||||||
*:sunme* *:sunmenu*
|
*:sunme* *:sunmenu*
|
||||||
*:iunme* *:iunmenu*
|
*:iunme* *:iunmenu*
|
||||||
*:cunme* *:cunmenu*
|
*:cunme* *:cunmenu*
|
||||||
|
*:tlu* *:tlunmenu*
|
||||||
To delete a menu item or a whole submenu, use the unmenu commands, which are
|
To delete a menu item or a whole submenu, use the unmenu commands, which are
|
||||||
analogous to the unmap commands. Eg: >
|
analogous to the unmap commands. Eg: >
|
||||||
:unmenu! Edit.Paste
|
:unmenu! Edit.Paste
|
||||||
@@ -898,7 +914,9 @@ may be used to complete the name of the menu item for the appropriate mode.
|
|||||||
To remove all menus use: *:unmenu-all* >
|
To remove all menus use: *:unmenu-all* >
|
||||||
:unmenu * " remove all menus in Normal and visual mode
|
:unmenu * " remove all menus in Normal and visual mode
|
||||||
:unmenu! * " remove all menus in Insert and Command-line mode
|
:unmenu! * " remove all menus in Insert and Command-line mode
|
||||||
:aunmenu * " remove all menus in all modes
|
:aunmenu * " remove all menus in all modes, except for Terminal
|
||||||
|
" mode
|
||||||
|
:tlunmenu * " remove all menus in Terminal mode
|
||||||
|
|
||||||
If you want to get rid of the menu bar: >
|
If you want to get rid of the menu bar: >
|
||||||
:set guioptions-=m
|
:set guioptions-=m
|
||||||
@@ -951,6 +969,8 @@ See section |42.4| in the user manual.
|
|||||||
:tu[nmenu] {menupath} Remove a tip for a menu or tool.
|
:tu[nmenu] {menupath} Remove a tip for a menu or tool.
|
||||||
{only in X11 and Win32 GUI}
|
{only in X11 and Win32 GUI}
|
||||||
|
|
||||||
|
Note: To create menus for terminal mode, use |:tlmenu| instead.
|
||||||
|
|
||||||
When a tip is defined for a menu item, it appears in the command-line area
|
When a tip is defined for a menu item, it appears in the command-line area
|
||||||
when the mouse is over that item, much like a standard Windows menu hint in
|
when the mouse is over that item, much like a standard Windows menu hint in
|
||||||
the status bar. (Except when Vim is in Command-line mode, when of course
|
the status bar. (Except when Vim is in Command-line mode, when of course
|
||||||
@@ -1075,4 +1095,4 @@ careful!
|
|||||||
For the Win32 GUI the external commands are executed in a separate window.
|
For the Win32 GUI the external commands are executed in a separate window.
|
||||||
See |gui-shell-win32|.
|
See |gui-shell-win32|.
|
||||||
|
|
||||||
vim:tw=78:sw=4:ts=8:ft=help:norl:
|
vim:tw=78:sw=4:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -451,4 +451,4 @@ To try out if XPM support works do this: >
|
|||||||
:exe 'sign place 1 line=1 name=vimxpm file=' . expand('%:p')
|
:exe 'sign place 1 line=1 name=vimxpm file=' . expand('%:p')
|
||||||
<
|
<
|
||||||
|
|
||||||
vim:tw=78:sw=4:ts=8:ft=help:norl:
|
vim:tw=78:sw=4:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -376,8 +376,8 @@ you might have to use the file ~/.gtkrc-2.0 instead, depending on your
|
|||||||
distribution.
|
distribution.
|
||||||
|
|
||||||
For GTK+ 3, an effect similar to the above can be obtained by adding the
|
For GTK+ 3, an effect similar to the above can be obtained by adding the
|
||||||
following snippet of CSS code to $XDG_HOME_DIR/gtk-3.0/gtk.css (usually,
|
following snippet of CSS code to $XDG_HOME_DIR/gtk-3.0/gtk.css (see the next
|
||||||
$HOME/.config/gtk-3.0/gtk.css):
|
section):
|
||||||
|
|
||||||
For GTK+ 3 < 3.20: >
|
For GTK+ 3 < 3.20: >
|
||||||
|
|
||||||
@@ -408,6 +408,10 @@ stable support for GTK+ CSS:
|
|||||||
GTK+ uses CSS for styling and layout of widgets. In this subsection, we'll
|
GTK+ uses CSS for styling and layout of widgets. In this subsection, we'll
|
||||||
have a quick look at GTK+ CSS through simple, illustrative examples.
|
have a quick look at GTK+ CSS through simple, illustrative examples.
|
||||||
|
|
||||||
|
You can usually edit the config with: >
|
||||||
|
vim $HOME/.config/gtk-3.0/gtk.css
|
||||||
|
|
||||||
|
|
||||||
Example 1. Empty Space Adjustment ~
|
Example 1. Empty Space Adjustment ~
|
||||||
|
|
||||||
By default, the toolbar and the tabline of the GTK+ 3 GUI are somewhat larger
|
By default, the toolbar and the tabline of the GTK+ 3 GUI are somewhat larger
|
||||||
@@ -492,6 +496,16 @@ unexpectedly less attractive or even deteriorates their usability. Keep this
|
|||||||
in mind always when you try improving a theme.
|
in mind always when you try improving a theme.
|
||||||
|
|
||||||
|
|
||||||
|
Example 3. border color ~
|
||||||
|
|
||||||
|
To eliminate borders when maximized: >
|
||||||
|
|
||||||
|
@define-color bg_color #1B2B34;
|
||||||
|
#vim-main-window {
|
||||||
|
background-color: @bg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
Using Vim as a GTK+ plugin ~
|
Using Vim as a GTK+ plugin ~
|
||||||
*gui-gtk-socketid*
|
*gui-gtk-socketid*
|
||||||
When the GTK+ version of Vim starts up normally, it creates its own top level
|
When the GTK+ version of Vim starts up normally, it creates its own top level
|
||||||
@@ -721,4 +735,4 @@ and use CLIPBOARD ("+) for cut/copy/paste operations. You thus have access to
|
|||||||
both by choosing to use either of the "* or "+ registers.
|
both by choosing to use either of the "* or "+ registers.
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:sw=4:ts=8:ft=help:norl:
|
vim:tw=78:sw=4:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -109,4 +109,4 @@ Send comments, patches and suggestions to:
|
|||||||
SungHyun Nam <goweol@gmail.com>
|
SungHyun Nam <goweol@gmail.com>
|
||||||
Chi-Deok Hwang <...>
|
Chi-Deok Hwang <...>
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -139,4 +139,4 @@ The result is that all Hebrew characters are displayed as ~x. To solve this
|
|||||||
problem, set isprint=@,128-255.
|
problem, set isprint=@,128-255.
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*help.txt* For Vim version 8.1. Last change: 2017 Oct 28
|
*help.txt* For Vim version 8.1. Last change: 2019 Jan 17
|
||||||
|
|
||||||
VIM - main help file
|
VIM - main help file
|
||||||
k
|
k
|
||||||
@@ -10,7 +10,7 @@ Close this window: Use ":q<Enter>".
|
|||||||
Jump to a subject: Position the cursor on a tag (e.g. |bars|) and hit CTRL-].
|
Jump to a subject: Position the cursor on a tag (e.g. |bars|) and hit CTRL-].
|
||||||
With the mouse: ":set mouse=a" to enable the mouse (in xterm or GUI).
|
With the mouse: ":set mouse=a" to enable the mouse (in xterm or GUI).
|
||||||
Double-click the left mouse button on a tag, e.g. |bars|.
|
Double-click the left mouse button on a tag, e.g. |bars|.
|
||||||
Jump back: Type CTRL-T or CTRL-O. Repeat to go further back.
|
Jump back: Type CTRL-O. Repeat to go further back.
|
||||||
|
|
||||||
Get specific help: It is possible to go directly to whatever you want help
|
Get specific help: It is possible to go directly to whatever you want help
|
||||||
on, by giving an argument to the |:help| command.
|
on, by giving an argument to the |:help| command.
|
||||||
@@ -31,13 +31,17 @@ Get specific help: It is possible to go directly to whatever you want help
|
|||||||
help entries for "word".
|
help entries for "word".
|
||||||
Or use ":helpgrep word". |:helpgrep|
|
Or use ":helpgrep word". |:helpgrep|
|
||||||
|
|
||||||
|
Getting started: Do the Vim tutor, a 20 minute interactive training for the
|
||||||
|
basic commands, see |vimtutor|.
|
||||||
|
Read the user manual from start to end: |usr_01.txt|
|
||||||
|
|
||||||
Vim stands for Vi IMproved. Most of Vim was made by Bram Moolenaar, but only
|
Vim stands for Vi IMproved. Most of Vim was made by Bram Moolenaar, but only
|
||||||
through the help of many others. See |credits|.
|
through the help of many others. See |credits|.
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
*doc-file-list* *Q_ct*
|
*doc-file-list* *Q_ct*
|
||||||
BASIC:
|
BASIC:
|
||||||
|quickref| Overview of the most common commands you will use
|
|quickref| Overview of the most common commands you will use
|
||||||
|tutor| 30 minutes training course for beginners
|
|tutor| 20 minutes training course for beginners
|
||||||
|copying| About copyrights
|
|copying| About copyrights
|
||||||
|iccf| Helping poor children in Uganda
|
|iccf| Helping poor children in Uganda
|
||||||
|sponsor| Sponsor Vim development, become a registered Vim user
|
|sponsor| Sponsor Vim development, become a registered Vim user
|
||||||
@@ -113,7 +117,6 @@ Basic editing ~
|
|||||||
|scroll.txt| scrolling the text in the window
|
|scroll.txt| scrolling the text in the window
|
||||||
|insert.txt| Insert and Replace mode
|
|insert.txt| Insert and Replace mode
|
||||||
|change.txt| deleting and replacing text
|
|change.txt| deleting and replacing text
|
||||||
|indent.txt| automatic indenting for C and other languages
|
|
||||||
|undo.txt| Undo and Redo
|
|undo.txt| Undo and Redo
|
||||||
|repeat.txt| repeating commands, Vim scripts and debugging
|
|repeat.txt| repeating commands, Vim scripts and debugging
|
||||||
|visual.txt| using the Visual mode (selecting a text area)
|
|visual.txt| using the Visual mode (selecting a text area)
|
||||||
@@ -126,14 +129,11 @@ Advanced editing ~
|
|||||||
|pattern.txt| regexp patterns and search commands
|
|pattern.txt| regexp patterns and search commands
|
||||||
|map.txt| key mapping and abbreviations
|
|map.txt| key mapping and abbreviations
|
||||||
|tagsrch.txt| tags and special searches
|
|tagsrch.txt| tags and special searches
|
||||||
|quickfix.txt| commands for a quick edit-compile-fix cycle
|
|
||||||
|windows.txt| commands for using multiple windows and buffers
|
|windows.txt| commands for using multiple windows and buffers
|
||||||
|tabpage.txt| commands for using multiple tab pages
|
|tabpage.txt| commands for using multiple tab pages
|
||||||
|syntax.txt| syntax highlighting
|
|
||||||
|spell.txt| spell checking
|
|spell.txt| spell checking
|
||||||
|diff.txt| working with two to four versions of the same file
|
|diff.txt| working with two to four versions of the same file
|
||||||
|autocmd.txt| automatically executing commands on an event
|
|autocmd.txt| automatically executing commands on an event
|
||||||
|filetype.txt| settings done specifically for a type of file
|
|
||||||
|eval.txt| expression evaluation, conditional commands
|
|eval.txt| expression evaluation, conditional commands
|
||||||
|channel.txt| Jobs, Channels, inter-process communication
|
|channel.txt| Jobs, Channels, inter-process communication
|
||||||
|fold.txt| hide (fold) ranges of lines
|
|fold.txt| hide (fold) ranges of lines
|
||||||
@@ -143,18 +143,27 @@ Special issues ~
|
|||||||
|remote.txt| using Vim as a server or client
|
|remote.txt| using Vim as a server or client
|
||||||
|term.txt| using different terminals and mice
|
|term.txt| using different terminals and mice
|
||||||
|terminal.txt| Terminal window support
|
|terminal.txt| Terminal window support
|
||||||
|
|
||||||
|
Programming language support ~
|
||||||
|
|indent.txt| automatic indenting for C and other languages
|
||||||
|
|syntax.txt| syntax highlighting
|
||||||
|
|textprop.txt| Attaching properties to text for highlighting or other
|
||||||
|
|filetype.txt| settings done specifically for a type of file
|
||||||
|
|quickfix.txt| commands for a quick edit-compile-fix cycle
|
||||||
|
|ft_ada.txt| Ada (the programming language) support
|
||||||
|
|ft_rust.txt| Filetype plugin for Rust
|
||||||
|
|ft_sql.txt| about the SQL filetype plugin
|
||||||
|
|
||||||
|
Language support ~
|
||||||
|digraph.txt| list of available digraphs
|
|digraph.txt| list of available digraphs
|
||||||
|mbyte.txt| multi-byte text support
|
|mbyte.txt| multi-byte text support
|
||||||
|mlang.txt| non-English language support
|
|mlang.txt| non-English language support
|
||||||
|
|rileft.txt| right-to-left editing mode
|
||||||
|arabic.txt| Arabic language support and editing
|
|arabic.txt| Arabic language support and editing
|
||||||
|farsi.txt| Farsi (Persian) editing
|
|farsi.txt| Farsi (Persian) editing
|
||||||
|hebrew.txt| Hebrew language support and editing
|
|hebrew.txt| Hebrew language support and editing
|
||||||
|russian.txt| Russian language support and editing
|
|russian.txt| Russian language support and editing
|
||||||
|ft_ada.txt| Ada (the programming language) support
|
|
||||||
|ft_rust.txt| Filetype plugin for Rust
|
|
||||||
|ft_sql.txt| about the SQL filetype plugin
|
|
||||||
|hangulin.txt| Hangul (Korean) input mode
|
|hangulin.txt| Hangul (Korean) input mode
|
||||||
|rileft.txt| right-to-left editing mode
|
|
||||||
|
|
||||||
GUI ~
|
GUI ~
|
||||||
|gui.txt| Graphical User Interface (GUI)
|
|gui.txt| Graphical User Interface (GUI)
|
||||||
@@ -171,7 +180,6 @@ Interfaces ~
|
|||||||
|if_ole.txt| OLE automation interface for Win32
|
|if_ole.txt| OLE automation interface for Win32
|
||||||
|if_ruby.txt| Ruby interface
|
|if_ruby.txt| Ruby interface
|
||||||
|debugger.txt| Interface with a debugger
|
|debugger.txt| Interface with a debugger
|
||||||
|workshop.txt| Sun Visual Workshop interface
|
|
||||||
|netbeans.txt| NetBeans External Editor interface
|
|netbeans.txt| NetBeans External Editor interface
|
||||||
|sign.txt| debugging signs
|
|sign.txt| debugging signs
|
||||||
|
|
||||||
@@ -225,4 +233,4 @@ will try to find help for it. Especially for options in single quotes, e.g.
|
|||||||
'compatible'.
|
'compatible'.
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
vim:tw=78:fo=tcq2:isk=!-~,^*,^\|,^\":ts=8:ft=help:norl:
|
vim:tw=78:isk=!-~,^*,^\|,^\":ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -370,4 +370,4 @@ highlighting. So do these:
|
|||||||
|
|
||||||
You can find the details in $VIMRUNTIME/syntax/help.vim
|
You can find the details in $VIMRUNTIME/syntax/help.vim
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -93,4 +93,4 @@ How to ... *howdoi* *how-do-i* *howto* *how-to*
|
|||||||
|2html.vim| convert a colored file to HTML
|
|2html.vim| convert a colored file to HTML
|
||||||
|less| use Vim like less or more with syntax highlighting
|
|less| use Vim like less or more with syntax highlighting
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -484,4 +484,4 @@ For a cscope version for Win32 see (seems abandoned):
|
|||||||
Win32 support was added by Sergey Khorev <sergey.khorev@gmail.com>. Contact
|
Win32 support was added by Sergey Khorev <sergey.khorev@gmail.com>. Contact
|
||||||
him if you have Win32-specific issues.
|
him if you have Win32-specific issues.
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -312,4 +312,4 @@ MzScheme's raco command:
|
|||||||
raco pkg install cext-lib # raco ctool command
|
raco pkg install cext-lib # raco ctool command
|
||||||
<
|
<
|
||||||
======================================================================
|
======================================================================
|
||||||
vim:tw=78:ts=8:sts=4:ft=help:norl:
|
vim:tw=78:ts=8:noet:sts=4:ft=help:norl:
|
||||||
|
|||||||
@@ -202,4 +202,4 @@ In Vim >
|
|||||||
[.Net remarks provided by Dave Fishburn and Brian Sturk]
|
[.Net remarks provided by Dave Fishburn and Brian Sturk]
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*if_perl.txt* For Vim version 8.1. Last change: 2017 Nov 24
|
*if_perl.txt* For Vim version 8.1. Last change: 2019 Jan 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Sven Verdoolaege
|
VIM REFERENCE MANUAL by Sven Verdoolaege
|
||||||
@@ -44,8 +44,9 @@ The Perl patches for Vim were made by:
|
|||||||
Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
|
Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
|
||||||
Matt Gerassimof
|
Matt Gerassimof
|
||||||
|
|
||||||
Perl for MS-Windows can be found at: http://www.perl.com/
|
Perl for MS-Windows (and other platforms) can be found at:
|
||||||
The ActiveState one should work.
|
http://www.perl.org/
|
||||||
|
The ActiveState one should work, Strawberry Perl is a good alternative.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
3. Using the Perl interface *perl-using*
|
3. Using the Perl interface *perl-using*
|
||||||
@@ -190,6 +191,9 @@ VIM::Eval({expr}) Evaluates {expr} and returns (success, value) in list
|
|||||||
A |List| is turned into a string by joining the items
|
A |List| is turned into a string by joining the items
|
||||||
and inserting line breaks.
|
and inserting line breaks.
|
||||||
|
|
||||||
|
*perl-Blob*
|
||||||
|
VIM::Blob({expr}) Return |Blob| literal string 0zXXXX from scalar value.
|
||||||
|
|
||||||
*perl-SetHeight*
|
*perl-SetHeight*
|
||||||
Window->SetHeight({height})
|
Window->SetHeight({height})
|
||||||
Sets the Window height to {height}, within screen
|
Sets the Window height to {height}, within screen
|
||||||
@@ -303,4 +307,4 @@ version of the shared library must match the Perl version Vim was compiled
|
|||||||
with.
|
with.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -60,9 +60,10 @@ Example: >
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
To see what version of Python you have: >
|
To see what version of Python you have: >
|
||||||
:python import sys
|
|
||||||
:python print(sys.version)
|
:python print(sys.version)
|
||||||
|
|
||||||
|
There is no need to import sys, it's done by default.
|
||||||
|
|
||||||
Note: Python is very sensitive to the indenting. Make sure the "class" line
|
Note: Python is very sensitive to the indenting. Make sure the "class" line
|
||||||
and "EOF" do not have any indent.
|
and "EOF" do not have any indent.
|
||||||
|
|
||||||
@@ -81,6 +82,18 @@ Examples:
|
|||||||
>
|
>
|
||||||
:pydo return "%s\t%d" % (line[::-1], len(line))
|
:pydo return "%s\t%d" % (line[::-1], len(line))
|
||||||
:pydo if line: return "%4d: %s" % (linenr, line)
|
:pydo if line: return "%4d: %s" % (linenr, line)
|
||||||
|
<
|
||||||
|
One can use `:pydo` in possible conjunction with `:py` to filter a range using
|
||||||
|
python. For example: >
|
||||||
|
|
||||||
|
:py3 << EOF
|
||||||
|
needle = vim.eval('@a')
|
||||||
|
replacement = vim.eval('@b')
|
||||||
|
|
||||||
|
def py_vim_string_replace(str):
|
||||||
|
return str.replace(needle, replacement)
|
||||||
|
EOF
|
||||||
|
:'<,'>py3do return py_vim_string_replace(line)
|
||||||
<
|
<
|
||||||
*:pyfile* *:pyf*
|
*:pyfile* *:pyf*
|
||||||
:[range]pyf[ile] {file}
|
:[range]pyf[ile] {file}
|
||||||
@@ -98,7 +111,6 @@ Python commands cannot be used in the |sandbox|.
|
|||||||
|
|
||||||
To pass arguments you need to set sys.argv[] explicitly. Example: >
|
To pass arguments you need to set sys.argv[] explicitly. Example: >
|
||||||
|
|
||||||
:python import sys
|
|
||||||
:python sys.argv = ["foo", "bar"]
|
:python sys.argv = ["foo", "bar"]
|
||||||
:pyfile myscript.py
|
:pyfile myscript.py
|
||||||
|
|
||||||
@@ -168,11 +180,15 @@ vim.eval(str) *python-eval*
|
|||||||
- a dictionary if the Vim expression evaluates to a Vim dictionary
|
- a dictionary if the Vim expression evaluates to a Vim dictionary
|
||||||
Dictionaries and lists are recursively expanded.
|
Dictionaries and lists are recursively expanded.
|
||||||
Examples: >
|
Examples: >
|
||||||
|
:" value of the 'textwidth' option
|
||||||
:py text_width = vim.eval("&tw")
|
:py text_width = vim.eval("&tw")
|
||||||
:py str = vim.eval("12+12") # NB result is a string! Use
|
:
|
||||||
# string.atoi() to convert to
|
:" contents of the 'a' register
|
||||||
# a number.
|
:py a_reg = vim.eval("@a")
|
||||||
|
:
|
||||||
|
:" Result is a string! Use string.atoi() to convert to a number.
|
||||||
|
:py str = vim.eval("12+12")
|
||||||
|
:
|
||||||
:py tagList = vim.eval('taglist("eval_expr")')
|
:py tagList = vim.eval('taglist("eval_expr")')
|
||||||
< The latter will return a python list of python dicts, for instance:
|
< The latter will return a python list of python dicts, for instance:
|
||||||
[{'cmd': '/^eval_expr(arg, nextcmd)$/', 'static': 0, 'name': ~
|
[{'cmd': '/^eval_expr(arg, nextcmd)$/', 'static': 0, 'name': ~
|
||||||
@@ -924,4 +940,4 @@ If you have more than one version of Python 3, you need to link python3 to the
|
|||||||
one you prefer, before running configure.
|
one you prefer, before running configure.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*if_ruby.txt* For Vim version 8.1. Last change: 2018 Mar 15
|
*if_ruby.txt* For Vim version 8.1. Last change: 2019 Jan 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Shugo Maeda
|
VIM REFERENCE MANUAL by Shugo Maeda
|
||||||
@@ -110,6 +110,10 @@ Module Functions:
|
|||||||
Vim::message({msg})
|
Vim::message({msg})
|
||||||
Displays the message {msg}.
|
Displays the message {msg}.
|
||||||
|
|
||||||
|
*ruby-blob*
|
||||||
|
Vim::blob({arg})
|
||||||
|
Return |Blob| literal string from {arg}.
|
||||||
|
|
||||||
*ruby-set_option*
|
*ruby-set_option*
|
||||||
Vim::set_option({arg})
|
Vim::set_option({arg})
|
||||||
Sets a vim option. {arg} can be any argument that the ":set" command
|
Sets a vim option. {arg} can be any argument that the ":set" command
|
||||||
@@ -145,7 +149,7 @@ self[{n}] Returns the buffer object for the number {n}. The first number
|
|||||||
|
|
||||||
Methods:
|
Methods:
|
||||||
|
|
||||||
name Returns the name of the buffer.
|
name Returns the full name of the buffer.
|
||||||
number Returns the number of the buffer.
|
number Returns the number of the buffer.
|
||||||
count Returns the number of lines.
|
count Returns the number of lines.
|
||||||
length Returns the number of lines.
|
length Returns the number of lines.
|
||||||
@@ -181,6 +185,7 @@ height = {n} Sets the window height to {n}.
|
|||||||
width Returns the width of the window.
|
width Returns the width of the window.
|
||||||
width = {n} Sets the window width to {n}.
|
width = {n} Sets the window width to {n}.
|
||||||
cursor Returns a [row, col] array for the cursor position.
|
cursor Returns a [row, col] array for the cursor position.
|
||||||
|
First line number is 1 and first column number is 0.
|
||||||
cursor = [{row}, {col}]
|
cursor = [{row}, {col}]
|
||||||
Sets the cursor position to {row} and {col}.
|
Sets the cursor position to {row} and {col}.
|
||||||
|
|
||||||
@@ -233,4 +238,4 @@ version of the shared library must match the Ruby version Vim was compiled
|
|||||||
with.
|
with.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -8,4 +8,4 @@
|
|||||||
The SNiFF+ support was removed at patch 7.4.1433. If you want to check it out
|
The SNiFF+ support was removed at patch 7.4.1433. If you want to check it out
|
||||||
sync to before that.
|
sync to before that.
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -544,4 +544,4 @@ of DYNAMIC_TCL_DLL file what was specified at compile time. The version of
|
|||||||
the shared library must match the Tcl version Vim was compiled with.
|
the shared library must match the Tcl version Vim was compiled with.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*indent.txt* For Vim version 8.1. Last change: 2018 Apr 04
|
*indent.txt* For Vim version 8.1. Last change: 2019 Feb 21
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -60,12 +60,13 @@ typing certain characters or commands in certain contexts. Note that this not
|
|||||||
only triggers C-indenting. When 'indentexpr' is not empty 'indentkeys' is
|
only triggers C-indenting. When 'indentexpr' is not empty 'indentkeys' is
|
||||||
used instead. The format of 'cinkeys' and 'indentkeys' is equal.
|
used instead. The format of 'cinkeys' and 'indentkeys' is equal.
|
||||||
|
|
||||||
The default is "0{,0},0),:,0#,!^F,o,O,e" which specifies that indenting occurs
|
The default is "0{,0},0),0],:,0#,!^F,o,O,e" which specifies that indenting
|
||||||
as follows:
|
occurs as follows:
|
||||||
|
|
||||||
"0{" if you type '{' as the first character in a line
|
"0{" if you type '{' as the first character in a line
|
||||||
"0}" if you type '}' as the first character in a line
|
"0}" if you type '}' as the first character in a line
|
||||||
"0)" if you type ')' as the first character in a line
|
"0)" if you type ')' as the first character in a line
|
||||||
|
"0]" if you type ']' as the first character in a line
|
||||||
":" if you type ':' after a label or case statement
|
":" if you type ':' after a label or case statement
|
||||||
"0#" if you type '#' as the first character in a line
|
"0#" if you type '#' as the first character in a line
|
||||||
"!^F" if you type CTRL-F (which is not inserted)
|
"!^F" if you type CTRL-F (which is not inserted)
|
||||||
@@ -588,8 +589,9 @@ The basics for using flexible indenting are explained in section |30.3| of the
|
|||||||
user manual.
|
user manual.
|
||||||
|
|
||||||
If you want to write your own indent file, it must set the 'indentexpr'
|
If you want to write your own indent file, it must set the 'indentexpr'
|
||||||
option. Setting the 'indentkeys' option is often useful. See the
|
option. Setting the 'indentkeys' option is often useful.
|
||||||
$VIMRUNTIME/indent directory for examples.
|
See the $VIMRUNTIME/indent/README.txt file for hints.
|
||||||
|
See the $VIMRUNTIME/indent directory for examples.
|
||||||
|
|
||||||
|
|
||||||
REMARKS ABOUT SPECIFIC INDENT FILES ~
|
REMARKS ABOUT SPECIFIC INDENT FILES ~
|
||||||
@@ -602,14 +604,14 @@ the use of square and curly brackets, and otherwise by community convention.
|
|||||||
These conventions are not universally followed, so the Clojure indent script
|
These conventions are not universally followed, so the Clojure indent script
|
||||||
offers a few configurable options, listed below.
|
offers a few configurable options, listed below.
|
||||||
|
|
||||||
If the current vim does not include searchpairpos(), the indent script falls
|
If the current vim does not include |searchpairpos()|, the indent script falls
|
||||||
back to normal 'lisp' indenting, and the following options are ignored.
|
back to normal 'lisp' indenting, and the following options are ignored.
|
||||||
|
|
||||||
*g:clojure_maxlines*
|
*g:clojure_maxlines*
|
||||||
|
|
||||||
Set maximum scan distance of searchpairpos(). Larger values trade performance
|
Set maximum scan distance of |searchpairpos()|. Larger values trade
|
||||||
for correctness when dealing with very long forms. A value of 0 will scan
|
performance for correctness when dealing with very long forms. A value of 0
|
||||||
without limits.
|
will scan without limits.
|
||||||
>
|
>
|
||||||
" Default
|
" Default
|
||||||
let g:clojure_maxlines = 100
|
let g:clojure_maxlines = 100
|
||||||
@@ -935,11 +937,21 @@ given are the defaults. Note that the variables are set to an expression, so
|
|||||||
that you can change the value of 'shiftwidth' later.
|
that you can change the value of 'shiftwidth' later.
|
||||||
|
|
||||||
Indent after an open paren: >
|
Indent after an open paren: >
|
||||||
let g:pyindent_open_paren = '&sw * 2'
|
let g:pyindent_open_paren = 'shiftwidth() * 2'
|
||||||
Indent after a nested paren: >
|
Indent after a nested paren: >
|
||||||
let g:pyindent_nested_paren = '&sw'
|
let g:pyindent_nested_paren = 'shiftwidth()'
|
||||||
Indent for a continuation line: >
|
Indent for a continuation line: >
|
||||||
let g:pyindent_continue = '&sw * 2'
|
let g:pyindent_continue = 'shiftwidth() * 2'
|
||||||
|
|
||||||
|
The method uses |searchpair()| to look back for unclosed parenthesis. This
|
||||||
|
can sometimes be slow, thus it timeouts after 150 msec. If you notice the
|
||||||
|
indenting isn't correct, you can set a larger timeout in msec: >
|
||||||
|
let g:pyindent_searchpair_timeout = 500
|
||||||
|
|
||||||
|
If looking back for unclosed parenthesis is still too slow, especially during
|
||||||
|
a copy-paste operation, or if you don't need indenting inside multi-line
|
||||||
|
parentheses, you can completely disable this feature: >
|
||||||
|
let g:pyindent_disable_parentheses_indenting = 1
|
||||||
|
|
||||||
|
|
||||||
R *ft-r-indent*
|
R *ft-r-indent*
|
||||||
@@ -978,6 +990,11 @@ Below is an example of indentation with and without this option enabled:
|
|||||||
paste(x) paste(x)
|
paste(x) paste(x)
|
||||||
} }
|
} }
|
||||||
<
|
<
|
||||||
|
The code will be indented after lines that match the pattern
|
||||||
|
`'\(&\||\|+\|-\|\*\|/\|=\|\~\|%\|->\)\s*$'`. If you want indentation after
|
||||||
|
lines that match a different pattern, you should set the appropriate value of
|
||||||
|
`r_indent_op_pattern` in your |vimrc|.
|
||||||
|
|
||||||
|
|
||||||
SHELL *ft-sh-indent*
|
SHELL *ft-sh-indent*
|
||||||
|
|
||||||
@@ -1028,7 +1045,7 @@ Furthermore, setting the variable b:verilog_indent_width to change the
|
|||||||
indenting width (default is 'shiftwidth'): >
|
indenting width (default is 'shiftwidth'): >
|
||||||
|
|
||||||
let b:verilog_indent_width = 4
|
let b:verilog_indent_width = 4
|
||||||
let b:verilog_indent_width = &sw * 2
|
let b:verilog_indent_width = shiftwidth() * 2
|
||||||
|
|
||||||
In addition, you can turn the verbose mode for debug issue: >
|
In addition, you can turn the verbose mode for debug issue: >
|
||||||
|
|
||||||
@@ -1151,9 +1168,9 @@ VIM *ft-vim-indent*
|
|||||||
For indenting Vim scripts there is one variable that specifies the amount of
|
For indenting Vim scripts there is one variable that specifies the amount of
|
||||||
indent for a continuation line, a line that starts with a backslash: >
|
indent for a continuation line, a line that starts with a backslash: >
|
||||||
|
|
||||||
:let g:vim_indent_cont = &sw * 3
|
:let g:vim_indent_cont = shiftwidth() * 3
|
||||||
|
|
||||||
Three times shiftwidth is the default value.
|
Three times shiftwidth is the default value.
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*index.txt* For Vim version 8.1. Last change: 2018 Apr 19
|
*index.txt* For Vim version 8.1. Last change: 2019 Mar 17
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -17,9 +17,11 @@ to look for deleting something, use: "/delete".
|
|||||||
2.3. Square bracket commands |[|
|
2.3. Square bracket commands |[|
|
||||||
2.4. Commands starting with 'g' |g|
|
2.4. Commands starting with 'g' |g|
|
||||||
2.5. Commands starting with 'z' |z|
|
2.5. Commands starting with 'z' |z|
|
||||||
|
2.6. Operator-pending mode |operator-pending-index|
|
||||||
3. Visual mode |visual-index|
|
3. Visual mode |visual-index|
|
||||||
4. Command-line editing |ex-edit-index|
|
4. Command-line editing |ex-edit-index|
|
||||||
5. EX commands |ex-cmd-index|
|
5. Terminal-Job mode |terminal-job-index|
|
||||||
|
6. EX commands |ex-cmd-index|
|
||||||
|
|
||||||
For an overview of options see help.txt |option-list|.
|
For an overview of options see help.txt |option-list|.
|
||||||
For an overview of built-in functions see |functions|.
|
For an overview of built-in functions see |functions|.
|
||||||
@@ -166,6 +168,20 @@ commands in CTRL-X submode *i_CTRL-X_index*
|
|||||||
|i_CTRL-X_s| CTRL-X s spelling suggestions
|
|i_CTRL-X_s| CTRL-X s spelling suggestions
|
||||||
{not available when compiled without the |+insert_expand| feature}
|
{not available when compiled without the |+insert_expand| feature}
|
||||||
|
|
||||||
|
commands in completion mode (see |popupmenu-keys|)
|
||||||
|
|
||||||
|
|complete_CTRL-E| CTRL-E stop completion and go back to original text
|
||||||
|
|complete_CTRL-Y| CTRL-Y accept selected match and stop completion
|
||||||
|
CTRL-L insert one character from the current match
|
||||||
|
<CR> insert currently selected match
|
||||||
|
<BS> delete one character and redo search
|
||||||
|
CTRL-H same as <BS>
|
||||||
|
<Up> select the previous match
|
||||||
|
<Down> select the next match
|
||||||
|
<PageUp> select a match several entries back
|
||||||
|
<PageDown> select a match several entries forward
|
||||||
|
other stop completion and insert the typed character
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
2. Normal mode *normal-index*
|
2. Normal mode *normal-index*
|
||||||
|
|
||||||
@@ -528,10 +544,8 @@ tag command action in Normal mode ~
|
|||||||
|CTRL-W_CTRL-]| CTRL-W CTRL-] same as "CTRL-W ]"
|
|CTRL-W_CTRL-]| CTRL-W CTRL-] same as "CTRL-W ]"
|
||||||
|CTRL-W_CTRL-^| CTRL-W CTRL-^ same as "CTRL-W ^"
|
|CTRL-W_CTRL-^| CTRL-W CTRL-^ same as "CTRL-W ^"
|
||||||
|CTRL-W_CTRL-_| CTRL-W CTRL-_ same as "CTRL-W _"
|
|CTRL-W_CTRL-_| CTRL-W CTRL-_ same as "CTRL-W _"
|
||||||
|CTRL-W_quote| CTRL-W " terminal window: paste register
|
|
||||||
|CTRL-W_+| CTRL-W + increase current window height N lines
|
|CTRL-W_+| CTRL-W + increase current window height N lines
|
||||||
|CTRL-W_-| CTRL-W - decrease current window height N lines
|
|CTRL-W_-| CTRL-W - decrease current window height N lines
|
||||||
|CTRL-W_.| CTRL-W . terminal window: type CTRL-W
|
|
||||||
|CTRL-W_:| CTRL-W : same as |:|, edit a command line
|
|CTRL-W_:| CTRL-W : same as |:|, edit a command line
|
||||||
|CTRL-W_<| CTRL-W < decrease current window width N columns
|
|CTRL-W_<| CTRL-W < decrease current window width N columns
|
||||||
|CTRL-W_=| CTRL-W = make all windows the same height & width
|
|CTRL-W_=| CTRL-W = make all windows the same height & width
|
||||||
@@ -540,7 +554,6 @@ tag command action in Normal mode ~
|
|||||||
|CTRL-W_J| CTRL-W J move current window to the very bottom
|
|CTRL-W_J| CTRL-W J move current window to the very bottom
|
||||||
|CTRL-W_K| CTRL-W K move current window to the very top
|
|CTRL-W_K| CTRL-W K move current window to the very top
|
||||||
|CTRL-W_L| CTRL-W L move current window to the far right
|
|CTRL-W_L| CTRL-W L move current window to the far right
|
||||||
|CTRL-W_N| CTRL-W N terminal window: go to Terminal Normal mode
|
|
||||||
|CTRL-W_P| CTRL-W P go to preview window
|
|CTRL-W_P| CTRL-W P go to preview window
|
||||||
|CTRL-W_R| CTRL-W R rotate windows upwards N times
|
|CTRL-W_R| CTRL-W R rotate windows upwards N times
|
||||||
|CTRL-W_S| CTRL-W S same as "CTRL-W s"
|
|CTRL-W_S| CTRL-W S same as "CTRL-W s"
|
||||||
@@ -570,6 +583,8 @@ tag command action in Normal mode ~
|
|||||||
|CTRL-W_gF| CTRL-W g F edit file name under the cursor in a new
|
|CTRL-W_gF| CTRL-W g F edit file name under the cursor in a new
|
||||||
tab page and jump to the line number
|
tab page and jump to the line number
|
||||||
following the file name.
|
following the file name.
|
||||||
|
|CTRL-W_gt| CTRL-W g t same as `gt`: go to next tab page
|
||||||
|
|CTRL-W_gT| CTRL-W g T same as `gT`: go to previous tab page
|
||||||
|CTRL-W_h| CTRL-W h go to Nth left window (stop at first window)
|
|CTRL-W_h| CTRL-W h go to Nth left window (stop at first window)
|
||||||
|CTRL-W_i| CTRL-W i split window and jump to declaration of
|
|CTRL-W_i| CTRL-W i split window and jump to declaration of
|
||||||
identifier under the cursor
|
identifier under the cursor
|
||||||
@@ -854,6 +869,17 @@ tag char note action in Normal mode ~
|
|||||||
|z<Left>| z<Left> same as "zh"
|
|z<Left>| z<Left> same as "zh"
|
||||||
|z<Right>| z<Right> same as "zl"
|
|z<Right>| z<Right> same as "zl"
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
2.6 Operator-pending mode *operator-pending-index*
|
||||||
|
|
||||||
|
These can be used after an operator, but before a {motion} has been entered.
|
||||||
|
|
||||||
|
tag char action in Operator-pending mode ~
|
||||||
|
-----------------------------------------------------------------------
|
||||||
|
|o_v| v force operator to work characterwise
|
||||||
|
|o_V| V force operator to work linewise
|
||||||
|
|o_CTRL-V| CTRL-V force operator to work blockwise
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
3. Visual mode *visual-index*
|
3. Visual mode *visual-index*
|
||||||
|
|
||||||
@@ -1066,10 +1092,31 @@ tag command action in Command-line editing mode ~
|
|||||||
|c_<Insert>| <Insert> toggle insert/overstrike mode
|
|c_<Insert>| <Insert> toggle insert/overstrike mode
|
||||||
|c_<LeftMouse>| <LeftMouse> cursor at mouse click
|
|c_<LeftMouse>| <LeftMouse> cursor at mouse click
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
5. Terminal-Job mode *terminal-job-index*
|
||||||
|
|
||||||
|
Most Normal mode commands except for window commands (|CTRL-W|) do not work in
|
||||||
|
a terminal window. Switch to Terminal-Normal mode to use them.
|
||||||
|
This assumes 'termwinkey' is not set.
|
||||||
|
|
||||||
|
tag char action in Terminal-Job mode ~
|
||||||
|
-----------------------------------------------------------------------
|
||||||
|
|t_CTRL-\_CTRL-N| CTRL-\ CTRL-N switch to Terminal-Normal mode
|
||||||
|
|t_CTRL-W_N| CTRL-W N switch to Terminal-Normal mode
|
||||||
|
|t_CTRL-W_:| CTRL-W : enter an Ex command
|
||||||
|
|t_CTRL-W_.| CTRL-W . type CTRL-W in the terminal
|
||||||
|
CTRL-W CTRL-\ send a CTRL-\ to the job in the terminal
|
||||||
|
|t_CTRL-W_quote| CTRL-W " {0-9a-z"%#*:=}
|
||||||
|
paste register in the terminal
|
||||||
|
|t_CTRL-W_CTRL-C| CTRL-W CTRL-C forcefully ends the job
|
||||||
|
|t_CTRL-W_CTRL-W| CTRL-W CTRL-W move focus to the next window
|
||||||
|
|t_CTRL-W_gt| CTRL-W gt go to next tabpage, same as `gt`
|
||||||
|
|t_CTRL-W_gT| CTRL-W gT go to previous tabpage, same as `gT`
|
||||||
|
|
||||||
You found it, Arthur! *holy-grail* *:smile*
|
You found it, Arthur! *holy-grail* *:smile*
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
5. EX commands *ex-cmd-index* *:index*
|
6. EX commands *ex-cmd-index* *:index*
|
||||||
|
|
||||||
This is a brief but complete listing of all the ":" commands, without
|
This is a brief but complete listing of all the ":" commands, without
|
||||||
mentioning any arguments. The optional part of the command name is inside [].
|
mentioning any arguments. The optional part of the command name is inside [].
|
||||||
@@ -1459,6 +1506,7 @@ tag command action ~
|
|||||||
|:redir| :redi[r] redirect messages to a file or register
|
|:redir| :redi[r] redirect messages to a file or register
|
||||||
|:redraw| :redr[aw] force a redraw of the display
|
|:redraw| :redr[aw] force a redraw of the display
|
||||||
|:redrawstatus| :redraws[tatus] force a redraw of the status line(s)
|
|:redrawstatus| :redraws[tatus] force a redraw of the status line(s)
|
||||||
|
|:redrawtabline| :redrawt[abline] force a redraw of the tabline
|
||||||
|:registers| :reg[isters] display the contents of registers
|
|:registers| :reg[isters] display the contents of registers
|
||||||
|:resize| :res[ize] change current window height
|
|:resize| :res[ize] change current window height
|
||||||
|:retab| :ret[ab] change tab size
|
|:retab| :ret[ab] change tab size
|
||||||
@@ -1583,6 +1631,9 @@ tag command action ~
|
|||||||
|:tjump| :tj[ump] like ":tselect", but jump directly when there
|
|:tjump| :tj[ump] like ":tselect", but jump directly when there
|
||||||
is only one match
|
is only one match
|
||||||
|:tlast| :tl[ast] jump to last matching tag
|
|:tlast| :tl[ast] jump to last matching tag
|
||||||
|
|:tlmenu| :tlm[enu] add menu for Terminal-Job mode
|
||||||
|
|:tlnoremenu| :tln[oremenu] like ":noremenu" but for Terminal-Job mode
|
||||||
|
|:tlunmenu| :tlu[nmenu] remove menu for Terminal-Job mode
|
||||||
|:tmapclear| :tmapc[lear] remove all mappings for Terminal-Job mode
|
|:tmapclear| :tmapc[lear] remove all mappings for Terminal-Job mode
|
||||||
|:tmap| :tma[p] like ":map" but for Terminal-Job mode
|
|:tmap| :tma[p] like ":map" but for Terminal-Job mode
|
||||||
|:tmenu| :tm[enu] define menu tooltip
|
|:tmenu| :tm[enu] define menu tooltip
|
||||||
@@ -1640,7 +1691,6 @@ tag command action ~
|
|||||||
argument list
|
argument list
|
||||||
|:wq| :wq write to a file and quit window or Vim
|
|:wq| :wq write to a file and quit window or Vim
|
||||||
|:wqall| :wqa[ll] write all changed buffers and quit Vim
|
|:wqall| :wqa[ll] write all changed buffers and quit Vim
|
||||||
|:wsverb| :ws[verb] pass the verb to workshop over IPC
|
|
||||||
|:wundo| :wu[ndo] write undo information to a file
|
|:wundo| :wu[ndo] write undo information to a file
|
||||||
|:wviminfo| :wv[iminfo] write to viminfo file
|
|:wviminfo| :wv[iminfo] write to viminfo file
|
||||||
|:xit| :x[it] write if buffer changed and quit window or Vim
|
|:xit| :x[it] write if buffer changed and quit window or Vim
|
||||||
@@ -1657,4 +1707,4 @@ tag command action ~
|
|||||||
|:~| :~ repeat last ":substitute"
|
|:~| :~ repeat last ":substitute"
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*insert.txt* For Vim version 8.1. Last change: 2018 Feb 10
|
*insert.txt* For Vim version 8.1. Last change: 2019 Jan 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -1051,13 +1051,13 @@ The function must return the column where the completion starts. It must be a
|
|||||||
number between zero and the cursor column "col('.')". This involves looking
|
number between zero and the cursor column "col('.')". This involves looking
|
||||||
at the characters just before the cursor and including those characters that
|
at the characters just before the cursor and including those characters that
|
||||||
could be part of the completed item. The text between this column and the
|
could be part of the completed item. The text between this column and the
|
||||||
cursor column will be replaced with the matches.
|
cursor column will be replaced with the matches. If the returned value is
|
||||||
|
larger than the cursor column, the cursor column is used.
|
||||||
|
|
||||||
Special return values:
|
Negative return values:
|
||||||
-1 If no completion can be done, the completion will be cancelled with an
|
|
||||||
error message.
|
|
||||||
-2 To cancel silently and stay in completion mode.
|
-2 To cancel silently and stay in completion mode.
|
||||||
-3 To cancel silently and leave completion mode.
|
-3 To cancel silently and leave completion mode.
|
||||||
|
Another negative value: completion starts at the cursor column
|
||||||
|
|
||||||
On the second invocation the arguments are:
|
On the second invocation the arguments are:
|
||||||
a:findstart 0
|
a:findstart 0
|
||||||
@@ -1076,6 +1076,11 @@ that contains the List. The Dict can have these items:
|
|||||||
The only value currently recognized is "always", the
|
The only value currently recognized is "always", the
|
||||||
effect is that the function is called whenever the
|
effect is that the function is called whenever the
|
||||||
leading text is changed.
|
leading text is changed.
|
||||||
|
|
||||||
|
If you want to suppress the warning message for an empty result, return
|
||||||
|
|v:none|. This is useful to implement asynchronous completion with
|
||||||
|
|complete()|.
|
||||||
|
|
||||||
Other items are ignored.
|
Other items are ignored.
|
||||||
|
|
||||||
For acting upon end of completion, see the |CompleteDone| autocommand event.
|
For acting upon end of completion, see the |CompleteDone| autocommand event.
|
||||||
@@ -2005,4 +2010,4 @@ self explanatory. Using the long or the short version depends on the
|
|||||||
[READ ERRORS] not all of the file could be read
|
[READ ERRORS] not all of the file could be read
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*intro.txt* For Vim version 8.1. Last change: 2018 Jan 24
|
*intro.txt* For Vim version 8.1. Last change: 2019 Jan 07
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -52,29 +52,11 @@ an introduction to the use of Vi or Vim, it gets a bit complicated here and
|
|||||||
there. For beginners, there is a hands-on |tutor|. To learn using Vim, read
|
there. For beginners, there is a hands-on |tutor|. To learn using Vim, read
|
||||||
the user manual |usr_toc.txt|.
|
the user manual |usr_toc.txt|.
|
||||||
|
|
||||||
*book*
|
*book* *books*
|
||||||
There are many books on Vi that contain a section for beginners. There are
|
Most books on Vi and Vim contain a section for beginners. Others are spending
|
||||||
two books I can recommend:
|
more words on specific functionality. You can find an overview of Vim books
|
||||||
|
here:
|
||||||
"Vim - Vi Improved" by Steve Oualline
|
http://iccf-holland.org/vim_books.html
|
||||||
|
|
||||||
This is the very first book completely dedicated to Vim. It is very good for
|
|
||||||
beginners. The most often used commands are explained with pictures and
|
|
||||||
examples. The less often used commands are also explained, the more advanced
|
|
||||||
features are summarized. There is a comprehensive index and a quick
|
|
||||||
reference. Parts of this book have been included in the user manual
|
|
||||||
|frombook|.
|
|
||||||
Published by New Riders Publishing. ISBN: 0735710015
|
|
||||||
For more information try one of these:
|
|
||||||
http://iccf-holland.org/click5.html
|
|
||||||
http://www.vim.org/iccf/click5.html
|
|
||||||
|
|
||||||
"Learning the Vi editor" by Linda Lamb and Arnold Robbins
|
|
||||||
|
|
||||||
This is a book about Vi that includes a chapter on Vim (in the sixth edition).
|
|
||||||
The first steps in Vi are explained very well. The commands that Vim adds are
|
|
||||||
only briefly mentioned. There is also a German translation.
|
|
||||||
Published by O'Reilly. ISBN: 1-56592-426-6.
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
2. Vim on the internet *internet*
|
2. Vim on the internet *internet*
|
||||||
@@ -84,9 +66,9 @@ The Vim pages contain the most recent information about Vim. They also
|
|||||||
contain links to the most recent version of Vim. The FAQ is a list of
|
contain links to the most recent version of Vim. The FAQ is a list of
|
||||||
Frequently Asked Questions. Read this if you have problems.
|
Frequently Asked Questions. Read this if you have problems.
|
||||||
|
|
||||||
Vim home page: http://www.vim.org/
|
Vim home page: https://www.vim.org/
|
||||||
Vim FAQ: http://vimdoc.sf.net/
|
Vim FAQ: https://vimhelp.appspot.com/vim_faq.txt.html
|
||||||
Downloading: ftp://ftp.vim.org/pub/vim/MIRRORS
|
Downloading: https://www.vim.org/download.php
|
||||||
|
|
||||||
|
|
||||||
Usenet News group where Vim is discussed: *news* *usenet*
|
Usenet News group where Vim is discussed: *news* *usenet*
|
||||||
@@ -114,10 +96,12 @@ There are several mailing lists for Vim:
|
|||||||
See http://www.vim.org/maillist.php for the latest information.
|
See http://www.vim.org/maillist.php for the latest information.
|
||||||
|
|
||||||
NOTE:
|
NOTE:
|
||||||
|
- Anyone can see the archive, e.g. on Google groups. Search this if you have
|
||||||
|
questions.
|
||||||
- You can only send messages to these lists if you have subscribed!
|
- You can only send messages to these lists if you have subscribed!
|
||||||
|
- The first message is moderated, thus it may take a few hours to show up.
|
||||||
- You need to send the messages from the same location as where you subscribed
|
- You need to send the messages from the same location as where you subscribed
|
||||||
from (to avoid spam mail).
|
from (to avoid spam mail).
|
||||||
- Maximum message size is 40000 characters.
|
|
||||||
|
|
||||||
*subscribe-maillist*
|
*subscribe-maillist*
|
||||||
If you want to join, send a message to
|
If you want to join, send a message to
|
||||||
@@ -150,7 +134,10 @@ Preferably start Vim with: >
|
|||||||
Where reproduce.vim is a script that reproduces the problem. Try different
|
Where reproduce.vim is a script that reproduces the problem. Try different
|
||||||
machines, if relevant (is this an MS-Windows specific bug perhaps?).
|
machines, if relevant (is this an MS-Windows specific bug perhaps?).
|
||||||
|
|
||||||
Send me patches if you can!
|
Send me patches if you can! If you create a pull request on
|
||||||
|
https://github.com/vim/vim then the automated checks will run and report any
|
||||||
|
obvious problems. But you can also send the patch by email (use an attachment
|
||||||
|
to avoid white space changes).
|
||||||
|
|
||||||
It will help to include information about the version of Vim you are using and
|
It will help to include information about the version of Vim you are using and
|
||||||
your setup. You can get the information with this command: >
|
your setup. You can get the information with this command: >
|
||||||
@@ -189,7 +176,7 @@ introduce Y2K problems, but those are not really part of Vim itself.
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
3. Credits *credits* *author* *Bram* *Moolenaar*
|
3. Credits *credits* *author* *Bram* *Moolenaar*
|
||||||
|
|
||||||
Most of Vim was written by Bram Moolenaar <Bram@vim.org>.
|
Most of Vim was created by Bram Moolenaar <Bram@vim.org>.
|
||||||
|
|
||||||
Parts of the documentation come from several Vi manuals, written by:
|
Parts of the documentation come from several Vi manuals, written by:
|
||||||
W.N. Joy
|
W.N. Joy
|
||||||
@@ -268,6 +255,7 @@ Vim would never have become what it is now, without the help of these people!
|
|||||||
Ken Takata fixes and features
|
Ken Takata fixes and features
|
||||||
Kazunobu Kuriyama GTK 3
|
Kazunobu Kuriyama GTK 3
|
||||||
Christian Brabandt many fixes, features, user support, etc.
|
Christian Brabandt many fixes, features, user support, etc.
|
||||||
|
Yegappan Lakshmanan many quickfix features
|
||||||
|
|
||||||
I wish to thank all the people that sent me bug reports and suggestions. The
|
I wish to thank all the people that sent me bug reports and suggestions. The
|
||||||
list is too long to mention them all here. Vim would not be the same without
|
list is too long to mention them all here. Vim would not be the same without
|
||||||
@@ -280,9 +268,9 @@ In this documentation there are several references to other versions of Vi:
|
|||||||
Vi "the original". Without further remarks this is the version
|
Vi "the original". Without further remarks this is the version
|
||||||
of Vi that appeared in Sun OS 4.x. ":version" returns
|
of Vi that appeared in Sun OS 4.x. ":version" returns
|
||||||
"Version 3.7, 6/7/85". Sometimes other versions are referred
|
"Version 3.7, 6/7/85". Sometimes other versions are referred
|
||||||
to. Only runs under Unix. Source code only available with a
|
to. Only runs under Unix. Source code is now available under a
|
||||||
license. More information on Vi can be found through:
|
BSD-style license. More information on Vi can be found through:
|
||||||
http://vi-editor.org [doesn't currently work...]
|
http://ex-vi.sourceforge.net/
|
||||||
*Posix*
|
*Posix*
|
||||||
Posix From the IEEE standard 1003.2, Part 2: Shell and utilities.
|
Posix From the IEEE standard 1003.2, Part 2: Shell and utilities.
|
||||||
Generally known as "Posix". This is a textual description of
|
Generally known as "Posix". This is a textual description of
|
||||||
@@ -297,9 +285,14 @@ Nvi The "New" Vi. The version of Vi that comes with BSD 4.4 and FreeBSD.
|
|||||||
Source code is freely available.
|
Source code is freely available.
|
||||||
*Elvis*
|
*Elvis*
|
||||||
Elvis Another Vi clone, made by Steve Kirkendall. Very compact but isn't
|
Elvis Another Vi clone, made by Steve Kirkendall. Very compact but isn't
|
||||||
as flexible as Vim.
|
as flexible as Vim. Development has stalled, Elvis has left the
|
||||||
The version used is 2.1. It is still being developed. Source code is
|
building! Source code is freely available.
|
||||||
freely available.
|
*Neovim*
|
||||||
|
Neovim A Vim clone. Forked the Vim source in 2014 and went a different way.
|
||||||
|
Very much bound to github and has many more dependencies, making
|
||||||
|
development more complex and limiting portability. Code has been
|
||||||
|
refactored, resulting in patches not being exchangeable with Vim.
|
||||||
|
Supports a remote GUI and integration with scripting languages.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
4. Notation *notation*
|
4. Notation *notation*
|
||||||
@@ -595,9 +588,9 @@ Virtual Replace mode Virtual Replace mode is similar to Replace mode, but
|
|||||||
If the 'showmode' option is on "-- VREPLACE --" is
|
If the 'showmode' option is on "-- VREPLACE --" is
|
||||||
shown at the bottom of the window.
|
shown at the bottom of the window.
|
||||||
|
|
||||||
Insert Normal mode Entered when CTRL-O given in Insert mode. This is
|
Insert Normal mode Entered when CTRL-O is typed in Insert mode (see
|
||||||
like Normal mode, but after executing one command Vim
|
|i_CTRL-O|). This is like Normal mode, but after
|
||||||
returns to Insert mode.
|
executing one command Vim returns to Insert mode.
|
||||||
If the 'showmode' option is on "-- (insert) --" is
|
If the 'showmode' option is on "-- (insert) --" is
|
||||||
shown at the bottom of the window.
|
shown at the bottom of the window.
|
||||||
|
|
||||||
@@ -906,4 +899,4 @@ buffer lines logical lines window lines screen lines ~
|
|||||||
6. ~
|
6. ~
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*map.txt* For Vim version 8.1. Last change: 2018 May 13
|
*map.txt* For Vim version 8.1. Last change: 2018 Dec 18
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -371,8 +371,9 @@ job running in the terminal. See |terminal-typing|.
|
|||||||
|
|
||||||
*omap-info*
|
*omap-info*
|
||||||
Operator-pending mappings can be used to define a movement command that can be
|
Operator-pending mappings can be used to define a movement command that can be
|
||||||
used with any operator. Simple example: ":omap { w" makes "y{" work like "yw"
|
used with any operator. Simple example: >
|
||||||
and "d{" like "dw".
|
:omap { w
|
||||||
|
makes "y{" work like "yw" and "d{" like "dw".
|
||||||
|
|
||||||
To ignore the starting cursor position and select different text, you can have
|
To ignore the starting cursor position and select different text, you can have
|
||||||
the omap start Visual mode to select the text to be operated upon. Example
|
the omap start Visual mode to select the text to be operated upon. Example
|
||||||
@@ -383,9 +384,11 @@ Normal mode commands find the first '(' character and select the first word
|
|||||||
before it. That usually is the function name.
|
before it. That usually is the function name.
|
||||||
|
|
||||||
To enter a mapping for Normal and Visual mode, but not Operator-pending mode,
|
To enter a mapping for Normal and Visual mode, but not Operator-pending mode,
|
||||||
first define it for all three modes, then unmap it for Operator-pending mode:
|
first define it for all three modes, then unmap it for
|
||||||
|
Operator-pending mode: >
|
||||||
:map xx something-difficult
|
:map xx something-difficult
|
||||||
:ounmap xx
|
:ounmap xx
|
||||||
|
|
||||||
Likewise for a mapping for Visual and Operator-pending mode or Normal and
|
Likewise for a mapping for Visual and Operator-pending mode or Normal and
|
||||||
Operator-pending mode.
|
Operator-pending mode.
|
||||||
|
|
||||||
@@ -1220,6 +1223,10 @@ See |:verbose-cmd| for more information.
|
|||||||
attributes (see below) are {attr}. If the command
|
attributes (see below) are {attr}. If the command
|
||||||
already exists, an error is reported, unless a ! is
|
already exists, an error is reported, unless a ! is
|
||||||
specified, in which case the command is redefined.
|
specified, in which case the command is redefined.
|
||||||
|
There is one exception: When sourcing a script again,
|
||||||
|
a command that was previously defined in that script
|
||||||
|
will be silently replaced.
|
||||||
|
|
||||||
|
|
||||||
:delc[ommand] {cmd} *:delc* *:delcommand* *E184*
|
:delc[ommand] {cmd} *:delc* *:delcommand* *E184*
|
||||||
Delete the user-defined command {cmd}.
|
Delete the user-defined command {cmd}.
|
||||||
@@ -1227,7 +1234,8 @@ See |:verbose-cmd| for more information.
|
|||||||
:comc[lear] *:comc* *:comclear*
|
:comc[lear] *:comc* *:comclear*
|
||||||
Delete all user-defined commands.
|
Delete all user-defined commands.
|
||||||
|
|
||||||
Command attributes
|
|
||||||
|
Command attributes ~
|
||||||
|
|
||||||
User-defined commands are treated by Vim just like any other Ex commands. They
|
User-defined commands are treated by Vim just like any other Ex commands. They
|
||||||
can have arguments, or have a range specified. Arguments are subject to
|
can have arguments, or have a range specified. Arguments are subject to
|
||||||
@@ -1238,8 +1246,9 @@ There are a number of attributes, split into four categories: argument
|
|||||||
handling, completion behavior, range handling, and special cases. The
|
handling, completion behavior, range handling, and special cases. The
|
||||||
attributes are described below, by category.
|
attributes are described below, by category.
|
||||||
|
|
||||||
Argument handling *E175* *E176* *:command-nargs*
|
|
||||||
|
|
||||||
|
Argument handling ~
|
||||||
|
*E175* *E176* *:command-nargs*
|
||||||
By default, a user defined command will take no arguments (and an error is
|
By default, a user defined command will take no arguments (and an error is
|
||||||
reported if any are supplied). However, it is possible to specify that the
|
reported if any are supplied). However, it is possible to specify that the
|
||||||
command can take arguments, using the -nargs attribute. Valid cases are:
|
command can take arguments, using the -nargs attribute. Valid cases are:
|
||||||
@@ -1268,8 +1277,10 @@ defined, not where it is invoked! Example:
|
|||||||
Executing script2.vim will result in "None" being echoed. Not what you
|
Executing script2.vim will result in "None" being echoed. Not what you
|
||||||
intended! Calling a function may be an alternative.
|
intended! Calling a function may be an alternative.
|
||||||
|
|
||||||
Completion behavior *:command-completion* *E179*
|
|
||||||
*E180* *E181* *:command-complete*
|
Completion behavior ~
|
||||||
|
*:command-completion* *E179* *E180* *E181*
|
||||||
|
*:command-complete*
|
||||||
By default, the arguments of user defined commands do not undergo completion.
|
By default, the arguments of user defined commands do not undergo completion.
|
||||||
However, by specifying one or the other of the following attributes, argument
|
However, by specifying one or the other of the following attributes, argument
|
||||||
completion can be enabled:
|
completion can be enabled:
|
||||||
@@ -1314,9 +1325,9 @@ completion can be enabled:
|
|||||||
Note: That some completion methods might expand environment variables.
|
Note: That some completion methods might expand environment variables.
|
||||||
|
|
||||||
|
|
||||||
Custom completion *:command-completion-custom*
|
Custom completion ~
|
||||||
*:command-completion-customlist*
|
*:command-completion-custom*
|
||||||
*E467* *E468*
|
*:command-completion-customlist* *E467* *E468*
|
||||||
It is possible to define customized completion schemes via the "custom,{func}"
|
It is possible to define customized completion schemes via the "custom,{func}"
|
||||||
or the "customlist,{func}" completion argument. The {func} part should be a
|
or the "customlist,{func}" completion argument. The {func} part should be a
|
||||||
function with the following signature: >
|
function with the following signature: >
|
||||||
@@ -1361,8 +1372,8 @@ the 'path' option: >
|
|||||||
This example does not work for file names with spaces!
|
This example does not work for file names with spaces!
|
||||||
|
|
||||||
|
|
||||||
Range handling *E177* *E178* *:command-range*
|
Range handling ~
|
||||||
*:command-count*
|
*E177* *E178* *:command-range* *:command-count*
|
||||||
By default, user-defined commands do not accept a line number range. However,
|
By default, user-defined commands do not accept a line number range. However,
|
||||||
it is possible to specify that the command does take a range (the -range
|
it is possible to specify that the command does take a range (the -range
|
||||||
attribute), or that it takes an arbitrary count value, either in the line
|
attribute), or that it takes an arbitrary count value, either in the line
|
||||||
@@ -1396,8 +1407,11 @@ Possible values are:
|
|||||||
-addr=loaded_buffers Range for loaded buffers
|
-addr=loaded_buffers Range for loaded buffers
|
||||||
-addr=windows Range for windows
|
-addr=windows Range for windows
|
||||||
-addr=tabs Range for tab pages
|
-addr=tabs Range for tab pages
|
||||||
|
-addr=other other kind of range
|
||||||
|
|
||||||
Special cases *:command-bang* *:command-bar*
|
|
||||||
|
Special cases ~
|
||||||
|
*:command-bang* *:command-bar*
|
||||||
*:command-register* *:command-buffer*
|
*:command-register* *:command-buffer*
|
||||||
There are some special cases as well:
|
There are some special cases as well:
|
||||||
|
|
||||||
@@ -1415,7 +1429,8 @@ replacement text separately.
|
|||||||
Note that these arguments can be abbreviated, but that is a deprecated
|
Note that these arguments can be abbreviated, but that is a deprecated
|
||||||
feature. Use the full name for new scripts.
|
feature. Use the full name for new scripts.
|
||||||
|
|
||||||
Replacement text
|
|
||||||
|
Replacement text ~
|
||||||
|
|
||||||
The replacement text for a user defined command is scanned for special escape
|
The replacement text for a user defined command is scanned for special escape
|
||||||
sequences, using <...> notation. Escape sequences are replaced with values
|
sequences, using <...> notation. Escape sequences are replaced with values
|
||||||
@@ -1552,4 +1567,4 @@ local to the script and use mappings local to the script. When the user
|
|||||||
invokes the user command, it will run in the context of the script it was
|
invokes the user command, it will run in the context of the script it was
|
||||||
defined in. This matters if |<SID>| is used in a command.
|
defined in. This matters if |<SID>| is used in a command.
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -14,9 +14,6 @@ For an introduction to the most common features, see |usr_45.txt| in the user
|
|||||||
manual.
|
manual.
|
||||||
For changing the language of messages and menus see |mlang.txt|.
|
For changing the language of messages and menus see |mlang.txt|.
|
||||||
|
|
||||||
{not available when compiled without the |+multi_byte| feature}
|
|
||||||
|
|
||||||
|
|
||||||
1. Getting started |mbyte-first|
|
1. Getting started |mbyte-first|
|
||||||
2. Locale |mbyte-locale|
|
2. Locale |mbyte-locale|
|
||||||
3. Encoding |mbyte-encoding|
|
3. Encoding |mbyte-encoding|
|
||||||
@@ -44,16 +41,6 @@ features. Unfortunately, every system has its own way to deal with multibyte
|
|||||||
languages and it is quite complicated.
|
languages and it is quite complicated.
|
||||||
|
|
||||||
|
|
||||||
COMPILING
|
|
||||||
|
|
||||||
If you already have a compiled Vim program, check if the |+multi_byte| feature
|
|
||||||
is included. The |:version| command can be used for this.
|
|
||||||
|
|
||||||
If +multi_byte is not included, you should compile Vim with "normal", "big" or
|
|
||||||
"huge" features. You can further tune what features are included. See the
|
|
||||||
INSTALL files in the source directory.
|
|
||||||
|
|
||||||
|
|
||||||
LOCALE
|
LOCALE
|
||||||
|
|
||||||
First of all, you must make sure your current locale is set correctly. If
|
First of all, you must make sure your current locale is set correctly. If
|
||||||
@@ -1467,4 +1454,4 @@ Contributions specifically for the multi-byte features by:
|
|||||||
Taro Muraoka <koron@tka.att.ne.jp>
|
Taro Muraoka <koron@tka.att.ne.jp>
|
||||||
Yasuhiro Matsumoto <mattn@mail.goo.ne.jp>
|
Yasuhiro Matsumoto <mattn@mail.goo.ne.jp>
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*message.txt* For Vim version 8.1. Last change: 2018 Feb 04
|
*message.txt* For Vim version 8.1. Last change: 2018 Dec 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -557,14 +557,6 @@ This message is only given when Vim detects a problem when searching for a
|
|||||||
tag. Sometimes this message is not given, even though the tags file is not
|
tag. Sometimes this message is not given, even though the tags file is not
|
||||||
properly sorted.
|
properly sorted.
|
||||||
|
|
||||||
*E460* >
|
|
||||||
The resource fork would be lost (add ! to override)
|
|
||||||
|
|
||||||
On the Macintosh (classic), when writing a file, Vim attempts to preserve all
|
|
||||||
info about a file, including its resource fork. If this is not possible you
|
|
||||||
get this error message. Append "!" to the command name to write anyway (and
|
|
||||||
lose the info).
|
|
||||||
|
|
||||||
*E424* >
|
*E424* >
|
||||||
Too many different highlighting attributes in use
|
Too many different highlighting attributes in use
|
||||||
|
|
||||||
@@ -866,4 +858,4 @@ The |g<| command can be used to see the last page of previous command output.
|
|||||||
This is especially useful if you accidentally typed <Space> at the hit-enter
|
This is especially useful if you accidentally typed <Space> at the hit-enter
|
||||||
prompt.
|
prompt.
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -102,8 +102,10 @@ Or:
|
|||||||
|
|
||||||
This also contains tools xgettext, msgformat and others.
|
This also contains tools xgettext, msgformat and others.
|
||||||
|
|
||||||
libintl.dll should be placed in same directory with (g)vim.exe, or some
|
libintl.dll should be placed in same directory as (g)vim.exe, or one of the
|
||||||
place where PATH environment value describe. Vim also finds libintl-8.dll.
|
directories listed in the PATH environment value. Vim also looks for the
|
||||||
|
alternate names "libintl-8.dll" and "intl.dll".
|
||||||
|
|
||||||
Message files (vim.mo) have to be placed in "$VIMRUNTIME/lang/xx/LC_MESSAGES",
|
Message files (vim.mo) have to be placed in "$VIMRUNTIME/lang/xx/LC_MESSAGES",
|
||||||
where "xx" is the abbreviation of the language (mostly two letters).
|
where "xx" is the abbreviation of the language (mostly two letters).
|
||||||
|
|
||||||
@@ -210,4 +212,4 @@ a message adapt to language preferences of the user, >
|
|||||||
:endif
|
:endif
|
||||||
<
|
<
|
||||||
|
|
||||||
vim:tw=78:sw=4:ts=8:ft=help:norl:
|
vim:tw=78:sw=4:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*motion.txt* For Vim version 8.1. Last change: 2017 Oct 15
|
*motion.txt* For Vim version 8.1. Last change: 2019 Mar 02
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -113,7 +113,7 @@ This cannot be repeated: >
|
|||||||
endif<CR>
|
endif<CR>
|
||||||
Note that when using ":" any motion becomes characterwise exclusive.
|
Note that when using ":" any motion becomes characterwise exclusive.
|
||||||
|
|
||||||
|
*forced-motion*
|
||||||
FORCING A MOTION TO BE LINEWISE, CHARACTERWISE OR BLOCKWISE
|
FORCING A MOTION TO BE LINEWISE, CHARACTERWISE OR BLOCKWISE
|
||||||
|
|
||||||
When a motion is not of the type you would like to use, you can force another
|
When a motion is not of the type you would like to use, you can force another
|
||||||
@@ -320,7 +320,7 @@ _ <underscore> [count] - 1 lines downward, on the first non-blank
|
|||||||
G Goto line [count], default last line, on the first
|
G Goto line [count], default last line, on the first
|
||||||
non-blank character |linewise|. If 'startofline' not
|
non-blank character |linewise|. If 'startofline' not
|
||||||
set, keep the same column.
|
set, keep the same column.
|
||||||
G is a one of |jump-motions|.
|
G is one of the |jump-motions|.
|
||||||
|
|
||||||
*<C-End>*
|
*<C-End>*
|
||||||
<C-End> Goto line [count], default last line, on the last
|
<C-End> Goto line [count], default last line, on the last
|
||||||
@@ -1021,7 +1021,7 @@ These commands are not marks themselves, but jump to a mark:
|
|||||||
|
|
||||||
A "jump" is a command that normally moves the cursor several lines away. If
|
A "jump" is a command that normally moves the cursor several lines away. If
|
||||||
you make the cursor "jump" the position of the cursor before the jump is
|
you make the cursor "jump" the position of the cursor before the jump is
|
||||||
remembered. You can return to that position with the "''" and "``" command,
|
remembered. You can return to that position with the "''" and "``" commands,
|
||||||
unless the line containing that position was changed or deleted. The
|
unless the line containing that position was changed or deleted. The
|
||||||
following commands are "jump" commands: "'", "`", "G", "/", "?", "n", "N",
|
following commands are "jump" commands: "'", "`", "G", "/", "?", "n", "N",
|
||||||
"%", "(", ")", "[[", "]]", "{", "}", ":s", ":tag", "L", "M", "H" and the
|
"%", "(", ")", "[[", "]]", "{", "}", ":s", ":tag", "L", "M", "H" and the
|
||||||
@@ -1341,4 +1341,4 @@ L To line [count] from bottom of window (default: Last
|
|||||||
position is in a status line, that window is made the
|
position is in a status line, that window is made the
|
||||||
active window and the cursor is not moved. {not in Vi}
|
active window and the cursor is not moved. {not in Vi}
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
*netbeans.txt* For Vim version 8.1. Last change: 2016 Jul 15
|
*netbeans.txt* For Vim version 8.1. Last change: 2019 Jan 17
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Gordon Prieur et al.
|
VIM REFERENCE MANUAL by Gordon Prieur et al.
|
||||||
|
|
||||||
|
|
||||||
*netbeans* *netbeans-support*
|
*netbeans* *NetBeans* *netbeans-support*
|
||||||
|
|
||||||
Vim NetBeans Protocol: a socket interface for Vim integration into an IDE.
|
Vim NetBeans Protocol: a socket interface for Vim integration into an IDE.
|
||||||
|
|
||||||
@@ -123,8 +123,18 @@ Currently the NetBeans interface is supported by Vim running in a terminal and
|
|||||||
by gvim when it is run with one of the following GUIs: GTK, GNOME, Windows,
|
by gvim when it is run with one of the following GUIs: GTK, GNOME, Windows,
|
||||||
Athena and Motif.
|
Athena and Motif.
|
||||||
|
|
||||||
If Motif support is required the user must supply XPM libraries. See
|
*netbeans-xpm*
|
||||||
|workshop-xpm| for details on obtaining the latest version of XPM.
|
If Motif support is required the user must supply XPM libraries.
|
||||||
|
The XPM library is required to show images within Vim with Motif or Athena.
|
||||||
|
Without it the toolbar and signs will be disabled.
|
||||||
|
|
||||||
|
The XPM library is provided by Arnaud Le Hors of the French National Institute
|
||||||
|
for Research in Computer Science and Control. It can be downloaded from
|
||||||
|
http://cgit.freedesktop.org/xorg/lib/libXpm. The current release, as of this
|
||||||
|
writing, is xpm-3.4k-solaris.tgz, which is a gzip'ed tar file. If you create
|
||||||
|
the directory /usr/local/xpm and untar the file there you can use the
|
||||||
|
uncommented lines in the Makefile without changing them. If you use another
|
||||||
|
xpm directory you will need to change the XPM_DIR in src/Makefile.
|
||||||
|
|
||||||
|
|
||||||
On MS-Windows:
|
On MS-Windows:
|
||||||
@@ -1007,4 +1017,4 @@ Expert tab MIME Type property. NetBeans is MIME oriented and the External
|
|||||||
Editor will only open MIME types specified in this property.
|
Editor will only open MIME types specified in this property.
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*options.txt* For Vim version 8.1. Last change: 2018 May 15
|
*options.txt* For Vim version 8.1. Last change: 2019 Mar 08
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -121,9 +121,9 @@ When 'verbose' is non-zero, displaying an option value will also tell where it
|
|||||||
was last set. Example: >
|
was last set. Example: >
|
||||||
:verbose set shiftwidth cindent?
|
:verbose set shiftwidth cindent?
|
||||||
< shiftwidth=4 ~
|
< shiftwidth=4 ~
|
||||||
Last set from modeline ~
|
Last set from modeline line 1 ~
|
||||||
cindent ~
|
cindent ~
|
||||||
Last set from /usr/local/share/vim/vim60/ftplugin/c.vim ~
|
Last set from /usr/local/share/vim/vim60/ftplugin/c.vim line 30 ~
|
||||||
This is only done when specific option values are requested, not for ":verbose
|
This is only done when specific option values are requested, not for ":verbose
|
||||||
set all" or ":verbose set" without an argument.
|
set all" or ":verbose set" without an argument.
|
||||||
When the option was set by hand there is no "Last set" message.
|
When the option was set by hand there is no "Last set" message.
|
||||||
@@ -132,7 +132,7 @@ autocommand, the script in which it was defined is reported.
|
|||||||
Note that an option may also have been set as a side effect of setting
|
Note that an option may also have been set as a side effect of setting
|
||||||
'compatible'.
|
'compatible'.
|
||||||
A few special texts:
|
A few special texts:
|
||||||
Last set from modeline ~
|
Last set from modeline line 1 ~
|
||||||
Option was set in a |modeline|.
|
Option was set in a |modeline|.
|
||||||
Last set from --cmd argument ~
|
Last set from --cmd argument ~
|
||||||
Option was set with command line argument |--cmd| or +.
|
Option was set with command line argument |--cmd| or +.
|
||||||
@@ -354,12 +354,12 @@ files. You use this command: >
|
|||||||
:setlocal makeprg=perlmake
|
:setlocal makeprg=perlmake
|
||||||
You can switch back to using the global value by making the local value empty: >
|
You can switch back to using the global value by making the local value empty: >
|
||||||
:setlocal makeprg=
|
:setlocal makeprg=
|
||||||
This only works for a string option. For a boolean option you need to use the
|
This only works for a string option. For a number or boolean option you need
|
||||||
"<" flag, like this: >
|
to use the "<" flag, like this: >
|
||||||
:setlocal autoread<
|
:setlocal autoread<
|
||||||
Note that for non-boolean options using "<" copies the global value to the
|
Note that for non-boolean and non-number options using "<" copies the global
|
||||||
local value, it doesn't switch back to using the global value (that matters
|
value to the local value, it doesn't switch back to using the global value
|
||||||
when the global value changes later). You can also use: >
|
(that matters when the global value changes later). You can also use: >
|
||||||
:set path<
|
:set path<
|
||||||
This will make the local value of 'path' empty, so that the global value is
|
This will make the local value of 'path' empty, so that the global value is
|
||||||
used. Thus it does the same as: >
|
used. Thus it does the same as: >
|
||||||
@@ -383,9 +383,9 @@ Setting the filetype
|
|||||||
|
|
||||||
When the optional FALLBACK argument is present, a
|
When the optional FALLBACK argument is present, a
|
||||||
later :setfiletype command will override the
|
later :setfiletype command will override the
|
||||||
'filetype'. This is to used for filetype detections
|
'filetype'. This is to be used for filetype
|
||||||
that are just a guess. |did_filetype()| will return
|
detections that are just a guess. |did_filetype()|
|
||||||
false after this command.
|
will return false after this command.
|
||||||
|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
|
|
||||||
@@ -688,20 +688,13 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+farsi|
|
{only available when compiled with the |+farsi|
|
||||||
feature}
|
feature}
|
||||||
When on, the second language is Farsi. In editing mode CTRL-_ toggles
|
This option was for using Farsi, which has been removed. See
|
||||||
the keyboard map between Farsi and English, when 'allowrevins' set.
|
|farsi.txt|.
|
||||||
|
|
||||||
When off, the keyboard map toggles between Hebrew and English. This
|
|
||||||
is useful to start the Vim in native mode i.e. English (left-to-right
|
|
||||||
mode) and have default second language Farsi or Hebrew (right-to-left
|
|
||||||
mode). See |farsi.txt|.
|
|
||||||
|
|
||||||
*'ambiwidth'* *'ambw'*
|
*'ambiwidth'* *'ambw'*
|
||||||
'ambiwidth' 'ambw' string (default: "single")
|
'ambiwidth' 'ambw' string (default: "single")
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
Only effective when 'encoding' is "utf-8" or another Unicode encoding.
|
Only effective when 'encoding' is "utf-8" or another Unicode encoding.
|
||||||
Tells Vim what to do with characters with East Asian Width Class
|
Tells Vim what to do with characters with East Asian Width Class
|
||||||
Ambiguous (such as Euro, Registered Sign, Copyright Sign, Greek
|
Ambiguous (such as Euro, Registered Sign, Copyright Sign, Greek
|
||||||
@@ -846,6 +839,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'{A-Z0-9}, or `{A-Z0-9} command takes one to another file.
|
'{A-Z0-9}, or `{A-Z0-9} command takes one to another file.
|
||||||
Note that for some commands the 'autowrite' option is not used, see
|
Note that for some commands the 'autowrite' option is not used, see
|
||||||
'autowriteall' for that.
|
'autowriteall' for that.
|
||||||
|
Some buffers will not be written, specifically when 'buftype' is
|
||||||
|
"nowrite", "nofile", "terminal" or "prompt".
|
||||||
|
|
||||||
*'autowriteall'* *'awa'* *'noautowriteall'* *'noawa'*
|
*'autowriteall'* *'awa'* *'noautowriteall'* *'noawa'*
|
||||||
'autowriteall' 'awa' boolean (default off)
|
'autowriteall' 'awa' boolean (default off)
|
||||||
@@ -1054,6 +1049,14 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
name, precede it with a backslash.
|
name, precede it with a backslash.
|
||||||
- To include a comma in a directory name precede it with a backslash.
|
- To include a comma in a directory name precede it with a backslash.
|
||||||
- A directory name may end in an '/'.
|
- A directory name may end in an '/'.
|
||||||
|
- For Unix and Win32, if a directory ends in two path separators "//",
|
||||||
|
the backup file name will be built from the complete path to the
|
||||||
|
file with all path separators changed to percent '%' signs. This
|
||||||
|
will ensure file name uniqueness in the backup directory.
|
||||||
|
On Win32, it is also possible to end with "\\". However, When a
|
||||||
|
separating comma is following, you must use "//", since "\\" will
|
||||||
|
include the comma in the file name. Therefore it is recommended to
|
||||||
|
use '//', instead of '\\'.
|
||||||
- Environment variables are expanded |:set_env|.
|
- Environment variables are expanded |:set_env|.
|
||||||
- Careful with '\' characters, type one before a space, type two to
|
- Careful with '\' characters, type one before a space, type two to
|
||||||
get one in the option (see |option-backslash|), for example: >
|
get one in the option (see |option-backslash|), for example: >
|
||||||
@@ -1272,8 +1275,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'bomb' boolean (default off)
|
'bomb' boolean (default off)
|
||||||
local to buffer
|
local to buffer
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
When writing a file and the following conditions are met, a BOM (Byte
|
When writing a file and the following conditions are met, a BOM (Byte
|
||||||
Order Mark) is prepended to the file:
|
Order Mark) is prepended to the file:
|
||||||
- this option is on
|
- this option is on
|
||||||
@@ -1435,8 +1436,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'casemap' 'cmp' string (default: "internal,keepascii")
|
'casemap' 'cmp' string (default: "internal,keepascii")
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
Specifies details about changing the case of letters. It may contain
|
Specifies details about changing the case of letters. It may contain
|
||||||
these words, separated by a comma:
|
these words, separated by a comma:
|
||||||
internal Use internal case mapping functions, the current
|
internal Use internal case mapping functions, the current
|
||||||
@@ -1492,8 +1491,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
*'charconvert'* *'ccv'* *E202* *E214* *E513*
|
*'charconvert'* *'ccv'* *E202* *E214* *E513*
|
||||||
'charconvert' 'ccv' string (default "")
|
'charconvert' 'ccv' string (default "")
|
||||||
global
|
global
|
||||||
{only available when compiled with the |+multi_byte|
|
{only available when compiled with the |+eval| feature}
|
||||||
and |+eval| features}
|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
An expression that is used for character encoding conversion. It is
|
An expression that is used for character encoding conversion. It is
|
||||||
evaluated when a file that is to be read or has been written has a
|
evaluated when a file that is to be read or has been written has a
|
||||||
@@ -1554,7 +1552,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
NOTE: This option is reset when 'compatible' is set.
|
NOTE: This option is reset when 'compatible' is set.
|
||||||
|
|
||||||
*'cinkeys'* *'cink'*
|
*'cinkeys'* *'cink'*
|
||||||
'cinkeys' 'cink' string (default "0{,0},0),:,0#,!^F,o,O,e")
|
'cinkeys' 'cink' string (default "0{,0},0),0],:,0#,!^F,o,O,e")
|
||||||
local to buffer
|
local to buffer
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{not available when compiled without the |+cindent|
|
{not available when compiled without the |+cindent|
|
||||||
@@ -1628,10 +1626,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
area extended, Vim tries to become the owner of the
|
area extended, Vim tries to become the owner of the
|
||||||
windowing system's global selection or put the
|
windowing system's global selection or put the
|
||||||
selected text on the clipboard used by the selection
|
selected text on the clipboard used by the selection
|
||||||
register "*. See |guioptions_a| and |quotestar| for
|
register "*. See |'go-a'| and |quotestar| for details.
|
||||||
details. When the GUI is active, the 'a' flag in
|
When the GUI is active, the 'a' flag in 'guioptions'
|
||||||
'guioptions' is used, when the GUI is not active, this
|
is used, when the GUI is not active, this "autoselect"
|
||||||
"autoselect" flag is used.
|
flag is used.
|
||||||
Also applies to the modeless selection.
|
Also applies to the modeless selection.
|
||||||
|
|
||||||
*clipboard-autoselectplus*
|
*clipboard-autoselectplus*
|
||||||
@@ -1652,7 +1650,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
You probably want to add this only temporarily,
|
You probably want to add this only temporarily,
|
||||||
possibly use BufEnter autocommands.
|
possibly use BufEnter autocommands.
|
||||||
Only supported for GTK version 2 and later.
|
Only supported for GTK version 2 and later.
|
||||||
Only available with the |+multi_byte| feature.
|
|
||||||
|
|
||||||
*clipboard-exclude*
|
*clipboard-exclude*
|
||||||
exclude:{pattern}
|
exclude:{pattern}
|
||||||
@@ -1989,8 +1986,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
displayed. E.g., when moving vertically it may change column.
|
displayed. E.g., when moving vertically it may change column.
|
||||||
|
|
||||||
|
|
||||||
'conceallevel' 'cole' *'conceallevel'* *'cole'*
|
*'conceallevel'* *'cole'*
|
||||||
number (default 0)
|
'conceallevel' 'cole' number (default 0)
|
||||||
local to window
|
local to window
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{not available when compiled without the |+conceal|
|
{not available when compiled without the |+conceal|
|
||||||
@@ -2263,7 +2260,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
deleted only once. Also when repeating "R" with "."
|
deleted only once. Also when repeating "R" with "."
|
||||||
and a count.
|
and a count.
|
||||||
*cpo-y*
|
*cpo-y*
|
||||||
y A yank command can be redone with ".".
|
y A yank command can be redone with ".". Think twice if
|
||||||
|
you really want to use this, it may break some
|
||||||
|
plugins, since most people expect "." to only repeat a
|
||||||
|
change.
|
||||||
*cpo-Z*
|
*cpo-Z*
|
||||||
Z When using "w!" while the 'readonly' option is set,
|
Z When using "w!" while the 'readonly' option is set,
|
||||||
don't reset 'readonly'.
|
don't reset 'readonly'.
|
||||||
@@ -2360,7 +2360,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
|
|
||||||
|
|
||||||
*'cryptmethod'* *'cm'*
|
*'cryptmethod'* *'cm'*
|
||||||
'cryptmethod' 'cm' string (default "zip")
|
'cryptmethod' 'cm' string (default "blowfish2")
|
||||||
global or local to buffer |global-local|
|
global or local to buffer |global-local|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
Method used for encryption when the buffer is written to a file:
|
Method used for encryption when the buffer is written to a file:
|
||||||
@@ -2391,8 +2391,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
modifications. Also see |:X|.
|
modifications. Also see |:X|.
|
||||||
|
|
||||||
When setting the global value to an empty string, it will end up with
|
When setting the global value to an empty string, it will end up with
|
||||||
the value "zip". When setting the local value to an empty string the
|
the value "blowfish2". When setting the local value to an empty
|
||||||
buffer will use the global value.
|
string the buffer will use the global value.
|
||||||
|
|
||||||
When a new encryption method is added in a later version of Vim, and
|
When a new encryption method is added in a later version of Vim, and
|
||||||
the current version does not recognize it, you will get *E821* .
|
the current version does not recognize it, you will get *E821* .
|
||||||
@@ -2544,8 +2544,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'delcombine' 'deco' boolean (default off)
|
'delcombine' 'deco' boolean (default off)
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
If editing Unicode and this option is set, backspace and Normal mode
|
If editing Unicode and this option is set, backspace and Normal mode
|
||||||
"x" delete each combining character on its own. When it is off (the
|
"x" delete each combining character on its own. When it is off (the
|
||||||
default) the character along with its combining characters are
|
default) the character along with its combining characters are
|
||||||
@@ -2599,13 +2597,13 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
{not in Vi}
|
{not in Vi}
|
||||||
{not available when compiled without the |+diff|
|
{not available when compiled without the |+diff|
|
||||||
feature}
|
feature}
|
||||||
Expression which is evaluated to obtain an ed-style diff file from two
|
Expression which is evaluated to obtain a diff file (either ed-style
|
||||||
versions of a file. See |diff-diffexpr|.
|
or unified-style) from two versions of a file. See |diff-diffexpr|.
|
||||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||||
security reasons.
|
security reasons.
|
||||||
|
|
||||||
*'dip'* *'diffopt'*
|
*'dip'* *'diffopt'*
|
||||||
'diffopt' 'dip' string (default "filler")
|
'diffopt' 'dip' string (default "internal,filler")
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{not available when compiled without the |+diff|
|
{not available when compiled without the |+diff|
|
||||||
@@ -2622,8 +2620,20 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
context:{n} Use a context of {n} lines between a change
|
context:{n} Use a context of {n} lines between a change
|
||||||
and a fold that contains unchanged lines.
|
and a fold that contains unchanged lines.
|
||||||
When omitted a context of six lines is used.
|
When omitted a context of six lines is used.
|
||||||
|
When using zero the context is actually one,
|
||||||
|
since folds require a line in between, also
|
||||||
|
for a deleted line.
|
||||||
See |fold-diff|.
|
See |fold-diff|.
|
||||||
|
|
||||||
|
iblank Ignore changes where lines are all blank. Adds
|
||||||
|
the "-B" flag to the "diff" command if
|
||||||
|
'diffexpr' is empty. Check the documentation
|
||||||
|
of the "diff" command for what this does
|
||||||
|
exactly.
|
||||||
|
NOTE: the diff windows will get out of sync,
|
||||||
|
because no differences between blank lines are
|
||||||
|
taken into account.
|
||||||
|
|
||||||
icase Ignore changes in case of text. "a" and "A"
|
icase Ignore changes in case of text. "a" and "A"
|
||||||
are considered the same. Adds the "-i" flag
|
are considered the same. Adds the "-i" flag
|
||||||
to the "diff" command if 'diffexpr' is empty.
|
to the "diff" command if 'diffexpr' is empty.
|
||||||
@@ -2635,6 +2645,18 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
exactly. It should ignore adding trailing
|
exactly. It should ignore adding trailing
|
||||||
white space, but not leading white space.
|
white space, but not leading white space.
|
||||||
|
|
||||||
|
iwhiteall Ignore all white space changes. Adds
|
||||||
|
the "-w" flag to the "diff" command if
|
||||||
|
'diffexpr' is empty. Check the documentation
|
||||||
|
of the "diff" command for what this does
|
||||||
|
exactly.
|
||||||
|
|
||||||
|
iwhiteeol Ignore white space changes at end of line.
|
||||||
|
Adds the "-Z" flag to the "diff" command if
|
||||||
|
'diffexpr' is empty. Check the documentation
|
||||||
|
of the "diff" command for what this does
|
||||||
|
exactly.
|
||||||
|
|
||||||
horizontal Start diff mode with horizontal splits (unless
|
horizontal Start diff mode with horizontal splits (unless
|
||||||
explicitly specified otherwise).
|
explicitly specified otherwise).
|
||||||
|
|
||||||
@@ -2647,11 +2669,31 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
foldcolumn:{n} Set the 'foldcolumn' option to {n} when
|
foldcolumn:{n} Set the 'foldcolumn' option to {n} when
|
||||||
starting diff mode. Without this 2 is used.
|
starting diff mode. Without this 2 is used.
|
||||||
|
|
||||||
Examples: >
|
internal Use the internal diff library. This is
|
||||||
|
ignored when 'diffexpr' is set. *E960*
|
||||||
|
When running out of memory when writing a
|
||||||
|
buffer this item will be ignored for diffs
|
||||||
|
involving that buffer. Set the 'verbose'
|
||||||
|
option to see when this happens.
|
||||||
|
|
||||||
:set diffopt=filler,context:4
|
indent-heuristic
|
||||||
|
Use the indent heuristic for the internal
|
||||||
|
diff library.
|
||||||
|
|
||||||
|
algorithm:{text} Use the specified diff algorithm with the
|
||||||
|
internal diff engine. Currently supported
|
||||||
|
algorithms are:
|
||||||
|
myers the default algorithm
|
||||||
|
minimal spend extra time to generate the
|
||||||
|
smallest possible diff
|
||||||
|
patience patience diff algorithm
|
||||||
|
histogram histogram diff algorithm
|
||||||
|
|
||||||
|
Examples: >
|
||||||
|
:set diffopt=internal,filler,context:4
|
||||||
:set diffopt=
|
:set diffopt=
|
||||||
:set diffopt=filler,foldcolumn:3
|
:set diffopt=internal,filler,foldcolumn:3
|
||||||
|
:set diffopt-=internal " do NOT use the internal diff parser
|
||||||
<
|
<
|
||||||
*'digraph'* *'dg'* *'nodigraph'* *'nodg'*
|
*'digraph'* *'dg'* *'nodigraph'* *'nodg'*
|
||||||
'digraph' 'dg' boolean (default off)
|
'digraph' 'dg' boolean (default off)
|
||||||
@@ -2680,12 +2722,14 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
- A directory starting with "./" (or ".\" for MS-DOS et al.) means to
|
- A directory starting with "./" (or ".\" for MS-DOS et al.) means to
|
||||||
put the swap file relative to where the edited file is. The leading
|
put the swap file relative to where the edited file is. The leading
|
||||||
"." is replaced with the path name of the edited file.
|
"." is replaced with the path name of the edited file.
|
||||||
- For Unix and Win32, if a directory ends in two path separators "//"
|
- For Unix and Win32, if a directory ends in two path separators "//",
|
||||||
or "\\", the swap file name will be built from the complete path to
|
the swap file name will be built from the complete path to the file
|
||||||
the file with all path separators substituted to percent '%' signs.
|
with all path separators substituted to percent '%' signs. This will
|
||||||
This will ensure file name uniqueness in the preserve directory.
|
ensure file name uniqueness in the preserve directory.
|
||||||
On Win32, when a separating comma is following, you must use "//",
|
On Win32, it is also possible to end with "\\". However, When a
|
||||||
since "\\" will include the comma in the file name.
|
separating comma is following, you must use "//", since "\\" will
|
||||||
|
include the comma in the file name. Therefore it is recommended to
|
||||||
|
use '//', instead of '\\'.
|
||||||
- Spaces after the comma are ignored, other spaces are considered part
|
- Spaces after the comma are ignored, other spaces are considered part
|
||||||
of the directory name. To have a space at the start of a directory
|
of the directory name. To have a space at the start of a directory
|
||||||
name, precede it with a backslash.
|
name, precede it with a backslash.
|
||||||
@@ -2753,16 +2797,12 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'emoji' 'emo' boolean (default: on)
|
'emoji' 'emo' boolean (default: on)
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
When on all Unicode emoji characters are considered to be full width.
|
When on all Unicode emoji characters are considered to be full width.
|
||||||
|
|
||||||
|
|
||||||
*'encoding'* *'enc'* *E543*
|
*'encoding'* *'enc'* *E543*
|
||||||
'encoding' 'enc' string (default: "latin1" or value from $LANG)
|
'encoding' 'enc' string (default: "latin1" or value from $LANG)
|
||||||
global
|
global
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
Sets the character encoding used inside Vim. It applies to text in
|
Sets the character encoding used inside Vim. It applies to text in
|
||||||
the buffers, registers, Strings in expressions, text stored in the
|
the buffers, registers, Strings in expressions, text stored in the
|
||||||
@@ -2965,8 +3005,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
*'fileencoding'* *'fenc'* *E213*
|
*'fileencoding'* *'fenc'* *E213*
|
||||||
'fileencoding' 'fenc' string (default: "")
|
'fileencoding' 'fenc' string (default: "")
|
||||||
local to buffer
|
local to buffer
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
Sets the character encoding for the file of this buffer.
|
Sets the character encoding for the file of this buffer.
|
||||||
|
|
||||||
@@ -3022,8 +3060,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
"ucs-bom,utf-8,default,latin1" when
|
"ucs-bom,utf-8,default,latin1" when
|
||||||
'encoding' is set to a Unicode value)
|
'encoding' is set to a Unicode value)
|
||||||
global
|
global
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
This is a list of character encodings considered when starting to edit
|
This is a list of character encodings considered when starting to edit
|
||||||
an existing file. When a file is read, Vim tries to use the first
|
an existing file. When a file is read, Vim tries to use the first
|
||||||
@@ -3078,9 +3114,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
is read.
|
is read.
|
||||||
|
|
||||||
*'fileformat'* *'ff'*
|
*'fileformat'* *'ff'*
|
||||||
'fileformat' 'ff' string (MS-DOS, MS-Windows, OS/2 default: "dos",
|
'fileformat' 'ff' string (MS-Windows default: "dos",
|
||||||
Unix default: "unix",
|
Unix, macOS default: "unix")
|
||||||
Macintosh default: "mac")
|
|
||||||
local to buffer
|
local to buffer
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
This gives the <EOL> of the current buffer, which is used for
|
This gives the <EOL> of the current buffer, which is used for
|
||||||
@@ -3103,9 +3138,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
|
|
||||||
*'fileformats'* *'ffs'*
|
*'fileformats'* *'ffs'*
|
||||||
'fileformats' 'ffs' string (default:
|
'fileformats' 'ffs' string (default:
|
||||||
Vim+Vi MS-DOS, MS-Windows OS/2: "dos,unix",
|
Vim+Vi MS-Windows: "dos,unix",
|
||||||
Vim Unix: "unix,dos",
|
Vim Unix, macOS: "unix,dos",
|
||||||
Vim Mac: "mac,unix,dos",
|
|
||||||
Vi Cygwin: "unix,dos",
|
Vi Cygwin: "unix,dos",
|
||||||
Vi others: "")
|
Vi others: "")
|
||||||
global
|
global
|
||||||
@@ -3247,9 +3281,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+rightleft|
|
{only available when compiled with the |+rightleft|
|
||||||
feature}
|
feature}
|
||||||
When on, the keyboard is mapped for the Farsi character set.
|
This option was for using Farsi, which has been removed. See
|
||||||
Normally you would set 'allowrevins' and use CTRL-_ in insert mode to
|
|farsi.txt|.
|
||||||
toggle this option |i_CTRL-_|. See |farsi.txt|.
|
|
||||||
|
|
||||||
*'foldclose'* *'fcl'*
|
*'foldclose'* *'fcl'*
|
||||||
'foldclose' 'fcl' string (default "")
|
'foldclose' 'fcl' string (default "")
|
||||||
@@ -3842,8 +3875,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
screen.
|
screen.
|
||||||
|
|
||||||
*'guioptions'* *'go'*
|
*'guioptions'* *'go'*
|
||||||
'guioptions' 'go' string (default "egmrLtT" (MS-Windows, "t" is
|
'guioptions' 'go' string (default "egmrLtT" (MS-Windows,
|
||||||
removed in |defaults.vim|),
|
"t" is removed in |defaults.vim|),
|
||||||
"aegimrLtT" (GTK, Motif and Athena),
|
"aegimrLtT" (GTK, Motif and Athena),
|
||||||
)
|
)
|
||||||
global
|
global
|
||||||
@@ -3863,7 +3896,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
terminal to list the command output.
|
terminal to list the command output.
|
||||||
The terminal window will be positioned at the bottom, and grow
|
The terminal window will be positioned at the bottom, and grow
|
||||||
upwards as needed.
|
upwards as needed.
|
||||||
*guioptions_a* *'go-a'*
|
*'go-a'*
|
||||||
'a' Autoselect: If present, then whenever VISUAL mode is started,
|
'a' Autoselect: If present, then whenever VISUAL mode is started,
|
||||||
or the Visual area extended, Vim tries to become the owner of
|
or the Visual area extended, Vim tries to become the owner of
|
||||||
the windowing system's global selection. This means that the
|
the windowing system's global selection. This means that the
|
||||||
@@ -4080,11 +4113,12 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
l:Search,m:MoreMsg,M:ModeMsg,n:LineNr,
|
l:Search,m:MoreMsg,M:ModeMsg,n:LineNr,
|
||||||
N:CursorLineNr,r:Question,s:StatusLine,
|
N:CursorLineNr,r:Question,s:StatusLine,
|
||||||
S:StatusLineNC,c:VertSplit,t:Title,
|
S:StatusLineNC,c:VertSplit,t:Title,
|
||||||
v:Visual,w:WarningMsg,W:WildMenu,f:Folded,
|
v:Visual,V:VisualNOS,w:WarningMsg,
|
||||||
F:FoldColumn,A:DiffAdd,C:DiffChange,
|
W:WildMenu,f:Folded,F:FoldColumn,
|
||||||
D:DiffDelete,T:DiffText,>:SignColumn,
|
A:DiffAdd,C:DiffChange,D:DiffDelete,
|
||||||
|
T:DiffText,>:SignColumn,-:Conceal,
|
||||||
B:SpellBad,P:SpellCap,R:SpellRare,
|
B:SpellBad,P:SpellCap,R:SpellRare,
|
||||||
L:SpellLocal,-:Conceal,+:Pmenu,=:PmenuSel,
|
L:SpellLocal,+:Pmenu,=:PmenuSel,
|
||||||
x:PmenuSbar,X:PmenuThumb,*:TabLine,
|
x:PmenuSbar,X:PmenuThumb,*:TabLine,
|
||||||
#:TabLineSel,_:TabLineFill,!:CursorColumn,
|
#:TabLineSel,_:TabLineFill,!:CursorColumn,
|
||||||
.:CursorLine,o:ColorColumn,q:QuickFixLine,
|
.:CursorLine,o:ColorColumn,q:QuickFixLine,
|
||||||
@@ -4129,14 +4163,14 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
|hl-DiffDelete| D deleted line in diff mode
|
|hl-DiffDelete| D deleted line in diff mode
|
||||||
|hl-DiffText| T inserted text in diff mode
|
|hl-DiffText| T inserted text in diff mode
|
||||||
|hl-SignColumn| > column used for |signs|
|
|hl-SignColumn| > column used for |signs|
|
||||||
|
|hl-Conceal| - the placeholders used for concealed characters
|
||||||
|
(see 'conceallevel')
|
||||||
|hl-SpellBad| B misspelled word |spell|
|
|hl-SpellBad| B misspelled word |spell|
|
||||||
|hl-SpellCap| P word that should start with capital |spell|
|
|hl-SpellCap| P word that should start with capital |spell|
|
||||||
|hl-SpellRare| R rare word |spell|
|
|hl-SpellRare| R rare word |spell|
|
||||||
|hl-SpellLocal| L word from other region |spell|
|
|hl-SpellLocal| L word from other region |spell|
|
||||||
|hl-Conceal| - the placeholders used for concealed characters
|
|
||||||
(see 'conceallevel')
|
|
||||||
|hl-Pmenu| + popup menu normal line
|
|hl-Pmenu| + popup menu normal line
|
||||||
|hl-PmenuSel| = popup menu normal line
|
|hl-PmenuSel| = popup menu selected line
|
||||||
|hl-PmenuSbar| x popup menu scrollbar
|
|hl-PmenuSbar| x popup menu scrollbar
|
||||||
|hl-PmenuThumb| X popup menu scrollbar thumb
|
|hl-PmenuThumb| X popup menu scrollbar thumb
|
||||||
|
|
||||||
@@ -4269,8 +4303,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'imactivatefunc' 'imaf' string (default "")
|
'imactivatefunc' 'imaf' string (default "")
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
This option specifies a function that will be called to
|
This option specifies a function that will be called to
|
||||||
activate or deactivate the Input Method.
|
activate or deactivate the Input Method.
|
||||||
It is not used in the GUI.
|
It is not used in the GUI.
|
||||||
@@ -4322,8 +4354,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'imcmdline' 'imc' boolean (default off)
|
'imcmdline' 'imc' boolean (default off)
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
When set the Input Method is always on when starting to edit a command
|
When set the Input Method is always on when starting to edit a command
|
||||||
line, unless entering a search pattern (see 'imsearch' for that).
|
line, unless entering a search pattern (see 'imsearch' for that).
|
||||||
Setting this option is useful when your input method allows entering
|
Setting this option is useful when your input method allows entering
|
||||||
@@ -4334,8 +4364,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'imdisable' 'imd' boolean (default off, on for some systems (SGI))
|
'imdisable' 'imd' boolean (default off, on for some systems (SGI))
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
When set the Input Method is never used. This is useful to disable
|
When set the Input Method is never used. This is useful to disable
|
||||||
the IM when it doesn't work properly.
|
the IM when it doesn't work properly.
|
||||||
Currently this option is on by default for SGI/IRIX machines. This
|
Currently this option is on by default for SGI/IRIX machines. This
|
||||||
@@ -4363,7 +4391,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
methods. Use 'imdisable' to disable XIM then.
|
methods. Use 'imdisable' to disable XIM then.
|
||||||
|
|
||||||
You can set 'imactivatefunc' and 'imstatusfunc' to handle IME/XIM
|
You can set 'imactivatefunc' and 'imstatusfunc' to handle IME/XIM
|
||||||
via external command if vim is not compiled with the |+xim|,
|
via external command if Vim is not compiled with the |+xim|,
|
||||||
|+multi_byte_ime| or |global-ime|.
|
|+multi_byte_ime| or |global-ime|.
|
||||||
|
|
||||||
*'imsearch'* *'ims'*
|
*'imsearch'* *'ims'*
|
||||||
@@ -4388,8 +4416,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'imstatusfunc' 'imsf' string (default "")
|
'imstatusfunc' 'imsf' string (default "")
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
This option specifies a function that is called to obtain the status
|
This option specifies a function that is called to obtain the status
|
||||||
of Input Method. It must return a positive number when IME is active.
|
of Input Method. It must return a positive number when IME is active.
|
||||||
It is not used in the GUI.
|
It is not used in the GUI.
|
||||||
@@ -4470,7 +4496,18 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
so far, matches. The matched string is highlighted. If the pattern
|
so far, matches. The matched string is highlighted. If the pattern
|
||||||
is invalid or not found, nothing is shown. The screen will be updated
|
is invalid or not found, nothing is shown. The screen will be updated
|
||||||
often, this is only useful on fast terminals.
|
often, this is only useful on fast terminals.
|
||||||
Note that the match will be shown, but the cursor will return to its
|
Also applies to the pattern in commands: >
|
||||||
|
:global
|
||||||
|
:lvimgrep
|
||||||
|
:lvimgrepadd
|
||||||
|
:smagic
|
||||||
|
:snomagic
|
||||||
|
:sort
|
||||||
|
:substitute
|
||||||
|
:vglobal
|
||||||
|
:vimgrep
|
||||||
|
:vimgrepadd
|
||||||
|
< Note that the match will be shown, but the cursor will return to its
|
||||||
original position when no match is found and when pressing <Esc>. You
|
original position when no match is found and when pressing <Esc>. You
|
||||||
still need to finish the search command with <Enter> to move the
|
still need to finish the search command with <Enter> to move the
|
||||||
cursor to the match.
|
cursor to the match.
|
||||||
@@ -4483,9 +4520,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
The highlighting can be set with the 'i' flag in 'highlight'.
|
The highlighting can be set with the 'i' flag in 'highlight'.
|
||||||
When 'hlsearch' is on, all matched strings are highlighted too while
|
When 'hlsearch' is on, all matched strings are highlighted too while
|
||||||
typing a search command. See also: 'hlsearch'.
|
typing a search command. See also: 'hlsearch'.
|
||||||
If you don't want turn 'hlsearch' on, but want to highlight all matches
|
If you don't want to turn 'hlsearch' on, but want to highlight all
|
||||||
while searching, you can turn on and off 'hlsearch' with autocmd.
|
matches while searching, you can turn on and off 'hlsearch' with
|
||||||
Example: >
|
autocmd. Example: >
|
||||||
augroup vimrc-incsearch-highlight
|
augroup vimrc-incsearch-highlight
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd CmdlineEnter /,\? :set hlsearch
|
autocmd CmdlineEnter /,\? :set hlsearch
|
||||||
@@ -4539,7 +4576,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
|
|
||||||
|
|
||||||
*'indentkeys'* *'indk'*
|
*'indentkeys'* *'indk'*
|
||||||
'indentkeys' 'indk' string (default "0{,0},:,0#,!^F,o,O,e")
|
'indentkeys' 'indk' string (default "0{,0},0),0],:,0#,!^F,o,O,e")
|
||||||
local to buffer
|
local to buffer
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{not available when compiled without the |+cindent|
|
{not available when compiled without the |+cindent|
|
||||||
@@ -4655,7 +4692,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
Identifiers are used in recognizing environment variables and after a
|
Identifiers are used in recognizing environment variables and after a
|
||||||
match of the 'define' option. It is also used for "\i" in a
|
match of the 'define' option. It is also used for "\i" in a
|
||||||
|pattern|. See 'isfname' for a description of the format of this
|
|pattern|. See 'isfname' for a description of the format of this
|
||||||
option.
|
option. For '@' only characters up to 255 are used.
|
||||||
Careful: If you change this option, it might break expanding
|
Careful: If you change this option, it might break expanding
|
||||||
environment variables. E.g., when '/' is included and Vim tries to
|
environment variables. E.g., when '/' is included and Vim tries to
|
||||||
expand "$HOME/.viminfo". Maybe you should change 'iskeyword' instead.
|
expand "$HOME/.viminfo". Maybe you should change 'iskeyword' instead.
|
||||||
@@ -4669,8 +4706,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
{not in Vi}
|
{not in Vi}
|
||||||
Keywords are used in searching and recognizing with many commands:
|
Keywords are used in searching and recognizing with many commands:
|
||||||
"w", "*", "[i", etc. It is also used for "\k" in a |pattern|. See
|
"w", "*", "[i", etc. It is also used for "\k" in a |pattern|. See
|
||||||
'isfname' for a description of the format of this option. For C
|
'isfname' for a description of the format of this option. For '@'
|
||||||
programs you could use "a-z,A-Z,48-57,_,.,-,>".
|
characters above 255 check the "word" character class.
|
||||||
|
For C programs you could use "a-z,A-Z,48-57,_,.,-,>".
|
||||||
For a help file it is set to all non-blank printable characters except
|
For a help file it is set to all non-blank printable characters except
|
||||||
'*', '"' and '|' (so that CTRL-] on a command finds the help for that
|
'*', '"' and '|' (so that CTRL-] on a command finds the help for that
|
||||||
command).
|
command).
|
||||||
@@ -4997,11 +5035,26 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
omitted, there is no extra character at the end of the
|
omitted, there is no extra character at the end of the
|
||||||
line.
|
line.
|
||||||
*lcs-tab*
|
*lcs-tab*
|
||||||
tab:xy Two characters to be used to show a tab. The first
|
tab:xy[z] Two or three characters to be used to show a tab.
|
||||||
char is used once. The second char is repeated to
|
The third character is optional.
|
||||||
fill the space that the tab normally occupies.
|
|
||||||
"tab:>-" will show a tab that takes four spaces as
|
tab:xy The 'x' is always used, then 'y' as many times as will
|
||||||
">---". When omitted, a tab is show as ^I.
|
fit. Thus "tab:>-" displays:
|
||||||
|
>
|
||||||
|
>-
|
||||||
|
>--
|
||||||
|
etc.
|
||||||
|
|
||||||
|
tab:xyz The 'z' is always used, then 'x' is prepended, and
|
||||||
|
then 'y' is used as many times as will fit. Thus
|
||||||
|
"tab:<->" displays:
|
||||||
|
>
|
||||||
|
<>
|
||||||
|
<->
|
||||||
|
<-->
|
||||||
|
etc.
|
||||||
|
|
||||||
|
When "tab:" is omitted, a tab is shown as ^I.
|
||||||
*lcs-space*
|
*lcs-space*
|
||||||
space:c Character to show for a space. When omitted, spaces
|
space:c Character to show for a space. When omitted, spaces
|
||||||
are left blank.
|
are left blank.
|
||||||
@@ -5107,8 +5160,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
*'makeencoding'* *'menc'*
|
*'makeencoding'* *'menc'*
|
||||||
'makeencoding' 'menc' string (default "")
|
'makeencoding' 'menc' string (default "")
|
||||||
global or local to buffer |global-local|
|
global or local to buffer |global-local|
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
Encoding used for reading the output of external commands. When empty,
|
Encoding used for reading the output of external commands. When empty,
|
||||||
encoding is not converted.
|
encoding is not converted.
|
||||||
@@ -5175,8 +5226,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'maxcombine' 'mco' number (default 2)
|
'maxcombine' 'mco' number (default 2)
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
The maximum number of combining characters supported for displaying.
|
The maximum number of combining characters supported for displaying.
|
||||||
Only used when 'encoding' is "utf-8".
|
Only used when 'encoding' is "utf-8".
|
||||||
The default is OK for most languages. Hebrew may require 4.
|
The default is OK for most languages. Hebrew may require 4.
|
||||||
@@ -5381,7 +5430,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
h all previous modes when editing a help file
|
h all previous modes when editing a help file
|
||||||
a all previous modes
|
a all previous modes
|
||||||
r for |hit-enter| and |more-prompt| prompt
|
r for |hit-enter| and |more-prompt| prompt
|
||||||
Normally you would enable the mouse in all four modes with: >
|
Normally you would enable the mouse in all five modes with: >
|
||||||
:set mouse=a
|
:set mouse=a
|
||||||
< When the mouse is not enabled, the GUI will still use the mouse for
|
< When the mouse is not enabled, the GUI will still use the mouse for
|
||||||
modeless selection. This doesn't move the text cursor.
|
modeless selection. This doesn't move the text cursor.
|
||||||
@@ -5451,8 +5500,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
The 'mousemodel' option is set by the |:behave| command.
|
The 'mousemodel' option is set by the |:behave| command.
|
||||||
|
|
||||||
*'mouseshape'* *'mouses'* *E547*
|
*'mouseshape'* *'mouses'* *E547*
|
||||||
'mouseshape' 'mouses' string (default "i:beam,r:beam,s:updown,sd:cross,
|
'mouseshape' 'mouses' string (default "i-r:beam,s:updown,sd:udsizing,
|
||||||
m:no,ml:up-arrow,v:rightup-arrow")
|
vs:leftright,vd:lrsizing,m:no,
|
||||||
|
ml:up-arrow,v:rightup-arrow")
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+mouseshape|
|
{only available when compiled with the |+mouseshape|
|
||||||
@@ -5903,7 +5953,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
security reasons.
|
security reasons.
|
||||||
|
|
||||||
*'printencoding'* *'penc'*
|
*'printencoding'* *'penc'*
|
||||||
'printencoding' 'penc' String (default empty, except for some systems)
|
'printencoding' 'penc' string (default empty, except for some systems)
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+printer|
|
{only available when compiled with the |+printer|
|
||||||
@@ -5912,7 +5962,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
See |penc-option|.
|
See |penc-option|.
|
||||||
|
|
||||||
*'printexpr'* *'pexpr'*
|
*'printexpr'* *'pexpr'*
|
||||||
'printexpr' 'pexpr' String (default: see below)
|
'printexpr' 'pexpr' string (default: see below)
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+printer|
|
{only available when compiled with the |+printer|
|
||||||
@@ -5944,8 +5994,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'printmbcharset' 'pmbcs' string (default "")
|
'printmbcharset' 'pmbcs' string (default "")
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+printer|,
|
{only available when compiled with the |+printer|
|
||||||
|+postscript| and |+multi_byte| features}
|
and |+postscript| features}
|
||||||
The CJK character set to be used for CJK output from |:hardcopy|.
|
The CJK character set to be used for CJK output from |:hardcopy|.
|
||||||
See |pmbcs-option|.
|
See |pmbcs-option|.
|
||||||
|
|
||||||
@@ -5953,8 +6003,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'printmbfont' 'pmbfn' string (default "")
|
'printmbfont' 'pmbfn' string (default "")
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the |+printer|,
|
{only available when compiled with the |+printer|
|
||||||
|+postscript| and |+multi_byte| features}
|
and |+postscript| features}
|
||||||
List of font names to be used for CJK output from |:hardcopy|.
|
List of font names to be used for CJK output from |:hardcopy|.
|
||||||
See |pmbfn-option|.
|
See |pmbfn-option|.
|
||||||
|
|
||||||
@@ -6506,14 +6556,18 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
|
|
||||||
*'scrolloff'* *'so'*
|
*'scrolloff'* *'so'*
|
||||||
'scrolloff' 'so' number (default 0, set to 5 in |defaults.vim|)
|
'scrolloff' 'so' number (default 0, set to 5 in |defaults.vim|)
|
||||||
global
|
global or local to window |global-local|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
Minimal number of screen lines to keep above and below the cursor.
|
Minimal number of screen lines to keep above and below the cursor.
|
||||||
This will make some context visible around where you are working. If
|
This will make some context visible around where you are working. If
|
||||||
you set it to a very large value (999) the cursor line will always be
|
you set it to a very large value (999) the cursor line will always be
|
||||||
in the middle of the window (except at the start or end of the file or
|
in the middle of the window (except at the start or end of the file or
|
||||||
when long lines wrap).
|
when long lines wrap).
|
||||||
For scrolling horizontally see 'sidescrolloff'.
|
After using the local value, go back the global value with one of
|
||||||
|
these two: >
|
||||||
|
setlocal scrolloff<
|
||||||
|
setlocal scrolloff=-1
|
||||||
|
< For scrolling horizontally see 'sidescrolloff'.
|
||||||
NOTE: This option is set to 0 when 'compatible' is set.
|
NOTE: This option is set to 0 when 'compatible' is set.
|
||||||
|
|
||||||
*'scrollopt'* *'sbo'*
|
*'scrollopt'* *'sbo'*
|
||||||
@@ -6640,7 +6694,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
tabpages all tab pages; without this only the current tab page
|
tabpages all tab pages; without this only the current tab page
|
||||||
is restored, so that you can make a session for each
|
is restored, so that you can make a session for each
|
||||||
tab page separately
|
tab page separately
|
||||||
terminal include terminal windows where the command can be restored
|
terminal include terminal windows where the command can be
|
||||||
|
restored
|
||||||
unix with Unix end-of-line format (single <NL>), even when
|
unix with Unix end-of-line format (single <NL>), even when
|
||||||
on Windows or DOS
|
on Windows or DOS
|
||||||
winpos position of the whole Vim window
|
winpos position of the whole Vim window
|
||||||
@@ -7067,7 +7122,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
|
|
||||||
*'sidescrolloff'* *'siso'*
|
*'sidescrolloff'* *'siso'*
|
||||||
'sidescrolloff' 'siso' number (default 0)
|
'sidescrolloff' 'siso' number (default 0)
|
||||||
global
|
global or local to window |global-local|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
The minimal number of screen columns to keep to the left and to the
|
The minimal number of screen columns to keep to the left and to the
|
||||||
right of the cursor if 'nowrap' is set. Setting this option to a
|
right of the cursor if 'nowrap' is set. Setting this option to a
|
||||||
@@ -7077,7 +7132,11 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
to a large value (like 999) has the effect of keeping the cursor
|
to a large value (like 999) has the effect of keeping the cursor
|
||||||
horizontally centered in the window, as long as one does not come too
|
horizontally centered in the window, as long as one does not come too
|
||||||
close to the beginning of the line.
|
close to the beginning of the line.
|
||||||
NOTE: This option is set to 0 when 'compatible' is set.
|
After using the local value, go back the global value with one of
|
||||||
|
these two: >
|
||||||
|
setlocal sidescrolloff<
|
||||||
|
setlocal sidescrolloff=-1
|
||||||
|
< NOTE: This option is set to 0 when 'compatible' is set.
|
||||||
|
|
||||||
Example: Try this together with 'sidescroll' and 'listchars' as
|
Example: Try this together with 'sidescroll' and 'listchars' as
|
||||||
in the following example to never allow the cursor to move
|
in the following example to never allow the cursor to move
|
||||||
@@ -7273,8 +7332,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
|
|
||||||
After this option has been set successfully, Vim will source the files
|
After this option has been set successfully, Vim will source the files
|
||||||
"spell/LANG.vim" in 'runtimepath'. "LANG" is the value of 'spelllang'
|
"spell/LANG.vim" in 'runtimepath'. "LANG" is the value of 'spelllang'
|
||||||
up to the first comma, dot or underscore.
|
up to the first character that is not an ASCII letter or number and
|
||||||
Also see |set-spc-auto|.
|
not a dash. Also see |set-spc-auto|.
|
||||||
|
|
||||||
|
|
||||||
*'spellsuggest'* *'sps'*
|
*'spellsuggest'* *'sps'*
|
||||||
@@ -7502,7 +7561,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
line is displayed. The current buffer and current window will be set
|
line is displayed. The current buffer and current window will be set
|
||||||
temporarily to that of the window (and buffer) whose statusline is
|
temporarily to that of the window (and buffer) whose statusline is
|
||||||
currently being drawn. The expression will evaluate in this context.
|
currently being drawn. The expression will evaluate in this context.
|
||||||
The variable "actual_curbuf" is set to the 'bufnr()' number of the
|
The variable "g:actual_curbuf" is set to the `bufnr()` number of the
|
||||||
real current buffer.
|
real current buffer.
|
||||||
|
|
||||||
The 'statusline' option will be evaluated in the |sandbox| if set from
|
The 'statusline' option will be evaluated in the |sandbox| if set from
|
||||||
@@ -7691,6 +7750,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
the text to be displayed. Use "%1T" for the first label, "%2T" for
|
the text to be displayed. Use "%1T" for the first label, "%2T" for
|
||||||
the second one, etc. Use "%X" items for closing labels.
|
the second one, etc. Use "%X" items for closing labels.
|
||||||
|
|
||||||
|
When changing something that is used in 'tabline' that does not
|
||||||
|
trigger it to be updated, use |:redrawtabline|.
|
||||||
|
|
||||||
Keep in mind that only one of the tab pages is the current one, others
|
Keep in mind that only one of the tab pages is the current one, others
|
||||||
are invisible and you can't jump to their windows.
|
are invisible and you can't jump to their windows.
|
||||||
|
|
||||||
@@ -7909,8 +7971,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'termencoding' 'tenc' string (default ""; with GTK+ GUI: "utf-8"; with
|
'termencoding' 'tenc' string (default ""; with GTK+ GUI: "utf-8"; with
|
||||||
Macintosh GUI: "macroman")
|
Macintosh GUI: "macroman")
|
||||||
global
|
global
|
||||||
{only available when compiled with the |+multi_byte|
|
|
||||||
feature}
|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
Encoding used for the terminal. This specifies what character
|
Encoding used for the terminal. This specifies what character
|
||||||
encoding the keyboard produces and the display will understand. For
|
encoding the keyboard produces and the display will understand. For
|
||||||
@@ -8006,6 +8066,26 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
the size of the terminal. In that case the Vim window will be
|
the size of the terminal. In that case the Vim window will be
|
||||||
adjusted to that size, if possible.
|
adjusted to that size, if possible.
|
||||||
|
|
||||||
|
*'termwintype'* *'twt'*
|
||||||
|
'termwintype' 'twt' string (default "")
|
||||||
|
global
|
||||||
|
{not in Vi}
|
||||||
|
{only available when compiled with the |terminal|
|
||||||
|
feature on MS-Windows}
|
||||||
|
Specify the virtual console (pty) used when opening the terminal
|
||||||
|
window.
|
||||||
|
|
||||||
|
Possible values are:
|
||||||
|
"" use ConPTY if it is stable, winpty otherwise
|
||||||
|
"winpty" use winpty, fail if not supported
|
||||||
|
"conpty" use |ConPTY|, fail if not supported
|
||||||
|
|
||||||
|
|ConPTY| support depends on the platform. Windows 10 October 2018
|
||||||
|
Update is the first version that supports ConPTY, however it is still
|
||||||
|
considered unstable. ConPTY might become stable in the next release
|
||||||
|
of Windows 10. winpty support needs to be installed. If neither is
|
||||||
|
supported then you cannot open a terminal window.
|
||||||
|
|
||||||
*'terse'* *'noterse'*
|
*'terse'* *'noterse'*
|
||||||
'terse' boolean (default off)
|
'terse' boolean (default off)
|
||||||
global
|
global
|
||||||
@@ -8054,13 +8134,18 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
global or local to buffer |global-local|
|
global or local to buffer |global-local|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
List of file names, separated by commas, that are used to lookup words
|
List of file names, separated by commas, that are used to lookup words
|
||||||
for thesaurus completion commands |i_CTRL-X_CTRL-T|. Each line in
|
for thesaurus completion commands |i_CTRL-X_CTRL-T|.
|
||||||
the file should contain words with similar meaning, separated by
|
|
||||||
non-keyword characters (white space is preferred). Maximum line
|
Each line in the file should contain words with similar meaning,
|
||||||
length is 510 bytes.
|
separated by non-keyword characters (white space is preferred).
|
||||||
To obtain a file to be used here, check out this ftp site:
|
Maximum line length is 510 bytes.
|
||||||
[Sorry this link doesn't work anymore, do you know the right one?]
|
|
||||||
ftp://ftp.ox.ac.uk/pub/wordlists/ First get the README file.
|
An English word list was added to this github issue:
|
||||||
|
https://github.com/vim/vim/issues/629#issuecomment-443293282
|
||||||
|
Unpack thesaurus_pkg.zip, put the thesaurus.txt file somewhere, e.g.
|
||||||
|
~/.vim/thesaurus/english.txt, and the 'thesaurus' option to this file
|
||||||
|
name.
|
||||||
|
|
||||||
To include a comma in a file name precede it with a backslash. Spaces
|
To include a comma in a file name precede it with a backslash. Spaces
|
||||||
after a comma are ignored, otherwise spaces are included in the file
|
after a comma are ignored, otherwise spaces are included in the file
|
||||||
name. See |option-backslash| about using backslashes.
|
name. See |option-backslash| about using backslashes.
|
||||||
@@ -8365,8 +8450,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
|t_RV| is set to the escape sequence to request the xterm version
|
|t_RV| is set to the escape sequence to request the xterm version
|
||||||
number, more intelligent detection process runs.
|
number, more intelligent detection process runs.
|
||||||
The "xterm2" value will be set if the xterm version is reported to be
|
The "xterm2" value will be set if the xterm version is reported to be
|
||||||
from 95 to 276. The "sgr" value will be set if the xterm version is
|
from 95 to 276. The "sgr" value will be set if Vim detects Mac
|
||||||
277 or higher and when Vim detects Mac Terminal.app or iTerm2.
|
Terminal.app, iTerm2 or mintty, and when the xterm version is 277 or
|
||||||
|
higher.
|
||||||
If you do not want 'ttymouse' to be set to "xterm2" or "sgr"
|
If you do not want 'ttymouse' to be set to "xterm2" or "sgr"
|
||||||
automatically, set t_RV to an empty string: >
|
automatically, set t_RV to an empty string: >
|
||||||
:set t_RV=
|
:set t_RV=
|
||||||
@@ -9204,4 +9290,4 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
screen. When non-zero, characters are sent to the terminal one by
|
screen. When non-zero, characters are sent to the terminal one by
|
||||||
one. For MS-DOS pcterm this does not work. For debugging purposes.
|
one. For MS-DOS pcterm this does not work. For debugging purposes.
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -83,10 +83,10 @@ There is no solution for this yet.
|
|||||||
ctags out there, that does it right, but we can't be sure. So this seems to
|
ctags out there, that does it right, but we can't be sure. So this seems to
|
||||||
be a permanent restriction.
|
be a permanent restriction.
|
||||||
|
|
||||||
- The cscope interface (|cscope|) doesn't work for the version of cscope
|
- The cscope interface (|cscope|) doesn't work for the version of cscope that
|
||||||
that we use on our mainframe. We have a copy of version 15.0b12, and it
|
we use on our mainframe. We have a copy of version 15.0b12, and it causes
|
||||||
causes Vim to hang when using the "cscope add" command. I'm guessing that
|
Vim to hang when using the "cscope add" command. I'm guessing that the
|
||||||
the binary format of the cscope database isn't quite what Vim is expecting.
|
binary format of the cscope database isn't quite what Vim is expecting.
|
||||||
I've tried to port the current version of cscope (15.3) to z/OS, without
|
I've tried to port the current version of cscope (15.3) to z/OS, without
|
||||||
much success. If anyone is interested in trying, drop me a line if you
|
much success. If anyone is interested in trying, drop me a line if you
|
||||||
make any progress.
|
make any progress.
|
||||||
@@ -131,4 +131,4 @@ Also look at:
|
|||||||
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
vim:tw=78:fo=tcq2:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -144,4 +144,4 @@ Installation ~
|
|||||||
;End VIM
|
;End VIM
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -317,4 +317,4 @@ it is about 1191K.
|
|||||||
<rhialto@polder.ubc.kun.nl>
|
<rhialto@polder.ubc.kun.nl>
|
||||||
http://polder.ubc.kun.nl/~rhialto/be
|
http://polder.ubc.kun.nl/~rhialto/be
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -295,4 +295,4 @@ When starting up, Vim checks for the presence of "sh" anywhere in the 'shell'
|
|||||||
option. If it is present, Vim sets the 'shellcmdflag' and 'shellquote' or
|
option. If it is present, Vim sets the 'shellcmdflag' and 'shellquote' or
|
||||||
'shellxquote' options will be set as described above.
|
'shellxquote' options will be set as described above.
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -179,4 +179,4 @@ the system clipboard, the darwin feature should be disabled to prevent Vim
|
|||||||
from hanging at runtime.
|
from hanging at runtime.
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user