mirror of
https://github.com/zoriya/vim.git
synced 2025-12-06 15:26:18 +00:00
Compare commits
986 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e58787de7 | ||
|
|
957f85d54e | ||
|
|
bc4fd43160 | ||
|
|
a9b2535f44 | ||
|
|
8aad88d8de | ||
|
|
97b0075b0d | ||
|
|
b73fbc76c6 | ||
|
|
5d0183b706 | ||
|
|
6e75e0a400 | ||
|
|
a334772967 | ||
|
|
6d2399bd10 | ||
|
|
6ed8819822 | ||
|
|
ec28d1516e | ||
|
|
3f86ca0faa | ||
|
|
dc9f9e93f5 | ||
|
|
d6896731ec | ||
|
|
afd78266c5 | ||
|
|
c049b52b90 | ||
|
|
63d2555c9c | ||
|
|
4ca41534b7 | ||
|
|
23b5139234 | ||
|
|
42ae78cfff | ||
|
|
6b528fa062 | ||
|
|
f90b6e03a9 | ||
|
|
a6c27c47dd | ||
|
|
d4aa83af1d | ||
|
|
eae1b91fea | ||
|
|
691ddeefb5 | ||
|
|
68cbb14bae | ||
|
|
be0a2597ae | ||
|
|
06bd824869 | ||
|
|
0b75f7c97c | ||
|
|
2f10658b06 | ||
|
|
a5c6a0b6c7 | ||
|
|
5416b75031 | ||
|
|
240f7abab0 | ||
|
|
27821260c0 | ||
|
|
98ffe4c6d8 | ||
|
|
93d77b2cbe | ||
|
|
fda9784dc9 | ||
|
|
ba9ea91beb | ||
|
|
1063f3d200 | ||
|
|
fd31e45e4b | ||
|
|
b6cb26ffe1 | ||
|
|
9ce3fa828d | ||
|
|
7e1a5af540 | ||
|
|
4fa06870e5 | ||
|
|
f0ab01f6d8 | ||
|
|
d136221129 | ||
|
|
c7a10b35de | ||
|
|
91882cf712 | ||
|
|
8ffc7c8b5f | ||
|
|
25c9c680ec | ||
|
|
9a061cb78c | ||
|
|
58187f1c8a | ||
|
|
8fc0271e9a | ||
|
|
de24a87013 | ||
|
|
cf6a55c4b0 | ||
|
|
ce79353ace | ||
|
|
f653a6bcff | ||
|
|
711f02da65 | ||
|
|
b3de6c4a76 | ||
|
|
9dfa313919 | ||
|
|
ed5ab2a959 | ||
|
|
510671a055 | ||
|
|
4b8366b56e | ||
|
|
8caef443b2 | ||
|
|
bedf091a95 | ||
|
|
d2fad67e3e | ||
|
|
66f8311152 | ||
|
|
bb8476be87 | ||
|
|
25190db225 | ||
|
|
e4f5f3aa3d | ||
|
|
e5c83286bb | ||
|
|
9404a18ad9 | ||
|
|
819d3e52a1 | ||
|
|
3ff33114d7 | ||
|
|
12e91862c1 | ||
|
|
61df0c7996 | ||
|
|
92b9e60cb5 | ||
|
|
1776a28e9c | ||
|
|
2cb9f02532 | ||
|
|
d788543ac6 | ||
|
|
c6b1cc967f | ||
|
|
92fd599e0d | ||
|
|
d0621d85a6 | ||
|
|
bb7e1b4ba8 | ||
|
|
36d502225c | ||
|
|
1ee36d6ff5 | ||
|
|
26f0cb145a | ||
|
|
0fef0aeb1c | ||
|
|
b731689e85 | ||
|
|
d96dbd6f95 | ||
|
|
a9dd2d3c75 | ||
|
|
a0e67fc166 | ||
|
|
52111f8231 | ||
|
|
fe368edcc0 | ||
|
|
602abeb20f | ||
|
|
c0af78fa08 | ||
|
|
701df4eb64 | ||
|
|
c779c674ac | ||
|
|
1b243eafb0 | ||
|
|
67cf86bfff | ||
|
|
afde13b62b | ||
|
|
ab4cece605 | ||
|
|
45e18cbdc4 | ||
|
|
7a9df9dd00 | ||
|
|
6c60f47fb9 | ||
|
|
1e44968780 | ||
|
|
f720d0a77e | ||
|
|
564344ace9 | ||
|
|
dcaa54dded | ||
|
|
ad6dc49a75 | ||
|
|
0ee1bdff7d | ||
|
|
6ee9658774 | ||
|
|
00aa069db8 | ||
|
|
2155a6abaa | ||
|
|
c1b8160b44 | ||
|
|
49543fbced | ||
|
|
c6b37db1ba | ||
|
|
e13a3901ca | ||
|
|
520e245237 | ||
|
|
e61e548dd6 | ||
|
|
ac9fb18020 | ||
|
|
5431589d25 | ||
|
|
c8cc0ad477 | ||
|
|
1f3601e92e | ||
|
|
d1f90bbcab | ||
|
|
a68e595909 | ||
|
|
a561a41a70 | ||
|
|
69ea587289 | ||
|
|
c2d09c9f2c | ||
|
|
725310d89e | ||
|
|
31fc39e47b | ||
|
|
8485be4e49 | ||
|
|
958eabe5e5 | ||
|
|
c75e812623 | ||
|
|
7bde95a461 | ||
|
|
eead75c5e8 | ||
|
|
911ead1269 | ||
|
|
ad3ec76bb8 | ||
|
|
037c54f261 | ||
|
|
4c25bd785a | ||
|
|
0fdd943595 | ||
|
|
93a4879c20 | ||
|
|
abc7c7fc5a | ||
|
|
d2e716e6df | ||
|
|
3a4c53ba51 | ||
|
|
334ad41504 | ||
|
|
86ec6d7e1e | ||
|
|
137c14bb4f | ||
|
|
b49e3563b9 | ||
|
|
b9cdb37176 | ||
|
|
2b00b9b0f3 | ||
|
|
113bf0672b | ||
|
|
696d637728 | ||
|
|
4945219b99 | ||
|
|
1a4dce7cad | ||
|
|
7f27976589 | ||
|
|
e3e3828f93 | ||
|
|
8dc4c72923 | ||
|
|
a8356bc173 | ||
|
|
74e3d4ec11 | ||
|
|
316c16797a | ||
|
|
a0aaf3c4df | ||
|
|
837854d1bc | ||
|
|
87dcfd75c2 | ||
|
|
39f76c6ac0 | ||
|
|
9c35d05f45 | ||
|
|
ca57ab54d7 | ||
|
|
700dfaa86a | ||
|
|
5d48e0d99a | ||
|
|
f587ef345e | ||
|
|
1d79ce81e7 | ||
|
|
c8b3ddab51 | ||
|
|
a8d22e3a40 | ||
|
|
04af19637c | ||
|
|
f9b89b4679 | ||
|
|
d489c9801b | ||
|
|
3fbd2d7c31 | ||
|
|
496555fd18 | ||
|
|
9a419ffb93 | ||
|
|
7edf0baef4 | ||
|
|
679beba800 | ||
|
|
29a9baa077 | ||
|
|
26096cc96f | ||
|
|
730f48fe36 | ||
|
|
a60e536a29 | ||
|
|
ef8c83c550 | ||
|
|
a7be0f2451 | ||
|
|
862f1e17ea | ||
|
|
8f130eda47 | ||
|
|
3fb01a53c6 | ||
|
|
1b55797e90 | ||
|
|
46ad288b9b | ||
|
|
9845f36aa6 | ||
|
|
d7f246c68c | ||
|
|
62e1bb4a11 | ||
|
|
049736fa8a | ||
|
|
905dd905de | ||
|
|
d85c396d51 | ||
|
|
39803d82db | ||
|
|
08499f5a4d | ||
|
|
616aeef21f | ||
|
|
16c34c3765 | ||
|
|
1164023828 | ||
|
|
2d7260d665 | ||
|
|
94a7242ad1 | ||
|
|
6bc9305a02 | ||
|
|
3d3f21764a | ||
|
|
fa1e90cd4d | ||
|
|
d9eefe3155 | ||
|
|
73655cf0ca | ||
|
|
9d40128afd | ||
|
|
4a5711b5ea | ||
|
|
543c9b1921 | ||
|
|
577fadfc10 | ||
|
|
652de23dc7 | ||
|
|
1cd4dc444a | ||
|
|
558ca4ae55 | ||
|
|
8f4aeb5572 | ||
|
|
0f248b006c | ||
|
|
eb93f3f0e2 | ||
|
|
87f59b09ea | ||
|
|
fda1bff39f | ||
|
|
e5e4e22c1c | ||
|
|
39b76b7df8 | ||
|
|
723dd946f9 | ||
|
|
7a66627cf4 | ||
|
|
b4e6a2d075 | ||
|
|
449ac47f93 | ||
|
|
5da04ef1b4 | ||
|
|
796cc42d3a | ||
|
|
0eb035c974 | ||
|
|
b26705afb5 | ||
|
|
690a905a01 | ||
|
|
fd700393be | ||
|
|
b4a6020ac6 | ||
|
|
95946f1209 | ||
|
|
4fc8e2f8bb | ||
|
|
b70a47b774 | ||
|
|
8662189736 | ||
|
|
5209334c55 | ||
|
|
96428dd4e9 | ||
|
|
372674fca3 | ||
|
|
f0908e6fe1 | ||
|
|
2d04a91d69 | ||
|
|
b44b7add8a | ||
|
|
9e1e358d37 | ||
|
|
7559dcef6c | ||
|
|
abab0b0fdd | ||
|
|
bd9bf266fc | ||
|
|
aff749145e | ||
|
|
8bb41b3d06 | ||
|
|
ab62c19ea0 | ||
|
|
433a5eb9de | ||
|
|
ef7f0e367e | ||
|
|
48aed0824e | ||
|
|
5f8069bbf5 | ||
|
|
9a2c091a74 | ||
|
|
7591bb39d5 | ||
|
|
de5b380042 | ||
|
|
bfd3603670 | ||
|
|
e73f911c53 | ||
|
|
8ee4c01b8c | ||
|
|
2912abb3a2 | ||
|
|
e46736b23b | ||
|
|
8ac8a77f24 | ||
|
|
fd133323d4 | ||
|
|
723d165c2f | ||
|
|
89828e9fe6 | ||
|
|
47cf1cc257 | ||
|
|
c701f320e8 | ||
|
|
37db642083 | ||
|
|
a16123a666 | ||
|
|
0e97b94875 | ||
|
|
760285dd4f | ||
|
|
90d0cf69aa | ||
|
|
3a731ee0c2 | ||
|
|
6a95c889bf | ||
|
|
e99be0e6d2 | ||
|
|
75bf3d22f4 | ||
|
|
6fb5c97242 | ||
|
|
d6c3f1fa2b | ||
|
|
553e5a5c56 | ||
|
|
a4c2a24cc7 | ||
|
|
3dd174abbf | ||
|
|
a84a3dd663 | ||
|
|
b45125b374 | ||
|
|
63b74a8362 | ||
|
|
db77b84ac2 | ||
|
|
82b033eff8 | ||
|
|
63dbfd33c1 | ||
|
|
c3e92c161d | ||
|
|
b782869033 | ||
|
|
832615be12 | ||
|
|
295e3ba31f | ||
|
|
b99abaa480 | ||
|
|
e37368c496 | ||
|
|
dc4fa190e7 | ||
|
|
6b6f7aae4a | ||
|
|
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 |
34
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
34
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve Vim
|
||||
title: ''
|
||||
labels: ''
|
||||
|
||||
---
|
||||
|
||||
_Instructions: Replace the template text and remove irrelevant text (including this line)_
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
(Issues related to the runtime files should be reported to their maintainer, check the file header.)
|
||||
|
||||
**To Reproduce**
|
||||
Detailed steps to reproduce the behavior:
|
||||
1. Run `vim --clean` (or `gvim --clean`, etc.)
|
||||
2. Edit `filename`
|
||||
3. Type '....'
|
||||
4. Describe the error
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Screenshots**
|
||||
If applicable, copy/paste the text or add screenshots to help explain your problem.
|
||||
|
||||
**Environment (please complete the following information):**
|
||||
- Vim version [e.g. 8.1.1234] (Or paste the result of `vim --version`.)
|
||||
- OS: [e.g. Ubuntu 18.04, Windows 10 1809, macOS 10.14]
|
||||
- Terminal: [e.g. GNOME Terminal, mintty, iTerm2, tmux, GNU screen] (Use GUI if you use the GUI.)
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
||||
22
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
22
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an enhancement for Vim
|
||||
title: ''
|
||||
labels: enhancement
|
||||
|
||||
---
|
||||
|
||||
_Instructions: Replace the template text and remove irrelevant text (including this line)_
|
||||
|
||||
**Is your feature request related something that is currently hard to do? Please describe.**
|
||||
A clear and concise description of what is hard to do. Ex. It is difficult to [...] when [...]
|
||||
(If it is related to runtime files, please check their header for where to discuss enhancements.)
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
32
.gitignore
vendored
32
.gitignore
vendored
@@ -6,16 +6,15 @@ src/auto/if_perl.c
|
||||
src/auto/gui_gtk_gresources.c
|
||||
src/auto/gui_gtk_gresources.h
|
||||
src/objects/.dirstamp
|
||||
src/objects
|
||||
src/tags
|
||||
|
||||
# We do need src/auto/configure.
|
||||
src/auto/config.aap
|
||||
src/auto/config.cache
|
||||
src/auto/config.h
|
||||
src/auto/config.log
|
||||
src/auto/config.mk
|
||||
src/auto/config.status
|
||||
src/auto/configure.aap
|
||||
src/auto/osdef.h
|
||||
src/auto/link.log
|
||||
src/auto/link.sed
|
||||
@@ -26,6 +25,7 @@ src/auto/pathdef.c
|
||||
*.idb
|
||||
*.manifest
|
||||
*.exp
|
||||
*.map
|
||||
*.obj
|
||||
*.pdb
|
||||
*.ilk
|
||||
@@ -33,22 +33,15 @@ src/auto/pathdef.c
|
||||
*.suo
|
||||
*.res
|
||||
*.RES
|
||||
src/if_perl.c
|
||||
vim*.dll
|
||||
vim*.lib
|
||||
src/pathdef.c
|
||||
src/Obj*/pathdef.c
|
||||
gvimext.dll
|
||||
gvimext.lib
|
||||
gvim.lib
|
||||
runtime/doc/uganda.nsis.txt
|
||||
|
||||
# Borland C++
|
||||
bcc.cfg
|
||||
*.ilc
|
||||
*.ild
|
||||
*.ilf
|
||||
*.ils
|
||||
*.map
|
||||
*.tds
|
||||
nsis/icons/*
|
||||
|
||||
# NetBeans
|
||||
nbproject/*
|
||||
@@ -68,6 +61,7 @@ src/po/vim.pot
|
||||
|
||||
# Generated by "make test"
|
||||
src/po/*.ck
|
||||
src/po/*.desktop
|
||||
src/testdir/mbyte.vim
|
||||
src/testdir/mzscheme.vim
|
||||
src/testdir/lua.vim
|
||||
@@ -80,7 +74,21 @@ src/testdir/dostmp/*
|
||||
src/testdir/messages
|
||||
src/testdir/viminfo
|
||||
src/testdir/opt_test.vim
|
||||
runtime/indent/testdir/*.out
|
||||
src/memfile_test
|
||||
src/json_test
|
||||
src/message_test
|
||||
src/kword_test
|
||||
|
||||
# Generated by "make install"
|
||||
runtime/doc/tags
|
||||
|
||||
# Generated by "make shadow". The directory names could be anything but we
|
||||
# restrict them to shadow (the default) or shadow-*
|
||||
src/shadow
|
||||
src/shadow-*
|
||||
src/runtime
|
||||
src/pixmaps
|
||||
|
||||
# other possible files build by tools
|
||||
src/cscope.out
|
||||
|
||||
96
.hgignore
Normal file
96
.hgignore
Normal file
@@ -0,0 +1,96 @@
|
||||
syntax: glob
|
||||
|
||||
# Unixen: object and executable files.
|
||||
*.o
|
||||
src/vim
|
||||
src/xxd/xxd
|
||||
src/auto/if_perl.c
|
||||
src/auto/gui_gtk_gresources.c
|
||||
src/auto/gui_gtk_gresources.h
|
||||
src/objects/.dirstamp
|
||||
src/objects
|
||||
src/tags
|
||||
|
||||
# We do need src/auto/configure.
|
||||
src/auto/config.cache
|
||||
src/auto/config.h
|
||||
src/auto/config.log
|
||||
src/auto/config.mk
|
||||
src/auto/config.status
|
||||
src/auto/osdef.h
|
||||
src/auto/link.log
|
||||
src/auto/link.sed
|
||||
src/auto/pathdef.c
|
||||
|
||||
# Windows
|
||||
*.exe
|
||||
*.idb
|
||||
*.manifest
|
||||
*.exp
|
||||
*.map
|
||||
*.obj
|
||||
*.pdb
|
||||
*.ilk
|
||||
*.sln
|
||||
*.suo
|
||||
*.res
|
||||
*.RES
|
||||
vim*.dll
|
||||
vim*.lib
|
||||
src/pathdef.c
|
||||
src/Obj*/pathdef.c
|
||||
gvimext.dll
|
||||
gvimext.lib
|
||||
gvim.lib
|
||||
runtime/doc/uganda.nsis.txt
|
||||
nsis/icons/*
|
||||
|
||||
# NetBeans
|
||||
nbproject/*
|
||||
|
||||
# Mac OSX
|
||||
src/xxd/xxd.dSYM
|
||||
|
||||
# All platforms
|
||||
*.rej
|
||||
*.orig
|
||||
*.mo
|
||||
*.swp
|
||||
*~
|
||||
*.pyc
|
||||
*.log
|
||||
src/po/vim.pot
|
||||
|
||||
# Generated by "make test"
|
||||
src/po/*.ck
|
||||
src/po/*.desktop
|
||||
src/testdir/mbyte.vim
|
||||
src/testdir/mzscheme.vim
|
||||
src/testdir/lua.vim
|
||||
src/testdir/small.vim
|
||||
src/testdir/tiny.vim
|
||||
src/testdir/test*.out
|
||||
src/testdir/test*.failed
|
||||
src/testdir/test.log
|
||||
src/testdir/dostmp/*
|
||||
src/testdir/messages
|
||||
src/testdir/viminfo
|
||||
src/testdir/opt_test.vim
|
||||
runtime/indent/testdir/*.out
|
||||
src/memfile_test
|
||||
src/json_test
|
||||
src/message_test
|
||||
src/kword_test
|
||||
|
||||
# Generated by "make install"
|
||||
runtime/doc/tags
|
||||
|
||||
# Generated by "make shadow". The directory names could be anything but we
|
||||
# restrict them to shadow (the default) or shadow-*
|
||||
src/shadow
|
||||
src/shadow-*
|
||||
src/runtime
|
||||
src/pixmaps
|
||||
|
||||
# other possible files build by tools
|
||||
src/cscope.out
|
||||
161
.travis.yml
161
.travis.yml
@@ -10,54 +10,58 @@ compiler:
|
||||
- gcc
|
||||
|
||||
env:
|
||||
- BUILD=yes TEST=test COVERAGE=no FEATURES=tiny CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||
# ASAN build
|
||||
- BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer"
|
||||
- &tiny-nogui
|
||||
BUILD=yes TEST=test COVERAGE=no FEATURES=tiny "CONFOPT='--disable-gui'" SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||
- &tiny
|
||||
BUILD=yes TEST=test COVERAGE=no FEATURES=tiny CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||
- &asan # 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"
|
||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
||||
- BUILD=yes TEST=scripttests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||
- &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'"
|
||||
- BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes
|
||||
- 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=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||
# Mac OSX build
|
||||
- BUILD=yes TEST=test COVERAGE=no FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||
- &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
|
||||
|
||||
# instead of a 2*2*8 matrix (2*os + 2*compiler + 8*env),
|
||||
# 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
|
||||
matrix:
|
||||
exclude:
|
||||
- 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
|
||||
env: BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes
|
||||
env: *normal
|
||||
- os: osx
|
||||
env: BUILD=yes TEST=test COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||
env: *unittests
|
||||
- os: osx
|
||||
env: BUILD=yes TEST=scripttests 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'"
|
||||
env: *small
|
||||
- os: osx
|
||||
env: 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"
|
||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
||||
env: *linux-huge
|
||||
- os: osx
|
||||
env: *asan
|
||||
- os: linux
|
||||
compiler: clang
|
||||
env: 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"
|
||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
||||
env: *asan
|
||||
- os: linux
|
||||
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
|
||||
compiler: clang
|
||||
env: BUILD=yes TEST=test COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||
env: *small
|
||||
- os: linux
|
||||
env: 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'"
|
||||
env: *osx-huge
|
||||
|
||||
branches:
|
||||
except:
|
||||
@@ -65,10 +69,14 @@ branches:
|
||||
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
# Need msgfmt 0.19.8 to be able to generate .desktop files
|
||||
- sourceline: 'ppa:ricotz/toolchain'
|
||||
packages:
|
||||
- autoconf
|
||||
- clang
|
||||
- lcov
|
||||
- gettext
|
||||
- libperl-dev
|
||||
- python-dev
|
||||
- python3-dev
|
||||
@@ -78,38 +86,97 @@ addons:
|
||||
- tcl-dev
|
||||
- cscope
|
||||
- libgtk2.0-dev
|
||||
homebrew:
|
||||
packages:
|
||||
- lua
|
||||
update: true
|
||||
|
||||
before_install:
|
||||
- rvm reset
|
||||
# Remove /opt/python/3.x.x/bin from $PATH for using system python3.
|
||||
# ("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
|
||||
# needed for https support for coveralls
|
||||
# building cffi only works with gcc, not with clang
|
||||
- if [ "$COVERAGE" = "yes" ]; then CC=gcc pip install --user pyopenssl ndg-httpsclient pyasn1; fi
|
||||
# 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
|
||||
# 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
|
||||
# Remove /opt/python/3.x.x/bin from $PATH for using system python3.
|
||||
# ("pyenv global system" doesn't seem to work.)
|
||||
- |
|
||||
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
|
||||
# building cffi only works with gcc, not with clang
|
||||
- |
|
||||
if [[ "${COVERAGE}" = "yes" ]]; then
|
||||
CC=gcc pip install --user pyopenssl ndg-httpsclient pyasn1
|
||||
fi
|
||||
# Lua is not installed on Travis OSX
|
||||
- |
|
||||
if [[ "${TRAVIS_OS_NAME}" = "osx" ]]; then
|
||||
export LUA_PREFIX=/usr/local
|
||||
fi
|
||||
# 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
|
||||
|
||||
# Start virtual framebuffer to be able to test the GUI. Does not work on OS X.
|
||||
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:
|
||||
- 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
|
||||
- (cd ${SRCDIR} && ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && if [ "$BUILD" = "yes" ]; then make -j$NPROC; fi)
|
||||
# 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 [ -n "$ASAN_OPTIONS" ]; then for log in $(find -type f -name 'asan.*' -size +0); do asan_symbolize < "$log"; err=1; done; fi
|
||||
- if [ -n "$err" ]; then exit 1; fi
|
||||
- set -o errexit
|
||||
- echo -e "\\033[33;1mConfiguring Vim\\033[0m" && echo -en "travis_fold:start:configure\\r\\033[0K"
|
||||
- |
|
||||
if [[ "${CHECK_AUTOCONF}" = "yes" ]] && [[ "${CC}" = "gcc" ]]; then
|
||||
make -C src autoconf
|
||||
fi
|
||||
- |
|
||||
if [[ -n "${SHADOWOPT}" ]]; then
|
||||
make -C src shadow
|
||||
fi
|
||||
# "./configure" changes its working directory into "$SRCDIR".
|
||||
- ./configure --with-features=${FEATURES} ${CONFOPT} --enable-fail-if-missing
|
||||
- echo -en "travis_fold:end:configure\\r\\033[0K"
|
||||
- echo -e "\\033[33;1mBuilding Vim\\033[0m" && echo -en "travis_fold:start:build\\r\\033[0K"
|
||||
- |
|
||||
if [[ "${BUILD}" = "yes" ]]; then
|
||||
make ${SHADOWOPT} -j${NPROC}
|
||||
fi
|
||||
- echo -en "travis_fold:end:build\\r\\033[0K"
|
||||
- set +o errexit
|
||||
- echo -e "\\033[33;1mTesting Vim\\033[0m" && echo -en "travis_fold:start:test\\r\\033[0K"
|
||||
# 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}
|
||||
- echo -en "travis_fold:end:test\\r\\033[0K"
|
||||
- |
|
||||
if [[ -n "${ASAN_OPTIONS}" ]]; then
|
||||
while read log; do
|
||||
asan_symbolize < "${log}"
|
||||
false # exit 1 if there are ASAN logs
|
||||
done < <(find . -type f -name 'asan.*' -size +0)
|
||||
fi
|
||||
|
||||
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:
|
||||
|
||||
@@ -21,9 +21,9 @@ maillist is also fine.
|
||||
|
||||
Please use the GitHub issues only for actual issues. If you are not 100% sure
|
||||
that your problem is a Vim issue, please first discuss this on the Vim user
|
||||
maillist. Try reproducing the problem without any plugins or settings:
|
||||
maillist. Try reproducing the problem without any of your plugins or settings:
|
||||
|
||||
vim -N -u NONE
|
||||
vim --clean
|
||||
|
||||
If you report an issue, please describe exactly how to reproduce it.
|
||||
For example, don't say "insert some text" but say what you did exactly:
|
||||
@@ -56,12 +56,14 @@ If the maintainer does not respond, contact the vim-dev maillist.
|
||||
|
||||
# Translations
|
||||
|
||||
Translating messages and runtime files is very much appreciated! These things can be translated:
|
||||
Translating messages and runtime files is very much appreciated! These things
|
||||
can be translated:
|
||||
* Messages in Vim, see [src/po/README.txt][1]
|
||||
Also used for the desktop icons.
|
||||
* Menus, see [runtime/lang/README.txt][2]
|
||||
* Vim tutor, see [runtime/tutor/README.txt][3]
|
||||
* Manual pages, see [runtime/doc/\*.1][4] for examples
|
||||
* Desktop icon, see [runtime/vim.desktop][5] and [runtime/gvim.desktop][6]
|
||||
* Installer, see [nsis/lang/\*.nsi][5] for examples
|
||||
|
||||
The help files can be translated and made available separately.
|
||||
See https://www.vim.org/translations.php for examples.
|
||||
@@ -70,5 +72,4 @@ See https://www.vim.org/translations.php for examples.
|
||||
[2]: https://github.com/vim/vim/blob/master/runtime/lang/README.txt
|
||||
[3]: https://github.com/vim/vim/blob/master/runtime/tutor/README.txt
|
||||
[4]: https://github.com/vim/vim/blob/master/runtime/doc/vim.1
|
||||
[5]: https://github.com/vim/vim/blob/master/runtime/vim.desktop
|
||||
[6]: https://github.com/vim/vim/blob/master/runtime/gvim.desktop
|
||||
[5]: https://github.com/vim/vim/blob/master/nsis/lang/english.nsi
|
||||
|
||||
65
Filelist
65
Filelist
@@ -3,25 +3,29 @@
|
||||
|
||||
# source files for all source archives
|
||||
SRC_ALL = \
|
||||
.gitignore \
|
||||
.hgignore \
|
||||
.lgtm.yml \
|
||||
.travis.yml \
|
||||
appveyor.yml \
|
||||
ci/appveyor.bat \
|
||||
src/Make_all.mak \
|
||||
src/appveyor.bat \
|
||||
src/README.txt \
|
||||
src/README.md \
|
||||
src/alloc.h \
|
||||
src/arabic.c \
|
||||
src/arabic.h \
|
||||
src/ascii.h \
|
||||
src/autocmd.c \
|
||||
src/beval.c \
|
||||
src/beval.h \
|
||||
src/blob.c \
|
||||
src/blowfish.c \
|
||||
src/buffer.c \
|
||||
src/change.c \
|
||||
src/channel.c \
|
||||
src/charset.c \
|
||||
src/crypt.c \
|
||||
src/crypt_zip.c \
|
||||
src/debugger.c \
|
||||
src/dict.c \
|
||||
src/diff.c \
|
||||
src/digraph.c \
|
||||
@@ -35,10 +39,9 @@ SRC_ALL = \
|
||||
src/ex_docmd.c \
|
||||
src/ex_eval.c \
|
||||
src/ex_getln.c \
|
||||
src/farsi.c \
|
||||
src/farsi.h \
|
||||
src/feature.h \
|
||||
src/fileio.c \
|
||||
src/findfile.c \
|
||||
src/fold.c \
|
||||
src/getchar.c \
|
||||
src/globals.h \
|
||||
@@ -47,6 +50,8 @@ SRC_ALL = \
|
||||
src/gui_beval.c \
|
||||
src/hardcopy.c \
|
||||
src/hashtab.c \
|
||||
src/indent.c \
|
||||
src/insexpand.c \
|
||||
src/json.c \
|
||||
src/json_test.c \
|
||||
src/kword_test.c \
|
||||
@@ -81,18 +86,21 @@ SRC_ALL = \
|
||||
src/screen.c \
|
||||
src/search.c \
|
||||
src/sha256.c \
|
||||
src/structs.h \
|
||||
src/sign.c \
|
||||
src/spell.c \
|
||||
src/spell.h \
|
||||
src/spellfile.c \
|
||||
src/structs.h \
|
||||
src/syntax.c \
|
||||
src/tag.c \
|
||||
src/term.c \
|
||||
src/terminal.c \
|
||||
src/term.h \
|
||||
src/termlib.c \
|
||||
src/textprop.c \
|
||||
src/ui.c \
|
||||
src/undo.c \
|
||||
src/usercmd.c \
|
||||
src/userfunc.c \
|
||||
src/version.c \
|
||||
src/version.h \
|
||||
@@ -141,14 +149,19 @@ SRC_ALL = \
|
||||
src/testdir/if_ver*.vim \
|
||||
src/testdir/color_ramp.vim \
|
||||
src/proto.h \
|
||||
src/protodef.h \
|
||||
src/proto/arabic.pro \
|
||||
src/proto/autocmd.pro \
|
||||
src/proto/beval.pro \
|
||||
src/proto/blob.pro \
|
||||
src/proto/blowfish.pro \
|
||||
src/proto/buffer.pro \
|
||||
src/proto/change.pro \
|
||||
src/proto/channel.pro \
|
||||
src/proto/charset.pro \
|
||||
src/proto/crypt.pro \
|
||||
src/proto/crypt_zip.pro \
|
||||
src/proto/debugger.pro \
|
||||
src/proto/dict.pro \
|
||||
src/proto/diff.pro \
|
||||
src/proto/digraph.pro \
|
||||
@@ -160,14 +173,16 @@ SRC_ALL = \
|
||||
src/proto/ex_docmd.pro \
|
||||
src/proto/ex_eval.pro \
|
||||
src/proto/ex_getln.pro \
|
||||
src/proto/farsi.pro \
|
||||
src/proto/fileio.pro \
|
||||
src/proto/findfile.pro \
|
||||
src/proto/fold.pro \
|
||||
src/proto/getchar.pro \
|
||||
src/proto/gui.pro \
|
||||
src/proto/gui_beval.pro \
|
||||
src/proto/hardcopy.pro \
|
||||
src/proto/hashtab.pro \
|
||||
src/proto/indent.pro \
|
||||
src/proto/insexpand.pro \
|
||||
src/proto/json.pro \
|
||||
src/proto/list.pro \
|
||||
src/proto/main.pro \
|
||||
@@ -190,6 +205,7 @@ SRC_ALL = \
|
||||
src/proto/screen.pro \
|
||||
src/proto/search.pro \
|
||||
src/proto/sha256.pro \
|
||||
src/proto/sign.pro \
|
||||
src/proto/spell.pro \
|
||||
src/proto/spellfile.pro \
|
||||
src/proto/syntax.pro \
|
||||
@@ -197,8 +213,10 @@ SRC_ALL = \
|
||||
src/proto/term.pro \
|
||||
src/proto/terminal.pro \
|
||||
src/proto/termlib.pro \
|
||||
src/proto/textprop.pro \
|
||||
src/proto/ui.pro \
|
||||
src/proto/undo.pro \
|
||||
src/proto/usercmd.pro \
|
||||
src/proto/userfunc.pro \
|
||||
src/proto/version.pro \
|
||||
src/proto/winclip.pro \
|
||||
@@ -227,7 +245,7 @@ SRC_ALL = \
|
||||
src/libvterm/src/parser.c \
|
||||
src/libvterm/src/pen.c \
|
||||
src/libvterm/src/rect.h \
|
||||
src/libvterm/src/screen.c \
|
||||
src/libvterm/src/termscreen.c \
|
||||
src/libvterm/src/state.c \
|
||||
src/libvterm/src/unicode.c \
|
||||
src/libvterm/src/utf8.h \
|
||||
@@ -329,8 +347,6 @@ SRC_UNIX = \
|
||||
src/gui_x11_pm.h \
|
||||
src/hangulin.c \
|
||||
src/if_xcmdsrv.c \
|
||||
src/integration.c \
|
||||
src/integration.h \
|
||||
src/link.sh \
|
||||
src/installman.sh \
|
||||
src/installml.sh \
|
||||
@@ -353,7 +369,6 @@ SRC_UNIX = \
|
||||
src/proto/if_xcmdsrv.pro \
|
||||
src/proto/os_unix.pro \
|
||||
src/proto/pty.pro \
|
||||
src/proto/workshop.pro \
|
||||
src/pty.c \
|
||||
src/testdir/Makefile \
|
||||
src/testdir/unix.vim \
|
||||
@@ -363,10 +378,6 @@ SRC_UNIX = \
|
||||
src/vimtutor \
|
||||
src/gvimtutor \
|
||||
src/which.sh \
|
||||
src/workshop.c \
|
||||
src/workshop.h \
|
||||
src/wsdebug.c \
|
||||
src/wsdebug.h \
|
||||
src/tee/Makefile \
|
||||
src/xxd/Makefile \
|
||||
|
||||
@@ -412,11 +423,8 @@ SRC_DOS = \
|
||||
src/GvimExt/uninst.bat \
|
||||
README_srcdos.txt \
|
||||
src/INSTALLpc.txt \
|
||||
src/Make_bc5.mak \
|
||||
src/Make_cyg.mak \
|
||||
src/Make_cyg_ming.mak \
|
||||
src/Make_ivc.mak \
|
||||
src/Make_dvc.mak \
|
||||
src/Make_ming.mak \
|
||||
src/Make_mvc.mak \
|
||||
tools/rename.bat \
|
||||
@@ -467,13 +475,12 @@ SRC_DOS = \
|
||||
src/xpm_w32.c \
|
||||
src/xpm_w32.h \
|
||||
src/tee/Make_mvc.mak \
|
||||
src/xxd/Make_bc5.mak \
|
||||
src/xxd/Make_ming.mak \
|
||||
src/xxd/Make_mvc.mak \
|
||||
nsis/gvim.nsi \
|
||||
nsis/gvim_version.nsh \
|
||||
nsis/vimrc.ini \
|
||||
nsis/README.txt \
|
||||
nsis/lang/*.nsi \
|
||||
uninstal.txt \
|
||||
src/VisVim/Commands.cpp \
|
||||
src/VisVim/Commands.h \
|
||||
@@ -505,15 +512,15 @@ SRC_DOS_BIN = \
|
||||
src/vim.tlb \
|
||||
src/xpm/COPYRIGHT \
|
||||
src/xpm/README.txt \
|
||||
src/xpm/arm64/lib-vc14/libXpm.lib \
|
||||
src/xpm/include/*.h \
|
||||
src/xpm/x64/lib-vc14/libXpm.lib \
|
||||
src/xpm/x64/lib/libXpm.a \
|
||||
src/xpm/x64/lib/libXpm.lib \
|
||||
src/xpm/x64/lib-vc14/libXpm.lib \
|
||||
src/xpm/x86/lib-vc14/libXpm.lib \
|
||||
src/xpm/x86/lib/libXpm.a \
|
||||
src/xpm/x86/lib/libXpm.lib \
|
||||
src/xpm/x86/lib-vc14/libXpm.lib \
|
||||
nsis/icons/*.bmp \
|
||||
nsis/icons/*.ico \
|
||||
nsis/icons.zip \
|
||||
|
||||
# source files for Amiga, DOS, etc. (also in the extra archive)
|
||||
SRC_AMI_DOS = \
|
||||
@@ -661,6 +668,7 @@ RT_ALL = \
|
||||
runtime/pack/dist/opt/matchit/plugin/matchit.vim \
|
||||
runtime/pack/dist/opt/matchit/doc/matchit.txt \
|
||||
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/swapmouse/plugin/swapmouse.vim \
|
||||
runtime/pack/dist/opt/termdebug/plugin/termdebug.vim \
|
||||
@@ -690,6 +698,11 @@ RT_SCRIPTS = \
|
||||
runtime/compiler/README.txt \
|
||||
runtime/indent/*.vim \
|
||||
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/logtalk.dict \
|
||||
runtime/ftplugin/README.txt \
|
||||
@@ -826,8 +839,6 @@ EXTRA = \
|
||||
$(SRC_EXTRA) \
|
||||
README_extra.txt \
|
||||
src/VisVim/VisVim.dll \
|
||||
farsi/README.txt \
|
||||
farsi/fonts/*/far-* \
|
||||
runtime/vimlogo.xpm \
|
||||
src/tee/Makefile \
|
||||
src/tee/Make_mvc.mak \
|
||||
@@ -930,6 +941,8 @@ LANG_SRC = \
|
||||
src/po/Make_cyg.mak \
|
||||
src/po/Make_ming.mak \
|
||||
src/po/Make_mvc.mak \
|
||||
src/po/vim.desktop.in \
|
||||
src/po/gvim.desktop.in \
|
||||
src/po/sjiscorr.c \
|
||||
src/po/*.po \
|
||||
|
||||
|
||||
29
Makefile
29
Makefile
@@ -32,14 +32,31 @@ first:
|
||||
|
||||
# Some make programs use the last target for the $@ default; put the other
|
||||
# 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 \
|
||||
cp src/config.mk.dist src/auto/config.mk; \
|
||||
fi
|
||||
@echo "Starting make in the src directory."
|
||||
@echo "If there are problems, cd to the src directory and run make there"
|
||||
cd src && $(MAKE) $@
|
||||
@# When the target is "test" also run the indent tests.
|
||||
@if test "$@" = "test"; then \
|
||||
$(MAKE) indenttest; \
|
||||
fi
|
||||
@# When the target is "clean" also clean for the indent tests.
|
||||
@if test "$@" = "clean" -o "$@" = "distclean" -o "$@" = "testclean"; then \
|
||||
cd runtime/indent && \
|
||||
$(MAKE) clean; \
|
||||
fi
|
||||
|
||||
# Executable used for running the indent tests.
|
||||
VIM_FOR_INDENTTEST = ../../src/vim
|
||||
|
||||
indenttest:
|
||||
cd runtime/indent && \
|
||||
$(MAKE) clean && \
|
||||
$(MAKE) test VIM="$(VIM_FOR_INDENTTEST)"
|
||||
|
||||
|
||||
#########################################################################
|
||||
# 2. Creating the various distribution files.
|
||||
@@ -193,6 +210,7 @@ MINOR = 1
|
||||
# - 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.
|
||||
# - go to ../nsis and do:
|
||||
# > unzip icons.zip
|
||||
# > makensis gvim.nsi (takes a few minutes).
|
||||
# ignore warning for libwinpthread-1.dll
|
||||
# - Copy gvim##.exe to the dist directory.
|
||||
@@ -456,11 +474,12 @@ dosrt_files: dist prepare no_title.vim
|
||||
-rm $(IN_README_DIR)
|
||||
mv dist/vim/$(VIMRTDIR)/runtime/* dist/vim/$(VIMRTDIR)
|
||||
rmdir dist/vim/$(VIMRTDIR)/runtime
|
||||
# Add the message translations. Trick: skip ja.mo and use ja.sjis.mo instead.
|
||||
# Same for cs.mo / cs.cp1250.mo, pl.mo / pl.cp1250.mo, sk.mo / sk.cp1250.mo,
|
||||
# zh_CN.mo / zh_CN.cp936.mo, uk.mo / uk.cp1251.mo and ru.mo / ru.cp1251.mo.
|
||||
# Add the message translations. Trick: skip ja.mo/ja.euc-jp.mo and use
|
||||
# ja.sjis.mo instead. Same for cs.mo / cs.cp1250.mo, pl.mo / pl.cp1250.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 \
|
||||
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+"`; \
|
||||
mkdir dist/vim/$(VIMRTDIR)/lang/$$n; \
|
||||
mkdir dist/vim/$(VIMRTDIR)/lang/$$n/LC_MESSAGES; \
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||

|
||||
|
||||
[](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://codecov.io/gh/vim/vim?branch=master)
|
||||
[](https://scan.coverity.com/projects/vim)
|
||||
[](https://lgtm.com/projects/g/vim/vim/context:cpp)
|
||||
[](https://buildd.debian.org/vim)
|
||||
[](https://repology.org/metapackage/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.
|
||||
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'
|
||||
|
||||
build_script:
|
||||
- src/appveyor.bat
|
||||
- ci/appveyor.bat
|
||||
|
||||
test_script:
|
||||
- cd src/testdir
|
||||
|
||||
@@ -7,7 +7,7 @@ cd %APPVEYOR_BUILD_FOLDER%
|
||||
cd src
|
||||
echo "Building MinGW 32bit console version"
|
||||
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.
|
||||
copy vim.exe testdir
|
||||
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.
|
||||
echo "Building MinGW 32bit GUI version"
|
||||
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 (
|
||||
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
|
||||
|
||||
echo "Building MSVC 64bit console Version"
|
||||
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
|
||||
|
||||
:: build MSVC huge version with python and channel support
|
||||
:: GUI needs to be last, so that testing works
|
||||
echo "Building MSVC 64bit GUI Version"
|
||||
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 (
|
||||
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
|
||||
|
||||
2
configure
vendored
2
configure
vendored
@@ -3,4 +3,4 @@
|
||||
# This is just a stub for the Unix configure script, to provide support for
|
||||
# doing "./configure" in the top Vim directory.
|
||||
|
||||
cd src && exec ./configure "$@"
|
||||
cd "${SRCDIR:-src}" && exec ./configure "$@"
|
||||
|
||||
@@ -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,
|
||||
install.exe,
|
||||
uninstal.exe,
|
||||
tee/tee.exe,
|
||||
xxd/xxd.exe,
|
||||
|
||||
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
|
||||
archive).
|
||||
|
||||
5. Go to the OleVim directory and build OpenWithVim.exe and SendToVim.exe (or
|
||||
get them from a binary archive).
|
||||
|
||||
6. Get a "diff.exe" program and put it in the "../.." directory (above the
|
||||
"vim80" directory, it's the same for all Vim versions).
|
||||
5. Get a "diff.exe" program. If you skip this the built-in diff will always
|
||||
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,
|
||||
it's the same for all Vim versions).
|
||||
You can find one in previous Vim versions or in this archive:
|
||||
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
|
||||
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.
|
||||
Also install UPX, if you want a compressed file.
|
||||
|
||||
Unpack the images:
|
||||
cd nsis
|
||||
unzip icons.zip
|
||||
|
||||
To build then, enter:
|
||||
|
||||
cd nsis
|
||||
makensis gvim.nsi
|
||||
|
||||
1209
nsis/gvim.nsi
1209
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
|
||||
@@ -1,8 +1,12 @@
|
||||
" Author: Antony Lee <anntzer.lee@gmail.com>
|
||||
" Description: Helper functions for reStructuredText syntax folding
|
||||
" Last Modified: 2018-01-07
|
||||
" 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]
|
||||
@@ -20,12 +24,18 @@ function s:CacheRstFold()
|
||||
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
|
||||
@@ -37,6 +47,10 @@ function RstFold#GetRstFold()
|
||||
endfunction
|
||||
|
||||
function RstFold#GetRstFoldText()
|
||||
if !g:rst_fold_enabled
|
||||
return
|
||||
endif
|
||||
|
||||
if !has_key(b:, 'RstFoldCache')
|
||||
call s:CacheRstFold()
|
||||
endif
|
||||
|
||||
28
runtime/autoload/dist/ft.vim
vendored
28
runtime/autoload/dist/ft.vim
vendored
@@ -1,7 +1,7 @@
|
||||
" Vim functions for file type detection
|
||||
"
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last Change: 2017 Dec 05
|
||||
" Last Change: 2019 Mar 08
|
||||
|
||||
" These functions are moved here from runtime/filetype.vim to make startup
|
||||
" faster.
|
||||
@@ -126,7 +126,7 @@ endfunc
|
||||
" This function checks if one of the first ten lines start with a '@'. In
|
||||
" that case it is probably a change 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.
|
||||
func dist#ft#FTchange()
|
||||
let lnum = 1
|
||||
@@ -197,7 +197,7 @@ func dist#ft#FTe()
|
||||
exe 'setf ' . g:filetype_euphoria
|
||||
else
|
||||
let n = 1
|
||||
while n < 100 && n < line("$")
|
||||
while n < 100 && n <= line("$")
|
||||
if getline(n) =~ "^\\s*\\(<'\\|'>\\)\\s*$"
|
||||
setf specman
|
||||
return
|
||||
@@ -211,7 +211,7 @@ endfunc
|
||||
" Distinguish between HTML, XHTML and Django
|
||||
func dist#ft#FThtml()
|
||||
let n = 1
|
||||
while n < 10 && n < line("$")
|
||||
while n < 10 && n <= line("$")
|
||||
if getline(n) =~ '\<DTD\s\+XHTML\s'
|
||||
setf xhtml
|
||||
return
|
||||
@@ -222,13 +222,13 @@ func dist#ft#FThtml()
|
||||
endif
|
||||
let n = n + 1
|
||||
endwhile
|
||||
setf html
|
||||
setf FALLBACK html
|
||||
endfunc
|
||||
|
||||
" Distinguish between standard IDL and MS-IDL
|
||||
func dist#ft#FTidl()
|
||||
let n = 1
|
||||
while n < 50 && n < line("$")
|
||||
while n < 50 && n <= line("$")
|
||||
if getline(n) =~ '^\s*import\s\+"\(unknwn\|objidl\)\.idl"'
|
||||
setf msidl
|
||||
return
|
||||
@@ -484,6 +484,10 @@ endfunc
|
||||
|
||||
" Called from filetype.vim and scripts.vim.
|
||||
func dist#ft#SetFileTypeSH(name)
|
||||
if did_filetype()
|
||||
" Filetype was already detected
|
||||
return
|
||||
endif
|
||||
if expand("<amatch>") =~ g:ft_ignore_pat
|
||||
return
|
||||
endif
|
||||
@@ -531,6 +535,10 @@ endfunc
|
||||
" as used for Tcl.
|
||||
" Also called from scripts.vim, thus can't be local to this script.
|
||||
func dist#ft#SetFileTypeShell(name)
|
||||
if did_filetype()
|
||||
" Filetype was already detected
|
||||
return
|
||||
endif
|
||||
if expand("<amatch>") =~ g:ft_ignore_pat
|
||||
return
|
||||
endif
|
||||
@@ -551,6 +559,10 @@ func dist#ft#SetFileTypeShell(name)
|
||||
endfunc
|
||||
|
||||
func dist#ft#CSH()
|
||||
if did_filetype()
|
||||
" Filetype was already detected
|
||||
return
|
||||
endif
|
||||
if exists("g:filetype_csh")
|
||||
call dist#ft#SetFileTypeShell(g:filetype_csh)
|
||||
elseif &shell =~ "tcsh"
|
||||
@@ -687,7 +699,7 @@ endfunc
|
||||
|
||||
func dist#ft#FTxml()
|
||||
let n = 1
|
||||
while n < 100 && n < line("$")
|
||||
while n < 100 && n <= line("$")
|
||||
let line = getline(n)
|
||||
" DocBook 4 or DocBook 5.
|
||||
let is_docbook4 = line =~ '<!DOCTYPE.*DocBook'
|
||||
@@ -713,7 +725,7 @@ endfunc
|
||||
|
||||
func dist#ft#FTy()
|
||||
let n = 1
|
||||
while n < 100 && n < line("$")
|
||||
while n < 100 && n <= line("$")
|
||||
let line = getline(n)
|
||||
if line =~ '^\s*%'
|
||||
setf yacc
|
||||
|
||||
@@ -1,35 +1,25 @@
|
||||
" Vim support file to help with paste mappings and menus
|
||||
" 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
|
||||
" 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['v'] = '"-c<Esc>' . paste#paste_cmd['n']
|
||||
let paste#paste_cmd['i'] = "\<c-\>\<c-o>\"+gP"
|
||||
let paste#paste_cmd = {'n': ":call paste#Paste()<CR>"}
|
||||
let paste#paste_cmd['v'] = '"-c<Esc>' . paste#paste_cmd['n']
|
||||
let paste#paste_cmd['i'] = "\<c-\>\<c-o>\"+gP"
|
||||
|
||||
func! paste#Paste()
|
||||
let ove = &ve
|
||||
set ve=all
|
||||
normal! `^
|
||||
if @+ != ''
|
||||
normal! "+gP
|
||||
endif
|
||||
let c = col(".")
|
||||
normal! i
|
||||
if col(".") < c " compensate for i<ESC> moving the cursor left
|
||||
normal! l
|
||||
endif
|
||||
let &ve = ove
|
||||
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
|
||||
func! paste#Paste()
|
||||
let ove = &ve
|
||||
set ve=all
|
||||
normal! `^
|
||||
if @+ != ''
|
||||
normal! "+gP
|
||||
endif
|
||||
let c = col(".")
|
||||
normal! i
|
||||
if col(".") < c " compensate for i<ESC> moving the cursor left
|
||||
normal! l
|
||||
endif
|
||||
let &ve = ove
|
||||
endfunc
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
" Maintainer: Dávid Szabó ( complex857 AT gmail DOT com )
|
||||
" Previous Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
|
||||
" URL: https://github.com/shawncplus/phpcomplete.vim
|
||||
" Last Change: 2016 Oct 10
|
||||
" Last Change: 2018 Oct 10
|
||||
"
|
||||
" OPTIONS:
|
||||
"
|
||||
@@ -146,6 +146,8 @@ function! phpcomplete#CompletePHP(findstart, base) " {{{
|
||||
end
|
||||
|
||||
try
|
||||
let eventignore = &eventignore
|
||||
let &eventignore = 'all'
|
||||
let winheight = winheight(0)
|
||||
let winnr = winnr()
|
||||
|
||||
@@ -216,6 +218,7 @@ function! phpcomplete#CompletePHP(findstart, base) " {{{
|
||||
endif
|
||||
finally
|
||||
silent! exec winnr.'resize '.winheight
|
||||
let &eventignore = eventignore
|
||||
endtry
|
||||
endfunction
|
||||
" }}}
|
||||
@@ -1393,23 +1396,28 @@ function! phpcomplete#GetCallChainReturnType(classname_candidate, class_candidat
|
||||
for classstructure in classcontents
|
||||
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)
|
||||
if doc_str != ''
|
||||
let return_type_hint = phpcomplete#GetFunctionReturnTypeHint(split(classstructure.content, '\n'), 'function\s\+&\?'.method.'\>')
|
||||
if doc_str != '' || return_type_hint != ''
|
||||
break
|
||||
endif
|
||||
endfor
|
||||
if doc_str != ''
|
||||
if doc_str != '' || return_type_hint != ''
|
||||
let docblock = phpcomplete#ParseDocBlock(doc_str)
|
||||
if has_key(docblock.return, 'type') || has_key(docblock.var, 'type') || len(docblock.properties) > 0
|
||||
let type = has_key(docblock.return, 'type') ? docblock.return.type : has_key(docblock.var, 'type') ? docblock.var.type : ''
|
||||
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 : ''
|
||||
|
||||
if type == ''
|
||||
for property in docblock.properties
|
||||
if property.description =~? method
|
||||
let type = property.type
|
||||
break
|
||||
endif
|
||||
endfor
|
||||
endif
|
||||
if type == ''
|
||||
for property in docblock.properties
|
||||
if property.description =~? method
|
||||
let type = property.type
|
||||
break
|
||||
endif
|
||||
endfor
|
||||
endif
|
||||
else
|
||||
let type = return_type_hint
|
||||
end
|
||||
|
||||
" there's a namespace in the type, threat the type as FQCN
|
||||
if type =~ '\\'
|
||||
@@ -1483,7 +1491,7 @@ function! phpcomplete#GetMethodStack(line) " {{{
|
||||
continue
|
||||
endif
|
||||
|
||||
" if it's looks like a string
|
||||
" if it looks like a string
|
||||
if current_char == "'" || current_char == '"'
|
||||
" and it is not escaped
|
||||
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)
|
||||
let file_lines = readfile(function_file)
|
||||
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)
|
||||
if has_key(docblock.return, 'type')
|
||||
let classname_candidate = docblock.return.type
|
||||
let type = has_key(docblock.return, 'type') ? docblock.return.type : return_type_hint
|
||||
if type != ''
|
||||
let classname_candidate = type
|
||||
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
|
||||
|
||||
@@ -1821,9 +1831,11 @@ function! phpcomplete#GetClassName(start_line, context, current_namespace, impor
|
||||
elseif function_file != '' && filereadable(function_file)
|
||||
let file_lines = readfile(function_file)
|
||||
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)
|
||||
if has_key(docblock.return, 'type')
|
||||
let classname_candidate = docblock.return.type
|
||||
let type = has_key(docblock.return, 'type') ? docblock.return.type : return_type_hint
|
||||
if type != ''
|
||||
let classname_candidate = type
|
||||
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
|
||||
let [classname_candidate, class_candidate_namespace] = phpcomplete#ExpandClassName(classname_candidate, class_candidate_namespace, function_imports)
|
||||
@@ -2413,6 +2425,44 @@ function! phpcomplete#ParseDocBlock(docblock) " {{{
|
||||
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) " {{{
|
||||
if 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
|
||||
" they can be either classes, interfaces or namespaces, no other thing is importable in php
|
||||
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 =~ '\\'
|
||||
let patched_ctags_detected = 0
|
||||
let [classname, namespace_for_classes] = phpcomplete#ExpandClassName(import.name, '\', {})
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
" Vim completion script
|
||||
" Language: Ruby
|
||||
" Maintainer: Mark Guzman <segfault@hasno.info>
|
||||
" URL: https://github.com/vim-ruby/vim-ruby
|
||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||
" Maintainer Version: 0.8.1
|
||||
" Language: Ruby
|
||||
" Maintainer: Mark Guzman <segfault@hasno.info>
|
||||
" URL: https://github.com/vim-ruby/vim-ruby
|
||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||
" Last Change: 2019 Jan 06
|
||||
" ----------------------------------------------------------------------------
|
||||
"
|
||||
" Ruby IRB/Complete author: Keiju ISHITSUKA(keiju@ishitsuka.com)
|
||||
@@ -103,7 +103,7 @@ function! s:GetBufferRubyEntity( name, type, ... )
|
||||
endif
|
||||
|
||||
let curpos = getpos(".")
|
||||
let [enum,ecol] = searchpairpos( crex, '', '\(end\|}\)', 'wr' )
|
||||
let [enum,ecol] = searchpairpos( crex, '', '\(end\|}\)', 'W' )
|
||||
call cursor(lastpos[1], lastpos[2])
|
||||
|
||||
if lnum > enum
|
||||
@@ -253,15 +253,27 @@ class VimRubyCompletion
|
||||
|
||||
# {{{ buffer analysis magic
|
||||
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
|
||||
enum = buf.line_number
|
||||
nums = Range.new( 1, enum )
|
||||
nums.each do |x|
|
||||
|
||||
ln = buf[x]
|
||||
begin
|
||||
eval( "require %s" % $1 ) if /.*require\s*(.*)$/.match( ln )
|
||||
rescue Exception
|
||||
#ignore?
|
||||
if /.*require_relative\s*(.*)$/.match( ln )
|
||||
eval( "require %s" % File.expand_path($1) )
|
||||
elsif /.*require\s*(["'].*?["'])/.match( ln )
|
||||
eval( "require %s" % $1 )
|
||||
end
|
||||
rescue Exception => e
|
||||
dprint e.inspect
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -344,8 +356,13 @@ class VimRubyCompletion
|
||||
if x != cur_line
|
||||
next if x == 0
|
||||
ln = buf[x]
|
||||
if /^\s*(module|class|def|include)\s+/.match(ln)
|
||||
clscnt += 1 if $1 == "class"
|
||||
is_const = false
|
||||
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
|
||||
classdef += "%s\n" % ln
|
||||
classdef += "end\n" if /def\s+/.match(ln)
|
||||
@@ -423,7 +440,6 @@ class VimRubyCompletion
|
||||
return get_buffer_entity_list( "class" )
|
||||
end
|
||||
|
||||
|
||||
def load_rails
|
||||
allow_rails = VIM::evaluate("exists('g:rubycomplete_rails') && g:rubycomplete_rails")
|
||||
return if allow_rails.to_i.zero?
|
||||
@@ -529,7 +545,6 @@ class VimRubyCompletion
|
||||
ret += ActiveRecord::ConnectionAdapters::SchemaStatements.methods
|
||||
end
|
||||
|
||||
|
||||
return ret
|
||||
end
|
||||
|
||||
@@ -587,11 +602,13 @@ class VimRubyCompletion
|
||||
# {{{ main completion code
|
||||
def self.preload_rails
|
||||
a = VimRubyCompletion.new
|
||||
require 'Thread'
|
||||
Thread.new(a) do |b|
|
||||
begin
|
||||
b.load_rails
|
||||
rescue
|
||||
if VIM::evaluate("has('nvim')") == 0
|
||||
require 'thread'
|
||||
Thread.new(a) do |b|
|
||||
begin
|
||||
b.load_rails
|
||||
rescue
|
||||
end
|
||||
end
|
||||
end
|
||||
a.load_rails
|
||||
@@ -612,7 +629,6 @@ class VimRubyCompletion
|
||||
|
||||
want_gems = VIM::evaluate("get(g:, 'rubycomplete_load_gemfile')")
|
||||
load_gems unless want_gems.to_i.zero?
|
||||
|
||||
|
||||
input = VIM::Buffer.current.line
|
||||
cpos = VIM::Window.current.cursor[1] - 1
|
||||
@@ -666,6 +682,7 @@ class VimRubyCompletion
|
||||
message = Regexp.quote($4)
|
||||
dprint "const or cls 2 [recv: \'%s\', msg: \'%s\']" % [ receiver, message ]
|
||||
load_buffer_class( receiver )
|
||||
load_buffer_module( receiver )
|
||||
begin
|
||||
classes = eval("#{receiver}.constants")
|
||||
#methods = eval("#{receiver}.methods")
|
||||
@@ -786,7 +803,6 @@ class VimRubyCompletion
|
||||
methods += Kernel.public_methods
|
||||
end
|
||||
|
||||
|
||||
include_object = VIM::evaluate("exists('g:rubycomplete_include_object') && g:rubycomplete_include_object")
|
||||
methods = clean_sel( methods, message )
|
||||
methods = (methods-Object.instance_methods) if include_object == "0"
|
||||
@@ -829,5 +845,4 @@ let s:rubycomplete_rails_loaded = 0
|
||||
call s:DefRuby()
|
||||
"}}} ruby-side code
|
||||
|
||||
|
||||
" vim:tw=78:sw=4:ts=8:et:fdm=marker:ft=vim:norl:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
" Vim autoload file for the tohtml plugin.
|
||||
" Maintainer: Ben Fritz <fritzophrenic@gmail.com>
|
||||
" Last Change: 2013 Sep 03
|
||||
" Last Change: 2018 Nov 11
|
||||
"
|
||||
" 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
|
||||
" and again without adjusting {{{
|
||||
|
||||
" insert script closing tag
|
||||
call append(style_start, [
|
||||
\ '',
|
||||
\ s:settings.use_xhtml ? '//]]>' : '-->',
|
||||
\ "</script>"
|
||||
\ ])
|
||||
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, [
|
||||
\ '',
|
||||
\ s:settings.use_xhtml ? '//]]>' : '-->',
|
||||
\ "</script>"
|
||||
\ ])
|
||||
endif
|
||||
|
||||
" 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
|
||||
@@ -575,55 +579,61 @@ func! tohtml#Diff2HTML(win_list, buf_list) "{{{
|
||||
\ '}'
|
||||
\ ])
|
||||
endif
|
||||
"
|
||||
|
||||
" insert javascript to get IDs from line numbers, and to open a fold before
|
||||
" jumping to any lines contained therein
|
||||
call append(style_start, [
|
||||
\ " /* Always jump to new location even if the line was hidden inside a fold, or",
|
||||
\ " * we corrected the raw number to a line ID.",
|
||||
\ " */",
|
||||
\ " if (lineElem) {",
|
||||
\ " lineElem.scrollIntoView(true);",
|
||||
\ " }",
|
||||
\ " return true;",
|
||||
\ "}",
|
||||
\ "if ('onhashchange' in window) {",
|
||||
\ " window.onhashchange = JumpToLine;",
|
||||
\ "}"
|
||||
\ ])
|
||||
if s:settings.dynamic_folds
|
||||
if s:settings.line_ids
|
||||
call append(style_start, [
|
||||
\ " /* Always jump to new location even if the line was hidden inside a fold, or",
|
||||
\ " * we corrected the raw number to a line ID.",
|
||||
\ " */",
|
||||
\ " if (lineElem) {",
|
||||
\ " lineElem.scrollIntoView(true);",
|
||||
\ " }",
|
||||
\ " return true;",
|
||||
\ "}",
|
||||
\ "if ('onhashchange' in window) {",
|
||||
\ " window.onhashchange = JumpToLine;",
|
||||
\ "}"
|
||||
\ ])
|
||||
|
||||
if s:settings.dynamic_folds
|
||||
call append(style_start, [
|
||||
\ "",
|
||||
\ " /* navigate upwards in the DOM tree to open all folds containing the line */",
|
||||
\ " var node = lineElem;",
|
||||
\ " while (node && node.id != 'vimCodeElement".s:settings.id_suffix."')",
|
||||
\ " {",
|
||||
\ " if (node.className == 'closed-fold')",
|
||||
\ " {",
|
||||
\ " /* toggle open the fold ID (remove window ID) */",
|
||||
\ " toggleFold(node.id.substr(4));",
|
||||
\ " }",
|
||||
\ " node = node.parentNode;",
|
||||
\ " }",
|
||||
\ ])
|
||||
endif
|
||||
endif
|
||||
|
||||
if s:settings.line_ids
|
||||
call append(style_start, [
|
||||
\ "",
|
||||
\ " /* navigate upwards in the DOM tree to open all folds containing the line */",
|
||||
\ " var node = lineElem;",
|
||||
\ " while (node && node.id != 'vimCodeElement".s:settings.id_suffix."')",
|
||||
\ " {",
|
||||
\ " if (node.className == 'closed-fold')",
|
||||
\ " {",
|
||||
\ " /* toggle open the fold ID (remove window ID) */",
|
||||
\ " toggleFold(node.id.substr(4));",
|
||||
\ " }",
|
||||
\ " node = node.parentNode;",
|
||||
\ "/* function to open any folds containing a jumped-to line before jumping to it */",
|
||||
\ "function JumpToLine()",
|
||||
\ "{",
|
||||
\ " var lineNum;",
|
||||
\ " lineNum = window.location.hash;",
|
||||
\ " lineNum = lineNum.substr(1); /* strip off '#' */",
|
||||
\ "",
|
||||
\ " if (lineNum.indexOf('L') == -1) {",
|
||||
\ " lineNum = 'L'+lineNum;",
|
||||
\ " }",
|
||||
\ " if (lineNum.indexOf('W') == -1) {",
|
||||
\ " lineNum = 'W1'+lineNum;",
|
||||
\ " }",
|
||||
\ " var lineElem = document.getElementById(lineNum);"
|
||||
\ ])
|
||||
endif
|
||||
call append(style_start, [
|
||||
\ "",
|
||||
\ "/* function to open any folds containing a jumped-to line before jumping to it */",
|
||||
\ "function JumpToLine()",
|
||||
\ "{",
|
||||
\ " var lineNum;",
|
||||
\ " lineNum = window.location.hash;",
|
||||
\ " lineNum = lineNum.substr(1); /* strip off '#' */",
|
||||
\ "",
|
||||
\ " if (lineNum.indexOf('L') == -1) {",
|
||||
\ " lineNum = 'L'+lineNum;",
|
||||
\ " }",
|
||||
\ " if (lineNum.indexOf('W') == -1) {",
|
||||
\ " lineNum = 'W1'+lineNum;",
|
||||
\ " }",
|
||||
\ " lineElem = document.getElementById(lineNum);"
|
||||
\ ])
|
||||
|
||||
" Insert javascript to toggle matching folds open and closed in all windows,
|
||||
" if dynamic folding is active.
|
||||
@@ -648,11 +658,13 @@ func! tohtml#Diff2HTML(win_list, buf_list) "{{{
|
||||
\ ])
|
||||
endif
|
||||
|
||||
" insert script tag; javascript is always needed for the line number
|
||||
" normalization for URL hashes
|
||||
call append(style_start, [
|
||||
\ "<script type='text/javascript'>",
|
||||
\ s:settings.use_xhtml ? '//<![CDATA[' : "<!--"])
|
||||
if s:uses_script
|
||||
" insert script tag; javascript is always needed for the line number
|
||||
" normalization for URL hashes
|
||||
call append(style_start, [
|
||||
\ "<script type='text/javascript'>",
|
||||
\ s:settings.use_xhtml ? '//<![CDATA[' : "<!--"])
|
||||
endif
|
||||
|
||||
" 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
|
||||
@@ -767,7 +779,7 @@ func! tohtml#GetUserSettings() "{{{
|
||||
if user_settings.no_pre == 0
|
||||
call tohtml#GetOption(user_settings,
|
||||
\ '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))
|
||||
else
|
||||
let user_settings.expand_tabs = 1
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
" Vim plugin for formatting XML
|
||||
" Last Change: Thu, 22 May 2018 21:26:55 +0100
|
||||
" Version: 0.1
|
||||
" Author: Christian Brabandt <cb@256bit.org>
|
||||
" Repository: https://github.com/chrisbra/vim-xml-ftplugin
|
||||
" License: VIM License
|
||||
" Last Change: Thu, 07 Dec 2018
|
||||
" Version: 0.1
|
||||
" Author: Christian Brabandt <cb@256bit.org>
|
||||
" Repository: https://github.com/chrisbra/vim-xml-ftplugin
|
||||
" License: VIM License
|
||||
" Documentation: see :h xmlformat.txt (TODO!)
|
||||
" ---------------------------------------------------------------------
|
||||
" Load Once: {{{1
|
||||
@@ -85,7 +85,11 @@ func! s:Trim(item)
|
||||
endfunc
|
||||
" Check if tag is a new opening tag <tag> {{{1
|
||||
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
|
||||
" Remove one level of indentation {{{1
|
||||
func! s:DecreaseIndent()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:" information about the environment of a possible bug in Vim.
|
||||
:"
|
||||
:" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
:" Last change: 2005 Jun 12
|
||||
:" Last change: 2019 Jan 27
|
||||
:"
|
||||
:" To use inside Vim:
|
||||
:" :so $VIMRUNTIME/bugreport.vim
|
||||
@@ -54,9 +54,7 @@
|
||||
:endif
|
||||
:set all
|
||||
:set termcap
|
||||
:if has("autocmd")
|
||||
: au
|
||||
:endif
|
||||
:au
|
||||
:if 1
|
||||
: echo "--- Normal/Visual mode mappings ---"
|
||||
:endif
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||
" URL: https://github.com/vim-ruby/vim-ruby
|
||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||
" Last Change: 2018 Jan 25
|
||||
|
||||
if exists("current_compiler")
|
||||
finish
|
||||
@@ -28,8 +29,8 @@ CompilerSet errorformat=
|
||||
\%W%f:%l:\ warning:\ %m,
|
||||
\%E%f:%l:in\ %*[^:]:\ %m,
|
||||
\%E%f:%l:\ %m,
|
||||
\%-C%\tfrom\ %f:%l:in\ %.%#,
|
||||
\%-Z%\tfrom\ %f:%l,
|
||||
\%-C%\t%\\d%#:%#\ %#from\ %f:%l:in\ %.%#,
|
||||
\%-Z%\t%\\d%#:%#\ %#from\ %f:%l,
|
||||
\%-Z%p^,
|
||||
\%-G%.%#
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||
" URL: https://github.com/vim-ruby/vim-ruby
|
||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||
" Last Change: 2018 Mar 02
|
||||
|
||||
if exists("current_compiler")
|
||||
finish
|
||||
@@ -20,12 +21,12 @@ CompilerSet makeprg=rake
|
||||
|
||||
CompilerSet errorformat=
|
||||
\%D(in\ %f),
|
||||
\%\\s%#from\ %f:%l:%m,
|
||||
\%\\s%#from\ %f:%l:,
|
||||
\%\\s%##\ %f:%l:%m,
|
||||
\%\\s%##\ %f:%l,
|
||||
\%\\s%#[%f:%l:\ %#%m,
|
||||
\%\\s%#%f:%l:\ %#%m,
|
||||
\%\\s%#%\\d%#:%#\ %#from\ %f:%l:%m,
|
||||
\%\\s%#%\\d%#:%#\ %#from\ %f:%l:,
|
||||
\%\\s%##\ %f:%l:%m%\\&%.%#%\\D:%\\d%\\+:%.%#,
|
||||
\%\\s%##\ %f:%l%\\&%.%#%\\D:%\\d%\\+,
|
||||
\%\\s%#[%f:%l:\ %#%m%\\&%.%#%\\D:%\\d%\\+:%.%#,
|
||||
\%\\s%#%f:%l:\ %#%m%\\&%.%#%\\D:%\\d%\\+:%.%#,
|
||||
\%\\s%#%f:%l:,
|
||||
\%m\ [%f:%l]:,
|
||||
\%+Erake\ aborted!,
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||
" URL: https://github.com/vim-ruby/vim-ruby
|
||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||
" Last Change: 2018 Aug 07
|
||||
|
||||
if exists("current_compiler")
|
||||
finish
|
||||
@@ -23,7 +24,8 @@ CompilerSet errorformat=
|
||||
\%E%.%#:in\ `load':\ %f:%l:%m,
|
||||
\%E%f:%l:in\ `%*[^']':\ %m,
|
||||
\%-Z\ \ \ \ \ %\\+\#\ %f:%l:%.%#,
|
||||
\%E\ \ %\\d%\\+)%.%#,
|
||||
\%E\ \ \ \ \ Failure/Error:\ %m,
|
||||
\%E\ \ \ \ \ Failure/Error:,
|
||||
\%C\ \ \ \ \ %m,
|
||||
\%C%\\s%#,
|
||||
\%-G%.%#
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||
" URL: https://github.com/vim-ruby/vim-ruby
|
||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||
" ----------------------------------------------------------------------------
|
||||
" Last Change: 2019 Jan 06
|
||||
|
||||
if exists("current_compiler")
|
||||
finish
|
||||
@@ -21,21 +21,21 @@ set cpo-=C
|
||||
" default settings runs script normally
|
||||
" add '-c' switch to run syntax check only:
|
||||
"
|
||||
" CompilerSet makeprg=ruby\ -wc\ $*
|
||||
" CompilerSet makeprg=ruby\ -c
|
||||
"
|
||||
" or add '-c' at :make command line:
|
||||
"
|
||||
" :make -c %<CR>
|
||||
"
|
||||
CompilerSet makeprg=ruby\ -w\ $*
|
||||
CompilerSet makeprg=ruby
|
||||
|
||||
CompilerSet errorformat=
|
||||
\%+E%f:%l:\ parse\ error,
|
||||
\%W%f:%l:\ warning:\ %m,
|
||||
\%E%f:%l:in\ %*[^:]:\ %m,
|
||||
\%E%f:%l:\ %m,
|
||||
\%-C%\tfrom\ %f:%l:in\ %.%#,
|
||||
\%-Z%\tfrom\ %f:%l,
|
||||
\%-C%\t%\\d%#:%#\ %#from\ %f:%l:in\ %.%#,
|
||||
\%-Z%\t%\\d%#:%#\ %#from\ %f:%l,
|
||||
\%-Z%p^,
|
||||
\%-G%.%#
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||
" URL: https://github.com/vim-ruby/vim-ruby
|
||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||
" Last Change: 2014 Mar 23
|
||||
|
||||
if exists("current_compiler")
|
||||
finish
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" The default vimrc file.
|
||||
"
|
||||
" 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.
|
||||
" 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
|
||||
endif
|
||||
|
||||
" Only do this part when compiled with support for autocommands.
|
||||
if has("autocmd")
|
||||
" Only do this part when Vim was compiled with the +eval feature.
|
||||
if 1
|
||||
|
||||
" Enable file type detection.
|
||||
" Use the default filetype settings, so that mail gets 'tw' set to 72,
|
||||
@@ -116,7 +116,7 @@ if has("autocmd")
|
||||
|
||||
augroup END
|
||||
|
||||
endif " has("autocmd")
|
||||
endif
|
||||
|
||||
" Convenient command to see the difference between the current buffer and the
|
||||
" file it was loaded from, thus the changes you made.
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
" Last Change: 2001 May 27
|
||||
|
||||
aunmenu *
|
||||
tlunmenu *
|
||||
|
||||
silent! unlet did_install_default_menus
|
||||
silent! unlet did_install_syntax_menu
|
||||
|
||||
@@ -83,6 +83,7 @@ DOCS = \
|
||||
pi_tar.txt \
|
||||
pi_vimball.txt \
|
||||
pi_zip.txt \
|
||||
popup.txt \
|
||||
print.txt \
|
||||
quickfix.txt \
|
||||
quickref.txt \
|
||||
@@ -102,6 +103,7 @@ DOCS = \
|
||||
tagsrch.txt \
|
||||
term.txt \
|
||||
terminal.txt \
|
||||
textprop.txt \
|
||||
tips.txt \
|
||||
todo.txt \
|
||||
uganda.txt \
|
||||
@@ -219,6 +221,7 @@ HTMLS = \
|
||||
pi_tar.html \
|
||||
pi_vimball.html \
|
||||
pi_zip.html \
|
||||
popup.html \
|
||||
print.html \
|
||||
quickfix.html \
|
||||
quickref.html \
|
||||
@@ -238,6 +241,7 @@ HTMLS = \
|
||||
tagsrch.html \
|
||||
term.html \
|
||||
terminal.html \
|
||||
textprop.html \
|
||||
tips.html \
|
||||
todo.html \
|
||||
uganda.html \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*arabic.txt* For Vim version 8.1. Last change: 2010 Nov 13
|
||||
*arabic.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Nadim Shaikli
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
Arabic Language support (options & mappings) for Vim *Arabic*
|
||||
|
||||
{Vi does not have any of these commands}
|
||||
|
||||
*E800*
|
||||
In order to use right-to-left and Arabic mapping support, it is
|
||||
|
||||
@@ -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 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -20,7 +20,6 @@ For a basic explanation, see section |40.3| in the user manual.
|
||||
10. Using autocommands |autocmd-use|
|
||||
11. Disabling autocommands |autocmd-disable|
|
||||
|
||||
{Vi does not have any of these commands}
|
||||
|
||||
==============================================================================
|
||||
1. Introduction *autocmd-intro*
|
||||
@@ -52,7 +51,7 @@ effects. Be careful not to destroy your text.
|
||||
2. Defining autocommands *autocmd-define*
|
||||
|
||||
*:au* *:autocmd*
|
||||
:au[tocmd] [group] {event} {pat} [nested] {cmd}
|
||||
:au[tocmd] [group] {event} {pat} [++once] [++nested] {cmd}
|
||||
Add {cmd} to the list of commands that Vim will
|
||||
execute automatically on {event} for a file matching
|
||||
{pat} |autocmd-patterns|.
|
||||
@@ -60,7 +59,13 @@ effects. Be careful not to destroy your text.
|
||||
:autocmd and won't start a comment.
|
||||
Vim always adds the {cmd} after existing autocommands,
|
||||
so that the autocommands execute in the order in which
|
||||
they were given. See |autocmd-nested| for [nested].
|
||||
they were given.
|
||||
See |autocmd-nested| for [++nested]. "nested"
|
||||
(without the ++) can also be used, for backwards
|
||||
compatibility.
|
||||
*autocmd-once*
|
||||
If [++once] is supplied the command is executed once,
|
||||
then removed ("one shot").
|
||||
|
||||
The special pattern <buffer> or <buffer=N> defines a buffer-local autocommand.
|
||||
See |autocmd-buflocal|.
|
||||
@@ -128,10 +133,11 @@ prompt. When one command outputs two messages this can happen anyway.
|
||||
==============================================================================
|
||||
3. Removing autocommands *autocmd-remove*
|
||||
|
||||
:au[tocmd]! [group] {event} {pat} [nested] {cmd}
|
||||
:au[tocmd]! [group] {event} {pat} [++once] [++nested] {cmd}
|
||||
Remove all autocommands associated with {event} and
|
||||
{pat}, and add the command {cmd}. See
|
||||
|autocmd-nested| for [nested].
|
||||
{pat}, and add the command {cmd}.
|
||||
See |autocmd-once| for [++once].
|
||||
See |autocmd-nested| for [++nested].
|
||||
|
||||
:au[tocmd]! [group] {event} {pat}
|
||||
Remove all autocommands associated with {event} and
|
||||
@@ -301,6 +307,7 @@ Name triggered by ~
|
||||
|FileChangedShellPost| After handling a file changed since editing started
|
||||
|FileChangedRO| before making the first change to a read-only file
|
||||
|
||||
|DiffUpdated| after diffs have been updated
|
||||
|DirChanged| after the working directory has changed
|
||||
|
||||
|ShellCmdPost| after executing a shell command
|
||||
@@ -310,6 +317,7 @@ Name triggered by ~
|
||||
|FuncUndefined| a user function is used but it isn't defined
|
||||
|SpellFileMissing| a spell file is used but it can't be found
|
||||
|SourcePre| before sourcing a Vim script
|
||||
|SourcePost| after sourcing a Vim script
|
||||
|SourceCmd| before sourcing a Vim script |Cmd-event|
|
||||
|
||||
|VimResized| after the Vim window size changed
|
||||
@@ -358,6 +366,7 @@ Name triggered by ~
|
||||
|SessionLoadPost| after loading a session file
|
||||
|
||||
|MenuPopup| just before showing the popup menu
|
||||
|CompleteChanged| after Insert mode completion menu changed
|
||||
|CompleteDone| after Insert mode completion is done
|
||||
|
||||
|User| to be used in combination with ":doautocmd"
|
||||
@@ -570,7 +579,22 @@ ColorScheme After loading a color scheme. |:colorscheme|
|
||||
ColorSchemePre Before loading a color scheme. |:colorscheme|
|
||||
Useful to setup removing things added by a
|
||||
color scheme, before another one is loaded.
|
||||
CompleteChanged *CompleteChanged*
|
||||
After each time the Insert mode completion
|
||||
menu changed. Not fired on popup menu hide,
|
||||
use |CompleteDone| for that. Never triggered
|
||||
recursively.
|
||||
|
||||
Sets these |v:event| keys:
|
||||
completed_item See |complete-items|.
|
||||
height nr of items visible
|
||||
width screen cells
|
||||
row top screen row
|
||||
col leftmost screen column
|
||||
size total nr of items
|
||||
scrollbar TRUE if visible
|
||||
|
||||
It is not allowed to change the text |textlock|.
|
||||
*CompleteDone*
|
||||
CompleteDone After Insert mode completion is done. Either
|
||||
when something was completed or abandoning
|
||||
@@ -619,6 +643,8 @@ CursorMoved After the cursor was moved in Normal or Visual
|
||||
Not triggered when there is typeahead or when
|
||||
an operator is pending.
|
||||
For an example see |match-parens|.
|
||||
Note: This can not be skipped with
|
||||
`:noautocmd`.
|
||||
Careful: This is triggered very often, don't
|
||||
do anything that the user does not expect or
|
||||
that is slow.
|
||||
@@ -656,15 +682,21 @@ FileChangedRO Before making the first change to a read-only
|
||||
*E881*
|
||||
If the number of lines changes saving for undo
|
||||
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 The working directory has changed in response
|
||||
to the |:cd| or |:lcd| commands, or as a
|
||||
result of the 'autochdir' option.
|
||||
to the |:cd| or |:tcd| or |:lcd| commands, or
|
||||
as a result of the 'autochdir' option.
|
||||
The pattern can be:
|
||||
"window" to trigger on `:lcd`
|
||||
"global" to trigger on `:cd`
|
||||
"auto" to trigger on 'autochdir'.
|
||||
"drop" to trigger on editing a file
|
||||
"window" to trigger on `:lcd`
|
||||
"tabpage" to trigger on `:tcd`
|
||||
"global" to trigger on `:cd`
|
||||
"auto" to trigger on 'autochdir'.
|
||||
"drop" to trigger on editing a file
|
||||
<afile> is set to the new directory name.
|
||||
*ExitPre*
|
||||
ExitPre When using `:quit`, `:wq` in a way it makes
|
||||
@@ -753,13 +785,14 @@ FilterReadPre Before reading a file from a filter command.
|
||||
Not triggered when 'shelltemp' is off.
|
||||
*FilterWritePost*
|
||||
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
|
||||
the current buffer as with FilterWritePre.
|
||||
Not triggered when 'shelltemp' is off.
|
||||
*FilterWritePre*
|
||||
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
|
||||
the current buffer, not the name of the
|
||||
temporary file that is the output of the
|
||||
@@ -829,13 +862,14 @@ MenuPopup Just before showing the popup menu (under the
|
||||
right mouse button). Useful for adjusting the
|
||||
menu for what is under the cursor or mouse
|
||||
pointer.
|
||||
The pattern is matched against a single
|
||||
character representing the mode:
|
||||
The pattern is matched against one or two
|
||||
characters representing the mode:
|
||||
n Normal
|
||||
v Visual
|
||||
o Operator-pending
|
||||
i Insert
|
||||
c Command line
|
||||
tl Terminal
|
||||
*OptionSet*
|
||||
OptionSet After setting an option. The pattern is
|
||||
matched against the long option name.
|
||||
@@ -859,6 +893,8 @@ OptionSet After setting an option. The pattern is
|
||||
plugin. You can always use `:noa` to prevent
|
||||
triggering this autocommand.
|
||||
|
||||
When using |:set| in the autocommand the event
|
||||
is not triggered again.
|
||||
*QuickFixCmdPre*
|
||||
QuickFixCmdPre Before a quickfix command is run (|:make|,
|
||||
|:lmake|, |:grep|, |:lgrep|, |:grepadd|,
|
||||
@@ -914,6 +950,12 @@ ShellFilterPost After executing a shell command with
|
||||
*SourcePre*
|
||||
SourcePre Before sourcing a Vim script. |:source|
|
||||
<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 When sourcing a Vim script. |:source|
|
||||
<afile> is the name of the file being sourced.
|
||||
@@ -1000,10 +1042,14 @@ TermResponse After the response to |t_RV| is received from
|
||||
anything else that takes time is involved.
|
||||
*TextChanged*
|
||||
TextChanged After a change was made to the text in the
|
||||
current buffer in Normal mode. That is when
|
||||
|b:changedtick| has changed.
|
||||
current buffer in Normal mode. That is after
|
||||
|b:changedtick| has changed (also when that
|
||||
happened before the TextChanged autocommand
|
||||
was defined).
|
||||
Not triggered when there is typeahead or when
|
||||
an operator is pending.
|
||||
Note: This can not be skipped with
|
||||
`:noautocmd`.
|
||||
Careful: This is triggered very often, don't
|
||||
do anything that the user does not expect or
|
||||
that is slow.
|
||||
@@ -1445,11 +1491,11 @@ If you want the buffer to be unmodified after changing it, reset the
|
||||
instead of ":q!".
|
||||
|
||||
*autocmd-nested* *E218*
|
||||
By default, autocommands do not nest. If you use ":e" or ":w" in an
|
||||
autocommand, Vim does not execute the BufRead and BufWrite autocommands for
|
||||
By default, autocommands do not nest. For example, if you use ":e" or ":w" in
|
||||
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
|
||||
in which you want nesting. For example: >
|
||||
:autocmd FileChangedShell *.c nested e!
|
||||
:autocmd FileChangedShell *.c ++nested e!
|
||||
The nesting is limited to 10 levels to get out of recursive loops.
|
||||
|
||||
It's possible to use the ":au" command in an autocommand. This can be a
|
||||
@@ -1592,5 +1638,8 @@ following command. Example: >
|
||||
This will write the file without triggering the autocommands defined by the
|
||||
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: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 May 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -34,7 +34,7 @@ For inserting text see |insert.txt|.
|
||||
deletes the last character of the count.
|
||||
See |:fixdel| if the <Del> key does not do what you
|
||||
want. See |'whichwrap'| for deleting a line break
|
||||
(join lines). {Vi does not support <Del>}
|
||||
(join lines).
|
||||
|
||||
*X* *dh*
|
||||
["x]X Delete [count] characters before the cursor [into
|
||||
@@ -59,7 +59,7 @@ For inserting text see |insert.txt|.
|
||||
{Visual}["x]x or *v_x* *v_d* *v_<Del>*
|
||||
{Visual}["x]d or
|
||||
{Visual}["x]<Del> Delete the highlighted text [into register x] (for
|
||||
{Visual} see |Visual-mode|). {not in Vi}
|
||||
{Visual} see |Visual-mode|).
|
||||
|
||||
{Visual}["x]CTRL-H or *v_CTRL-H* *v_<BS>*
|
||||
{Visual}["x]<BS> When in Select mode: Delete the highlighted text [into
|
||||
@@ -69,7 +69,7 @@ For inserting text see |insert.txt|.
|
||||
{Visual}["x]D Delete the highlighted lines [into register x] (for
|
||||
{Visual} see |Visual-mode|). In Visual block mode,
|
||||
"D" deletes the highlighted text plus all text until
|
||||
the end of the line. {not in Vi}
|
||||
the end of the line.
|
||||
|
||||
*:d* *:de* *:del* *:delete* *:dl* *:dp*
|
||||
:[range]d[elete] [x] Delete [range] lines (default: current line) [into
|
||||
@@ -116,16 +116,15 @@ J Join [count] lines, with a minimum of two lines.
|
||||
*v_J*
|
||||
{Visual}J Join the highlighted lines, with a minimum of two
|
||||
lines. Remove the indent and insert up to two spaces
|
||||
(see below). {not in Vi}
|
||||
(see below).
|
||||
|
||||
*gJ*
|
||||
gJ Join [count] lines, with a minimum of two lines.
|
||||
Don't insert or remove any spaces. {not in Vi}
|
||||
Don't insert or remove any spaces.
|
||||
|
||||
*v_gJ*
|
||||
{Visual}gJ Join the highlighted lines, with a minimum of two
|
||||
lines. Don't insert or remove any spaces. {not in
|
||||
Vi}
|
||||
lines. Don't insert or remove any spaces.
|
||||
|
||||
*:j* *:join*
|
||||
:[range]j[oin][!] [flags]
|
||||
@@ -134,7 +133,6 @@ gJ Join [count] lines, with a minimum of two lines.
|
||||
If a [range] has equal start and end values, this
|
||||
command does nothing. The default behavior is to
|
||||
join the current line with the line below it.
|
||||
{not in Vi: !}
|
||||
See |ex-flags| for [flags].
|
||||
|
||||
:[range]j[oin][!] {count} [flags]
|
||||
@@ -142,7 +140,6 @@ gJ Join [count] lines, with a minimum of two lines.
|
||||
current line |cmdline-ranges|). Same as "J", except
|
||||
with [!] the join does not insert or delete any
|
||||
spaces.
|
||||
{not in Vi: !}
|
||||
See |ex-flags| for [flags].
|
||||
|
||||
These commands delete the <EOL> between lines. This has the effect of joining
|
||||
@@ -209,8 +206,7 @@ gR Enter Virtual Replace mode: Each character you type
|
||||
|
||||
{Visual}["x]c or *v_c* *v_s*
|
||||
{Visual}["x]s Delete the highlighted text [into register x] and
|
||||
start insert (for {Visual} see |Visual-mode|). {not
|
||||
in Vi}
|
||||
start insert (for {Visual} see |Visual-mode|).
|
||||
|
||||
*v_r*
|
||||
{Visual}["x]r{char} Replace all selected characters by {char}.
|
||||
@@ -218,14 +214,13 @@ gR Enter Virtual Replace mode: Each character you type
|
||||
*v_C*
|
||||
{Visual}["x]C Delete the highlighted lines [into register x] and
|
||||
start insert. In Visual block mode it works
|
||||
differently |v_b_C|. {not in Vi}
|
||||
differently |v_b_C|.
|
||||
*v_S*
|
||||
{Visual}["x]S Delete the highlighted lines [into register x] and
|
||||
start insert (for {Visual} see |Visual-mode|). {not
|
||||
in Vi}
|
||||
start insert (for {Visual} see |Visual-mode|).
|
||||
*v_R*
|
||||
{Visual}["x]R Currently just like {Visual}["x]S. In a next version
|
||||
it might work differently. {not in Vi}
|
||||
it might work differently.
|
||||
|
||||
Notes:
|
||||
- You can end Insert and Replace mode with <Esc>.
|
||||
@@ -273,8 +268,6 @@ r{char} Replace the character under the cursor with {char}.
|
||||
If {char} is a <CR> or <NL>, a line break replaces the
|
||||
character. To replace with a real <CR>, use CTRL-V
|
||||
<CR>. CTRL-V <NL> replaces with a <Nul>.
|
||||
{Vi: CTRL-V <CR> still replaces with a line break,
|
||||
cannot replace something with a <CR>}
|
||||
|
||||
If {char} is CTRL-E or CTRL-Y the character from the
|
||||
line below or above is used, just like with |i_CTRL-E|
|
||||
@@ -315,28 +308,26 @@ The following commands change the case of letters. The currently active
|
||||
*~*
|
||||
~ 'notildeop' option: Switch case of the character
|
||||
under the cursor and move the cursor to the right.
|
||||
If a [count] is given, do that many characters. {Vi:
|
||||
no count}
|
||||
If a [count] is given, do that many characters.
|
||||
|
||||
~{motion} 'tildeop' option: switch case of {motion} text. {Vi:
|
||||
tilde cannot be used as an operator}
|
||||
~{motion} 'tildeop' option: switch case of {motion} text.
|
||||
|
||||
*g~*
|
||||
g~{motion} Switch case of {motion} text. {not in Vi}
|
||||
g~{motion} Switch case of {motion} text.
|
||||
|
||||
g~g~ *g~g~* *g~~*
|
||||
g~~ Switch case of current line. {not in Vi}.
|
||||
g~~ Switch case of current line.
|
||||
|
||||
*v_~*
|
||||
{Visual}~ Switch case of highlighted text (for {Visual} see
|
||||
|Visual-mode|). {not in Vi}
|
||||
|Visual-mode|).
|
||||
|
||||
*v_U*
|
||||
{Visual}U Make highlighted text uppercase (for {Visual} see
|
||||
|Visual-mode|). {not in Vi}
|
||||
|Visual-mode|).
|
||||
|
||||
*gU* *uppercase*
|
||||
gU{motion} Make {motion} text uppercase. {not in Vi}
|
||||
gU{motion} Make {motion} text uppercase.
|
||||
Example: >
|
||||
:map! <C-F> <Esc>gUiw`]a
|
||||
< This works in Insert mode: press CTRL-F to make the
|
||||
@@ -345,27 +336,27 @@ gU{motion} Make {motion} text uppercase. {not in Vi}
|
||||
|
||||
|
||||
gUgU *gUgU* *gUU*
|
||||
gUU Make current line uppercase. {not in Vi}.
|
||||
gUU Make current line uppercase.
|
||||
|
||||
*v_u*
|
||||
{Visual}u Make highlighted text lowercase (for {Visual} see
|
||||
|Visual-mode|). {not in Vi}
|
||||
|Visual-mode|).
|
||||
|
||||
*gu* *lowercase*
|
||||
gu{motion} Make {motion} text lowercase. {not in Vi}
|
||||
gu{motion} Make {motion} text lowercase.
|
||||
|
||||
gugu *gugu* *guu*
|
||||
guu Make current line lowercase. {not in Vi}.
|
||||
guu Make current line lowercase.
|
||||
|
||||
*g?* *rot13*
|
||||
g?{motion} Rot13 encode {motion} text. {not in Vi}
|
||||
g?{motion} Rot13 encode {motion} text.
|
||||
|
||||
*v_g?*
|
||||
{Visual}g? Rot13 encode the highlighted text (for {Visual} see
|
||||
|Visual-mode|). {not in Vi}
|
||||
|Visual-mode|).
|
||||
|
||||
g?g? *g?g?* *g??*
|
||||
g?? Rot13 encode current line. {not in Vi}.
|
||||
g?? Rot13 encode current line.
|
||||
|
||||
To turn one line into title caps, make every first letter of a word
|
||||
uppercase: >
|
||||
@@ -375,18 +366,18 @@ uppercase: >
|
||||
Adding and subtracting ~
|
||||
*CTRL-A*
|
||||
CTRL-A Add [count] to the number or alphabetic character at
|
||||
or after the cursor. {not in Vi}
|
||||
or after the cursor.
|
||||
|
||||
*v_CTRL-A*
|
||||
{Visual}CTRL-A Add [count] to the number or alphabetic character in
|
||||
the highlighted text. {not in Vi}
|
||||
the highlighted text.
|
||||
|
||||
*v_g_CTRL-A*
|
||||
{Visual}g CTRL-A Add [count] to the number or alphabetic character in
|
||||
the highlighted text. If several lines are
|
||||
highlighted, each one will be incremented by an
|
||||
additional [count] (so effectively creating a
|
||||
[count] incrementing sequence). {not in Vi}
|
||||
[count] incrementing sequence).
|
||||
For Example, if you have this list of numbers:
|
||||
1. ~
|
||||
1. ~
|
||||
@@ -401,11 +392,11 @@ CTRL-A Add [count] to the number or alphabetic character at
|
||||
|
||||
*CTRL-X*
|
||||
CTRL-X Subtract [count] from the number or alphabetic
|
||||
character at or after the cursor. {not in Vi}
|
||||
character at or after the cursor.
|
||||
|
||||
*v_CTRL-X*
|
||||
{Visual}CTRL-X Subtract [count] from the number or alphabetic
|
||||
character in the highlighted text. {not in Vi}
|
||||
character in the highlighted text.
|
||||
|
||||
On MS-Windows, this is mapped to cut Visual text
|
||||
|dos-standard-mappings|. If you want to disable the
|
||||
@@ -417,7 +408,7 @@ CTRL-X Subtract [count] from the number or alphabetic
|
||||
character in the highlighted text. If several lines
|
||||
are highlighted, each value will be decremented by an
|
||||
additional [count] (so effectively creating a [count]
|
||||
decrementing sequence). {not in Vi}
|
||||
decrementing sequence).
|
||||
|
||||
The CTRL-A and CTRL-X commands can work for:
|
||||
- signed and unsigned decimal numbers
|
||||
@@ -476,24 +467,30 @@ SHIFTING LINES LEFT OR RIGHT *shift-left-right*
|
||||
*<*
|
||||
<{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.
|
||||
|
||||
*v_<*
|
||||
{Visual}[count]< Shift the highlighted lines [count] 'shiftwidth'
|
||||
leftwards (for {Visual} see |Visual-mode|). {not in
|
||||
Vi}
|
||||
leftwards (for {Visual} see |Visual-mode|).
|
||||
|
||||
*>*
|
||||
>{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.
|
||||
|
||||
*v_>*
|
||||
{Visual}[count]> Shift the highlighted lines [count] 'shiftwidth'
|
||||
rightwards (for {Visual} see |Visual-mode|). {not in
|
||||
Vi}
|
||||
rightwards (for {Visual} see |Visual-mode|).
|
||||
|
||||
*:<*
|
||||
:[range]< Shift [range] lines one 'shiftwidth' left. Repeat '<'
|
||||
@@ -504,7 +501,7 @@ SHIFTING LINES LEFT OR RIGHT *shift-left-right*
|
||||
Repeat '<' for shifting multiple 'shiftwidth's.
|
||||
|
||||
:[range]le[ft] [indent] left align lines in [range]. Sets the indent in the
|
||||
lines to [indent] (default 0). {not in Vi}
|
||||
lines to [indent] (default 0).
|
||||
|
||||
*:>*
|
||||
:[range]> [flags] Shift {count} [range] lines one 'shiftwidth' right.
|
||||
@@ -571,7 +568,6 @@ comment (starting with '"') after the `:!` command.
|
||||
*v_!*
|
||||
{Visual}!{filter} Filter the highlighted lines through the external
|
||||
program {filter} (for {Visual} see |Visual-mode|).
|
||||
{not in Vi}
|
||||
|
||||
:{range}![!]{filter} [!][arg] *:range!*
|
||||
Filter {range} lines through the external program
|
||||
@@ -605,7 +601,6 @@ comment (starting with '"') after the `:!` command.
|
||||
|
||||
*v_=*
|
||||
{Visual}= Filter the highlighted lines like with ={motion}.
|
||||
{not in Vi}
|
||||
|
||||
|
||||
*tempfile* *setuid*
|
||||
@@ -632,11 +627,11 @@ For other systems the tmpnam() library function is used.
|
||||
For the {pattern} see |pattern|.
|
||||
{string} can be a literal string, or something
|
||||
special; see |sub-replace-special|.
|
||||
*E939*
|
||||
When [range] and [count] are omitted, replace in the
|
||||
current line only. When [count] is given, replace in
|
||||
[count] lines, starting with the last line in [range].
|
||||
When [range] is omitted start in the current line.
|
||||
*E939*
|
||||
[count] must be a positive number. Also see
|
||||
|cmdline-ranges|.
|
||||
|
||||
@@ -670,15 +665,13 @@ g& Synonym for `:%s//~/&` (repeat last substitute with
|
||||
For example, when you first do a substitution with
|
||||
`:s/pattern/repl/flags` and then `/search` for
|
||||
something else, `g&` will do `:%s/search/repl/flags`.
|
||||
Mnemonic: global substitute. {not in Vi}
|
||||
Mnemonic: global substitute.
|
||||
|
||||
*:snomagic* *:sno*
|
||||
:[range]sno[magic] ... Same as `:substitute`, but always use 'nomagic'.
|
||||
{not in Vi}
|
||||
|
||||
*:smagic* *:sm*
|
||||
:[range]sm[agic] ... Same as `:substitute`, but always use 'magic'.
|
||||
{not in Vi}
|
||||
|
||||
*:s_flags*
|
||||
The flags that you can use for the substitute commands:
|
||||
@@ -689,7 +682,6 @@ The flags that you can use for the substitute commands:
|
||||
:&&
|
||||
:s/this/that/&
|
||||
< Note that `:s` and `:&` don't keep the flags.
|
||||
{not in Vi}
|
||||
|
||||
[c] Confirm each substitution. Vim highlights the matching string (with
|
||||
|hl-IncSearch|). You can type: *:s_c*
|
||||
@@ -697,17 +689,17 @@ The flags that you can use for the substitute commands:
|
||||
'l' to substitute this match and then quit ("last")
|
||||
'n' to skip this match
|
||||
<Esc> to quit substituting
|
||||
'a' to substitute this and all remaining matches {not in Vi}
|
||||
'q' to quit substituting {not in Vi}
|
||||
CTRL-E to scroll the screen up {not in Vi, not available when
|
||||
compiled without the |+insert_expand| feature}
|
||||
CTRL-Y to scroll the screen down {not in Vi, not available when
|
||||
compiled without the |+insert_expand| feature}
|
||||
'a' to substitute this and all remaining matches
|
||||
'q' to quit substituting
|
||||
CTRL-E to scroll the screen up {not available when compiled
|
||||
without the |+insert_expand| feature}
|
||||
CTRL-Y to scroll the screen down {not available when compiled
|
||||
without the |+insert_expand| feature}
|
||||
If the 'edcompatible' option is on, Vim remembers the [c] flag and
|
||||
toggles it each time you use it, but resets it when you give a new
|
||||
search pattern.
|
||||
{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
|
||||
particular, continue in maps as if no error occurred. This is most
|
||||
useful to prevent the "No match" error from breaking a mapping. Vim
|
||||
@@ -717,8 +709,8 @@ The flags that you can use for the substitute commands:
|
||||
No previous substitute regular expression
|
||||
Trailing characters
|
||||
Interrupted
|
||||
{not in Vi}
|
||||
|
||||
*:s_g*
|
||||
[g] Replace all occurrences in the line. Without this argument,
|
||||
replacement occurs only for the first occurrence in each line. If
|
||||
the 'edcompatible' option is on, Vim remembers this flag and toggles
|
||||
@@ -726,26 +718,28 @@ The flags that you can use for the substitute commands:
|
||||
pattern. If the 'gdefault' option is on, this flag is on by default
|
||||
and the [g] argument switches it off.
|
||||
|
||||
*:s_i*
|
||||
[i] Ignore case for the pattern. The 'ignorecase' and 'smartcase' options
|
||||
are not used.
|
||||
{not in Vi}
|
||||
|
||||
*:s_I*
|
||||
[I] Don't ignore case for the pattern. The 'ignorecase' and 'smartcase'
|
||||
options are not used.
|
||||
{not in Vi}
|
||||
|
||||
*:s_n*
|
||||
[n] Report the number of matches, do not actually substitute. The [c]
|
||||
flag is ignored. The matches are reported as if 'report' is zero.
|
||||
Useful to |count-items|.
|
||||
If \= |sub-replace-expression| is used, the expression will be
|
||||
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`
|
||||
works the same way as `:~`: When the search pattern is empty, use the
|
||||
previously used search pattern instead of the search pattern from the
|
||||
@@ -762,7 +756,6 @@ The flags that you can use for the substitute commands:
|
||||
/green
|
||||
:&
|
||||
< The last command will replace "blue" with "red".
|
||||
{not in Vi}
|
||||
|
||||
Note that there is no flag to change the "magicness" of the pattern. A
|
||||
different command is used instead, or you can use |/\v| and friends. The
|
||||
@@ -844,7 +837,7 @@ the |substitute()| function with the following exceptions:
|
||||
- magic is always set without regard to 'magic'.
|
||||
- A ~ inserts a tilde literally.
|
||||
- <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: >
|
||||
:s/a\|b/xxx\0xxx/g modifies "a b" to "xxxaxxx xxxbxxx"
|
||||
@@ -930,9 +923,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 themselves.
|
||||
|
||||
The whole matched text can be accessed with "submatch(0)". The text matched
|
||||
with the first pair of () with "submatch(1)". Likewise for further
|
||||
sub-matches in ().
|
||||
The |submatch()| function can be used to obtain matched text. The whole
|
||||
matched text can be accessed with "submatch(0)". The text matched with the
|
||||
first pair of () with "submatch(1)". Likewise for further sub-matches in ().
|
||||
|
||||
Be careful: The separation character must not appear in the expression!
|
||||
Consider using a character like "@" or ":". There is no problem if the result
|
||||
@@ -988,7 +981,6 @@ This replaces each 'E' character with a euro sign. Read more in |<Char->|.
|
||||
a single tabstop. Each value in the list represents
|
||||
the width of one tabstop, except the final value which
|
||||
applies to all following tabstops.
|
||||
{not in Vi}
|
||||
|
||||
*retab-example*
|
||||
Example for using autocommands and ":retab" to edit a file which is stored
|
||||
@@ -1012,17 +1004,16 @@ inside of strings can change! Also see 'softtabstop' option. >
|
||||
:reg[isters] Display the contents of all numbered and named
|
||||
registers. If a register is written to for |:redir|
|
||||
it will not be listed.
|
||||
{not in Vi}
|
||||
|
||||
|
||||
:reg[isters] {arg} Display the contents of the numbered and named
|
||||
registers that are mentioned in {arg}. For example: >
|
||||
:reg 1a
|
||||
< to display registers '1' and 'a'. Spaces are allowed
|
||||
in {arg}. {not in Vi}
|
||||
in {arg}.
|
||||
|
||||
*:di* *:display*
|
||||
:di[splay] [arg] Same as :registers. {not in Vi}
|
||||
:di[splay] [arg] Same as :registers.
|
||||
|
||||
*y* *yank*
|
||||
["x]y{motion} Yank {motion} text [into register x]. When no
|
||||
@@ -1041,11 +1032,11 @@ inside of strings can change! Also see 'softtabstop' option. >
|
||||
|
||||
*v_y*
|
||||
{Visual}["x]y Yank the highlighted text [into register x] (for
|
||||
{Visual} see |Visual-mode|). {not in Vi}
|
||||
{Visual} see |Visual-mode|).
|
||||
|
||||
*v_Y*
|
||||
{Visual}["x]Y Yank the highlighted lines [into register x] (for
|
||||
{Visual} see |Visual-mode|). {not in Vi}
|
||||
{Visual} see |Visual-mode|).
|
||||
|
||||
*:y* *:yank* *E850*
|
||||
:[range]y[ank] [x] Yank [range] lines [into register x]. Yanking to the
|
||||
@@ -1059,11 +1050,11 @@ inside of strings can change! Also see 'softtabstop' option. >
|
||||
|
||||
*p* *put* *E353*
|
||||
["x]p Put the text [from register x] after the cursor
|
||||
[count] times. {Vi: no count}
|
||||
[count] times.
|
||||
|
||||
*P*
|
||||
["x]P Put the text [from register x] before the cursor
|
||||
[count] times. {Vi: no count}
|
||||
[count] times.
|
||||
|
||||
*<MiddleMouse>*
|
||||
["x]<MiddleMouse> Put the text from a register before the cursor [count]
|
||||
@@ -1072,7 +1063,6 @@ inside of strings can change! Also see 'softtabstop' option. >
|
||||
Leaves the cursor at the end of the new text.
|
||||
Using the mouse only works when 'mouse' contains 'n'
|
||||
or 'a'.
|
||||
{not in Vi}
|
||||
If you have a scrollwheel and often accidentally paste
|
||||
text, you can use these mappings to disable the
|
||||
pasting with the middle mouse button: >
|
||||
@@ -1083,11 +1073,11 @@ inside of strings can change! Also see 'softtabstop' option. >
|
||||
|
||||
*gp*
|
||||
["x]gp Just like "p", but leave the cursor just after the new
|
||||
text. {not in Vi}
|
||||
text.
|
||||
|
||||
*gP*
|
||||
["x]gP Just like "P", but leave the cursor just after the new
|
||||
text. {not in Vi}
|
||||
text.
|
||||
|
||||
*:pu* *:put*
|
||||
:[line]pu[t] [x] Put the text [from register x] after [line] (default
|
||||
@@ -1115,14 +1105,14 @@ inside of strings can change! Also see 'softtabstop' option. >
|
||||
["x]]p or *]p* *]<MiddleMouse>*
|
||||
["x]]<MiddleMouse> Like "p", but adjust the indent to the current line.
|
||||
Using the mouse only works when 'mouse' contains 'n'
|
||||
or 'a'. {not in Vi}
|
||||
or 'a'.
|
||||
|
||||
["x][P or *[P*
|
||||
["x]]P or *]P*
|
||||
["x][p or *[p* *[<MiddleMouse>*
|
||||
["x][<MiddleMouse> Like "P", but adjust the indent to the current line.
|
||||
Using the mouse only works when 'mouse' contains 'n'
|
||||
or 'a'. {not in Vi}
|
||||
or 'a'.
|
||||
|
||||
You can use these commands to copy text from one place to another. Do this
|
||||
by first getting the text into a register with a yank, delete or change
|
||||
@@ -1232,7 +1222,6 @@ not exist}
|
||||
3. Small delete register "- *quote_-* *quote-*
|
||||
This register contains text from commands that delete less than one line,
|
||||
except when the command specifies a register with ["x].
|
||||
{not in Vi}
|
||||
|
||||
4. Named registers "a to "z or "A to "Z *quote_alpha* *quotea*
|
||||
Vim fills these registers only when you say so. Specify them as lowercase
|
||||
@@ -1242,7 +1231,7 @@ a line break is inserted before the appended text.
|
||||
|
||||
5. Read-only registers ":, ". and "%
|
||||
These are '%', '#', ':' and '.'. You can use them only with the "p", "P",
|
||||
and ":put" commands and with CTRL-R. {not in Vi}
|
||||
and ":put" commands and with CTRL-R.
|
||||
*quote_.* *quote.* *E29*
|
||||
". Contains the last inserted text (the same as what is inserted
|
||||
with the insert mode commands CTRL-A and CTRL-@). Note: this
|
||||
@@ -1296,13 +1285,13 @@ an error message (use string() to convert).
|
||||
|
||||
If the "= register is used for the "p" command, the String is split up at <NL>
|
||||
characters. If the String ends in a <NL>, it is regarded as a linewise
|
||||
register. {not in Vi}
|
||||
register.
|
||||
|
||||
8. Selection and drop registers "*, "+ and "~
|
||||
Use these registers for storing and retrieving the selected text for the GUI.
|
||||
See |quotestar| and |quoteplus|. When the clipboard is not available or not
|
||||
working, the unnamed register is used instead. For Unix systems the clipboard
|
||||
is only available when the |+xterm_clipboard| feature is present. {not in Vi}
|
||||
is only available when the |+xterm_clipboard| feature is present.
|
||||
|
||||
Note that there is only a distinction between "* and "+ for X11 systems. For
|
||||
an explanation of the difference, see |x11-selection|. Under MS-Windows, use
|
||||
@@ -1313,7 +1302,7 @@ The read-only "~ register stores the dropped text from the last drag'n'drop
|
||||
operation. When something has been dropped onto Vim, the "~ register is
|
||||
filled in and the <Drop> pseudo key is sent for notification. You can remap
|
||||
this key if you want; the default action (for all modes) is to insert the
|
||||
contents of the "~ register at the cursor position. {not in Vi}
|
||||
contents of the "~ register at the cursor position.
|
||||
{only available when compiled with the |+dnd| feature, currently only with the
|
||||
GTK GUI}
|
||||
|
||||
@@ -1323,7 +1312,7 @@ Drag'n'drop of URI lists is handled internally.
|
||||
9. Black hole register "_ *quote_*
|
||||
When writing to this register, nothing happens. This can be used to delete
|
||||
text without affecting the normal registers. When reading from this register,
|
||||
nothing is returned. {not in Vi}
|
||||
nothing is returned.
|
||||
|
||||
10. Last search pattern register "/ *quote_/* *quote/*
|
||||
Contains the most recent search-pattern. This is used for "n" and 'hlsearch'.
|
||||
@@ -1332,7 +1321,6 @@ other matches without actually searching. You can't yank or delete into this
|
||||
register. The search direction is available in |v:searchforward|.
|
||||
Note that the value is restored when returning from a function
|
||||
|function-search-undo|.
|
||||
{not in Vi}
|
||||
|
||||
*@/*
|
||||
You can write to a register with a `:let` command |:let-@|. Example: >
|
||||
@@ -1363,17 +1351,15 @@ The next three commands always work on whole lines.
|
||||
:[range]ce[nter] [width] *:ce* *:center*
|
||||
Center lines in [range] between [width] columns
|
||||
(default 'textwidth' or 80 when 'textwidth' is 0).
|
||||
{not in Vi}
|
||||
|
||||
:[range]ri[ght] [width] *:ri* *:right*
|
||||
Right-align lines in [range] at [width] columns
|
||||
(default 'textwidth' or 80 when 'textwidth' is 0).
|
||||
{not in Vi}
|
||||
|
||||
*:le* *:left*
|
||||
:[range]le[ft] [indent]
|
||||
Left-align lines in [range]. Sets the indent in the
|
||||
lines to [indent] (default 0). {not in Vi}
|
||||
lines to [indent] (default 0).
|
||||
|
||||
*gq*
|
||||
gq{motion} Format the lines that {motion} moves over.
|
||||
@@ -1400,24 +1386,24 @@ gq{motion} Format the lines that {motion} moves over.
|
||||
|
||||
gqgq *gqgq* *gqq*
|
||||
gqq Format the current line. With a count format that
|
||||
many lines. {not in Vi}
|
||||
many lines.
|
||||
|
||||
*v_gq*
|
||||
{Visual}gq Format the highlighted text. (for {Visual} see
|
||||
|Visual-mode|). {not in Vi}
|
||||
|Visual-mode|).
|
||||
|
||||
*gw*
|
||||
gw{motion} Format the lines that {motion} moves over. Similar to
|
||||
|gq| but puts the cursor back at the same position in
|
||||
the text. However, 'formatprg' and 'formatexpr' are
|
||||
not used. {not in Vi}
|
||||
not used.
|
||||
|
||||
gwgw *gwgw* *gww*
|
||||
gww Format the current line as with "gw". {not in Vi}
|
||||
gww Format the current line as with "gw".
|
||||
|
||||
*v_gw*
|
||||
{Visual}gw Format the highlighted text as with "gw". (for
|
||||
{Visual} see |Visual-mode|). {not in Vi}
|
||||
{Visual} see |Visual-mode|).
|
||||
|
||||
Example: To format the current paragraph use: *gqap* >
|
||||
gqap
|
||||
@@ -1706,6 +1692,17 @@ j Where it makes sense, remove a comment leader when joining lines. For
|
||||
// in the list ~
|
||||
Becomes:
|
||||
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:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*channel.txt* For Vim version 8.1. Last change: 2018 Apr 18
|
||||
*channel.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -24,7 +24,6 @@ The Netbeans interface also uses a channel. |netbeans|
|
||||
11. Controlling a job |job-control|
|
||||
12. Using a prompt buffer |prompt-buffer|
|
||||
|
||||
{Vi does not have any of these features}
|
||||
{only when compiled with the |+channel| feature for channel stuff}
|
||||
You can check this with: `has('channel')`
|
||||
{only when compiled with the |+job| feature for job stuff}
|
||||
@@ -308,9 +307,10 @@ higher.
|
||||
|
||||
Command "redraw" ~
|
||||
|
||||
The other commands do not update the screen, so that you can send a sequence
|
||||
of commands without the cursor moving around. You must end with the "redraw"
|
||||
command to show any changed text and show the cursor where it belongs.
|
||||
The other commands do not explicitly update the screen, so that you can send a
|
||||
sequence of commands without the cursor moving around. A redraw can happen as
|
||||
a side effect of some commands. You must end with the "redraw" command to
|
||||
show any changed text and show the cursor where it belongs.
|
||||
|
||||
The argument is normally an empty string:
|
||||
["redraw", ""] ~
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*cmdline.txt* For Vim version 8.1. Last change: 2018 May 14
|
||||
*cmdline.txt* For Vim version 8.1. Last change: 2019 May 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -27,7 +27,6 @@ Basic command line editing is explained in chapter 20 of the user manual
|
||||
Normally characters are inserted in front of the cursor position. You can
|
||||
move around in the command-line with the left and right cursor keys. With the
|
||||
<Insert> key, you can toggle between inserting and overstriking characters.
|
||||
{Vi: can only alter the last character in the line}
|
||||
|
||||
Note that if your keyboard does not have working cursor keys or any of the
|
||||
other special keys, you can use ":cnoremap" to define another key for them.
|
||||
@@ -66,7 +65,6 @@ Notes:
|
||||
- All searches are put in the search history, including the ones that come
|
||||
from commands like "*" and "#". But for a mapping, only the last search is
|
||||
remembered (to avoid that long mappings trash the history).
|
||||
{Vi: no history}
|
||||
{not available when compiled without the |+cmdline_hist| feature}
|
||||
|
||||
There is an automatic completion of names on the command-line; see
|
||||
@@ -124,12 +122,12 @@ CTRL-U Remove all characters between the cursor position and
|
||||
:cnoremap <C-U> <C-E><C-U>
|
||||
<
|
||||
*c_<Insert>* *c_Insert*
|
||||
<Insert> Toggle between insert and overstrike. {not in Vi}
|
||||
<Insert> Toggle between insert and overstrike.
|
||||
|
||||
{char1} <BS> {char2} or *c_digraph*
|
||||
CTRL-K {char1} {char2} *c_CTRL-K*
|
||||
enter digraph (see |digraphs|). When {char1} is a special
|
||||
key, the code for that key is inserted in <> form. {not in Vi}
|
||||
key, the code for that key is inserted in <> form.
|
||||
|
||||
CTRL-R {0-9a-z"%#:-=.} *c_CTRL-R* *c_<C-R>*
|
||||
Insert the contents of a numbered or named register. Between
|
||||
@@ -165,7 +163,7 @@ CTRL-R {0-9a-z"%#:-=.} *c_CTRL-R* *c_<C-R>*
|
||||
too.
|
||||
When the result is a Float it's automatically
|
||||
converted to a String.
|
||||
See |registers| about registers. {not in Vi}
|
||||
See |registers| about registers.
|
||||
Implementation detail: When using the |expression| register
|
||||
and invoking setcmdpos(), this sets the position before
|
||||
inserting the resulting string. Use CTRL-R CTRL-R to set the
|
||||
@@ -188,7 +186,6 @@ CTRL-R CTRL-L *c_CTRL-R_CTRL-L* *c_<C-R>_<C-L>*
|
||||
currently displayed match is used. With CTRL-W the part of
|
||||
the word that was already typed is not inserted again.
|
||||
|
||||
{not in Vi}
|
||||
CTRL-F and CTRL-P: {only when |+file_in_path| feature is
|
||||
included}
|
||||
|
||||
@@ -313,11 +310,9 @@ CTRL-^ Toggle the use of language |:lmap| mappings and/or Input
|
||||
off, since you are expected to type a command. After
|
||||
switching it on with CTRL-^, the new state is not used again
|
||||
for the next command or Search pattern.
|
||||
{not in Vi}
|
||||
|
||||
*c_CTRL-]*
|
||||
CTRL-] Trigger abbreviation, without inserting a character. {not in
|
||||
Vi}
|
||||
CTRL-] Trigger abbreviation, without inserting a character.
|
||||
|
||||
For Emacs-style editing on the command-line see |emacs-keys|.
|
||||
|
||||
@@ -332,7 +327,6 @@ terminals)
|
||||
|
||||
*:his* *:history*
|
||||
:his[tory] Print the history of last entered commands.
|
||||
{not in Vi}
|
||||
{not available when compiled without the |+cmdline_hist|
|
||||
feature}
|
||||
|
||||
@@ -344,7 +338,6 @@ terminals)
|
||||
i[nput] or @ input line history
|
||||
d[ebug] or > debug command history
|
||||
a[ll] all of the above
|
||||
{not in Vi}
|
||||
|
||||
If the numbers {first} and/or {last} are given, the respective
|
||||
range of entries from a history is listed. These numbers can
|
||||
@@ -534,8 +527,45 @@ after a command causes the rest of the line to be ignored. This can be used
|
||||
to add comments. Example: >
|
||||
:set ai "set 'autoindent' option
|
||||
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
|
||||
argument. This is mentioned where the command is explained.
|
||||
":map" command and a few others (mainly commands that expect expressions)
|
||||
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*
|
||||
'|' can be used to separate commands, so you can give multiple commands in one
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*debug.txt* For Vim version 8.1. Last change: 2017 Jul 15
|
||||
*debug.txt* For Vim version 8.1. Last change: 2019 May 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -78,15 +78,10 @@ matches the EXE (same date).
|
||||
If you built the executable yourself with the Microsoft Visual C++ compiler,
|
||||
then the PDB was built with the EXE.
|
||||
|
||||
Alternatively, if you have the source files, you can import Make_ivc.mak into
|
||||
Visual Studio as a workspace. Then select a debug configuration, build and
|
||||
you can do all kinds of debugging (set breakpoints, watch variables, etc.).
|
||||
|
||||
If you have Visual Studio, use that instead of the VC Toolkit and WinDbg.
|
||||
|
||||
For other compilers, you should always use the corresponding debugger: TD for
|
||||
a Vim executable compiled with the Borland compiler; gdb (see above
|
||||
|debug-gcc|) for the Cygwin and MinGW compilers.
|
||||
For other compilers, you should always use the corresponding debugger: gdb
|
||||
(see above |debug-gcc|) for the Cygwin and MinGW compilers.
|
||||
|
||||
|
||||
*debug-vs2005*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*debugger.txt* For Vim version 8.1. Last change: 2017 Nov 21
|
||||
*debugger.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Gordon Prieur
|
||||
@@ -10,7 +10,6 @@ Debugger Support Features *debugger-support*
|
||||
2. Vim Compile Options |debugger-compilation|
|
||||
3. Integrated Debuggers |debugger-integration|
|
||||
|
||||
{Vi does not have any of these features}
|
||||
|
||||
==============================================================================
|
||||
1. Debugger Features *debugger-features*
|
||||
|
||||
@@ -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
|
||||
@@ -278,7 +278,6 @@ wait don't use as argument to a function, conflicts with types.h
|
||||
index shadows global declaration
|
||||
time shadows global declaration
|
||||
new C++ reserved keyword
|
||||
try Borland C++ doesn't like it to be used as a variable.
|
||||
|
||||
clear Mac curses.h
|
||||
echo Mac curses.h
|
||||
@@ -355,6 +354,24 @@ OK: if (cond)
|
||||
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
|
||||
indented line.
|
||||
|
||||
@@ -367,10 +384,10 @@ OK: /*
|
||||
*/
|
||||
int
|
||||
function_name(
|
||||
int arg1, /* short comment about arg1 */
|
||||
int arg2) /* short comment about arg2 */
|
||||
int arg1, // short comment about arg1
|
||||
int arg2) // short comment about arg2
|
||||
{
|
||||
int local; /* comment about local */
|
||||
int local; // comment about local
|
||||
|
||||
local = arg1 * arg2;
|
||||
|
||||
|
||||
@@ -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 May 04
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -16,8 +16,6 @@ The basics are explained in section |08.7| of the user manual.
|
||||
4. Copying diffs |copy-diffs|
|
||||
5. Diff options |diff-options|
|
||||
|
||||
{not in Vi}
|
||||
|
||||
==============================================================================
|
||||
1. Starting diff mode *start-vimdiff*
|
||||
|
||||
@@ -179,8 +177,8 @@ loaded. Since Vim doesn't allow having two buffers for the same file, you
|
||||
need another buffer. This command is useful: >
|
||||
command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_
|
||||
\ | diffthis | wincmd p | diffthis
|
||||
(this is in |vimrc_example.vim|). Use ":DiffOrig" to see the differences
|
||||
between the current buffer and the file it was loaded from.
|
||||
(this is in |defaults.vim|). Use ":DiffOrig" to see the differences between
|
||||
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
|
||||
hidden buffers. You can use ":hide" to close a window without unloading the
|
||||
|
||||
@@ -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 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -18,13 +18,14 @@ An alternative is using the 'keymap' option.
|
||||
2. Using digraphs |digraphs-use|
|
||||
3. Default digraphs |digraphs-default|
|
||||
|
||||
{Vi does not have any of these commands}
|
||||
|
||||
==============================================================================
|
||||
1. Defining digraphs *digraphs-define*
|
||||
|
||||
*: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*
|
||||
:dig[raphs] {char1}{char2} {number} ...
|
||||
Add digraph {char1}{char2} to the list. {number} is
|
||||
@@ -57,18 +58,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
|
||||
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
|
||||
the character in the encoding given with 'encoding'. You might want to use
|
||||
something like this: >
|
||||
|
||||
if has("multi_byte")
|
||||
digraph oe 339
|
||||
elseif &encoding == "iso-8859-15"
|
||||
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).
|
||||
Example: >
|
||||
digraph oe 339
|
||||
This defines the "oe" digraph for a character that is number 339 in Unicode.
|
||||
|
||||
==============================================================================
|
||||
2. Using digraphs *digraphs-use*
|
||||
@@ -111,11 +103,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.
|
||||
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
|
||||
removes all characters with a value above 128 from the text being formatted.
|
||||
On some Unix systems this means you have to define the environment-variable
|
||||
LC_CTYPE. If you are using csh, then put the following line in your .cshrc: >
|
||||
setenv LC_CTYPE iso_8859_1
|
||||
mode. After leaving the Insert mode everything is fine. On some Unix systems
|
||||
this means you have to define the environment-variable LC_CTYPE. If you are
|
||||
using csh, then put the following line in your .cshrc: >
|
||||
setenv LC_CTYPE en_US.utf8
|
||||
(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*
|
||||
@@ -159,8 +154,7 @@ a standard meaning:
|
||||
Example: a: is ä and o: is ö
|
||||
|
||||
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
|
||||
Vim was compiled with the |+multi_byte| feature.
|
||||
":digraphs" for the others.
|
||||
|
||||
EURO
|
||||
|
||||
|
||||
@@ -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: 2019 May 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -44,14 +44,14 @@ An alternate file name is remembered for each window.
|
||||
:keepalt {cmd} Execute {cmd} while keeping the current alternate file
|
||||
name. Note that commands invoked indirectly (e.g.,
|
||||
with a function) may still set the alternate file
|
||||
name. {not in Vi}
|
||||
name.
|
||||
|
||||
All file names are remembered in the buffer list. When you enter a file name,
|
||||
for editing (e.g., with ":e filename") or writing (e.g., with ":w filename"),
|
||||
the file name is added to the list. You can use the buffer list to remember
|
||||
which files you edited and to quickly switch from one file to another (e.g.,
|
||||
to copy text) with the |CTRL-^| command. First type the number of the file
|
||||
and then hit CTRL-^. {Vi: only one alternate file name is remembered}
|
||||
and then hit CTRL-^.
|
||||
|
||||
|
||||
CTRL-G or *CTRL-G* *:f* *:fi* *:file*
|
||||
@@ -60,14 +60,13 @@ CTRL-G or *CTRL-G* *:f* *:fi* *:file*
|
||||
option is set), and the file status (readonly,
|
||||
modified, read errors, new file). See the 'shortmess'
|
||||
option about how to make this message shorter.
|
||||
{Vi does not include column number}
|
||||
|
||||
:f[ile]! like |:file|, but don't truncate the name even when
|
||||
'shortmess' indicates this.
|
||||
|
||||
{count}CTRL-G Like CTRL-G, but prints the current file name with
|
||||
full path. If the count is higher than 1 the current
|
||||
buffer number is also given. {not in Vi}
|
||||
buffer number is also given.
|
||||
|
||||
*g_CTRL-G* *word-count* *byte-count*
|
||||
g CTRL-G Prints the current position of the cursor in five
|
||||
@@ -80,7 +79,6 @@ g CTRL-G Prints the current position of the cursor in five
|
||||
column are shown, separated with a dash.
|
||||
Also see the 'ruler' option and the |wordcount()|
|
||||
function.
|
||||
{not in Vi}
|
||||
|
||||
*v_g_CTRL-G*
|
||||
{Visual}g CTRL-G Similar to "g CTRL-G", but Word, Character, Line, and
|
||||
@@ -88,7 +86,6 @@ g CTRL-G Prints the current position of the cursor in five
|
||||
displayed.
|
||||
In Blockwise mode, Column count is also shown. (For
|
||||
{Visual} see |Visual-mode|.)
|
||||
{not in VI}
|
||||
|
||||
*:file_f*
|
||||
:f[ile][!] {name} Sets the current file name to {name}. The optional !
|
||||
@@ -98,14 +95,12 @@ g CTRL-G Prints the current position of the cursor in five
|
||||
to hold the old name.
|
||||
*:0file*
|
||||
:0f[ile][!] Remove the name of the current buffer. The optional !
|
||||
avoids truncating the message, as with |:file|. {not
|
||||
in Vi}
|
||||
avoids truncating the message, as with |:file|.
|
||||
|
||||
:buffers
|
||||
:files
|
||||
:ls List all the currently known file names. See
|
||||
'windows.txt' |:files| |:buffers| |:ls|. {not in
|
||||
Vi}
|
||||
'windows.txt' |:files| |:buffers| |:ls|.
|
||||
|
||||
Vim will remember the full path name of a file name that you enter. In most
|
||||
cases when the file name is displayed only the name you typed is shown, but
|
||||
@@ -202,7 +197,6 @@ If you want to keep the changed buffer without saving it, switch on the
|
||||
buffer and 'autowriteall' isn't set or the file can't
|
||||
be written.
|
||||
Also see |++opt| and |+cmd|.
|
||||
{Vi: no ++opt}
|
||||
|
||||
*:edit!* *discard*
|
||||
:e[dit]! [++opt] [+cmd]
|
||||
@@ -210,7 +204,6 @@ If you want to keep the changed buffer without saving it, switch on the
|
||||
the current buffer. This is useful if you want to
|
||||
start all over again.
|
||||
Also see |++opt| and |+cmd|.
|
||||
{Vi: no ++opt}
|
||||
|
||||
*:edit_f*
|
||||
:e[dit] [++opt] [+cmd] {file}
|
||||
@@ -219,14 +212,12 @@ If you want to keep the changed buffer without saving it, switch on the
|
||||
buffer, unless 'hidden' is set or 'autowriteall' is
|
||||
set and the file can be written.
|
||||
Also see |++opt| and |+cmd|.
|
||||
{Vi: no ++opt}
|
||||
|
||||
*:edit!_f*
|
||||
:e[dit]! [++opt] [+cmd] {file}
|
||||
Edit {file} always. Discard any changes to the
|
||||
current buffer.
|
||||
Also see |++opt| and |+cmd|.
|
||||
{Vi: no ++opt}
|
||||
|
||||
:e[dit] [++opt] [+cmd] #[count]
|
||||
Edit the [count]th buffer (as shown by |:files|).
|
||||
@@ -234,7 +225,6 @@ If you want to keep the changed buffer without saving it, switch on the
|
||||
#" doesn't work if the alternate buffer doesn't have a
|
||||
file name, while CTRL-^ still works then.
|
||||
Also see |++opt| and |+cmd|.
|
||||
{Vi: no ++opt}
|
||||
|
||||
*:ene* *:enew*
|
||||
:ene[w] Edit a new, unnamed buffer. This fails when changes
|
||||
@@ -244,19 +234,17 @@ If you want to keep the changed buffer without saving it, switch on the
|
||||
If 'fileformats' is not empty, the first format given
|
||||
will be used for the new buffer. If 'fileformats' is
|
||||
empty, the 'fileformat' of the current buffer is used.
|
||||
{not in Vi}
|
||||
|
||||
*:ene!* *:enew!*
|
||||
:ene[w]! Edit a new, unnamed buffer. Discard any changes to
|
||||
the current buffer.
|
||||
Set 'fileformat' like |:enew|.
|
||||
{not in Vi}
|
||||
|
||||
*:fin* *:find*
|
||||
:fin[d][!] [++opt] [+cmd] {file}
|
||||
Find {file} in 'path' and then |:edit| it.
|
||||
{not in Vi} {not available when the |+file_in_path|
|
||||
feature was disabled at compile time}
|
||||
{not available when the |+file_in_path| feature was
|
||||
disabled at compile time}
|
||||
|
||||
:{count}fin[d][!] [++opt] [+cmd] {file}
|
||||
Just like ":find", but use the {count} match in
|
||||
@@ -278,7 +266,7 @@ If you want to keep the changed buffer without saving it, switch on the
|
||||
:vie[w][!] [++opt] [+cmd] file
|
||||
When used in Ex mode: Leave |Ex-mode|, go back to
|
||||
Normal mode. Otherwise same as |:edit|, but set
|
||||
'readonly' option for this buffer. {not in Vi}
|
||||
'readonly' option for this buffer.
|
||||
|
||||
*CTRL-^* *CTRL-6*
|
||||
CTRL-^ Edit the alternate file. Mostly the alternate file is
|
||||
@@ -297,7 +285,6 @@ CTRL-^ Edit the alternate file. Mostly the alternate file is
|
||||
":e #[count]"). This is a quick way to switch between
|
||||
files.
|
||||
See |CTRL-^| above for further details.
|
||||
{not in Vi}
|
||||
|
||||
[count]]f *]f* *[f*
|
||||
[count][f Same as "gf". Deprecated.
|
||||
@@ -331,7 +318,6 @@ CTRL-^ Edit the alternate file. Mostly the alternate file is
|
||||
For Unix the '~' character is expanded, like in
|
||||
"~user/file". Environment variables are expanded too
|
||||
|expand-env|.
|
||||
{not in Vi}
|
||||
{not available when the |+file_in_path| feature was
|
||||
disabled at compile time}
|
||||
|
||||
@@ -341,7 +327,6 @@ CTRL-^ Edit the alternate file. Mostly the alternate file is
|
||||
Leading blanks are skipped, otherwise all blanks and
|
||||
special characters are included in the file name.
|
||||
(For {Visual} see |Visual-mode|.)
|
||||
{not in VI}
|
||||
|
||||
*gF*
|
||||
[count]gF Same as "gf", except if a number follows the file
|
||||
@@ -617,14 +602,12 @@ list of the current window.
|
||||
the first one. This fails when changes have been made
|
||||
and Vim does not want to |abandon| the current buffer.
|
||||
Also see |++opt| and |+cmd|.
|
||||
{Vi: no ++opt}
|
||||
|
||||
:ar[gs]! [++opt] [+cmd] {arglist} *:args_f!*
|
||||
Define {arglist} as the new argument list and edit
|
||||
the first one. Discard any changes to the current
|
||||
buffer.
|
||||
Also see |++opt| and |+cmd|.
|
||||
{Vi: no ++opt}
|
||||
|
||||
:[count]arge[dit][!] [++opt] [+cmd] {name} .. *:arge* *:argedit*
|
||||
Add {name}s to the argument list and edit it.
|
||||
@@ -637,7 +620,6 @@ list of the current window.
|
||||
still be added to the argument list, but won't be
|
||||
edited. No check for duplicates is done.
|
||||
Also see |++opt| and |+cmd|.
|
||||
{not in Vi}
|
||||
|
||||
:[count]arga[dd] {name} .. *:arga* *:argadd* *E479*
|
||||
:[count]arga[dd]
|
||||
@@ -659,7 +641,6 @@ list of the current window.
|
||||
There is no check for duplicates, it is possible to
|
||||
add a file to the argument list twice.
|
||||
The currently edited file is not changed.
|
||||
{not in Vi}
|
||||
Note: you can also use this method: >
|
||||
:args ## x
|
||||
< This will add the "x" item and sort the new list.
|
||||
@@ -673,7 +654,6 @@ list of the current window.
|
||||
when it's deleted from the argument list.
|
||||
Example: >
|
||||
:argdel *.obj
|
||||
< {not in Vi}
|
||||
|
||||
:[range]argd[elete] Delete the {range} files from the argument list.
|
||||
Example: >
|
||||
@@ -688,7 +668,6 @@ list of the current window.
|
||||
< Removes all the files from the arglist.
|
||||
When the last number in the range is too high, up to
|
||||
the last argument is deleted.
|
||||
{not in Vi}
|
||||
|
||||
*:argu* *:argument*
|
||||
:[count]argu[ment] [count] [++opt] [+cmd]
|
||||
@@ -697,25 +676,21 @@ list of the current window.
|
||||
when changes have been made and Vim does not want to
|
||||
|abandon| the current buffer.
|
||||
Also see |++opt| and |+cmd|.
|
||||
{not in Vi}
|
||||
|
||||
:[count]argu[ment]! [count] [++opt] [+cmd]
|
||||
Edit file [count] in the argument list, discard any
|
||||
changes to the current buffer. When [count] is
|
||||
omitted the current entry is used.
|
||||
Also see |++opt| and |+cmd|.
|
||||
{not in Vi}
|
||||
|
||||
:[count]n[ext] [++opt] [+cmd] *:n* *:ne* *:next* *E165* *E163*
|
||||
Edit [count] next file. This fails when changes have
|
||||
been made and Vim does not want to |abandon| the
|
||||
current buffer. Also see |++opt| and |+cmd|. {Vi: no
|
||||
count or ++opt}.
|
||||
current buffer. Also see |++opt| and |+cmd|.
|
||||
|
||||
:[count]n[ext]! [++opt] [+cmd]
|
||||
Edit [count] next file, discard any changes to the
|
||||
buffer. Also see |++opt| and |+cmd|. {Vi: no count
|
||||
or ++opt}.
|
||||
buffer. Also see |++opt| and |+cmd|.
|
||||
|
||||
:n[ext] [++opt] [+cmd] {arglist} *:next_f*
|
||||
Same as |:args_f|.
|
||||
@@ -727,65 +702,63 @@ list of the current window.
|
||||
Edit [count] previous file in argument list. This
|
||||
fails when changes have been made and Vim does not
|
||||
want to |abandon| the current buffer.
|
||||
Also see |++opt| and |+cmd|. {Vi: no count or ++opt}.
|
||||
Also see |++opt| and |+cmd|.
|
||||
|
||||
:[count]N[ext]! [count] [++opt] [+cmd]
|
||||
Edit [count] previous file in argument list. Discard
|
||||
any changes to the buffer. Also see |++opt| and
|
||||
|+cmd|. {Vi: no count or ++opt}.
|
||||
|+cmd|.
|
||||
|
||||
:[count]prev[ious] [count] [++opt] [+cmd] *:prev* *:previous*
|
||||
Same as :Next. Also see |++opt| and |+cmd|. {Vi:
|
||||
only in some versions}
|
||||
Same as :Next. Also see |++opt| and |+cmd|.
|
||||
|
||||
*:rew* *:rewind*
|
||||
:rew[ind] [++opt] [+cmd]
|
||||
Start editing the first file in the argument list.
|
||||
This fails when changes have been made and Vim does
|
||||
not want to |abandon| the current buffer.
|
||||
Also see |++opt| and |+cmd|. {Vi: no ++opt}
|
||||
Also see |++opt| and |+cmd|.
|
||||
|
||||
:rew[ind]! [++opt] [+cmd]
|
||||
Start editing the first file in the argument list.
|
||||
Discard any changes to the buffer. Also see |++opt|
|
||||
and |+cmd|. {Vi: no ++opt}
|
||||
and |+cmd|.
|
||||
|
||||
*:fir* *:first*
|
||||
:fir[st][!] [++opt] [+cmd]
|
||||
Other name for ":rewind". {not in Vi}
|
||||
Other name for ":rewind".
|
||||
|
||||
*:la* *:last*
|
||||
:la[st] [++opt] [+cmd]
|
||||
Start editing the last file in the argument list.
|
||||
This fails when changes have been made and Vim does
|
||||
not want to |abandon| the current buffer.
|
||||
Also see |++opt| and |+cmd|. {not in Vi}
|
||||
Also see |++opt| and |+cmd|.
|
||||
|
||||
:la[st]! [++opt] [+cmd]
|
||||
Start editing the last file in the argument list.
|
||||
Discard any changes to the buffer. Also see |++opt|
|
||||
and |+cmd|. {not in Vi}
|
||||
and |+cmd|.
|
||||
|
||||
*:wn* *:wnext*
|
||||
:[count]wn[ext] [++opt]
|
||||
Write current file and start editing the [count]
|
||||
next file. Also see |++opt| and |+cmd|. {not in Vi}
|
||||
next file. Also see |++opt| and |+cmd|.
|
||||
|
||||
:[count]wn[ext] [++opt] {file}
|
||||
Write current file to {file} and start editing the
|
||||
[count] next file, unless {file} already exists and
|
||||
the 'writeany' option is off. Also see |++opt| and
|
||||
|+cmd|. {not in Vi}
|
||||
|+cmd|.
|
||||
|
||||
:[count]wn[ext]! [++opt] {file}
|
||||
Write current file to {file} and start editing the
|
||||
[count] next file. Also see |++opt| and |+cmd|. {not
|
||||
in Vi}
|
||||
[count] next file. Also see |++opt| and |+cmd|.
|
||||
|
||||
:[count]wN[ext][!] [++opt] [file] *:wN* *:wNext*
|
||||
:[count]wp[revious][!] [++opt] [file] *:wp* *:wprevious*
|
||||
Same as :wnext, but go to previous file instead of
|
||||
next. {not in Vi}
|
||||
next.
|
||||
|
||||
The [count] in the commands above defaults to one. For some commands it is
|
||||
possible to use two counts. The last one (rightmost one) is used.
|
||||
@@ -826,8 +799,6 @@ fourth file in the argument list. This happens when you do ":e file".
|
||||
|
||||
LOCAL ARGUMENT LIST
|
||||
|
||||
{not in Vi}
|
||||
|
||||
*:arglocal*
|
||||
:argl[ocal] Make a local copy of the global argument list.
|
||||
Doesn't start editing another file.
|
||||
@@ -878,7 +849,6 @@ USING THE ARGUMENT LIST
|
||||
autocommand event is disabled by adding it to
|
||||
'eventignore'. This considerably speeds up editing
|
||||
each file.
|
||||
{not in Vi}
|
||||
Also see |:windo|, |:tabdo|, |:bufdo|, |:cdo|, |:ldo|,
|
||||
|:cfdo| and |:lfdo|
|
||||
|
||||
@@ -970,12 +940,11 @@ slower (but safer).
|
||||
When 'filetype' is empty filetype detection is done
|
||||
with the new name, before the file is written.
|
||||
When the write was successful 'readonly' is reset.
|
||||
{not in Vi}
|
||||
|
||||
*:up* *:update*
|
||||
:[range]up[date][!] [++opt] [>>] [file]
|
||||
Like ":write", but only write when the buffer has been
|
||||
modified. {not in Vi}
|
||||
modified.
|
||||
|
||||
|
||||
WRITING WITH MULTIPLE BUFFERS *buffer-write*
|
||||
@@ -983,11 +952,11 @@ WRITING WITH MULTIPLE BUFFERS *buffer-write*
|
||||
*:wa* *:wall*
|
||||
:wa[ll] Write all changed buffers. Buffers without a file
|
||||
name cause an error message. Buffers which are
|
||||
readonly are not written. {not in Vi}
|
||||
readonly are not written.
|
||||
|
||||
:wa[ll]! Write all changed buffers, even the ones that are
|
||||
readonly. Buffers without a file name are not
|
||||
written and cause an error message. {not in Vi}
|
||||
written and cause an error message.
|
||||
|
||||
|
||||
Vim will warn you if you try to overwrite a file that has been changed
|
||||
@@ -1118,7 +1087,7 @@ The names can be in upper- or lowercase.
|
||||
|
||||
:conf[irm] q[uit] Quit, but give prompt when changes have been made, or
|
||||
the last file in the argument list has not been
|
||||
edited. See |:confirm| and 'confirm'. {not in Vi}
|
||||
edited. See |:confirm| and 'confirm'.
|
||||
|
||||
:q[uit]! Quit without writing, also when the current buffer has
|
||||
changes. The buffer is unloaded, also when it has
|
||||
@@ -1131,7 +1100,7 @@ The names can be in upper- or lowercase.
|
||||
|
||||
:cq[uit] Quit always, without writing, and return an error
|
||||
code. See |:cq|. Used for Manx's QuickFix mode (see
|
||||
|quickfix|). {not in Vi}
|
||||
|quickfix|).
|
||||
|
||||
*:wq*
|
||||
:wq [++opt] Write the current file and quit. Writing fails when
|
||||
@@ -1169,7 +1138,7 @@ ZZ Write current file, if modified, and quit (same as
|
||||
|
||||
*ZQ*
|
||||
ZQ Quit without checking for changes (same as ":q!").
|
||||
{not in Vi}
|
||||
|
||||
|
||||
MULTIPLE WINDOWS AND BUFFERS *window-exit*
|
||||
|
||||
@@ -1177,36 +1146,35 @@ MULTIPLE WINDOWS AND BUFFERS *window-exit*
|
||||
:qa[ll] Exit Vim, unless there are some buffers which have been
|
||||
changed. (Use ":bmod" to go to the next modified buffer).
|
||||
When 'autowriteall' is set all changed buffers will be
|
||||
written, like |:wqall|. {not in Vi}
|
||||
written, like |:wqall|.
|
||||
|
||||
:conf[irm] qa[ll]
|
||||
Exit Vim. Bring up a prompt when some buffers have been
|
||||
changed. See |:confirm|. {not in Vi}
|
||||
changed. See |:confirm|.
|
||||
|
||||
:qa[ll]! Exit Vim. Any changes to buffers are lost. {not in Vi}
|
||||
:qa[ll]! Exit Vim. Any changes to buffers are lost.
|
||||
Also see |:cquit|, it does the same but exits with a non-zero
|
||||
value.
|
||||
|
||||
*:quita* *:quitall*
|
||||
:quita[ll][!] Same as ":qall". {not in Vi}
|
||||
:quita[ll][!] Same as ":qall".
|
||||
|
||||
:wqa[ll] [++opt] *:wqa* *:wqall* *:xa* *:xall*
|
||||
:xa[ll] Write all changed buffers and exit Vim. If there are buffers
|
||||
without a file name, which are readonly or which cannot be
|
||||
written for another reason, Vim will not quit. {not in Vi}
|
||||
written for another reason, Vim will not quit.
|
||||
|
||||
:conf[irm] wqa[ll] [++opt]
|
||||
:conf[irm] xa[ll]
|
||||
Write all changed buffers and exit Vim. Bring up a prompt
|
||||
when some buffers are readonly or cannot be written for
|
||||
another reason. See |:confirm|. {not in Vi}
|
||||
another reason. See |:confirm|.
|
||||
|
||||
:wqa[ll]! [++opt]
|
||||
:xa[ll]! Write all changed buffers, even the ones that are readonly,
|
||||
and exit Vim. If there are buffers without a file name or
|
||||
which cannot be written for another reason, or there is a
|
||||
terminal with a running job, Vim will not quit.
|
||||
{not in Vi}
|
||||
|
||||
==============================================================================
|
||||
6. Dialogs *edit-dialogs*
|
||||
@@ -1304,9 +1272,10 @@ use has("browsefilter"): >
|
||||
==============================================================================
|
||||
7. The current directory *current-directory*
|
||||
|
||||
You may use the |:cd| and |:lcd| commands to change to another directory, so
|
||||
you will not have to type that directory name in front of the file names. It
|
||||
also makes a difference for executing external commands, e.g. ":!ls".
|
||||
You can use the |:cd|, |:tcd| and |:lcd| commands to change to another
|
||||
directory, so you will not have to type that directory name in front of the
|
||||
file names. It also makes a difference for executing external commands, e.g.
|
||||
":!ls".
|
||||
|
||||
Changing directory fails when the current buffer is modified, the '.' flag is
|
||||
present in 'cpoptions' and "!" is not used in the command.
|
||||
@@ -1316,10 +1285,12 @@ present in 'cpoptions' and "!" is not used in the command.
|
||||
name. On Unix systems: Change the current directory
|
||||
to the home directory. Use |:pwd| to print the
|
||||
current directory on all systems.
|
||||
On Unix systems: clear any window-local directory.
|
||||
|
||||
:cd[!] {path} Change the current directory to {path}.
|
||||
If {path} is relative, it is searched for in the
|
||||
directories listed in |'cdpath'|.
|
||||
Clear any window-local directory.
|
||||
Does not change the meaning of an already opened file,
|
||||
because its full path name is remembered. Files from
|
||||
the |arglist| may change though!
|
||||
@@ -1329,36 +1300,54 @@ present in 'cpoptions' and "!" is not used in the command.
|
||||
<
|
||||
*:cd-* *E186*
|
||||
:cd[!] - Change to the previous current directory (before the
|
||||
previous ":cd {path}" command). {not in Vi}
|
||||
previous ":cd {path}" command).
|
||||
|
||||
*:chd* *:chdir*
|
||||
:chd[ir][!] [path] Same as |:cd|.
|
||||
|
||||
*:tcd*
|
||||
:tcd[!] {path} Like |:cd|, but only set the directory for the current
|
||||
tab. The current window will also use this directory.
|
||||
The current directory is not changed for windows in
|
||||
other tabs and for windows in the current tab that
|
||||
have their own window-local directory.
|
||||
|
||||
*:tch* *:tchdir*
|
||||
:tch[dir][!] Same as |:tcd|.
|
||||
|
||||
*:lc* *:lcd*
|
||||
:lc[d][!] {path} Like |:cd|, but only set the current directory when
|
||||
the cursor is in the current window. The current
|
||||
directory for other windows is not changed, switching
|
||||
to another window will stop using {path}.
|
||||
{not in Vi}
|
||||
|
||||
*:lch* *:lchdir*
|
||||
:lch[dir][!] Same as |:lcd|. {not in Vi}
|
||||
:lch[dir][!] Same as |:lcd|.
|
||||
|
||||
*:pw* *:pwd* *E187*
|
||||
:pw[d] Print the current directory name. {Vi: no pwd}
|
||||
:pw[d] Print the current directory name.
|
||||
Also see |getcwd()|.
|
||||
|
||||
So long as no |:lcd| command has been used, all windows share the same current
|
||||
directory. Using a command to jump to another window doesn't change anything
|
||||
for the current directory.
|
||||
So long as no |:lcd| or |:tcd| command has been used, all windows share the
|
||||
same current directory. Using a command to jump to another window doesn't
|
||||
change anything for the current directory.
|
||||
|
||||
When a |:lcd| command has been used for a window, the specified directory
|
||||
becomes the current directory for that window. Windows where the |:lcd|
|
||||
command has not been used stick to the global current directory. When jumping
|
||||
to another window the current directory will become the last specified local
|
||||
current directory. If none was specified, the global current directory is
|
||||
used.
|
||||
When a |:cd| command is used, the current window will lose his local current
|
||||
directory and will use the global current directory from now on.
|
||||
command has not been used stick to the global or tab-local current directory.
|
||||
When jumping to another window the current directory will become the last
|
||||
specified local current directory. If none was specified, the global or
|
||||
tab-local current directory is used.
|
||||
|
||||
When a |:tcd| command has been used for a tab page, the specified directory
|
||||
becomes the current directory for the current tab page and the current window.
|
||||
The current directory of other tab pages is not affected. When jumping to
|
||||
another tab page, the current directory will become the last specified local
|
||||
directory for that tab page. If the current tab has no local current directory
|
||||
the global current directory is used.
|
||||
|
||||
When a |:cd| command is used, the current window and tab page will lose the
|
||||
local current directory and will use the global current directory from now on.
|
||||
|
||||
After using |:cd| the full path name will be used for reading and writing
|
||||
files. On some networked file systems this may cause problems. The result of
|
||||
@@ -1395,8 +1384,7 @@ There are a few things to remember when editing binary files:
|
||||
file. Otherwise both <CR> <NL> and <NL> are considered to end a line
|
||||
and when the file is written the <NL> will be replaced with <CR> <NL>.
|
||||
- <Nul> characters are shown on the screen as ^@. You can enter them with
|
||||
"CTRL-V CTRL-@" or "CTRL-V 000" {Vi cannot handle <Nul> characters in the
|
||||
file}
|
||||
"CTRL-V CTRL-@" or "CTRL-V 000"
|
||||
- To insert a <NL> character in the file split a line. When writing the
|
||||
buffer to a file a <NL> will be written for the <EOL>.
|
||||
- Vim normally appends an <EOL> at the end of the file if there is none.
|
||||
@@ -1415,7 +1403,7 @@ cannot be read without the right key.
|
||||
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
|
||||
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
|
||||
:noswapfile edit secrets
|
||||
|
||||
|
||||
1946
runtime/doc/eval.txt
1946
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 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Mortaza Ghassab Shiran
|
||||
@@ -6,264 +6,14 @@
|
||||
|
||||
Right to Left and Farsi Mapping for Vim *farsi* *Farsi*
|
||||
|
||||
{Vi does not have any of these commands}
|
||||
|
||||
*E27*
|
||||
In order to use right-to-left and Farsi mapping support, it is necessary to
|
||||
compile Vim with the |+farsi| feature.
|
||||
Farsi support has been removed in patch 8.1.0932. At that time it was
|
||||
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
|
||||
------------
|
||||
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:noet:ft=help:norl:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*filetype.txt* For Vim version 8.1. Last change: 2018 Apr 18
|
||||
*filetype.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -12,7 +12,6 @@ Filetypes *filetype* *file-type*
|
||||
|
||||
Also see |autocmd.txt|.
|
||||
|
||||
{Vi does not have any of these commands}
|
||||
|
||||
==============================================================================
|
||||
1. Filetypes *filetypes* *file-types*
|
||||
@@ -663,6 +662,15 @@ 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*
|
||||
|
||||
Since the text for this plugin is rather long it has been put in a separate
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*fold.txt* For Vim version 8.1. Last change: 2017 Mar 18
|
||||
*fold.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -14,7 +14,6 @@ You can find an introduction on folding in chapter 28 of the user manual.
|
||||
3. Fold options |fold-options|
|
||||
4. Behavior of folds |fold-behavior|
|
||||
|
||||
{Vi has no Folding}
|
||||
{not available when compiled without the |+folding| feature}
|
||||
|
||||
==============================================================================
|
||||
|
||||
@@ -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 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -11,14 +11,14 @@ Vim's Graphical User Interface *gui* *GUI*
|
||||
3. Mouse Control |gui-mouse|
|
||||
4. Making GUI Selections |gui-selections|
|
||||
5. Menus |menus|
|
||||
6. Extras |gui-extras|
|
||||
7. Shell Commands |gui-shell|
|
||||
6. Font |gui-font|
|
||||
7. Extras |gui-extras|
|
||||
8. Shell Commands |gui-shell|
|
||||
|
||||
Other GUI documentation:
|
||||
|gui_x11.txt| For specific items of the X11 GUI.
|
||||
|gui_w32.txt| For specific items of the Win32 GUI.
|
||||
|
||||
{Vi does not have any of these commands}
|
||||
|
||||
==============================================================================
|
||||
1. Starting the GUI *gui-start* *E229* *E233*
|
||||
@@ -547,15 +547,16 @@ floating menus that do not appear on the main menu bar.
|
||||
|
||||
5.2 Creating New Menus *creating-menus*
|
||||
|
||||
*:me* *:menu* *:noreme* *:noremenu*
|
||||
*:am* *:amenu* *:an* *:anoremenu*
|
||||
*:nme* *:nmenu* *:nnoreme* *:nnoremenu*
|
||||
*:ome* *:omenu* *:onoreme* *:onoremenu*
|
||||
*:vme* *:vmenu* *:vnoreme* *:vnoremenu*
|
||||
*:xme* *:xmenu* *:xnoreme* *:xnoremenu*
|
||||
*:sme* *:smenu* *:snoreme* *:snoremenu*
|
||||
*:ime* *:imenu* *:inoreme* *:inoremenu*
|
||||
*:cme* *:cmenu* *:cnoreme* *:cnoremenu*
|
||||
*:me* *:menu* *:noreme* *:noremenu*
|
||||
*:am* *:amenu* *:an* *:anoremenu*
|
||||
*:nme* *:nmenu* *:nnoreme* *:nnoremenu*
|
||||
*:ome* *:omenu* *:onoreme* *:onoremenu*
|
||||
*:vme* *:vmenu* *:vnoreme* *:vnoremenu*
|
||||
*:xme* *:xmenu* *:xnoreme* *:xnoremenu*
|
||||
*:sme* *:smenu* *:snoreme* *:snoremenu*
|
||||
*:ime* *:imenu* *:inoreme* *:inoremenu*
|
||||
*:cme* *:cmenu* *:cnoreme* *:cnoremenu*
|
||||
*:tlm* *:tlmenu* *:tln* *:tlnoremenu*
|
||||
*E330* *E327* *E331* *E336* *E333*
|
||||
*E328* *E329* *E337* *E792*
|
||||
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",
|
||||
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:
|
||||
|
||||
& 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"
|
||||
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.
|
||||
To make the command work correctly, a character is automatically inserted for
|
||||
some modes:
|
||||
The ":amenu" command can be used to define menu entries for all modes at once,
|
||||
except for Terminal mode. To make the command work correctly, a character is
|
||||
automatically inserted for some modes:
|
||||
mode inserted appended ~
|
||||
Normal nothing nothing
|
||||
Visual <C-C> <C-\><C-G>
|
||||
@@ -865,6 +870,16 @@ be used to complete the name of the menu item.
|
||||
insert-mode menu Eg: >
|
||||
: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
|
||||
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
|
||||
@@ -885,6 +900,7 @@ using the last visual selection.
|
||||
*:sunme* *:sunmenu*
|
||||
*:iunme* *:iunmenu*
|
||||
*:cunme* *:cunmenu*
|
||||
*:tlu* *:tlunmenu*
|
||||
To delete a menu item or a whole submenu, use the unmenu commands, which are
|
||||
analogous to the unmap commands. Eg: >
|
||||
: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* >
|
||||
:unmenu * " remove all menus in Normal and visual 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: >
|
||||
: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.
|
||||
{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 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
|
||||
@@ -1017,7 +1037,139 @@ make a selection.
|
||||
Note that a menu that starts with ']' will not be displayed.
|
||||
|
||||
==============================================================================
|
||||
6. Extras *gui-extras*
|
||||
6. Font
|
||||
|
||||
This section describes font related options.
|
||||
|
||||
GUIFONT *gui-font*
|
||||
|
||||
'guifont' is the option that tells Vim what font to use. In its simplest form
|
||||
the value is just one font name. It can also be a list of font names
|
||||
separated with commas. The first valid font is used. When no valid font can
|
||||
be found you will get an error message.
|
||||
|
||||
On systems where 'guifontset' is supported (X11) and 'guifontset' is not
|
||||
empty, then 'guifont' is not used. See |xfontset|.
|
||||
|
||||
Note: As to the GTK GUIs, no error is given against any invalid names, and the
|
||||
first element of the list is always picked up and made use of. This is
|
||||
because, instead of identifying a given name with a font, the GTK GUIs use it
|
||||
to construct a pattern and try to look up a font which best matches the
|
||||
pattern among available fonts, and this way, the matching never fails. An
|
||||
invalid name doesn't matter because a number of font properties other than
|
||||
name will do to get the matching done.
|
||||
|
||||
Spaces after a comma are ignored. To include a comma in a font name precede
|
||||
it with a backslash. Setting an option requires an extra backslash before a
|
||||
space and a backslash. See also |option-backslash|. For example: >
|
||||
:set guifont=Screen15,\ 7x13,font\\,with\\,commas
|
||||
will make Vim try to use the font "Screen15" first, and if it fails it will
|
||||
try to use "7x13" and then "font,with,commas" instead.
|
||||
|
||||
If none of the fonts can be loaded, Vim will keep the current setting. If an
|
||||
empty font list is given, Vim will try using other resource settings (for X,
|
||||
it will use the Vim.font resource), and finally it will try some builtin
|
||||
default which should always be there ("7x13" in the case of X). The font
|
||||
names given should be "normal" fonts. Vim will try to find the related bold
|
||||
and italic fonts.
|
||||
|
||||
For Win32, GTK, Motif, Mac OS and Photon: >
|
||||
:set guifont=*
|
||||
will bring up a font requester, where you can pick the font you want.
|
||||
|
||||
The font name depends on the GUI used. See |setting-guifont| for a way to set
|
||||
'guifont' for various systems.
|
||||
|
||||
For the GTK+ 2 and 3 GUIs, the font name looks like this: >
|
||||
:set guifont=Andale\ Mono\ 11
|
||||
That's all. XLFDs are not used. For Chinese this is reported to work well: >
|
||||
if has("gui_gtk2")
|
||||
set guifont=Bitstream\ Vera\ Sans\ Mono\ 12,Fixed\ 12
|
||||
set guifontwide=Microsoft\ Yahei\ 12,WenQuanYi\ Zen\ Hei\ 12
|
||||
endif
|
||||
<
|
||||
(Replace gui_gtk2 with gui_gtk3 for the GTK+ 3 GUI)
|
||||
|
||||
For Mac OSX you can use something like this: >
|
||||
:set guifont=Monaco:h10
|
||||
Also see 'macatsui', it can help fix display problems.
|
||||
*E236*
|
||||
Note that the fonts must be mono-spaced (all characters have the same width).
|
||||
An exception is GTK: all fonts are accepted, but mono-spaced fonts look best.
|
||||
|
||||
To preview a font on X11, you might be able to use the "xfontsel" program.
|
||||
The "xlsfonts" program gives a list of all available fonts.
|
||||
|
||||
For the Win32 GUI *E244* *E245*
|
||||
- Takes these options in the font name (use a ':' to separate the options):
|
||||
hXX - height is XX (points, can be floating-point)
|
||||
wXX - width is XX (points, can be floating-point)
|
||||
WXX - weight is XX (see Note on Weights below)
|
||||
b - bold. This is equivalent to setting the weight to 700.
|
||||
i - italic
|
||||
u - underline
|
||||
s - strikeout
|
||||
cXX - character set XX. Valid charsets are: ANSI, ARABIC, BALTIC,
|
||||
CHINESEBIG5, DEFAULT, EASTEUROPE, GB2312, GREEK, HANGEUL,
|
||||
HEBREW, JOHAB, MAC, OEM, RUSSIAN, SHIFTJIS, SYMBOL, THAI,
|
||||
TURKISH, VIETNAMESE ANSI and BALTIC. Normally you would use
|
||||
"cDEFAULT".
|
||||
qXX - quality XX. Valid quality names are: PROOF, DRAFT, ANTIALIASED,
|
||||
NONANTIALIASED, CLEARTYPE, DEFAULT. Normally you would use
|
||||
"qDEFAULT".
|
||||
Some quality values are not supported in legacy OSs.
|
||||
- A '_' can be used in the place of a space, so you don't need to use
|
||||
backslashes to escape the spaces.
|
||||
Examples: >
|
||||
:set guifont=courier_new:h12:w5:b:cRUSSIAN
|
||||
:set guifont=Andale_Mono:h7.5:w4.5
|
||||
|
||||
See also |font-sizes|.
|
||||
|
||||
Note on Weights: Fonts often come with a variety of weights. "Normal" weights
|
||||
in Windows have a value of 400 and, left unspecified, this is the value that
|
||||
will be used when attempting to find fonts. Windows will often match fonts
|
||||
based on their weight with higher priority than the font name which means a
|
||||
Book or Medium variant of a font might be used despite specifying a Light or
|
||||
ExtraLight variant. If you are experiencing heavier weight substitution, then
|
||||
explicitly setting a lower weight value may mitigate against this unwanted
|
||||
substitution.
|
||||
|
||||
|
||||
GUIFONTWIDE *gui-fontwide*
|
||||
|
||||
When not empty, 'guifontwide' specifies a comma-separated list of fonts to be
|
||||
used for double-width characters. The first font that can be loaded is
|
||||
used.
|
||||
|
||||
Note: The size of these fonts must be exactly twice as wide as the one
|
||||
specified with 'guifont' and the same height. If there is a mismatch then
|
||||
the text will not be drawn correctly.
|
||||
|
||||
All GUI versions but GTK+:
|
||||
|
||||
'guifontwide' is only used when 'encoding' is set to "utf-8" and
|
||||
'guifontset' is empty or invalid.
|
||||
When 'guifont' is set and a valid font is found in it and
|
||||
'guifontwide' is empty Vim will attempt to find a matching
|
||||
double-width font and set 'guifontwide' to it.
|
||||
|
||||
GTK+ GUI only: *guifontwide_gtk*
|
||||
|
||||
If set and valid, 'guifontwide' is always used for double width
|
||||
characters, even if 'encoding' is not set to "utf-8".
|
||||
Vim does not attempt to find an appropriate value for 'guifontwide'
|
||||
automatically. If 'guifontwide' is empty Pango/Xft will choose the
|
||||
font for characters not available in 'guifont'. Thus you do not need
|
||||
to set 'guifontwide' at all unless you want to override the choice
|
||||
made by Pango/Xft.
|
||||
|
||||
Windows +multibyte only: *guifontwide_win_mbyte*
|
||||
|
||||
If set and valid, 'guifontwide' is used for IME instead of 'guifont'.
|
||||
|
||||
==============================================================================
|
||||
7. Extras *gui-extras*
|
||||
|
||||
This section describes other features which are related to the GUI.
|
||||
|
||||
@@ -1061,7 +1213,7 @@ A recommended Japanese font is MS Mincho. You can find info here:
|
||||
http://www.lexikan.com/mincho.htm
|
||||
|
||||
==============================================================================
|
||||
7. Shell Commands *gui-shell*
|
||||
8. Shell Commands *gui-shell*
|
||||
|
||||
For the X11 GUI the external commands are executed inside the gvim window.
|
||||
See |gui-pty|.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*gui_w32.txt* For Vim version 8.1. Last change: 2017 Oct 27
|
||||
*gui_w32.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -19,7 +19,6 @@ Other relevant documentation:
|
||||
|gui.txt| For generic items of the GUI.
|
||||
|os_win32.txt| For Win32 specific items.
|
||||
|
||||
{Vi does not have a Windows GUI}
|
||||
|
||||
==============================================================================
|
||||
1. Starting the GUI *gui-w32-start*
|
||||
@@ -31,6 +30,17 @@ The GUI will always run in the Windows subsystem. Mostly shells automatically
|
||||
return with a command prompt after starting gvim. If not, you should use the
|
||||
"start" command: >
|
||||
start gvim [options] file ..
|
||||
< *E988*
|
||||
The console version with the |-g| option may also start the GUI by executing
|
||||
gvim.exe: >
|
||||
vim -g [options] file ..
|
||||
To make this work, gvim.exe must exist in the same directory as the vim.exe,
|
||||
and this feature must be enabled at compile time.
|
||||
|
||||
One may also use `:gui` from the console version. However, this is an
|
||||
experimental feature and this feature must be enabled at compile time.
|
||||
It uses a session file to recreate the current state of the console Vim in the
|
||||
GUI Vim.
|
||||
|
||||
Note: All fonts (bold, italic) must be of the same size!!! If you don't do
|
||||
this, text will disappear or mess up the display. Vim does not check the font
|
||||
@@ -403,7 +413,7 @@ be opened as normal. See |drag-n-drop|.
|
||||
|
||||
*:simalt* *:sim*
|
||||
:sim[alt] {key} simulate pressing {key} while holding Alt pressed.
|
||||
{not in Vi} {only for Win32 versions}
|
||||
{only for Win32 versions}
|
||||
Note: ":si" means ":s" with the "i" flag.
|
||||
|
||||
Normally, Vim takes control of all Alt-<Key> combinations, to increase the
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*gui_x11.txt* For Vim version 8.1. Last change: 2018 May 06
|
||||
*gui_x11.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -19,7 +19,6 @@ Vim's Graphical User Interface *gui-x11* *GUI-X11*
|
||||
Other relevant documentation:
|
||||
|gui.txt| For generic items of the GUI.
|
||||
|
||||
{Vi does not have any of these commands}
|
||||
|
||||
==============================================================================
|
||||
1. Starting the X11 GUI *gui-x11-start* *E665*
|
||||
@@ -48,7 +47,7 @@ that waits for gvim to exit), start gvim with "gvim -f", "vim -gf" or use
|
||||
":gui -f". Don't use "vim -fg", because "-fg" specifies the foreground
|
||||
color.
|
||||
|
||||
When using "gvim -f" and then ":gui", Vim will run in the foreground. The
|
||||
When using "vim -f" and then ":gui", Vim will run in the foreground. The
|
||||
"-f" argument will be remembered. To force running Vim in the background use
|
||||
":gui -b".
|
||||
|
||||
@@ -496,7 +495,7 @@ unexpectedly less attractive or even deteriorates their usability. Keep this
|
||||
in mind always when you try improving a theme.
|
||||
|
||||
|
||||
Example 3. border color
|
||||
Example 3. border color ~
|
||||
|
||||
To eliminate borders when maximized: >
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*hebrew.txt* For Vim version 8.1. Last change: 2007 Jun 14
|
||||
*hebrew.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Ron Aaron (and Avner Lottem)
|
||||
@@ -10,10 +10,7 @@ The supporting 'rightleft' functionality was originally created by Avner
|
||||
Lottem. <alottem at gmail dot com> Ron Aaron <ron at ronware dot org> is
|
||||
currently helping support these features.
|
||||
|
||||
{Vi does not have any of these commands}
|
||||
|
||||
All this is only available when the |+rightleft| feature was enabled at
|
||||
compile time.
|
||||
{only available when the |+rightleft| feature was enabled at compile time}
|
||||
|
||||
|
||||
Introduction
|
||||
|
||||
@@ -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
|
||||
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-].
|
||||
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|.
|
||||
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
|
||||
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".
|
||||
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
|
||||
through the help of many others. See |credits|.
|
||||
------------------------------------------------------------------------------
|
||||
*doc-file-list* *Q_ct*
|
||||
BASIC:
|
||||
|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
|
||||
|iccf| Helping poor children in Uganda
|
||||
|sponsor| Sponsor Vim development, become a registered Vim user
|
||||
@@ -113,7 +117,6 @@ Basic editing ~
|
||||
|scroll.txt| scrolling the text in the window
|
||||
|insert.txt| Insert and Replace mode
|
||||
|change.txt| deleting and replacing text
|
||||
|indent.txt| automatic indenting for C and other languages
|
||||
|undo.txt| Undo and Redo
|
||||
|repeat.txt| repeating commands, Vim scripts and debugging
|
||||
|visual.txt| using the Visual mode (selecting a text area)
|
||||
@@ -126,14 +129,11 @@ Advanced editing ~
|
||||
|pattern.txt| regexp patterns and search commands
|
||||
|map.txt| key mapping and abbreviations
|
||||
|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
|
||||
|tabpage.txt| commands for using multiple tab pages
|
||||
|syntax.txt| syntax highlighting
|
||||
|spell.txt| spell checking
|
||||
|diff.txt| working with two to four versions of the same file
|
||||
|autocmd.txt| automatically executing commands on an event
|
||||
|filetype.txt| settings done specifically for a type of file
|
||||
|eval.txt| expression evaluation, conditional commands
|
||||
|channel.txt| Jobs, Channels, inter-process communication
|
||||
|fold.txt| hide (fold) ranges of lines
|
||||
@@ -143,18 +143,28 @@ Special issues ~
|
||||
|remote.txt| using Vim as a server or client
|
||||
|term.txt| using different terminals and mice
|
||||
|terminal.txt| Terminal window support
|
||||
|popup.txt| popop 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
|
||||
|mbyte.txt| multi-byte text support
|
||||
|mlang.txt| non-English language support
|
||||
|rileft.txt| right-to-left editing mode
|
||||
|arabic.txt| Arabic language support and editing
|
||||
|farsi.txt| Farsi (Persian) editing
|
||||
|hebrew.txt| Hebrew 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
|
||||
|rileft.txt| right-to-left editing mode
|
||||
|
||||
GUI ~
|
||||
|gui.txt| Graphical User Interface (GUI)
|
||||
@@ -171,7 +181,6 @@ Interfaces ~
|
||||
|if_ole.txt| OLE automation interface for Win32
|
||||
|if_ruby.txt| Ruby interface
|
||||
|debugger.txt| Interface with a debugger
|
||||
|workshop.txt| Sun Visual Workshop interface
|
||||
|netbeans.txt| NetBeans External Editor interface
|
||||
|sign.txt| debugging signs
|
||||
|
||||
@@ -225,4 +234,4 @@ will try to find help for it. Especially for options in single quotes, e.g.
|
||||
'compatible'.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
vim:tw=78:fo=tcq2:isk=!-~,^*,^\|,^\":ts=8:noet:ft=help:norl:
|
||||
vim:tw=78:isk=!-~,^*,^\|,^\":ts=8:noet:ft=help:norl:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*helphelp.txt* For Vim version 8.1. Last change: 2017 Mar 19
|
||||
*helphelp.txt* For Vim version 8.1. Last change: 2019 May 04
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -24,7 +24,6 @@ Help on help files *helphelp*
|
||||
the very top.
|
||||
The 'helplang' option is used to select a language, if
|
||||
the main help file is available in several languages.
|
||||
{not in Vi}
|
||||
|
||||
*{subject}* *E149* *E661*
|
||||
:h[elp] {subject} Like ":help", additionally jump to the tag {subject}.
|
||||
@@ -97,7 +96,6 @@ Help on help files *helphelp*
|
||||
command from a following command. You need to type
|
||||
CTRL-V first to insert the <LF> or <CR>. Example: >
|
||||
:help so<C-V><CR>only
|
||||
< {not in Vi}
|
||||
|
||||
:h[elp]! [subject] Like ":help", but in non-English help files prefer to
|
||||
find a tag in a file with the same language as the
|
||||
@@ -133,7 +131,6 @@ Help on help files *helphelp*
|
||||
|:execute| when needed.
|
||||
Compressed help files will not be searched (Fedora
|
||||
compresses the help files).
|
||||
{not in Vi}
|
||||
|
||||
*:lh* *:lhelpgrep*
|
||||
:lh[elpgrep] {pattern}[@xx]
|
||||
@@ -147,11 +144,11 @@ Help on help files *helphelp*
|
||||
|
||||
*:exu* *:exusage*
|
||||
:exu[sage] Show help on Ex commands. Added to simulate the Nvi
|
||||
command. {not in Vi}
|
||||
command.
|
||||
|
||||
*:viu* *:viusage*
|
||||
:viu[sage] Show help on Normal mode commands. Added to simulate
|
||||
the Nvi command. {not in Vi}
|
||||
the Nvi command.
|
||||
|
||||
When no argument is given to |:help| the file given with the 'helpfile' option
|
||||
will be opened. Otherwise the specified tag is searched for in all "doc/tags"
|
||||
@@ -199,7 +196,6 @@ command: >
|
||||
Only for backwards compatibility. It now executes the
|
||||
ToolBar.FindHelp menu entry instead of using a builtin
|
||||
dialog. {only when compiled with |+GUI_GTK|}
|
||||
{not in Vi}
|
||||
|
||||
*:helpt* *:helptags*
|
||||
*E154* *E150* *E151* *E152* *E153* *E670*
|
||||
@@ -224,8 +220,6 @@ command: >
|
||||
To rebuild the help tags in the runtime directory
|
||||
(requires write permission there): >
|
||||
:helptags $VIMRUNTIME/doc
|
||||
< {not in Vi}
|
||||
|
||||
|
||||
==============================================================================
|
||||
2. Translated help files *help-translated*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*if_cscop.txt* For Vim version 8.1. Last change: 2018 Jan 21
|
||||
*if_cscop.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Andy Kahn
|
||||
@@ -21,7 +21,6 @@ functions as you normally would with |tags|.
|
||||
7. Availability & Information |cscope-info|
|
||||
|
||||
This is currently for Unix and Win32 only.
|
||||
{Vi does not have any of these commands}
|
||||
|
||||
==============================================================================
|
||||
1. Cscope introduction *cscope-intro*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*if_lua.txt* For Vim version 8.1. Last change: 2015 Oct 16
|
||||
*if_lua.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Luis Carvalho
|
||||
@@ -10,23 +10,21 @@ The Lua Interface to Vim *lua* *Lua*
|
||||
2. The vim module |lua-vim|
|
||||
3. List userdata |lua-list|
|
||||
4. Dict userdata |lua-dict|
|
||||
5. Funcref userdata |lua-funcref|
|
||||
6. Buffer userdata |lua-buffer|
|
||||
7. Window userdata |lua-window|
|
||||
8. The luaeval function |lua-luaeval|
|
||||
9. Dynamic loading |lua-dynamic|
|
||||
5. Blob userdata |lua-blob|
|
||||
6. Funcref userdata |lua-funcref|
|
||||
7. Buffer userdata |lua-buffer|
|
||||
8. Window userdata |lua-window|
|
||||
9. luaeval() Vim function |lua-luaeval|
|
||||
10. Dynamic loading |lua-dynamic|
|
||||
|
||||
{Vi does not have any of these commands}
|
||||
|
||||
The Lua interface is available only when Vim was compiled with the
|
||||
|+lua| feature.
|
||||
{only available when Vim was compiled with the |+lua| feature}
|
||||
|
||||
==============================================================================
|
||||
1. Commands *lua-commands*
|
||||
|
||||
*:lua*
|
||||
:[range]lua {chunk}
|
||||
Execute Lua chunk {chunk}. {not in Vi}
|
||||
Execute Lua chunk {chunk}.
|
||||
|
||||
Examples:
|
||||
>
|
||||
@@ -37,7 +35,7 @@ Examples:
|
||||
:[range]lua << {endmarker}
|
||||
{script}
|
||||
{endmarker}
|
||||
Execute Lua script {script}. {not in Vi}
|
||||
Execute Lua script {script}.
|
||||
Note: This command doesn't work when the Lua
|
||||
feature wasn't compiled in. To avoid errors, see
|
||||
|script-here|.
|
||||
@@ -74,7 +72,6 @@ If you use LuaJIT you can also use this: >
|
||||
If the value returned by the function is a string it
|
||||
becomes the text of the line in the current turn. The
|
||||
default for [range] is the whole file: "1,$".
|
||||
{not in Vi}
|
||||
|
||||
Examples:
|
||||
>
|
||||
@@ -88,7 +85,7 @@ Examples:
|
||||
|
||||
*:luafile*
|
||||
:[range]luafile {file}
|
||||
Execute Lua script in {file}. {not in Vi}
|
||||
Execute Lua script in {file}.
|
||||
The whole argument is used as a single file name.
|
||||
|
||||
Examples:
|
||||
@@ -140,6 +137,14 @@ Vim evaluation and command execution, and others.
|
||||
:echo luaeval('vim.dict(t)')
|
||||
:" {'1': 3.141593, '2': v:false,
|
||||
:" 'say': 'hi'}
|
||||
<
|
||||
vim.blob([arg]) Returns an empty blob or, if "arg" is a Lua
|
||||
string, returns a blob b such that b is
|
||||
equivalent to "arg" as a byte string.
|
||||
Examples: >
|
||||
:lua s = "12ab\x00\x80\xfe\xff"
|
||||
:echo luaeval('vim.blob(s)')
|
||||
:" 0z31326162.0080FEFF
|
||||
<
|
||||
vim.funcref({name}) Returns a Funcref to function {name} (see
|
||||
|Funcref|). It is equivalent to Vim's
|
||||
@@ -260,7 +265,34 @@ Examples:
|
||||
<
|
||||
|
||||
==============================================================================
|
||||
5. Funcref userdata *lua-funcref*
|
||||
5. Blob userdata *lua-blob*
|
||||
|
||||
Blob userdata represent vim blobs. A blob "b" has the following properties:
|
||||
|
||||
Properties
|
||||
----------
|
||||
o "#b" is the length of blob "b", equivalent to "len(b)" in Vim.
|
||||
o "b[k]" returns the k-th item in "b"; "b" is zero-indexed, as in Vim.
|
||||
To modify the k-th item, simply do "b[k] = number"; in particular,
|
||||
"b[#b] = number" can append a byte to tail.
|
||||
|
||||
Methods
|
||||
-------
|
||||
o "b:add(bytes)" appends "bytes" to the end of "b".
|
||||
|
||||
Examples:
|
||||
>
|
||||
:let b = 0z001122
|
||||
:lua b = vim.eval('b') -- same 'b'
|
||||
:lua print(b, b[0], #b)
|
||||
:lua b[1] = 32
|
||||
:lua b[#b] = 0x33 -- append a byte to tail
|
||||
:lua b:add("\x80\x81\xfe\xff")
|
||||
:echo b
|
||||
<
|
||||
|
||||
==============================================================================
|
||||
6. Funcref userdata *lua-funcref*
|
||||
|
||||
Funcref userdata represent funcref variables in Vim. Funcrefs that were
|
||||
defined with a "dict" attribute need to be obtained as a dictionary key
|
||||
@@ -293,7 +325,7 @@ Examples:
|
||||
<
|
||||
|
||||
==============================================================================
|
||||
6. Buffer userdata *lua-buffer*
|
||||
7. Buffer userdata *lua-buffer*
|
||||
|
||||
Buffer userdata represent vim buffers. A buffer userdata "b" has the following
|
||||
properties and methods:
|
||||
@@ -345,7 +377,7 @@ Examples:
|
||||
<
|
||||
|
||||
==============================================================================
|
||||
7. Window userdata *lua-window*
|
||||
8. Window userdata *lua-window*
|
||||
|
||||
Window objects represent vim windows. A window userdata "w" has the following
|
||||
properties and methods:
|
||||
@@ -377,7 +409,7 @@ Examples:
|
||||
<
|
||||
|
||||
==============================================================================
|
||||
8. The luaeval function *lua-luaeval* *lua-eval*
|
||||
9. luaeval() Vim function *lua-luaeval* *lua-eval*
|
||||
|
||||
The (dual) equivalent of "vim.eval" for passing Lua values to Vim is
|
||||
"luaeval". "luaeval" takes an expression string and an optional argument and
|
||||
@@ -390,10 +422,10 @@ returns the result of the expression. It is semantically equivalent in Lua to:
|
||||
end
|
||||
<
|
||||
Note that "_A" receives the argument to "luaeval". Lua numbers, strings, and
|
||||
list, dict, and funcref userdata are converted to their Vim respective types,
|
||||
while Lua booleans are converted to numbers. An error is thrown if conversion
|
||||
of any of the remaining Lua types, including userdata other than lists, dicts,
|
||||
and funcrefs, is attempted.
|
||||
list, dict, blob, and funcref userdata are converted to their Vim respective
|
||||
types, while Lua booleans are converted to numbers. An error is thrown if
|
||||
conversion of any of the remaining Lua types, including userdata other than
|
||||
lists, dicts, blobs, and funcrefs, is attempted.
|
||||
|
||||
Examples: >
|
||||
|
||||
@@ -408,7 +440,7 @@ Examples: >
|
||||
|
||||
|
||||
==============================================================================
|
||||
9. Dynamic loading *lua-dynamic*
|
||||
10. Dynamic loading *lua-dynamic*
|
||||
|
||||
On MS-Windows and Unix the Lua library can be loaded dynamically. The
|
||||
|:version| output then includes |+lua/dyn|.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*if_mzsch.txt* For Vim version 8.1. Last change: 2017 Oct 08
|
||||
*if_mzsch.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Sergey Khorev
|
||||
@@ -15,10 +15,7 @@ The MzScheme Interface to Vim *mzscheme* *MzScheme*
|
||||
7. Dynamic loading |mzscheme-dynamic|
|
||||
8. MzScheme setup |mzscheme-setup|
|
||||
|
||||
{Vi does not have any of these commands}
|
||||
|
||||
The MzScheme interface is available only if Vim was compiled with the
|
||||
|+mzscheme| feature.
|
||||
{only available when Vim was compiled with the |+mzscheme| feature}
|
||||
|
||||
Based on the work of Brent Fulgham.
|
||||
Dynamic loading added by Sergey Khorev
|
||||
@@ -40,7 +37,7 @@ To speed up the process, you might also want to use --disable-gracket and
|
||||
|
||||
*:mzscheme* *:mz*
|
||||
:[range]mz[scheme] {stmt}
|
||||
Execute MzScheme statement {stmt}. {not in Vi}
|
||||
Execute MzScheme statement {stmt}.
|
||||
|
||||
:[range]mz[scheme] << {endmarker}
|
||||
{script}
|
||||
@@ -51,7 +48,7 @@ To speed up the process, you might also want to use --disable-gracket and
|
||||
|script-here|.
|
||||
|
||||
*:mzfile* *:mzf*
|
||||
:[range]mzf[ile] {file} Execute the MzScheme script in {file}. {not in Vi}
|
||||
:[range]mzf[ile] {file} Execute the MzScheme script in {file}.
|
||||
|
||||
All of these commands do essentially the same thing - they execute a piece of
|
||||
MzScheme code, with the "current range" set to the given line
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*if_ole.txt* For Vim version 8.1. Last change: 2008 Aug 16
|
||||
*if_ole.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Paul Moore
|
||||
@@ -12,10 +12,8 @@ The OLE Interface to Vim *ole-interface*
|
||||
4. Registration |ole-registration|
|
||||
5. MS Visual Studio integration |MSVisualStudio|
|
||||
|
||||
{Vi does not have any of these commands}
|
||||
|
||||
OLE is only available when compiled with the |+ole| feature. See
|
||||
src/if_ole.INSTALL.
|
||||
{only available when compiled with the |+ole| feature. See
|
||||
src/if_ole.INSTALL}
|
||||
An alternative is using the client-server communication |clientserver|.
|
||||
|
||||
==============================================================================
|
||||
|
||||
@@ -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 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Sven Verdoolaege
|
||||
@@ -11,9 +11,7 @@ Perl and Vim *perl* *Perl*
|
||||
3. Using the Perl interface |perl-using|
|
||||
4. Dynamic loading |perl-dynamic|
|
||||
|
||||
{Vi does not have any of these commands}
|
||||
|
||||
The Perl interface only works when Vim was compiled with the |+perl| feature.
|
||||
{only available when Vim was compiled with the |+perl| feature}
|
||||
|
||||
==============================================================================
|
||||
1. Editing Perl files *perl-editing*
|
||||
@@ -45,8 +43,8 @@ The Perl patches for Vim were made by:
|
||||
Matt Gerassimof
|
||||
|
||||
Perl for MS-Windows (and other platforms) can be found at:
|
||||
http://www.perl.org/ The ActiveState one should work, Strawberry Perl is a
|
||||
good alternative.
|
||||
http://www.perl.org/
|
||||
The ActiveState one should work, Strawberry Perl is a good alternative.
|
||||
|
||||
==============================================================================
|
||||
3. Using the Perl interface *perl-using*
|
||||
@@ -191,6 +189,9 @@ VIM::Eval({expr}) Evaluates {expr} and returns (success, value) in list
|
||||
A |List| is turned into a string by joining the items
|
||||
and inserting line breaks.
|
||||
|
||||
*perl-Blob*
|
||||
VIM::Blob({expr}) Return |Blob| literal string 0zXXXX from scalar value.
|
||||
|
||||
*perl-SetHeight*
|
||||
Window->SetHeight({height})
|
||||
Sets the Window height to {height}, within screen
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*if_pyth.txt* For Vim version 8.1. Last change: 2018 Jan 30
|
||||
*if_pyth.txt* For Vim version 8.1. Last change: 2019 May 04
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Paul Moore
|
||||
@@ -19,8 +19,6 @@ The Python Interface to Vim *python* *Python*
|
||||
11. Python X |python_x|
|
||||
12. Building with Python support |python-building|
|
||||
|
||||
{Vi does not have any of these commands}
|
||||
|
||||
The Python 2.x interface is available only when Vim was compiled with the
|
||||
|+python| feature.
|
||||
The Python 3 interface is available only when Vim was compiled with the
|
||||
@@ -60,9 +58,10 @@ Example: >
|
||||
endfunction
|
||||
|
||||
To see what version of Python you have: >
|
||||
:python import sys
|
||||
: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
|
||||
and "EOF" do not have any indent.
|
||||
|
||||
@@ -75,7 +74,6 @@ and "EOF" do not have any indent.
|
||||
None. If a string is returned, it becomes the text of
|
||||
the line in the current turn. The default for [range]
|
||||
is the whole file: "1,$".
|
||||
{not in Vi}
|
||||
|
||||
Examples:
|
||||
>
|
||||
@@ -97,7 +95,7 @@ python. For example: >
|
||||
*:pyfile* *:pyf*
|
||||
:[range]pyf[ile] {file}
|
||||
Execute the Python script in {file}. The whole
|
||||
argument is used as a single file name. {not in Vi}
|
||||
argument is used as a single file name.
|
||||
|
||||
Both of these commands do essentially the same thing - they execute a piece of
|
||||
Python code, with the "current range" |python-range| set to the given line
|
||||
@@ -110,7 +108,6 @@ Python commands cannot be used in the |sandbox|.
|
||||
|
||||
To pass arguments you need to set sys.argv[] explicitly. Example: >
|
||||
|
||||
:python import sys
|
||||
:python sys.argv = ["foo", "bar"]
|
||||
:pyfile myscript.py
|
||||
|
||||
|
||||
@@ -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 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Shugo Maeda
|
||||
@@ -11,12 +11,12 @@ The Ruby Interface to Vim *ruby* *Ruby*
|
||||
3. Vim::Buffer objects |ruby-buffer|
|
||||
4. Vim::Window objects |ruby-window|
|
||||
5. Global variables |ruby-globals|
|
||||
6. Dynamic loading |ruby-dynamic|
|
||||
6. rubyeval() Vim function |ruby-rubyeval|
|
||||
7. Dynamic loading |ruby-dynamic|
|
||||
|
||||
{Vi does not have any of these commands}
|
||||
*E266* *E267* *E268* *E269* *E270* *E271* *E272* *E273*
|
||||
|
||||
The Ruby interface only works when Vim was compiled with the |+ruby| feature.
|
||||
{only available when Vim was compiled with the |+ruby| feature}
|
||||
|
||||
The home page for ruby is http://www.ruby-lang.org/. You can find links for
|
||||
downloading Ruby there.
|
||||
@@ -110,6 +110,10 @@ Module Functions:
|
||||
Vim::message({msg})
|
||||
Displays the message {msg}.
|
||||
|
||||
*ruby-blob*
|
||||
Vim::blob({arg})
|
||||
Return |Blob| literal string from {arg}.
|
||||
|
||||
*ruby-set_option*
|
||||
Vim::set_option({arg})
|
||||
Sets a vim option. {arg} can be any argument that the ":set" command
|
||||
@@ -194,7 +198,16 @@ $curwin The current window object.
|
||||
$curbuf The current buffer object.
|
||||
|
||||
==============================================================================
|
||||
6. Dynamic loading *ruby-dynamic*
|
||||
6. rubyeval() Vim function *ruby-rubyeval*
|
||||
|
||||
To facilitate bi-directional interface, you can use |rubyeval()| function to
|
||||
evaluate Ruby expressions and pass their values to Vim script.
|
||||
|
||||
The Ruby value "true", "false" and "nil" are converted to v:true, v:false and
|
||||
v:null, respectively.
|
||||
|
||||
==============================================================================
|
||||
7. Dynamic loading *ruby-dynamic*
|
||||
|
||||
On MS-Windows and Unix the Ruby library can be loaded dynamically. The
|
||||
|:version| output then includes |+ruby/dyn|.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*if_tcl.txt* For Vim version 8.1. Last change: 2016 Jan 01
|
||||
*if_tcl.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Ingo Wilken
|
||||
@@ -16,9 +16,8 @@ The Tcl Interface to Vim *tcl* *Tcl* *TCL*
|
||||
8. Examples |tcl-examples|
|
||||
9. Dynamic loading |tcl-dynamic|
|
||||
|
||||
{Vi does not have any of these commands} *E280*
|
||||
|
||||
The Tcl interface only works when Vim was compiled with the |+tcl| feature.
|
||||
*E280*
|
||||
{only available when Vim was compiled with the |+tcl| feature}
|
||||
|
||||
WARNING: There are probably still some bugs. Please send bug reports,
|
||||
comments, ideas etc to <Ingo.Wilken@informatik.uni-oldenburg.de>
|
||||
@@ -66,12 +65,11 @@ To see what version of Tcl you have: >
|
||||
possible to add or delete lines using this command.
|
||||
If {cmd} returns an error, the command is interrupted.
|
||||
The default for [range] is the whole file: "1,$".
|
||||
See |tcl-var-line| and |tcl-var-lnum|. {not in Vi}
|
||||
See |tcl-var-line| and |tcl-var-lnum|.
|
||||
|
||||
*:tclfile* *:tclf*
|
||||
:tclf[ile] {file} Execute the Tcl script in {file}. This is the same as
|
||||
":tcl source {file}", but allows file name completion.
|
||||
{not in Vi}
|
||||
|
||||
|
||||
Note that Tcl objects (like variables) persist from one command to the next,
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
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
|
||||
as follows:
|
||||
The default is "0{,0},0),0],:,0#,!^F,o,O,e" which specifies that indenting
|
||||
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
|
||||
":" if you type ':' after a label or case statement
|
||||
"0#" if you type '#' as the first character in a line
|
||||
"!^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.
|
||||
|
||||
If you want to write your own indent file, it must set the 'indentexpr'
|
||||
option. Setting the 'indentkeys' option is often useful. See the
|
||||
$VIMRUNTIME/indent directory for examples.
|
||||
option. Setting the 'indentkeys' option is often useful.
|
||||
See the $VIMRUNTIME/indent/README.txt file for hints.
|
||||
See the $VIMRUNTIME/indent directory for examples.
|
||||
|
||||
|
||||
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
|
||||
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.
|
||||
|
||||
*g:clojure_maxlines*
|
||||
|
||||
Set maximum scan distance of searchpairpos(). Larger values trade performance
|
||||
for correctness when dealing with very long forms. A value of 0 will scan
|
||||
without limits.
|
||||
Set maximum scan distance of |searchpairpos()|. Larger values trade
|
||||
performance for correctness when dealing with very long forms. A value of 0
|
||||
will scan without limits.
|
||||
>
|
||||
" Default
|
||||
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.
|
||||
|
||||
Indent after an open paren: >
|
||||
let g:pyindent_open_paren = '&sw * 2'
|
||||
let g:pyindent_open_paren = 'shiftwidth() * 2'
|
||||
Indent after a nested paren: >
|
||||
let g:pyindent_nested_paren = '&sw'
|
||||
let g:pyindent_nested_paren = 'shiftwidth()'
|
||||
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*
|
||||
@@ -1033,7 +1045,7 @@ Furthermore, setting the variable b:verilog_indent_width to change the
|
||||
indenting width (default is 'shiftwidth'): >
|
||||
|
||||
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: >
|
||||
|
||||
@@ -1156,7 +1168,7 @@ VIM *ft-vim-indent*
|
||||
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: >
|
||||
|
||||
:let g:vim_indent_cont = &sw * 3
|
||||
:let g:vim_indent_cont = shiftwidth() * 3
|
||||
|
||||
Three times shiftwidth is the default value.
|
||||
|
||||
|
||||
@@ -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 May 09
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -17,9 +17,11 @@ to look for deleting something, use: "/delete".
|
||||
2.3. Square bracket commands |[|
|
||||
2.4. Commands starting with 'g' |g|
|
||||
2.5. Commands starting with 'z' |z|
|
||||
2.6. Operator-pending mode |operator-pending-index|
|
||||
3. Visual mode |visual-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 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
|
||||
{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*
|
||||
|
||||
@@ -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_quote| CTRL-W " terminal window: paste register
|
||||
|CTRL-W_+| CTRL-W + increase 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 < decrease current window width N columns
|
||||
|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_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_N| CTRL-W N terminal window: go to Terminal Normal mode
|
||||
|CTRL-W_P| CTRL-W P go to preview window
|
||||
|CTRL-W_R| CTRL-W R rotate windows upwards N times
|
||||
|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
|
||||
tab page and jump to the line number
|
||||
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_i| CTRL-W i split window and jump to declaration of
|
||||
identifier under the cursor
|
||||
@@ -847,6 +862,10 @@ tag char note action in Normal mode ~
|
||||
position the cursor at the start (left
|
||||
side) of the screen
|
||||
|zt| zt redraw, cursor line at top of window
|
||||
|zuw| zuw undo |zw|
|
||||
|zug| zug undo |zg|
|
||||
|zuW| zuW undo |zW|
|
||||
|zuG| zuG undo |zG|
|
||||
|zv| zv open enough folds to view the cursor line
|
||||
|zw| zw mark word as wrong (bad) spelled word
|
||||
|zx| zx re-apply 'foldlevel' and do "zv"
|
||||
@@ -854,6 +873,17 @@ tag char note action in Normal mode ~
|
||||
|z<Left>| z<Left> same as "zh"
|
||||
|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*
|
||||
|
||||
@@ -976,7 +1006,7 @@ Normal characters are inserted at the current cursor position.
|
||||
"Completion" below refers to context-sensitive completion. It will complete
|
||||
file names, tags, commands etc. as appropriate.
|
||||
|
||||
tag command action in Command-line editing mode ~
|
||||
tag command action in Command-line editing mode ~
|
||||
------------------------------------------------------------------------------
|
||||
CTRL-@ not used
|
||||
|c_CTRL-A| CTRL-A do completion on the pattern in front of the
|
||||
@@ -1016,10 +1046,11 @@ tag command action in Command-line editing mode ~
|
||||
command-line from history.
|
||||
|c_CTRL-Q| CTRL-Q same as CTRL-V, unless it's used for terminal
|
||||
control flow
|
||||
|c_CTRL-R| CTRL-R {0-9a-z"%#*:= CTRL-F CTRL-P CTRL-W CTRL-A}
|
||||
|c_CTRL-R| CTRL-R {regname}
|
||||
insert the contents of a register or object
|
||||
under the cursor as if typed
|
||||
|c_CTRL-R_CTRL-R| CTRL-R CTRL-R {0-9a-z"%#*:= CTRL-F CTRL-P CTRL-W CTRL-A}
|
||||
|c_CTRL-R_CTRL-R| CTRL-R CTRL-R {regname}
|
||||
|c_CTRL-R_CTRL-O| CTRL-R CTRL-O {regname}
|
||||
insert the contents of a register or object
|
||||
under the cursor literally
|
||||
CTRL-S (used for terminal control flow)
|
||||
@@ -1066,16 +1097,37 @@ tag command action in Command-line editing mode ~
|
||||
|c_<Insert>| <Insert> toggle insert/overstrike mode
|
||||
|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*
|
||||
|
||||
==============================================================================
|
||||
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
|
||||
mentioning any arguments. The optional part of the command name is inside [].
|
||||
The commands are sorted on the non-optional part of their name.
|
||||
|
||||
tag command action ~
|
||||
tag command action ~
|
||||
------------------------------------------------------------------------------
|
||||
|:!| :! filter lines or execute an external command
|
||||
|:!!| :!! repeat last ":!" command
|
||||
@@ -1140,11 +1192,15 @@ tag command action ~
|
||||
|:cNfile| :cNf[ile] go to last error in previous file
|
||||
|:cabbrev| :ca[bbrev] like ":abbreviate" but for Command-line mode
|
||||
|:cabclear| :cabc[lear] clear all abbreviations for Command-line mode
|
||||
|:cabove| :cabo[ve] go to error above current line
|
||||
|:caddbuffer| :cad[dbuffer] add errors from buffer
|
||||
|:caddexpr| :cadde[xpr] add errors from expr
|
||||
|:caddfile| :caddf[ile] add error message to current quickfix list
|
||||
|:cafter| :caf[ter] go to error after current cursor
|
||||
|:call| :cal[l] call a function
|
||||
|:catch| :cat[ch] part of a :try command
|
||||
|:cbefore| :cbef[ore] go to error before current cursor
|
||||
|:cbelow| :cbel[ow] go to error below current line
|
||||
|:cbottom| :cbo[ttom] scroll to the bottom of the quickfix window
|
||||
|:cbuffer| :cb[uffer] parse error messages and jump to first error
|
||||
|:cc| :cc go to specific error
|
||||
@@ -1302,12 +1358,16 @@ tag command action ~
|
||||
|:lNext| :lN[ext] go to previous entry in location list
|
||||
|:lNfile| :lNf[ile] go to last entry in previous file
|
||||
|:list| :l[ist] print lines
|
||||
|:labove| :lab[ove] go to location above current line
|
||||
|:laddexpr| :lad[dexpr] add locations from expr
|
||||
|:laddbuffer| :laddb[uffer] add locations from buffer
|
||||
|:laddfile| :laddf[ile] add locations to current location list
|
||||
|:lafter| :laf[ter] go to location after current cursor
|
||||
|:last| :la[st] go to the last file in the argument list
|
||||
|:language| :lan[guage] set the language (locale)
|
||||
|:later| :lat[er] go to newer change, redo
|
||||
|:lbefore| :lbef[ore] go to location before current cursor
|
||||
|:lbelow| :lbel[ow] go to location below current line
|
||||
|:lbottom| :lbo[ttom] scroll to the bottom of the location window
|
||||
|:lbuffer| :lb[uffer] parse locations and jump to first location
|
||||
|:lcd| :lc[d] change directory locally
|
||||
@@ -1457,8 +1517,9 @@ tag command action ~
|
||||
|:recover| :rec[over] recover a file from a swap file
|
||||
|:redo| :red[o] redo one undone change
|
||||
|:redir| :redi[r] redirect messages to a file or register
|
||||
|:redraw| :redr[aw] force a redraw of the display
|
||||
|:redrawstatus| :redraws[tatus] force a redraw of the status line(s)
|
||||
|:redraw| :redr[aw] force a redraw of the display
|
||||
|: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
|
||||
|:resize| :res[ize] change current window height
|
||||
|:retab| :ret[ab] change tab size
|
||||
@@ -1498,7 +1559,8 @@ tag command action ~
|
||||
|:sbrewind| :sbr[ewind] split window and go to first file in the
|
||||
buffer list
|
||||
|:scriptnames| :scr[iptnames] list names of all sourced Vim scripts
|
||||
|:scriptencoding| :scripte[ncoding] encoding used in sourced Vim script
|
||||
|:scriptencoding| :scripte[ncoding] encoding used in sourced Vim script
|
||||
|:scriptversion| :scriptv[ersion] version of Vim script used
|
||||
|:scscope| :scs[cope] split window and execute cscope command
|
||||
|:set| :se[t] show or set options
|
||||
|:setfiletype| :setf[iletype] set 'filetype', unless it was set already
|
||||
@@ -1573,6 +1635,8 @@ tag command action ~
|
||||
|:tab| :tab create new tab when opening new window
|
||||
|:tag| :ta[g] jump to tag
|
||||
|:tags| :tags show the contents of the tag stack
|
||||
|:tcd| :tcd change directory for tab page
|
||||
|:tchdir| :tch[dir] change directory for tab page
|
||||
|:tcl| :tc[l] execute Tcl command
|
||||
|:tcldo| :tcld[o] execute Tcl command for each line
|
||||
|:tclfile| :tclf[ile] execute Tcl script file
|
||||
@@ -1583,6 +1647,9 @@ tag command action ~
|
||||
|:tjump| :tj[ump] like ":tselect", but jump directly when there
|
||||
is only one match
|
||||
|: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
|
||||
|:tmap| :tma[p] like ":map" but for Terminal-Job mode
|
||||
|:tmenu| :tm[enu] define menu tooltip
|
||||
@@ -1640,7 +1707,6 @@ tag command action ~
|
||||
argument list
|
||||
|:wq| :wq write to a file and quit window or 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
|
||||
|:wviminfo| :wv[iminfo] write to viminfo file
|
||||
|:xit| :x[it] write if buffer changed and quit window or Vim
|
||||
@@ -1648,6 +1714,7 @@ tag command action ~
|
||||
|:xmapclear| :xmapc[lear] remove all mappings for Visual mode
|
||||
|:xmap| :xm[ap] like ":map" but for Visual mode
|
||||
|:xmenu| :xme[nu] add menu for Visual mode
|
||||
|:xrestore| :xr[estore] restores the X server connection
|
||||
|:xnoremap| :xn[oremap] like ":noremap" but for Visual mode
|
||||
|:xnoremenu| :xnoreme[nu] like ":noremenu" but for Visual mode
|
||||
|:xunmap| :xu[nmap] like ":unmap" but for Visual mode
|
||||
|
||||
@@ -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 May 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -59,23 +59,22 @@ CTRL-C Quit insert mode, go back to Normal mode. Do not check for
|
||||
event.
|
||||
|
||||
*i_CTRL-@*
|
||||
CTRL-@ Insert previously inserted text and stop insert. {Vi: only
|
||||
when typed as first char, only up to 128 chars}
|
||||
CTRL-@ Insert previously inserted text and stop insert.
|
||||
|
||||
*i_CTRL-A*
|
||||
CTRL-A Insert previously inserted text. {not in Vi}
|
||||
CTRL-A Insert previously inserted text.
|
||||
|
||||
*i_CTRL-H* *i_<BS>* *i_BS*
|
||||
<BS> or CTRL-H Delete the character before the cursor (see |i_backspacing|
|
||||
about joining lines).
|
||||
See |:fixdel| if your <BS> key does not do what you want.
|
||||
{Vi: does not delete autoindents}
|
||||
|
||||
*i_<Del>* *i_DEL*
|
||||
<Del> Delete the character under the cursor. If the cursor is at
|
||||
the end of the line, and the 'backspace' option includes
|
||||
"eol", delete the <EOL>; the next line is appended after the
|
||||
current one.
|
||||
See |:fixdel| if your <Del> key does not do what you want.
|
||||
{not in Vi}
|
||||
*i_CTRL-W*
|
||||
CTRL-W Delete the word before the cursor (see |i_backspacing| about
|
||||
joining lines). See the section "word motions",
|
||||
@@ -102,10 +101,10 @@ CTRL-K {char1} [char2]
|
||||
key, the code for that key is inserted in <> form. For
|
||||
example, the string "<S-Space>" can be entered by typing
|
||||
<C-K><S-Space> (two keys). Neither char is considered for
|
||||
mapping. {not in Vi}
|
||||
mapping.
|
||||
|
||||
CTRL-N Find next keyword (see |i_CTRL-N|). {not in Vi}
|
||||
CTRL-P Find previous keyword (see |i_CTRL-P|). {not in Vi}
|
||||
CTRL-N Find next keyword (see |i_CTRL-N|).
|
||||
CTRL-P Find previous keyword (see |i_CTRL-P|).
|
||||
|
||||
CTRL-R {0-9a-z"%#*+:.-=} *i_CTRL-R*
|
||||
Insert the contents of a register. Between typing CTRL-R and
|
||||
@@ -142,7 +141,7 @@ CTRL-R {0-9a-z"%#*+:.-=} *i_CTRL-R*
|
||||
converted to a String.
|
||||
When append() or setline() is invoked the undo
|
||||
sequence will be broken.
|
||||
See |registers| about registers. {not in Vi}
|
||||
See |registers| about registers.
|
||||
|
||||
CTRL-R CTRL-R {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-R*
|
||||
Insert the contents of a register. Works like using a single
|
||||
@@ -154,7 +153,7 @@ CTRL-R CTRL-R {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-R*
|
||||
< Options 'textwidth', 'formatoptions', etc. still apply. If
|
||||
you also want to avoid these, use CTRL-R CTRL-O, see below.
|
||||
The '.' register (last inserted text) is still inserted as
|
||||
typed. {not in Vi}
|
||||
typed.
|
||||
|
||||
CTRL-R CTRL-O {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-O*
|
||||
Insert the contents of a register literally and don't
|
||||
@@ -163,31 +162,30 @@ CTRL-R CTRL-O {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-O*
|
||||
insert the text above the current line, like with `P`.
|
||||
Does not replace characters!
|
||||
The '.' register (last inserted text) is still inserted as
|
||||
typed. {not in Vi}
|
||||
typed.
|
||||
|
||||
CTRL-R CTRL-P {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-P*
|
||||
Insert the contents of a register literally and fix the
|
||||
indent, like |[<MiddleMouse>|.
|
||||
Does not replace characters!
|
||||
The '.' register (last inserted text) is still inserted as
|
||||
typed. {not in Vi}
|
||||
typed.
|
||||
|
||||
*i_CTRL-T*
|
||||
CTRL-T Insert one shiftwidth of indent at the start of the current
|
||||
line. The indent is always rounded to a 'shiftwidth' (this is
|
||||
vi compatible). {Vi: only when in indent}
|
||||
vi compatible).
|
||||
*i_CTRL-D*
|
||||
CTRL-D Delete one shiftwidth of indent at the start of the current
|
||||
line. The indent is always rounded to a 'shiftwidth' (this is
|
||||
vi compatible). {Vi: CTRL-D works only when used after
|
||||
autoindent}
|
||||
vi compatible).
|
||||
*i_0_CTRL-D*
|
||||
0 CTRL-D Delete all indent in the current line. {Vi: CTRL-D works
|
||||
only when used after autoindent}
|
||||
0 CTRL-D Delete all indent in the current line.
|
||||
|
||||
*i_^_CTRL-D*
|
||||
^ CTRL-D Delete all indent in the current line. The indent is
|
||||
restored in the next line. This is useful when inserting a
|
||||
label. {Vi: CTRL-D works only when used after autoindent}
|
||||
label.
|
||||
|
||||
*i_CTRL-V*
|
||||
CTRL-V Insert next non-digit literally. For special keys, the
|
||||
@@ -195,7 +193,7 @@ CTRL-V Insert next non-digit literally. For special keys, the
|
||||
decimal, octal or hexadecimal value of a character
|
||||
|i_CTRL-V_digit|.
|
||||
The characters typed right after CTRL-V are not considered for
|
||||
mapping. {Vi: no decimal byte entry}
|
||||
mapping.
|
||||
Note: When CTRL-V is mapped (e.g., to paste text) you can
|
||||
often use CTRL-Q instead |i_CTRL-Q|.
|
||||
|
||||
@@ -206,12 +204,12 @@ CTRL-Q Same as CTRL-V.
|
||||
|
||||
CTRL-X Enter CTRL-X mode. This is a sub-mode where commands can
|
||||
be given to complete words or scroll the window. See
|
||||
|i_CTRL-X| and |ins-completion|. {not in Vi}
|
||||
|i_CTRL-X| and |ins-completion|.
|
||||
|
||||
*i_CTRL-E*
|
||||
CTRL-E Insert the character which is below the cursor. {not in Vi}
|
||||
CTRL-E Insert the character which is below the cursor.
|
||||
*i_CTRL-Y*
|
||||
CTRL-Y Insert the character which is above the cursor. {not in Vi}
|
||||
CTRL-Y Insert the character which is above the cursor.
|
||||
Note that for CTRL-E and CTRL-Y 'textwidth' is not used, to be
|
||||
able to copy characters from a long line.
|
||||
|
||||
@@ -228,7 +226,6 @@ CTRL-_ Switch between languages, as follows:
|
||||
is set.
|
||||
Please refer to |rileft.txt| for more information about
|
||||
right-to-left mode.
|
||||
{not in Vi}
|
||||
Only if compiled with the |+rightleft| feature.
|
||||
|
||||
*i_CTRL-^*
|
||||
@@ -248,14 +245,12 @@ CTRL-^ Toggle the use of typing language characters.
|
||||
The language mappings are normally used to type characters
|
||||
that are different from what the keyboard produces. The
|
||||
'keymap' option can be used to install a whole number of them.
|
||||
{not in Vi}
|
||||
|
||||
*i_CTRL-]*
|
||||
CTRL-] Trigger abbreviation, without inserting a character. {not in
|
||||
Vi}
|
||||
CTRL-] Trigger abbreviation, without inserting a character.
|
||||
|
||||
*i_<Insert>*
|
||||
<Insert> Toggle between Insert and Replace mode. {not in Vi}
|
||||
<Insert> Toggle between Insert and Replace mode.
|
||||
-----------------------------------------------------------------------
|
||||
|
||||
*i_backspacing*
|
||||
@@ -277,7 +272,6 @@ For backwards compatibility the values "0", "1" and "2" are also allowed, see
|
||||
If the 'backspace' option does contain "eol" and the cursor is in column 1
|
||||
when one of the three keys is used, the current line is joined with the
|
||||
previous line. This effectively deletes the <EOL> in front of the cursor.
|
||||
{Vi: does not cross lines, does not delete past start position of insert}
|
||||
|
||||
*i_CTRL-V_digit*
|
||||
With CTRL-V the decimal, octal or hexadecimal value of a character can be
|
||||
@@ -379,8 +373,8 @@ CTRL-\ CTRL-O like CTRL-O but don't move the cursor *i_CTRL-\_CTRL-O*
|
||||
CTRL-L when 'insertmode' is set: go to Normal mode *i_CTRL-L*
|
||||
CTRL-G u break undo sequence, start new change *i_CTRL-G_u*
|
||||
CTRL-G U don't break undo with next left/right cursor *i_CTRL-G_U*
|
||||
movement (but only if the cursor stays
|
||||
within same the line)
|
||||
movement, if the cursor stays within
|
||||
same the line
|
||||
-----------------------------------------------------------------------
|
||||
|
||||
Note: If the cursor keys take you out of Insert mode, check the 'noesckeys'
|
||||
@@ -519,15 +513,14 @@ The 'expandtab' option is off by default. Note that in Replace mode, a single
|
||||
character is replaced with several spaces. The result of this is that the
|
||||
number of characters in the line increases. Backspacing will delete one
|
||||
space at a time. The original character will be put back for only one space
|
||||
that you backspace over (the last one). {Vi does not have the 'expandtab'
|
||||
option}
|
||||
that you backspace over (the last one).
|
||||
|
||||
*ins-smarttab*
|
||||
When the 'smarttab' option is on, a <Tab> inserts 'shiftwidth' positions at
|
||||
the beginning of a line and 'tabstop' positions in other places. This means
|
||||
that often spaces instead of a <Tab> character are inserted. When 'smarttab'
|
||||
is off, a <Tab> always inserts 'tabstop' positions, and 'shiftwidth' is only
|
||||
used for ">>" and the like. {not in Vi}
|
||||
used for ">>" and the like.
|
||||
|
||||
*ins-softtabstop*
|
||||
When the 'softtabstop' option is non-zero, a <Tab> inserts 'softtabstop'
|
||||
@@ -567,14 +560,13 @@ If the 'expandtab' option is on, a <Tab> will replace one character with
|
||||
several spaces. The result of this is that the number of characters in the
|
||||
line increases. Backspacing will delete one space at a time. The original
|
||||
character will be put back for only one space that you backspace over (the
|
||||
last one). {Vi does not have the 'expandtab' option}
|
||||
last one).
|
||||
|
||||
==============================================================================
|
||||
6. Virtual Replace mode *vreplace-mode* *Virtual-Replace-mode*
|
||||
|
||||
Enter Virtual Replace mode with the "gR" command in normal mode.
|
||||
{not available when compiled without the |+vreplace| feature}
|
||||
{Vi does not have Virtual Replace mode}
|
||||
|
||||
Virtual Replace mode is similar to Replace mode, but instead of replacing
|
||||
actual characters in the file, you are replacing screen real estate, so that
|
||||
@@ -642,6 +634,7 @@ and one of the CTRL-X commands. You exit CTRL-X mode by typing a key that is
|
||||
not a valid CTRL-X mode command. Valid keys are the CTRL-X command itself,
|
||||
CTRL-N (next), and CTRL-P (previous).
|
||||
|
||||
To get the current completion information, |complete_info()| can be used.
|
||||
Also see the 'infercase' option if you want to adjust the case of the match.
|
||||
|
||||
*complete_CTRL-E*
|
||||
@@ -1076,6 +1069,11 @@ that contains the List. The Dict can have these items:
|
||||
The only value currently recognized is "always", the
|
||||
effect is that the function is called whenever the
|
||||
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.
|
||||
|
||||
For acting upon end of completion, see the |CompleteDone| autocommand event.
|
||||
@@ -1099,6 +1097,9 @@ items:
|
||||
icase when non-zero case is to be ignored when comparing
|
||||
items to be equal; when omitted zero is used, thus
|
||||
items that only differ in case are added
|
||||
equal when non-zero, always treat this item to be equal when
|
||||
comparing. Which means, "equal=1" disables filtering
|
||||
of this item.
|
||||
dup when non-zero this match will be added even when an
|
||||
item with the same word is already present.
|
||||
empty when non-zero this match will be added even when it is
|
||||
@@ -1106,10 +1107,10 @@ items:
|
||||
user_data custom data which is associated with the item and
|
||||
available in |v:completed_item|
|
||||
|
||||
All of these except "icase", "dup" and "empty" must be a string. If an item
|
||||
does not meet these requirements then an error message is given and further
|
||||
items in the list are not used. You can mix string and Dictionary items in
|
||||
the returned list.
|
||||
All of these except "icase", "equal", "dup" and "empty" must be a string. If
|
||||
an item does not meet these requirements then an error message is given and
|
||||
further items in the list are not used. You can mix string and Dictionary
|
||||
items in the returned list.
|
||||
|
||||
The "menu" item is used in the popup menu and may be truncated, thus it should
|
||||
be relatively short. The "info" item can be longer, it will be displayed in
|
||||
@@ -1798,7 +1799,7 @@ I Insert text before the first non-blank in the line
|
||||
the last blank.
|
||||
|
||||
*gI*
|
||||
gI Insert text in column 1 [count] times. {not in Vi}
|
||||
gI Insert text in column 1 [count] times.
|
||||
|
||||
*gi*
|
||||
gi Insert text in the same position as where Insert mode
|
||||
@@ -1809,19 +1810,16 @@ gi Insert text in the same position as where Insert mode
|
||||
but NOT for inserted/deleted characters.
|
||||
When the |:keepjumps| command modifier is used the |'^|
|
||||
mark won't be changed.
|
||||
{not in Vi}
|
||||
|
||||
*o*
|
||||
o Begin a new line below the cursor and insert text,
|
||||
repeat [count] times. {Vi: blank [count] screen
|
||||
lines}
|
||||
repeat [count] times.
|
||||
When the '#' flag is in 'cpoptions' the count is
|
||||
ignored.
|
||||
|
||||
*O*
|
||||
O Begin a new line above the cursor and insert text,
|
||||
repeat [count] times. {Vi: blank [count] screen
|
||||
lines}
|
||||
repeat [count] times.
|
||||
When the '#' flag is in 'cpoptions' the count is
|
||||
ignored.
|
||||
|
||||
@@ -1876,7 +1874,6 @@ NOTE: These commands cannot be used with |:global| or |:vglobal|.
|
||||
script, the insertion only starts after the function
|
||||
or script is finished.
|
||||
This command does not work from |:normal|.
|
||||
{not in Vi}
|
||||
|
||||
*:stopi* *:stopinsert*
|
||||
:stopi[nsert] Stop Insert mode as soon as possible. Works like
|
||||
@@ -1893,12 +1890,10 @@ NOTE: These commands cannot be used with |:global| or |:vglobal|.
|
||||
Note that when using this command in a function or
|
||||
script that the replacement will only start after
|
||||
the function or script is finished.
|
||||
{not in Vi}
|
||||
|
||||
*:startgreplace*
|
||||
:startg[replace][!] Just like |:startreplace|, but use Virtual Replace
|
||||
mode, like with |gR|.
|
||||
{not in Vi}
|
||||
|
||||
==============================================================================
|
||||
10. Inserting a file *inserting-file*
|
||||
|
||||
@@ -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 May 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -34,9 +34,7 @@ It can be accessed from within Vim with the <Help> or <F1> key and with the
|
||||
is not located in the default place. You can jump to subjects like with tags:
|
||||
Use CTRL-] to jump to a subject under the cursor, use CTRL-T to jump back.
|
||||
|
||||
Throughout this manual the differences between Vi and Vim are mentioned in
|
||||
curly braces, like this: {Vi does not have on-line help}. See |vi_diff.txt|
|
||||
for a summary of the differences between Vim and Vi.
|
||||
The differences between Vi and Vim are mentioned in |vi_diff.txt|.
|
||||
|
||||
This manual refers to Vim on various machines. There may be small differences
|
||||
between different computers and terminals. Besides the remarks given in this
|
||||
@@ -52,29 +50,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
|
||||
the user manual |usr_toc.txt|.
|
||||
|
||||
*book*
|
||||
There are many books on Vi that contain a section for beginners. There are
|
||||
two books I can recommend:
|
||||
|
||||
"Vim - Vi Improved" by Steve Oualline
|
||||
|
||||
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.
|
||||
*book* *books*
|
||||
Most books on Vi and Vim contain a section for beginners. Others are spending
|
||||
more words on specific functionality. You can find an overview of Vim books
|
||||
here:
|
||||
http://iccf-holland.org/vim_books.html
|
||||
|
||||
==============================================================================
|
||||
2. Vim on the internet *internet*
|
||||
@@ -84,9 +64,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
|
||||
Frequently Asked Questions. Read this if you have problems.
|
||||
|
||||
Vim home page: http://www.vim.org/
|
||||
Vim FAQ: http://vimdoc.sf.net/
|
||||
Downloading: ftp://ftp.vim.org/pub/vim/MIRRORS
|
||||
Vim home page: https://www.vim.org/
|
||||
Vim FAQ: https://vimhelp.appspot.com/vim_faq.txt.html
|
||||
Downloading: https://www.vim.org/download.php
|
||||
|
||||
|
||||
Usenet News group where Vim is discussed: *news* *usenet*
|
||||
@@ -114,10 +94,12 @@ There are several mailing lists for Vim:
|
||||
See http://www.vim.org/maillist.php for the latest information.
|
||||
|
||||
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!
|
||||
- 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
|
||||
from (to avoid spam mail).
|
||||
- Maximum message size is 40000 characters.
|
||||
|
||||
*subscribe-maillist*
|
||||
If you want to join, send a message to
|
||||
@@ -150,7 +132,10 @@ Preferably start Vim with: >
|
||||
Where reproduce.vim is a script that reproduces the problem. Try different
|
||||
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
|
||||
your setup. You can get the information with this command: >
|
||||
@@ -189,7 +174,7 @@ introduce Y2K problems, but those are not really part of Vim itself.
|
||||
==============================================================================
|
||||
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:
|
||||
W.N. Joy
|
||||
@@ -268,6 +253,7 @@ Vim would never have become what it is now, without the help of these people!
|
||||
Ken Takata fixes and features
|
||||
Kazunobu Kuriyama GTK 3
|
||||
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
|
||||
list is too long to mention them all here. Vim would not be the same without
|
||||
@@ -280,9 +266,9 @@ In this documentation there are several references to other versions of Vi:
|
||||
Vi "the original". Without further remarks this is the version
|
||||
of Vi that appeared in Sun OS 4.x. ":version" returns
|
||||
"Version 3.7, 6/7/85". Sometimes other versions are referred
|
||||
to. Only runs under Unix. Source code only available with a
|
||||
license. More information on Vi can be found through:
|
||||
http://vi-editor.org [doesn't currently work...]
|
||||
to. Only runs under Unix. Source code is now available under a
|
||||
BSD-style license. More information on Vi can be found through:
|
||||
http://ex-vi.sourceforge.net/
|
||||
*Posix*
|
||||
Posix From the IEEE standard 1003.2, Part 2: Shell and utilities.
|
||||
Generally known as "Posix". This is a textual description of
|
||||
@@ -297,9 +283,14 @@ Nvi The "New" Vi. The version of Vi that comes with BSD 4.4 and FreeBSD.
|
||||
Source code is freely available.
|
||||
*Elvis*
|
||||
Elvis Another Vi clone, made by Steve Kirkendall. Very compact but isn't
|
||||
as flexible as Vim.
|
||||
The version used is 2.1. It is still being developed. Source code is
|
||||
freely available.
|
||||
as flexible as Vim. Development has stalled, Elvis has left the
|
||||
building! Source code is 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*
|
||||
@@ -655,11 +646,7 @@ Ex :vi -- -- -- -- --
|
||||
the command.
|
||||
In the last case <Esc> may be the character defined with the 'wildchar'
|
||||
option, in which case it will start command-line completion. You can
|
||||
ignore that and type <Esc> again. {Vi: when hitting <Esc> the command-line
|
||||
is executed. This is unexpected for most people; therefore it was changed
|
||||
in Vim. But when the <Esc> is part of a mapping, the command-line is
|
||||
executed. If you want the Vi behaviour also when typing <Esc>, use ":cmap
|
||||
^V<Esc> ^V^M"}
|
||||
ignore that and type <Esc> again.
|
||||
*4 Go from Normal to Select mode by:
|
||||
- use the mouse to select text while 'selectmode' contains "mouse"
|
||||
- use a non-printable command to move the cursor while keeping the Shift
|
||||
@@ -710,7 +697,6 @@ gQ Switch to "Ex" mode like with "Q", but really behave
|
||||
like typing ":" commands after another. All command
|
||||
line editing, completion etc. is available.
|
||||
Use the ":vi" command |:visual| to exit "Ex" mode.
|
||||
{not in Vi}
|
||||
|
||||
==============================================================================
|
||||
7. The window contents *window-contents*
|
||||
@@ -723,7 +709,6 @@ exceptions:
|
||||
character.
|
||||
- When inserting text in one window, other windows on the same text are not
|
||||
updated until the insert is finished.
|
||||
{Vi: The screen is not always updated on slow terminals}
|
||||
|
||||
Lines longer than the window width will wrap, unless the 'wrap' option is off
|
||||
(see below). The 'linebreak' option can be set to wrap at a blank character.
|
||||
@@ -769,7 +754,6 @@ If there is a single line that is too long to fit in the window, this is a
|
||||
special situation. Vim will show only part of the line, around where the
|
||||
cursor is. There are no special characters shown, so that you can edit all
|
||||
parts of this line.
|
||||
{Vi: gives an "internal error" on lines that do not fit in the window}
|
||||
|
||||
The '@' occasion in the 'highlight' option can be used to set special
|
||||
highlighting for the '@' and '~' characters. This makes it possible to
|
||||
@@ -784,7 +768,7 @@ that is not shown, the screen is scrolled horizontally. The advantage of
|
||||
this method is that columns are shown as they are and lines that cannot fit
|
||||
on the screen can be edited. The disadvantage is that you cannot see all the
|
||||
characters of a line at once. The 'sidescroll' option can be set to the
|
||||
minimal number of columns to scroll. {Vi: has no 'wrap' option}
|
||||
minimal number of columns to scroll.
|
||||
|
||||
All normal ASCII characters are displayed directly on the screen. The <Tab>
|
||||
is replaced with the number of spaces that it represents. Other non-printing
|
||||
@@ -816,16 +800,14 @@ command characters 'showcmd' on off
|
||||
cursor position 'ruler' off off
|
||||
|
||||
The current mode is "-- INSERT --" or "-- REPLACE --", see |'showmode'|. The
|
||||
command characters are those that you typed but were not used yet. {Vi: does
|
||||
not show the characters you typed or the cursor position}
|
||||
command characters are those that you typed but were not used yet.
|
||||
|
||||
If you have a slow terminal you can switch off the status messages to speed
|
||||
up editing:
|
||||
:set nosc noru nosm
|
||||
|
||||
If there is an error, an error message will be shown for at least one second
|
||||
(in reverse video). {Vi: error messages may be overwritten with other
|
||||
messages before you have a chance to read them}
|
||||
(in reverse video).
|
||||
|
||||
Some commands show how many lines were affected. Above which threshold this
|
||||
happens can be controlled with the 'report' option (default 2).
|
||||
@@ -838,7 +820,7 @@ Make it at least 40 characters wide to be able to read most messages on the
|
||||
last line.
|
||||
|
||||
On most Unix systems, resizing the window is recognized and handled correctly
|
||||
by Vim. {Vi: not ok}
|
||||
by Vim.
|
||||
|
||||
==============================================================================
|
||||
8. Definitions *definitions*
|
||||
|
||||
@@ -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: 2019 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -76,7 +76,7 @@ modes.
|
||||
Map the key sequence {lhs} to {rhs} for the modes
|
||||
where the map command applies. Disallow mapping of
|
||||
{rhs}, to avoid nested and recursive mappings. Often
|
||||
used to redefine a command. {not in Vi}
|
||||
used to redefine a command.
|
||||
|
||||
|
||||
:unm[ap] {lhs} |mapmode-nvo| *:unm* *:unmap*
|
||||
@@ -110,7 +110,7 @@ modes.
|
||||
:cmapc[lear] |mapmode-c| *:cmapc* *:cmapclear*
|
||||
:tmapc[lear] |mapmode-t| *:tmapc* *:tmapclear*
|
||||
Remove ALL mappings for the modes where the map
|
||||
command applies. {not in Vi}
|
||||
command applies.
|
||||
Use the <buffer> argument to remove buffer-local
|
||||
mappings |:map-<buffer>|
|
||||
Warning: This also removes the default mappings.
|
||||
@@ -143,7 +143,6 @@ modes.
|
||||
:tma[p] {lhs} |mapmode-t| *:tmap_l*
|
||||
List the key mappings for the key sequences starting
|
||||
with {lhs} in the modes where the map command applies.
|
||||
{not in Vi}
|
||||
|
||||
These commands are used to map a key or key sequence to a string of
|
||||
characters. You can use this to put command sequences under function keys,
|
||||
@@ -160,7 +159,6 @@ decide if "aa" or "aaa" should be mapped. This means that after typing "aa"
|
||||
that mapping won't get expanded yet, Vim is waiting for another character.
|
||||
If you type a space, then "foo" will get inserted, plus the space. If you
|
||||
type "a", then "bar" will get inserted.
|
||||
{Vi does not allow ambiguous mappings}
|
||||
|
||||
|
||||
1.2 SPECIAL ARGUMENTS *:map-arguments*
|
||||
@@ -371,8 +369,9 @@ job running in the terminal. See |terminal-typing|.
|
||||
|
||||
*omap-info*
|
||||
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"
|
||||
and "d{" like "dw".
|
||||
used with any operator. Simple example: >
|
||||
:omap { w
|
||||
makes "y{" work like "yw" and "d{" like "dw".
|
||||
|
||||
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
|
||||
@@ -383,9 +382,11 @@ Normal mode commands find the first '(' character and select the first word
|
||||
before it. That usually is the function name.
|
||||
|
||||
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
|
||||
:ounmap xx
|
||||
|
||||
Likewise for a mapping for Visual and Operator-pending mode or Normal and
|
||||
Operator-pending mode.
|
||||
|
||||
@@ -1013,45 +1014,40 @@ See |:verbose-cmd| for more information.
|
||||
|
||||
*:norea* *:noreabbrev*
|
||||
:norea[bbrev] [<expr>] [<buffer>] [lhs] [rhs]
|
||||
same as ":ab", but no remapping for this {rhs} {not
|
||||
in Vi}
|
||||
Same as ":ab", but no remapping for this {rhs}.
|
||||
|
||||
*:ca* *:cabbrev*
|
||||
:ca[bbrev] [<expr>] [<buffer>] [lhs] [rhs]
|
||||
same as ":ab", but for Command-line mode only. {not
|
||||
in Vi}
|
||||
Same as ":ab", but for Command-line mode only.
|
||||
|
||||
*:cuna* *:cunabbrev*
|
||||
:cuna[bbrev] {lhs} same as ":una", but for Command-line mode only. {not
|
||||
in Vi}
|
||||
:cuna[bbrev] {lhs} Same as ":una", but for Command-line mode only.
|
||||
|
||||
*:cnorea* *:cnoreabbrev*
|
||||
:cnorea[bbrev] [<expr>] [<buffer>] [lhs] [rhs]
|
||||
same as ":ab", but for Command-line mode only and no
|
||||
remapping for this {rhs} {not in Vi}
|
||||
remapping for this {rhs}
|
||||
|
||||
*:ia* *:iabbrev*
|
||||
:ia[bbrev] [<expr>] [<buffer>] [lhs] [rhs]
|
||||
same as ":ab", but for Insert mode only. {not in Vi}
|
||||
Same as ":ab", but for Insert mode only.
|
||||
|
||||
*:iuna* *:iunabbrev*
|
||||
:iuna[bbrev] {lhs} same as ":una", but for insert mode only. {not in
|
||||
Vi}
|
||||
:iuna[bbrev] {lhs} Same as ":una", but for insert mode only.
|
||||
|
||||
*:inorea* *:inoreabbrev*
|
||||
:inorea[bbrev] [<expr>] [<buffer>] [lhs] [rhs]
|
||||
same as ":ab", but for Insert mode only and no
|
||||
remapping for this {rhs} {not in Vi}
|
||||
Same as ":ab", but for Insert mode only and no
|
||||
remapping for this {rhs}.
|
||||
|
||||
*:abc* *:abclear*
|
||||
:abc[lear] [<buffer>] Remove all abbreviations. {not in Vi}
|
||||
:abc[lear] [<buffer>] Remove all abbreviations.
|
||||
|
||||
*:iabc* *:iabclear*
|
||||
:iabc[lear] [<buffer>] Remove all abbreviations for Insert mode. {not in Vi}
|
||||
:iabc[lear] [<buffer>] Remove all abbreviations for Insert mode.
|
||||
|
||||
*:cabc* *:cabclear*
|
||||
:cabc[lear] [<buffer>] Remove all abbreviations for Command-line mode. {not
|
||||
in Vi}
|
||||
:cabc[lear] [<buffer>] Remove all abbreviations for Command-line mode.
|
||||
|
||||
*using_CTRL-V*
|
||||
It is possible to use special characters in the rhs of an abbreviation.
|
||||
@@ -1144,8 +1140,7 @@ to find out what they are defined to.
|
||||
The |:scriptnames| command can be used to see which scripts have been sourced
|
||||
and what their <SNR> number is.
|
||||
|
||||
This is all {not in Vi} and {not available when compiled without the |+eval|
|
||||
feature}.
|
||||
This is all {not available when compiled without the |+eval| feature}.
|
||||
|
||||
==============================================================================
|
||||
4. User-defined commands *user-commands*
|
||||
@@ -1190,9 +1185,10 @@ scripts.
|
||||
|
||||
:com[mand] *:com* *:command*
|
||||
List all user-defined commands. When listing commands,
|
||||
the characters in the first two columns are
|
||||
the characters in the first columns are:
|
||||
! Command has the -bang attribute
|
||||
" Command has the -register attribute
|
||||
| Command has the -bar attribute
|
||||
b Command is local to current buffer
|
||||
(see below for details on attributes)
|
||||
The list can be filtered on command name with
|
||||
@@ -1220,6 +1216,10 @@ See |:verbose-cmd| for more information.
|
||||
attributes (see below) are {attr}. If the command
|
||||
already exists, an error is reported, unless a ! is
|
||||
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*
|
||||
Delete the user-defined command {cmd}.
|
||||
@@ -1227,7 +1227,8 @@ See |:verbose-cmd| for more information.
|
||||
:comc[lear] *:comc* *:comclear*
|
||||
Delete all user-defined commands.
|
||||
|
||||
Command attributes
|
||||
|
||||
Command attributes ~
|
||||
|
||||
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
|
||||
@@ -1238,14 +1239,15 @@ There are a number of attributes, split into four categories: argument
|
||||
handling, completion behavior, range handling, and special cases. The
|
||||
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
|
||||
reported if any are supplied). However, it is possible to specify that the
|
||||
command can take arguments, using the -nargs attribute. Valid cases are:
|
||||
|
||||
-nargs=0 No arguments are allowed (the default)
|
||||
-nargs=1 Exactly one argument is required, it includes spaces
|
||||
-nargs=1 Exactly one argument is required, it includes spaces
|
||||
-nargs=* Any number of arguments are allowed (0, 1, or many),
|
||||
separated by white space
|
||||
-nargs=? 0 or 1 arguments are allowed
|
||||
@@ -1268,8 +1270,10 @@ defined, not where it is invoked! Example:
|
||||
Executing script2.vim will result in "None" being echoed. Not what you
|
||||
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.
|
||||
However, by specifying one or the other of the following attributes, argument
|
||||
completion can be enabled:
|
||||
@@ -1314,9 +1318,9 @@ completion can be enabled:
|
||||
Note: That some completion methods might expand environment variables.
|
||||
|
||||
|
||||
Custom completion *:command-completion-custom*
|
||||
*:command-completion-customlist*
|
||||
*E467* *E468*
|
||||
Custom completion ~
|
||||
*:command-completion-custom*
|
||||
*:command-completion-customlist* *E467* *E468*
|
||||
It is possible to define customized completion schemes via the "custom,{func}"
|
||||
or the "customlist,{func}" completion argument. The {func} part should be a
|
||||
function with the following signature: >
|
||||
@@ -1361,8 +1365,8 @@ the 'path' option: >
|
||||
This example does not work for file names with spaces!
|
||||
|
||||
|
||||
Range handling *E177* *E178* *:command-range*
|
||||
*:command-count*
|
||||
Range handling ~
|
||||
*E177* *E178* *:command-range* *:command-count*
|
||||
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
|
||||
attribute), or that it takes an arbitrary count value, either in the line
|
||||
@@ -1379,7 +1383,7 @@ Possible attributes are:
|
||||
number.
|
||||
-count=N A count (default N) which is specified either in the line
|
||||
number position, or as an initial argument (like |:Next|).
|
||||
Specifying -count (without a default) acts like -count=0
|
||||
-count acts like -count=0
|
||||
|
||||
Note that -range=N and -count=N are mutually exclusive - only one should be
|
||||
specified.
|
||||
@@ -1389,15 +1393,21 @@ It is possible that the special characters in the range like ., $ or % which
|
||||
by default correspond to the current line, last line and the whole buffer,
|
||||
relate to arguments, (loaded) buffers, windows or tab pages.
|
||||
|
||||
Possible values are:
|
||||
-addr=lines Range of lines (this is the default)
|
||||
-addr=arguments Range for arguments
|
||||
-addr=buffers Range for buffers (also not loaded buffers)
|
||||
-addr=loaded_buffers Range for loaded buffers
|
||||
-addr=windows Range for windows
|
||||
-addr=tabs Range for tab pages
|
||||
Possible values are (second column is the short name used in listing):
|
||||
-addr=lines Range of lines (this is the default for -range)
|
||||
-addr=arguments arg Range for arguments
|
||||
-addr=buffers buf Range for buffers (also not loaded buffers)
|
||||
-addr=loaded_buffers load Range for loaded buffers
|
||||
-addr=windows win Range for windows
|
||||
-addr=tabs tab Range for tab pages
|
||||
-addr=quickfix qf Range for quickfix entries
|
||||
-addr=other ? other kind of range; can use ".", "$" and "%"
|
||||
as with "lines" (this is the default for
|
||||
-count)
|
||||
|
||||
Special cases *:command-bang* *:command-bar*
|
||||
|
||||
Special cases ~
|
||||
*:command-bang* *:command-bar*
|
||||
*:command-register* *:command-buffer*
|
||||
There are some special cases as well:
|
||||
|
||||
@@ -1415,7 +1425,8 @@ replacement text separately.
|
||||
Note that these arguments can be abbreviated, but that is a deprecated
|
||||
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
|
||||
sequences, using <...> notation. Escape sequences are replaced with values
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*mbyte.txt* For Vim version 8.1. Last change: 2018 Jan 21
|
||||
*mbyte.txt* For Vim version 8.1. Last change: 2019 Apr 28
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar et al.
|
||||
@@ -14,9 +14,6 @@ For an introduction to the most common features, see |usr_45.txt| in the user
|
||||
manual.
|
||||
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|
|
||||
2. Locale |mbyte-locale|
|
||||
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.
|
||||
|
||||
|
||||
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
|
||||
|
||||
First of all, you must make sure your current locale is set correctly. If
|
||||
@@ -633,6 +620,21 @@ windows maintains a table of which groups of characters are required for a
|
||||
locale. You have to specify all the fonts that a locale requires in the
|
||||
'guifontset' option.
|
||||
|
||||
Setting the 'guifontset' option also means that all font names will be handled
|
||||
as a fontset name. Also the ones used for the "font" argument of the
|
||||
|:highlight| command.
|
||||
|
||||
Note the difference between 'guifont' and 'guifontset': In 'guifont'
|
||||
the comma-separated names are alternative names, one of which will be
|
||||
used. In 'guifontset' the whole string is one fontset name,
|
||||
including the commas. It is not possible to specify alternative
|
||||
fontset names.
|
||||
This example works on many X11 systems: >
|
||||
:set guifontset=-*-*-medium-r-normal--16-*-*-*-c-*-*-*
|
||||
<
|
||||
The fonts must match with the current locale. If fonts for the character sets
|
||||
that the current locale uses are not included, setting 'guifontset' will fail.
|
||||
|
||||
NOTE: The fontset always uses the current locale, even though 'encoding' may
|
||||
be set to use a different charset. In that situation you might want to use
|
||||
'guifont' and 'guifontwide' instead of 'guifontset'.
|
||||
|
||||
@@ -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: 2019 May 07
|
||||
|
||||
|
||||
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
|
||||
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* >
|
||||
Too many different highlighting attributes in use
|
||||
|
||||
@@ -711,11 +703,13 @@ Or use ":set nocp".
|
||||
This happens when an Ex command with mandatory argument(s) was executed, but
|
||||
no argument has been specified.
|
||||
|
||||
*E474* *E475* >
|
||||
*E474* *E475* *E983* >
|
||||
Invalid argument
|
||||
Invalid argument: {arg}
|
||||
Duplicate argument: {arg}
|
||||
|
||||
An Ex command has been executed, but an invalid argument has been specified.
|
||||
An Ex command or function has been executed, but an invalid argument has been
|
||||
specified.
|
||||
|
||||
*E488* >
|
||||
Trailing characters
|
||||
@@ -804,7 +798,6 @@ and the screen is about to be redrawn:
|
||||
like pressing <Space>. This makes it impossible to select text though.
|
||||
-> For the GUI clicking the left mouse button in the last line works like
|
||||
pressing <Space>.
|
||||
{Vi: only ":" commands are interpreted}
|
||||
|
||||
If you accidentally hit <Enter> or <Space> and you want to see the displayed
|
||||
text then use |g<|. This only works when 'more' is set.
|
||||
@@ -836,10 +829,10 @@ Type effect ~
|
||||
G down all the way, until the hit-enter
|
||||
prompt
|
||||
|
||||
<BS> or k or <Up> one line back (*)
|
||||
u up a page (half a screen) (*)
|
||||
b or <PageUp> back a screen (*)
|
||||
g back to the start (*)
|
||||
<BS> or k or <Up> one line back
|
||||
u up a page (half a screen)
|
||||
b or <PageUp> back a screen
|
||||
g back to the start
|
||||
|
||||
q, <Esc> or CTRL-C stop the listing
|
||||
: stop the listing and enter a
|
||||
@@ -848,13 +841,11 @@ Type effect ~
|
||||
the clipboard ("* and "+ registers)
|
||||
{menu-entry} what the menu is defined to in
|
||||
Cmdline-mode.
|
||||
<LeftMouse> (**) next page
|
||||
<LeftMouse> next page (*)
|
||||
|
||||
Any other key causes the meaning of the keys to be displayed.
|
||||
|
||||
(*) backwards scrolling is {not in Vi}. Only scrolls back to where messages
|
||||
started to scroll.
|
||||
(**) Clicking the left mouse button only works:
|
||||
(*) Clicking the left mouse button only works:
|
||||
- For the GUI: in the last line of the screen.
|
||||
- When 'r' is included in 'mouse' (but then selecting text won't work).
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*mlang.txt* For Vim version 8.1. Last change: 2018 May 06
|
||||
*mlang.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -17,7 +17,6 @@ The basics are explained in the user manual: |usr_45.txt|.
|
||||
|
||||
Also see |help-translated| for multi-language help.
|
||||
|
||||
{Vi does not have any of these features}
|
||||
{not available when compiled without the |+multi_lang| feature}
|
||||
|
||||
==============================================================================
|
||||
@@ -102,8 +101,10 @@ Or:
|
||||
|
||||
This also contains tools xgettext, msgformat and others.
|
||||
|
||||
libintl.dll should be placed in same directory with (g)vim.exe, or some
|
||||
place where PATH environment value describe. Vim also finds libintl-8.dll.
|
||||
libintl.dll should be placed in same directory as (g)vim.exe, or one of the
|
||||
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",
|
||||
where "xx" is the abbreviation of the language (mostly two letters).
|
||||
|
||||
|
||||
@@ -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 May 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -113,7 +113,7 @@ This cannot be repeated: >
|
||||
endif<CR>
|
||||
Note that when using ":" any motion becomes characterwise exclusive.
|
||||
|
||||
|
||||
*forced-motion*
|
||||
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
|
||||
@@ -185,7 +185,7 @@ l or *l*
|
||||
TEXT column (if possible). Most other commands stay
|
||||
in the same SCREEN column. <Home> works like "1|",
|
||||
which differs from "0" when the line starts with a
|
||||
<Tab>. {not in Vi}
|
||||
<Tab>.
|
||||
|
||||
*^*
|
||||
^ To the first non-blank character of the line.
|
||||
@@ -202,7 +202,7 @@ $ or <End> To the end of the line. When a count is given also go
|
||||
|
||||
*g_*
|
||||
g_ To the last non-blank character of the line and
|
||||
[count - 1] lines downward |inclusive|. {not in Vi}
|
||||
[count - 1] lines downward |inclusive|.
|
||||
|
||||
*g0* *g<Home>*
|
||||
g0 or g<Home> When lines wrap ('wrap' on): To the first character of
|
||||
@@ -211,7 +211,7 @@ g0 or g<Home> When lines wrap ('wrap' on): To the first character of
|
||||
When lines don't wrap ('wrap' off): To the leftmost
|
||||
character of the current line that is on the screen.
|
||||
Differs from "0" when the first character of the line
|
||||
is not on the screen. {not in Vi}
|
||||
is not on the screen.
|
||||
|
||||
*g^*
|
||||
g^ When lines wrap ('wrap' on): To the first non-blank
|
||||
@@ -220,12 +220,11 @@ g^ When lines wrap ('wrap' on): To the first non-blank
|
||||
When lines don't wrap ('wrap' off): To the leftmost
|
||||
non-blank character of the current line that is on the
|
||||
screen. Differs from "^" when the first non-blank
|
||||
character of the line is not on the screen. {not in
|
||||
Vi}
|
||||
character of the line is not on the screen.
|
||||
|
||||
*gm*
|
||||
gm Like "g0", but half a screenwidth to the right (or as
|
||||
much as possible). {not in Vi}
|
||||
much as possible).
|
||||
|
||||
*g$* *g<End>*
|
||||
g$ or g<End> When lines wrap ('wrap' on): To the last character of
|
||||
@@ -240,7 +239,6 @@ g$ or g<End> When lines wrap ('wrap' on): To the last character of
|
||||
instead of going to the end of the line.
|
||||
When 'virtualedit' is enabled moves to the end of the
|
||||
screen line.
|
||||
{not in Vi}
|
||||
|
||||
*bar*
|
||||
| To screen column [count] in the current line.
|
||||
@@ -296,12 +294,12 @@ CTRL-N [count] lines downward |linewise|.
|
||||
gk or *gk* *g<Up>*
|
||||
g<Up> [count] display lines upward. |exclusive| motion.
|
||||
Differs from 'k' when lines wrap, and when used with
|
||||
an operator, because it's not linewise. {not in Vi}
|
||||
an operator, because it's not linewise.
|
||||
|
||||
gj or *gj* *g<Down>*
|
||||
g<Down> [count] display lines downward. |exclusive| motion.
|
||||
Differs from 'j' when lines wrap, and when used with
|
||||
an operator, because it's not linewise. {not in Vi}
|
||||
an operator, because it's not linewise.
|
||||
|
||||
*-*
|
||||
- <minus> [count] lines upward, on the first non-blank
|
||||
@@ -320,11 +318,11 @@ _ <underscore> [count] - 1 lines downward, on the first non-blank
|
||||
G Goto line [count], default last line, on the first
|
||||
non-blank character |linewise|. If 'startofline' not
|
||||
set, keep the same column.
|
||||
G is a one of |jump-motions|.
|
||||
G is one of the |jump-motions|.
|
||||
|
||||
*<C-End>*
|
||||
<C-End> Goto line [count], default last line, on the last
|
||||
character |inclusive|. {not in Vi}
|
||||
character |inclusive|.
|
||||
|
||||
<C-Home> or *gg* *<C-Home>*
|
||||
gg Goto line [count], default first line, on the first
|
||||
@@ -342,7 +340,7 @@ gg Goto line [count], default first line, on the first
|
||||
non-blank in the line |linewise|. To compute the new
|
||||
line number this formula is used:
|
||||
({count} * number-of-lines + 99) / 100
|
||||
See also 'startofline' option. {not in Vi}
|
||||
See also 'startofline' option.
|
||||
|
||||
:[range]go[to] [count] *:go* *:goto* *go*
|
||||
[count]go Go to [count] byte in the buffer. Default [count] is
|
||||
@@ -352,7 +350,6 @@ gg Goto line [count], default first line, on the first
|
||||
'fileformat' setting.
|
||||
Also see the |line2byte()| function, and the 'o'
|
||||
option in 'statusline'.
|
||||
{not in Vi}
|
||||
{not available when compiled without the
|
||||
|+byte_offset| feature}
|
||||
|
||||
@@ -412,9 +409,7 @@ WORD before the fold.
|
||||
|
||||
Special case: "cw" and "cW" are treated like "ce" and "cE" if the cursor is
|
||||
on a non-blank. This is because "cw" is interpreted as change-word, and a
|
||||
word does not include the following white space. {Vi: "cw" when on a blank
|
||||
followed by other blanks changes only the first blank; this is probably a
|
||||
bug, because "dw" deletes all the blanks}
|
||||
word does not include the following white space.
|
||||
|
||||
Another special case: When using the "w" motion in combination with an
|
||||
operator and the last word moved over is at the end of a line, the end of
|
||||
@@ -516,7 +511,6 @@ including white space, the commands starting with "i" select an "inner" object
|
||||
without white space, or just the white space. Thus the "inner" commands
|
||||
always select less text than the "a" commands.
|
||||
|
||||
These commands are {not in Vi}.
|
||||
These commands are not available when the |+textobjects| feature has been
|
||||
disabled at compile time.
|
||||
Also see `gn` and `gN`, operating on the last search pattern.
|
||||
@@ -780,7 +774,7 @@ m< or m> Set the |'<| or |'>| mark. Useful to change what the
|
||||
|
||||
*'A* *'0* *`A* *`0*
|
||||
'{A-Z0-9} `{A-Z0-9} To the mark {A-Z0-9} in the file where it was set (not
|
||||
a motion command when in another file). {not in Vi}
|
||||
a motion command when in another file).
|
||||
|
||||
*g'* *g'a* *g`* *g`a*
|
||||
g'{mark} g`{mark}
|
||||
@@ -790,18 +784,17 @@ g'{mark} g`{mark}
|
||||
< jumps to the last known position in a file. See
|
||||
$VIMRUNTIME/vimrc_example.vim.
|
||||
Also see |:keepjumps|.
|
||||
{not in Vi}
|
||||
|
||||
*:marks*
|
||||
:marks List all the current marks (not a motion command).
|
||||
The |'(|, |')|, |'{| and |'}| marks are not listed.
|
||||
The first column has number zero.
|
||||
{not in Vi}
|
||||
|
||||
*E283*
|
||||
:marks {arg} List the marks that are mentioned in {arg} (not a
|
||||
motion command). For example: >
|
||||
:marks aB
|
||||
< to list marks 'a' and 'B'. {not in Vi}
|
||||
< to list marks 'a' and 'B'.
|
||||
|
||||
*:delm* *:delmarks*
|
||||
:delm[arks] {marks} Delete the specified marks. Marks that can be deleted
|
||||
@@ -815,11 +808,9 @@ g'{mark} g`{mark}
|
||||
:delmarks p-z deletes marks in the range p to z
|
||||
:delmarks ^.[] deletes marks ^ . [ ]
|
||||
:delmarks \" deletes mark "
|
||||
< {not in Vi}
|
||||
|
||||
:delm[arks]! Delete all marks for the current buffer, but not marks
|
||||
A-Z or 0-9.
|
||||
{not in Vi}
|
||||
|
||||
A mark is not visible in any way. It is just a position in the file that is
|
||||
remembered. Do not confuse marks with named registers, they are totally
|
||||
@@ -838,12 +829,12 @@ deletes the lines from the cursor position to mark 't'. Hint: Use mark 't' for
|
||||
Top, 'b' for Bottom, etc.. Lowercase marks are restored when using undo and
|
||||
redo.
|
||||
|
||||
Uppercase marks 'A to 'Z include the file name. {Vi: no uppercase marks} You
|
||||
can use them to jump from file to file. You can only use an uppercase mark
|
||||
with an operator if the mark is in the current file. The line number of the
|
||||
mark remains correct, even if you insert/delete lines or edit another file for
|
||||
a moment. When the 'viminfo' option is not empty, uppercase marks are kept in
|
||||
the .viminfo file. See |viminfo-file-marks|.
|
||||
Uppercase marks 'A to 'Z include the file name. You can use them to jump from
|
||||
file to file. You can only use an uppercase mark with an operator if the mark
|
||||
is in the current file. The line number of the mark remains correct, even if
|
||||
you insert/delete lines or edit another file for a moment. When the 'viminfo'
|
||||
option is not empty, uppercase marks are kept in the .viminfo file. See
|
||||
|viminfo-file-marks|.
|
||||
|
||||
Numbered marks '0 to '9 are quite different. They can not be set directly.
|
||||
They are only present when using a viminfo file |viminfo-file|. Basically '0
|
||||
@@ -854,11 +845,11 @@ Numbered mark should be stored. See |viminfo-file-marks|.
|
||||
|
||||
*'[* *`[*
|
||||
'[ `[ To the first character of the previously changed
|
||||
or yanked text. {not in Vi}
|
||||
or yanked text.
|
||||
|
||||
*']* *`]*
|
||||
'] `] To the last character of the previously changed or
|
||||
yanked text. {not in Vi}
|
||||
yanked text.
|
||||
|
||||
After executing an operator the Cursor is put at the beginning of the text
|
||||
that was operated upon. After a put command ("p" or "P") the cursor is
|
||||
@@ -876,7 +867,7 @@ was made yet in the current file.
|
||||
'< `< To the first line or character of the last selected
|
||||
Visual area in the current buffer. For block mode it
|
||||
may also be the last character in the first line (to
|
||||
be able to define the block). {not in Vi}.
|
||||
be able to define the block).
|
||||
|
||||
*'>* *`>*
|
||||
'> `> To the last line or character of the last selected
|
||||
@@ -884,7 +875,7 @@ was made yet in the current file.
|
||||
may also be the first character of the last line (to
|
||||
be able to define the block). Note that 'selection'
|
||||
applies, the position may be just after the Visual
|
||||
area. {not in Vi}.
|
||||
area.
|
||||
|
||||
*''* *``*
|
||||
'' `` To the position before the latest jump, or where the
|
||||
@@ -900,13 +891,12 @@ was made yet in the current file.
|
||||
Only one position is remembered per buffer, not one
|
||||
for each window. As long as the buffer is visible in
|
||||
a window the position won't be changed.
|
||||
{not in Vi}.
|
||||
|
||||
*'^* *`^*
|
||||
'^ `^ To the position where the cursor was the last time
|
||||
when Insert mode was stopped. This is used by the
|
||||
|gi| command. Not set when the |:keepjumps| command
|
||||
modifier was used. {not in Vi}
|
||||
modifier was used.
|
||||
|
||||
*'.* *`.*
|
||||
'. `. To the position where the last change was made. The
|
||||
@@ -916,30 +906,29 @@ was made yet in the current file.
|
||||
command changed. For example when inserting a word,
|
||||
the position will be on the last character.
|
||||
To jump to older changes use |g;|.
|
||||
{not in Vi}
|
||||
|
||||
*'(* *`(*
|
||||
'( `( To the start of the current sentence, like the |(|
|
||||
command. {not in Vi}
|
||||
command.
|
||||
|
||||
*')* *`)*
|
||||
') `) To the end of the current sentence, like the |)|
|
||||
command. {not in Vi}
|
||||
command.
|
||||
|
||||
*'{* *`{*
|
||||
'{ `{ To the start of the current paragraph, like the |{|
|
||||
command. {not in Vi}
|
||||
command.
|
||||
|
||||
*'}* *`}*
|
||||
'} `} To the end of the current paragraph, like the |}|
|
||||
command. {not in Vi}
|
||||
command.
|
||||
|
||||
These commands are not marks themselves, but jump to a mark:
|
||||
|
||||
*]'*
|
||||
]' [count] times to next line with a lowercase mark below
|
||||
the cursor, on the first non-blank character in the
|
||||
line. {not in Vi}
|
||||
line.
|
||||
|
||||
*]`*
|
||||
]` [count] times to lowercase mark after the cursor. {not
|
||||
@@ -948,11 +937,10 @@ These commands are not marks themselves, but jump to a mark:
|
||||
*['*
|
||||
[' [count] times to previous line with a lowercase mark
|
||||
before the cursor, on the first non-blank character in
|
||||
the line. {not in Vi}
|
||||
the line.
|
||||
|
||||
*[`*
|
||||
[` [count] times to lowercase mark before the cursor.
|
||||
{not in Vi}
|
||||
|
||||
|
||||
:loc[kmarks] {command} *:loc* *:lockmarks*
|
||||
@@ -1021,32 +1009,28 @@ 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
|
||||
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
|
||||
following commands are "jump" commands: "'", "`", "G", "/", "?", "n", "N",
|
||||
"%", "(", ")", "[[", "]]", "{", "}", ":s", ":tag", "L", "M", "H" and the
|
||||
commands that start editing a new file.
|
||||
commands that start editing a new file.
|
||||
|
||||
*CTRL-O*
|
||||
CTRL-O Go to [count] Older cursor position in jump list
|
||||
(not a motion command).
|
||||
{not in Vi}
|
||||
{not available without the |+jumplist| feature}
|
||||
|
||||
<Tab> or *CTRL-I* *<Tab>*
|
||||
CTRL-I Go to [count] newer cursor position in jump list
|
||||
(not a motion command).
|
||||
{not in Vi}
|
||||
{not available without the |+jumplist| feature}
|
||||
|
||||
*:ju* *:jumps*
|
||||
:ju[mps] Print the jump list (not a motion command).
|
||||
{not in Vi}
|
||||
{not available without the |+jumplist| feature}
|
||||
|
||||
*:cle* *:clearjumps*
|
||||
:cle[arjumps] Clear the jump list of the current window.
|
||||
{not in Vi}
|
||||
{not available without the |+jumplist| feature}
|
||||
|
||||
*jumplist*
|
||||
@@ -1131,14 +1115,12 @@ g; Go to [count] older position in change list.
|
||||
positions go to the oldest change.
|
||||
If there is no older change an error message is given.
|
||||
(not a motion command)
|
||||
{not in Vi}
|
||||
{not available without the |+jumplist| feature}
|
||||
|
||||
*g,* *E663*
|
||||
g, Go to [count] newer cursor position in change list.
|
||||
Just like |g;| but in the opposite direction.
|
||||
(not a motion command)
|
||||
{not in Vi}
|
||||
{not available without the |+jumplist| feature}
|
||||
|
||||
When using a count you jump as far back or forward as possible. Thus you can
|
||||
@@ -1229,19 +1211,19 @@ remembered.
|
||||
|
||||
*[(*
|
||||
[( go to [count] previous unmatched '('.
|
||||
|exclusive| motion. {not in Vi}
|
||||
|exclusive| motion.
|
||||
|
||||
*[{*
|
||||
[{ go to [count] previous unmatched '{'.
|
||||
|exclusive| motion. {not in Vi}
|
||||
|exclusive| motion.
|
||||
|
||||
*])*
|
||||
]) go to [count] next unmatched ')'.
|
||||
|exclusive| motion. {not in Vi}
|
||||
|exclusive| motion.
|
||||
|
||||
*]}*
|
||||
]} go to [count] next unmatched '}'.
|
||||
|exclusive| motion. {not in Vi}
|
||||
|exclusive| motion.
|
||||
|
||||
The above four commands can be used to go to the start or end of the current
|
||||
code block. It is like doing "%" on the '(', ')', '{' or '}' at the other
|
||||
@@ -1254,25 +1236,25 @@ bring you back to the switch statement.
|
||||
similar structured language). When not before the
|
||||
start of a method, jump to the start or end of the
|
||||
class. When no '{' is found after the cursor, this is
|
||||
an error. |exclusive| motion. {not in Vi}
|
||||
an error. |exclusive| motion.
|
||||
*]M*
|
||||
]M Go to [count] next end of a method (for Java or
|
||||
similar structured language). When not before the end
|
||||
of a method, jump to the start or end of the class.
|
||||
When no '}' is found after the cursor, this is an
|
||||
error. |exclusive| motion. {not in Vi}
|
||||
error. |exclusive| motion.
|
||||
*[m*
|
||||
[m Go to [count] previous start of a method (for Java or
|
||||
similar structured language). When not after the
|
||||
start of a method, jump to the start or end of the
|
||||
class. When no '{' is found before the cursor this is
|
||||
an error. |exclusive| motion. {not in Vi}
|
||||
an error. |exclusive| motion.
|
||||
*[M*
|
||||
[M Go to [count] previous end of a method (for Java or
|
||||
similar structured language). When not after the
|
||||
end of a method, jump to the start or end of the
|
||||
class. When no '}' is found before the cursor this is
|
||||
an error. |exclusive| motion. {not in Vi}
|
||||
an error. |exclusive| motion.
|
||||
|
||||
The above two commands assume that the file contains a class with methods.
|
||||
The class definition is surrounded in '{' and '}'. Each method in the class
|
||||
@@ -1295,11 +1277,11 @@ Using "3[m" will jump to the start of the class.
|
||||
|
||||
*[#*
|
||||
[# go to [count] previous unmatched "#if" or "#else".
|
||||
|exclusive| motion. {not in Vi}
|
||||
|exclusive| motion.
|
||||
|
||||
*]#*
|
||||
]# go to [count] next unmatched "#else" or "#endif".
|
||||
|exclusive| motion. {not in Vi}
|
||||
|exclusive| motion.
|
||||
|
||||
These two commands work in C programs that contain #if/#else/#endif
|
||||
constructs. It brings you to the start or end of the #if/#else/#endif where
|
||||
@@ -1307,11 +1289,11 @@ the current line is included. You can then use "%" to go to the matching line.
|
||||
|
||||
*[star* *[/*
|
||||
[* or [/ go to [count] previous start of a C comment "/*".
|
||||
|exclusive| motion. {not in Vi}
|
||||
|exclusive| motion.
|
||||
|
||||
*]star* *]/*
|
||||
]* or ]/ go to [count] next end of a C comment "*/".
|
||||
|exclusive| motion. {not in Vi}
|
||||
|exclusive| motion.
|
||||
|
||||
|
||||
*H*
|
||||
@@ -1339,6 +1321,6 @@ L To line [count] from bottom of window (default: Last
|
||||
<LeftMouse> Moves to the position on the screen where the mouse
|
||||
click is |exclusive|. See also |<LeftMouse>|. If 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.
|
||||
|
||||
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 May 05
|
||||
|
||||
|
||||
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.
|
||||
|
||||
@@ -24,7 +24,6 @@ Vim NetBeans Protocol: a socket interface for Vim integration into an IDE.
|
||||
10.4. Obtaining the External Editor Module |obtaining-exted|
|
||||
10.5. Setting up NetBeans to run with Vim |netbeans-setup|
|
||||
|
||||
{Vi does not have any of these features}
|
||||
{only available when compiled with the |+netbeans_intg| feature}
|
||||
|
||||
==============================================================================
|
||||
@@ -123,8 +122,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,
|
||||
Athena and Motif.
|
||||
|
||||
If Motif support is required the user must supply XPM libraries. See
|
||||
|workshop-xpm| for details on obtaining the latest version of XPM.
|
||||
*netbeans-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:
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
be a permanent restriction.
|
||||
|
||||
- The cscope interface (|cscope|) doesn't work for the version of cscope
|
||||
that we use on our mainframe. We have a copy of version 15.0b12, and it
|
||||
causes Vim to hang when using the "cscope add" command. I'm guessing that
|
||||
the binary format of the cscope database isn't quite what Vim is expecting.
|
||||
- The cscope interface (|cscope|) doesn't work for the version of cscope that
|
||||
we use on our mainframe. We have a copy of version 15.0b12, and it causes
|
||||
Vim to hang when using the "cscope add" command. I'm guessing that the
|
||||
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
|
||||
much success. If anyone is interested in trying, drop me a line if you
|
||||
make any progress.
|
||||
@@ -131,4 +131,4 @@ Also look at:
|
||||
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
vim:tw=78:fo=tcq2:ts=8:noet:ft=help:norl:
|
||||
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*os_mac.txt* For Vim version 8.1. Last change: 2018 Jan 21
|
||||
*os_mac.txt* For Vim version 8.1. Last change: 2019 Apr 21
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar et al.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*os_vms.txt* For Vim version 8.1. Last change: 2018 May 06
|
||||
*os_vms.txt* For Vim version 8.1. Last change: 2019 Jan 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL
|
||||
@@ -104,6 +104,8 @@ to set up GUI fonts etc. correctly. See :help xim from Vim command prompt.
|
||||
You may want to use GUI with GTK icons, then you have to download and install
|
||||
GTK for OpenVMS or at least runtime shareable images - LIBGTK from
|
||||
polarhome.com
|
||||
Post 7.2 Vim uses GTK2+ while the last GTK on OpenVMS is 1.2.10, therefore
|
||||
the GTK build is no longer available.
|
||||
|
||||
For more advanced questions, please send your problem to Vim on VMS mailing
|
||||
list <vim-vms@polarhome.com>
|
||||
@@ -201,10 +203,10 @@ You can check that everything is at the right place with the :version command.
|
||||
|
||||
Example LOGIN.COM: >
|
||||
|
||||
$ define/nolog VIM RF10:[UTIL.VIM]
|
||||
$ define/nolog VIM DKA0:[UTIL.VIM81]
|
||||
$ vi*m :== mcr VIM:VIM.EXE
|
||||
$ gv*im:== spawn/nowait/input=NLA0 mcr VIM:VIM.EXE -g -GEOMETRY 80x40
|
||||
$ set disp/create/node=192.168.5.223/trans=tcpip
|
||||
$ set disp/create/node=192.168.10.202/trans=tcpip
|
||||
|
||||
Note: This set-up should be enough, if you are working on a standalone server or
|
||||
clustered environment, but if you want to use Vim as an internode editor in
|
||||
@@ -764,6 +766,16 @@ GNU_TOOLS.ZIP package downloadable from http://www.polarhome.com/vim/
|
||||
|
||||
9. VMS related changes *vms-changes*
|
||||
|
||||
Version 8.1
|
||||
- make necessary changes to build v8.1 on VMS
|
||||
|
||||
Version 8.0
|
||||
- solve the 100% cpu usage issue while waiting for a keystroke
|
||||
- correct the VMS warnings and errors around handling the INFINITY (used in json.c)
|
||||
- minor VMS port related changes
|
||||
- correct the make_vms.mms file for 8.0
|
||||
- fix [.TESTDIR]make_vms.mms for 8.0
|
||||
|
||||
Version 7.4
|
||||
- Undo: VMS can not handle more than one dot in the filenames use "dir/name" -> "dir/_un_name"
|
||||
add _un_ at the beginning to keep the extension
|
||||
|
||||
@@ -303,4 +303,4 @@ A. Yes, place your favorite icon in bitmaps/vim.ico in a directory of
|
||||
'runtimepath'. For example ~/vimfiles/bitmaps/vim.ico.
|
||||
|
||||
|
||||
vim:tw=78:fo=tcq2:ts=8:noet:ft=help:norl:
|
||||
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*pattern.txt* For Vim version 8.1. Last change: 2018 Mar 13
|
||||
*pattern.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -78,24 +78,24 @@ N Repeat the latest "/" or "?" [count] times in
|
||||
4. the first non-blank word after the cursor,
|
||||
in the current line
|
||||
Only whole keywords are searched for, like with the
|
||||
command "/\<keyword\>". |exclusive| {not in Vi}
|
||||
command "/\<keyword\>". |exclusive|
|
||||
'ignorecase' is used, 'smartcase' is not.
|
||||
|
||||
*#*
|
||||
# Same as "*", but search backward. The pound sign
|
||||
(character 163) also works. If the "#" key works as
|
||||
backspace, try using "stty erase <BS>" before starting
|
||||
Vim (<BS> is CTRL-H or a real backspace). {not in Vi}
|
||||
Vim (<BS> is CTRL-H or a real backspace).
|
||||
|
||||
*gstar*
|
||||
g* Like "*", but don't put "\<" and "\>" around the word.
|
||||
This makes the search also find matches that are not a
|
||||
whole word. {not in Vi}
|
||||
whole word.
|
||||
|
||||
*g#*
|
||||
g# Like "#", but don't put "\<" and "\>" around the word.
|
||||
This makes the search also find matches that are not a
|
||||
whole word. {not in Vi}
|
||||
whole word.
|
||||
|
||||
*gd*
|
||||
gd Goto local Declaration. When the cursor is on a local
|
||||
@@ -113,22 +113,21 @@ gd Goto local Declaration. When the cursor is on a local
|
||||
searched use the commands listed in |include-search|.
|
||||
After this command |n| searches forward for the next
|
||||
match (not backward).
|
||||
{not in Vi}
|
||||
|
||||
*gD*
|
||||
gD Goto global Declaration. When the cursor is on a
|
||||
global variable that is defined in the file, this
|
||||
command will jump to its declaration. This works just
|
||||
like "gd", except that the search for the keyword
|
||||
always starts in line 1. {not in Vi}
|
||||
always starts in line 1.
|
||||
|
||||
*1gd*
|
||||
1gd Like "gd", but ignore matches inside a {} block that
|
||||
ends before the cursor position. {not in Vi}
|
||||
ends before the cursor position.
|
||||
|
||||
*1gD*
|
||||
1gD Like "gD", but ignore matches inside a {} block that
|
||||
ends before the cursor position. {not in Vi}
|
||||
ends before the cursor position.
|
||||
|
||||
*CTRL-C*
|
||||
CTRL-C Interrupt current (search) command. Use CTRL-Break on
|
||||
@@ -152,6 +151,17 @@ use <Esc> to abandon the search.
|
||||
All matches for the last used search pattern will be highlighted if you set
|
||||
the 'hlsearch' option. This can be suspended with the |:nohlsearch| command.
|
||||
|
||||
When 'shortmess' does not include the "S" flag, Vim will automatically show an
|
||||
index, on which the cursor is. This can look like this: >
|
||||
|
||||
[1/5] Cursor is on first of 5 matches.
|
||||
[1/>99] Cursor is on first of more than 99 matches.
|
||||
[>99/>99] Cursor is after 99 match of more than 99 matches.
|
||||
[?/??] Unknown how many matches exists, generating the
|
||||
statistics was aborted because of search timeout.
|
||||
|
||||
Note: the count does not take offset into account.
|
||||
|
||||
When no match is found you get the error: *E486* Pattern not found
|
||||
Note that for the |:global| command this behaves like a normal message, for Vi
|
||||
compatibility. For the |:s| command the "e" flag can be used to avoid the
|
||||
@@ -160,7 +170,7 @@ error message |:s_flags|.
|
||||
*search-offset* *{offset}*
|
||||
These commands search for the specified pattern. With "/" and "?" an
|
||||
additional offset may be given. There are two types of offsets: line offsets
|
||||
and character offsets. {the character offsets are not in Vi}
|
||||
and character offsets.
|
||||
|
||||
The offset gives the cursor position relative to the found match:
|
||||
[num] [num] lines downwards, in column 1
|
||||
@@ -295,7 +305,7 @@ the "*" is under your right hand middle finger (search to the right and down).
|
||||
|
||||
*E956*
|
||||
In very rare cases a regular expression is used recursively. This can happen
|
||||
when executing a pattern takes a long time and when checkig for messages on
|
||||
when executing a pattern takes a long time and when checking for messages on
|
||||
channels a callback is invoked that also uses a pattern or an autocommand is
|
||||
triggered. In most cases this should be fine, but if a pattern is in use when
|
||||
it's used again it fails. Usually this means there is something wrong with
|
||||
@@ -398,11 +408,11 @@ Use of "\m" makes the pattern after it be interpreted as if 'magic' is set,
|
||||
ignoring the actual value of the 'magic' option.
|
||||
Use of "\M" makes the pattern after it be interpreted as if 'nomagic' is used.
|
||||
*/\v* */\V*
|
||||
Use of "\v" means that in the pattern after it all ASCII characters except
|
||||
'0'-'9', 'a'-'z', 'A'-'Z' and '_' have a special meaning. "very magic"
|
||||
Use of "\v" means that after it, all ASCII characters except '0'-'9', 'a'-'z',
|
||||
'A'-'Z' and '_' have special meaning: "very magic"
|
||||
|
||||
Use of "\V" means that in the pattern after it only the backslash and the
|
||||
terminating character (/ or ?) has a special meaning. "very nomagic"
|
||||
Use of "\V" means that after it, only a backslash and terminating character
|
||||
(usually / or ?) have special meaning: "very nomagic"
|
||||
|
||||
Examples:
|
||||
after: \v \m \M \V matches ~
|
||||
@@ -436,30 +446,28 @@ More explanation and examples below, follow the links. *E64* *E871*
|
||||
multi ~
|
||||
'magic' 'nomagic' matches of the preceding atom ~
|
||||
|/star| * \* 0 or more as many as possible
|
||||
|/\+| \+ \+ 1 or more as many as possible (*)
|
||||
|/\=| \= \= 0 or 1 as many as possible (*)
|
||||
|/\?| \? \? 0 or 1 as many as possible (*)
|
||||
|/\+| \+ \+ 1 or more as many as possible
|
||||
|/\=| \= \= 0 or 1 as many as possible
|
||||
|/\?| \? \? 0 or 1 as many as possible
|
||||
|
||||
|/\{| \{n,m} \{n,m} n to m as many as possible (*)
|
||||
\{n} \{n} n exactly (*)
|
||||
\{n,} \{n,} at least n as many as possible (*)
|
||||
\{,m} \{,m} 0 to m as many as possible (*)
|
||||
\{} \{} 0 or more as many as possible (same as *) (*)
|
||||
|/\{| \{n,m} \{n,m} n to m as many as possible
|
||||
\{n} \{n} n exactly
|
||||
\{n,} \{n,} at least n as many as possible
|
||||
\{,m} \{,m} 0 to m as many as possible
|
||||
\{} \{} 0 or more as many as possible (same as *)
|
||||
|
||||
|/\{-| \{-n,m} \{-n,m} n to m as few as possible (*)
|
||||
\{-n} \{-n} n exactly (*)
|
||||
\{-n,} \{-n,} at least n as few as possible (*)
|
||||
\{-,m} \{-,m} 0 to m as few as possible (*)
|
||||
\{-} \{-} 0 or more as few as possible (*)
|
||||
|/\{-| \{-n,m} \{-n,m} n to m as few as possible
|
||||
\{-n} \{-n} n exactly
|
||||
\{-n,} \{-n,} at least n as few as possible
|
||||
\{-,m} \{-,m} 0 to m as few as possible
|
||||
\{-} \{-} 0 or more as few as possible
|
||||
|
||||
*E59*
|
||||
|/\@>| \@> \@> 1, like matching a whole pattern (*)
|
||||
|/\@=| \@= \@= nothing, requires a match |/zero-width| (*)
|
||||
|/\@!| \@! \@! nothing, requires NO match |/zero-width| (*)
|
||||
|/\@<=| \@<= \@<= nothing, requires a match behind |/zero-width| (*)
|
||||
|/\@<!| \@<! \@<! nothing, requires NO match behind |/zero-width| (*)
|
||||
|
||||
(*) {not in Vi}
|
||||
|/\@>| \@> \@> 1, like matching a whole pattern
|
||||
|/\@=| \@= \@= nothing, requires a match |/zero-width|
|
||||
|/\@!| \@! \@! nothing, requires NO match |/zero-width|
|
||||
|/\@<=| \@<= \@<= nothing, requires a match behind |/zero-width|
|
||||
|/\@<!| \@<! \@<! nothing, requires NO match behind |/zero-width|
|
||||
|
||||
|
||||
Overview of ordinary atoms. */ordinary-atom*
|
||||
@@ -488,7 +496,7 @@ More explanation and examples below, follow the links.
|
||||
|/\%c| \%23c \%23c in column 23 |/zero-width|
|
||||
|/\%v| \%23v \%23v in virtual column 23 |/zero-width|
|
||||
|
||||
Character classes {not in Vi}: */character-classes*
|
||||
Character classes: */character-classes*
|
||||
magic nomagic matches ~
|
||||
|/\i| \i \i identifier character (see 'isident' option)
|
||||
|/\I| \I \I like "\i", but excluding digits
|
||||
@@ -527,7 +535,7 @@ Character classes {not in Vi}: */character-classes*
|
||||
|/\b| \b \b <BS>
|
||||
|/\n| \n \n end-of-line
|
||||
|/~| ~ \~ last given substitute string
|
||||
|/\1| \1 \1 same string as matched by first \(\) {not in Vi}
|
||||
|/\1| \1 \1 same string as matched by first \(\)
|
||||
|/\2| \2 \2 Like "\1", but uses second \(\)
|
||||
...
|
||||
|/\9| \9 \9 Like "\1", but uses ninth \(\)
|
||||
@@ -605,20 +613,19 @@ overview.
|
||||
character at a time.
|
||||
|
||||
*/\+*
|
||||
\+ Matches 1 or more of the preceding atom, as many as possible. {not in
|
||||
Vi}
|
||||
\+ Matches 1 or more of the preceding atom, as many as possible.
|
||||
Example matches ~
|
||||
^.\+$ any non-empty line
|
||||
\s\+ white space of at least one character
|
||||
|
||||
*/\=*
|
||||
\= Matches 0 or 1 of the preceding atom, as many as possible. {not in Vi}
|
||||
\= Matches 0 or 1 of the preceding atom, as many as possible.
|
||||
Example matches ~
|
||||
foo\= "fo" and "foo"
|
||||
|
||||
*/\?*
|
||||
\? Just like \=. Cannot be used when searching backwards with the "?"
|
||||
command. {not in Vi}
|
||||
command.
|
||||
|
||||
*/\{* *E60* *E554* *E870*
|
||||
\{n,m} Matches n to m of the preceding atom, as many as possible
|
||||
@@ -632,7 +639,6 @@ overview.
|
||||
\{-n,} matches at least n of the preceding atom, as few as possible
|
||||
\{-,m} matches 0 to m of the preceding atom, as few as possible
|
||||
\{-} matches 0 or more of the preceding atom, as few as possible
|
||||
{Vi does not have any of these}
|
||||
|
||||
n and m are positive decimal numbers or zero
|
||||
*non-greedy*
|
||||
@@ -655,7 +661,7 @@ overview.
|
||||
The } may optionally be preceded with a backslash: \{n,m\}.
|
||||
|
||||
*/\@=*
|
||||
\@= Matches the preceding atom with zero width. {not in Vi}
|
||||
\@= Matches the preceding atom with zero width.
|
||||
Like "(?=pattern)" in Perl.
|
||||
Example matches ~
|
||||
foo\(bar\)\@= "foo" in "foobar"
|
||||
@@ -675,7 +681,7 @@ overview.
|
||||
|
||||
*/\@!*
|
||||
\@! Matches with zero width if the preceding atom does NOT match at the
|
||||
current position. |/zero-width| {not in Vi}
|
||||
current position. |/zero-width|
|
||||
Like "(?!pattern)" in Perl.
|
||||
Example matches ~
|
||||
foo\(bar\)\@! any "foo" not followed by "bar"
|
||||
@@ -705,7 +711,7 @@ overview.
|
||||
|
||||
*/\@<=*
|
||||
\@<= Matches with zero width if the preceding atom matches just before what
|
||||
follows. |/zero-width| {not in Vi}
|
||||
follows. |/zero-width|
|
||||
Like "(?<=pattern)" in Perl, but Vim allows non-fixed-width patterns.
|
||||
Example matches ~
|
||||
\(an\_s\+\)\@<=file "file" after "an" and white space or an
|
||||
@@ -749,7 +755,7 @@ overview.
|
||||
\@<! Matches with zero width if the preceding atom does NOT match just
|
||||
before what follows. Thus this matches if there is no position in the
|
||||
current or previous line where the atom matches such that it ends just
|
||||
before what follows. |/zero-width| {not in Vi}
|
||||
before what follows. |/zero-width|
|
||||
Like "(?<!pattern)" in Perl, but Vim allows non-fixed-width patterns.
|
||||
The match with the preceding atom is made to end just before the match
|
||||
with what follows, thus an atom that ends in ".*" will work.
|
||||
@@ -765,7 +771,7 @@ overview.
|
||||
slow.
|
||||
|
||||
*/\@>*
|
||||
\@> Matches the preceding atom like matching a whole pattern. {not in Vi}
|
||||
\@> Matches the preceding atom like matching a whole pattern.
|
||||
Like "(?>pattern)" in Perl.
|
||||
Example matches ~
|
||||
\(a*\)\@>a nothing (the "a*" takes all the "a"'s, there can't be
|
||||
@@ -844,7 +850,7 @@ $ At end of pattern or in front of "\|", "\)" or "\n" ('magic' on):
|
||||
/\(.\{-}\zsFab\)\{3}
|
||||
< Finds the third occurrence of "Fab".
|
||||
This cannot be followed by a multi. *E888*
|
||||
{not in Vi} {not available when compiled without the |+syntax| feature}
|
||||
{not available when compiled without the |+syntax| feature}
|
||||
*/\ze*
|
||||
\ze Matches at any position, and sets the end of the match there: The
|
||||
previous char is the last char of the whole match. |/zero-width|
|
||||
@@ -853,17 +859,17 @@ $ At end of pattern or in front of "\|", "\)" or "\n" ('magic' on):
|
||||
Example: "end\ze\(if\|for\)" matches the "end" in "endif" and
|
||||
"endfor".
|
||||
This cannot be followed by a multi. |E888|
|
||||
{not in Vi} {not available when compiled without the |+syntax| feature}
|
||||
{not available when compiled without the |+syntax| feature}
|
||||
|
||||
*/\%^* *start-of-file*
|
||||
\%^ Matches start of the file. When matching with a string, matches the
|
||||
start of the string. {not in Vi}
|
||||
start of the string.
|
||||
For example, to find the first "VIM" in a file: >
|
||||
/\%^\_.\{-}\zsVIM
|
||||
<
|
||||
*/\%$* *end-of-file*
|
||||
\%$ Matches end of the file. When matching with a string, matches the
|
||||
end of the string. {not in Vi}
|
||||
end of the string.
|
||||
Note that this does NOT find the last "VIM" in a file: >
|
||||
/VIM\_.\{-}\%$
|
||||
< It will find the next VIM, because the part after it will always
|
||||
@@ -887,7 +893,7 @@ $ At end of pattern or in front of "\|", "\)" or "\n" ('magic' on):
|
||||
|
||||
*/\%#* *cursor-position*
|
||||
\%# Matches with the cursor position. Only works when matching in a
|
||||
buffer displayed in a window. {not in Vi}
|
||||
buffer displayed in a window.
|
||||
WARNING: When the cursor is moved after the pattern was used, the
|
||||
result becomes invalid. Vim doesn't automatically update the matches.
|
||||
This is especially relevant for syntax highlighting and 'hlsearch'.
|
||||
@@ -908,7 +914,6 @@ $ At end of pattern or in front of "\|", "\)" or "\n" ('magic' on):
|
||||
< Note that two dots are required to include mark 'e in the match. That
|
||||
is because "\%<'e" matches at the character before the 'e mark, and
|
||||
since it's a |/zero-width| match it doesn't include that character.
|
||||
{not in Vi}
|
||||
WARNING: When the mark is moved after the pattern was used, the result
|
||||
becomes invalid. Vim doesn't automatically update the matches.
|
||||
Similar to moving the cursor for "\%#" |/\%#|.
|
||||
@@ -918,7 +923,7 @@ $ At end of pattern or in front of "\|", "\)" or "\n" ('magic' on):
|
||||
\%<23l Matches above a specific line (lower line number).
|
||||
\%>23l Matches below a specific line (higher line number).
|
||||
These three can be used to match specific lines in a buffer. The "23"
|
||||
can be any line number. The first line is 1. {not in Vi}
|
||||
can be any line number. The first line is 1.
|
||||
WARNING: When inserting or deleting lines Vim does not automatically
|
||||
update the matches. This means Syntax highlighting quickly becomes
|
||||
wrong.
|
||||
@@ -934,7 +939,7 @@ $ At end of pattern or in front of "\|", "\)" or "\n" ('magic' on):
|
||||
These three can be used to match specific columns in a buffer or
|
||||
string. The "23" can be any column number. The first column is 1.
|
||||
Actually, the column is the byte number (thus it's not exactly right
|
||||
for multi-byte characters). {not in Vi}
|
||||
for multi-byte characters).
|
||||
WARNING: When inserting or deleting text Vim does not automatically
|
||||
update the matches. This means Syntax highlighting quickly becomes
|
||||
wrong.
|
||||
@@ -956,7 +961,7 @@ $ At end of pattern or in front of "\|", "\)" or "\n" ('magic' on):
|
||||
The "23" can be any column number. The first column is 1.
|
||||
Note that some virtual column positions will never match, because they
|
||||
are halfway through a tab or other character that occupies more than
|
||||
one screen character. {not in Vi}
|
||||
one screen character.
|
||||
WARNING: When inserting or deleting text Vim does not automatically
|
||||
update highlighted matches. This means Syntax highlighting quickly
|
||||
becomes wrong.
|
||||
@@ -979,7 +984,7 @@ $ At end of pattern or in front of "\|", "\)" or "\n" ('magic' on):
|
||||
where ".*" matches zero characters.
|
||||
<
|
||||
|
||||
Character classes: {not in Vi}
|
||||
Character classes:
|
||||
\i identifier character (see 'isident' option) */\i*
|
||||
\I like "\i", but excluding digits */\I*
|
||||
\k keyword character (see 'iskeyword' option) */\k*
|
||||
@@ -1039,7 +1044,7 @@ match ASCII characters, as indicated by the range.
|
||||
*E51* *E54* *E55* *E872* *E873*
|
||||
|
||||
\1 Matches the same string that was matched by */\1* *E65*
|
||||
the first sub-expression in \( and \). {not in Vi}
|
||||
the first sub-expression in \( and \).
|
||||
Example: "\([a-z]\).\1" matches "ata", "ehe", "tot", etc.
|
||||
\2 Like "\1", but uses second sub-expression, */\2*
|
||||
... */\3*
|
||||
@@ -1051,7 +1056,6 @@ match ASCII characters, as indicated by the range.
|
||||
\%(\) A pattern enclosed by escaped parentheses. */\%(\)* */\%(* *E53*
|
||||
Just like \(\), but without counting it as a sub-expression. This
|
||||
allows using more groups and it's a little bit faster.
|
||||
{not in Vi}
|
||||
|
||||
x A single character, with no special meaning, matches itself
|
||||
|
||||
@@ -1118,6 +1122,9 @@ x A single character, with no special meaning, matches itself
|
||||
*[:tab:]* [:tab:] the <Tab> character
|
||||
*[:escape:]* [:escape:] the <Esc> character
|
||||
*[:backspace:]* [:backspace:] the <BS> character
|
||||
*[:ident:]* [:ident:] identifier character (same as "\i")
|
||||
*[:keyword:]* [:keyword:] keyword character (same as "\k")
|
||||
*[:fname:]* [:fname:] file name character (same as "\f")
|
||||
The brackets in character class expressions are additional to the
|
||||
brackets delimiting a collection. For example, the following is a
|
||||
plausible pattern for a UNIX filename: "[-./[:alnum:]_~]\+" That is,
|
||||
@@ -1132,7 +1139,7 @@ x A single character, with no special meaning, matches itself
|
||||
The "Func" column shows what library function is used. The
|
||||
implementation depends on the system. Otherwise:
|
||||
(1) Uses islower() for ASCII and Vim builtin rules for other
|
||||
characters when built with the |+multi_byte| feature.
|
||||
characters.
|
||||
(2) Uses Vim builtin rules
|
||||
(3) As with (1) but using isupper()
|
||||
*/[[=* *[==]*
|
||||
@@ -1149,7 +1156,7 @@ x A single character, with no special meaning, matches itself
|
||||
backslash before it: "[xyz\]]", "[\^xyz]", "[xy\-z]" and "[xyz\\]".
|
||||
(Note: POSIX does not support the use of a backslash this way). For
|
||||
']' you can also make it the first character (following a possible
|
||||
"^"): "[]xyz]" or "[^]xyz]" {not in Vi}.
|
||||
"^"): "[]xyz]" or "[^]xyz]".
|
||||
For '-' you can also make it the first or last character: "[-xyz]",
|
||||
"[^-xyz]" or "[xyz-]". For '\' you can also let it be followed by
|
||||
any character that's not in "^]-\bdertnoUux". "[\xyz]" matches '\',
|
||||
@@ -1158,7 +1165,7 @@ x A single character, with no special meaning, matches itself
|
||||
- Omitting the trailing ] is not considered an error. "[]" works like
|
||||
"[]]", it matches the ']' character.
|
||||
- The following translations are accepted when the 'l' flag is not
|
||||
included in 'cpoptions' {not in Vi}:
|
||||
included in 'cpoptions':
|
||||
\e <Esc>
|
||||
\t <Tab>
|
||||
\r <CR> (NOT end-of-line!)
|
||||
@@ -1208,7 +1215,7 @@ x A single character, with no special meaning, matches itself
|
||||
\%u20AC Matches the character specified with up to four hexadecimal
|
||||
characters.
|
||||
\%U1234abcd Matches the character specified with up to eight hexadecimal
|
||||
characters.
|
||||
characters, up to 0x7fffffff
|
||||
|
||||
==============================================================================
|
||||
7. Ignoring case in a pattern */ignorecase*
|
||||
@@ -1239,7 +1246,7 @@ files. To match a <Nul> with a search pattern you can just enter CTRL-@ or
|
||||
"CTRL-V 000". This is probably just what you expect. Internally the
|
||||
character is replaced with a <NL> in the search pattern. What is unusual is
|
||||
that typing CTRL-V CTRL-J also inserts a <NL>, thus also searches for a <Nul>
|
||||
in the file. {Vi cannot handle <Nul> characters in the file at all}
|
||||
in the file.
|
||||
|
||||
*CR-used-for-NL*
|
||||
When 'fileformat' is "mac", <NL> characters in the file are stored as <CR>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*pi_gzip.txt* For Vim version 8.1. Last change: 2016 Nov 06
|
||||
*pi_gzip.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -13,8 +13,6 @@ This plugin is only available if 'compatible' is not set.
|
||||
You can avoid loading this plugin by setting the "loaded_gzip" variable: >
|
||||
:let loaded_gzip = 1
|
||||
|
||||
{Vi does not have any of this}
|
||||
|
||||
==============================================================================
|
||||
1. Autocommands *gzip-autocmd*
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*pi_netrw.txt* For Vim version 8.1. Last change: 2017 Nov 03
|
||||
*pi_netrw.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||
|
||||
------------------------------------------------
|
||||
NETRW REFERENCE MANUAL by Charles E. Campbell
|
||||
@@ -114,8 +114,6 @@ Copyright: Copyright (C) 2017 Charles E Campbell *netrw-copyright*
|
||||
13. Todo..................................................|netrw-todo|
|
||||
14. Credits...............................................|netrw-credits|
|
||||
|
||||
{Vi does not have any of this}
|
||||
|
||||
==============================================================================
|
||||
2. Starting With Netrw *netrw-start* {{{1
|
||||
|
||||
@@ -3504,7 +3502,7 @@ Example: Clear netrw's marked file list via a mapping on gu >
|
||||
- Click "Add..."
|
||||
- Set External Editor (adjust path as needed, include
|
||||
the quotes and !.! at the end):
|
||||
"c:\Program Files\Vim\vim70\gvim.exe" !.!
|
||||
"c:\Program Files\Vim\vim81\gvim.exe" !.!
|
||||
- Check that the filetype in the box below is
|
||||
{asterisk}.{asterisk} (all files), or whatever types
|
||||
you want (cec: change {asterisk} to * ; I had to
|
||||
@@ -3754,8 +3752,8 @@ by obtaining a copy of the latest (often developmental) netrw at:
|
||||
|
||||
The <netrw.vim> script is typically installed on systems as something like:
|
||||
>
|
||||
/usr/local/share/vim/vim7x/plugin/netrwPlugin.vim
|
||||
/usr/local/share/vim/vim7x/autoload/netrw.vim
|
||||
/usr/local/share/vim/vim8x/plugin/netrwPlugin.vim
|
||||
/usr/local/share/vim/vim8x/autoload/netrw.vim
|
||||
(see output of :echo &rtp)
|
||||
<
|
||||
which is loaded automatically at startup (assuming :set nocp). If you
|
||||
|
||||
274
runtime/doc/popup.txt
Normal file
274
runtime/doc/popup.txt
Normal file
@@ -0,0 +1,274 @@
|
||||
*popup.txt* For Vim version 8.1. Last change: 2019 May 12
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
||||
|
||||
Displaying text with properties attached. *popup* *popup-window*
|
||||
|
||||
THIS IS UNDER DESIGN - ANYTHING MAY STILL CHANGE
|
||||
|
||||
1. Introduction |popup-intro|
|
||||
2. Functions |popup-functions|
|
||||
3. Examples |popup-examples|
|
||||
|
||||
|
||||
{not able to use text properties when the |+textprop| feature was
|
||||
disabled at compile time}
|
||||
|
||||
==============================================================================
|
||||
1. Introduction *popup-intro*
|
||||
|
||||
We are talking about popup windows here, text that goes on top of the buffer
|
||||
text and is under control of a plugin. Other popup functionality:
|
||||
- popup menu, see |popup-menu|
|
||||
- balloon, see |balloon-eval|
|
||||
|
||||
TODO
|
||||
|
||||
==============================================================================
|
||||
2. Functions *popup-functions*
|
||||
|
||||
THIS IS UNDER DESIGN - ANYTHING MAY STILL CHANGE
|
||||
|
||||
Proposal and discussion on issue #4063: https://github.com/vim/vim/issues/4063
|
||||
|
||||
[to be moved to eval.txt later]
|
||||
|
||||
popup_show({lines}, {options}) *popup_show()*
|
||||
Open a popup window showing {lines}, which is a list of lines,
|
||||
where each line has text and text properties.
|
||||
|
||||
{options} is a dictionary with many possible entries.
|
||||
|
||||
Returns a unique ID to be used with |popup_close()|.
|
||||
|
||||
See |popup_show-usage| for details.
|
||||
|
||||
|
||||
popup_dialog({lines}, {options}) *popup_dialog()*
|
||||
Just like |popup_show()| but with different default options:
|
||||
pos "center"
|
||||
zindex 200
|
||||
border []
|
||||
|
||||
|
||||
popup_notification({text}, {options}) *popup_notification()*
|
||||
Show the string {text} for 3 seconds at the top of the Vim
|
||||
window. This works like: >
|
||||
call popup_show([{'text': {text}}], {
|
||||
\ 'line': 1,
|
||||
\ 'col': 10,
|
||||
\ 'time': 3000,
|
||||
\ 'zindex': 200,
|
||||
\ 'highlight': 'WarningMsg',
|
||||
\ 'border: [],
|
||||
\ })
|
||||
< Use {options} to change the properties.
|
||||
|
||||
popup_atcursor({text}, {options}) *popup_atcursor()*
|
||||
Show the string {text} above the cursor, and close it when the
|
||||
cursor moves. This works like: >
|
||||
call popup_show([{'text': {text}}], {
|
||||
\ 'line': 'cursor-1',
|
||||
\ 'col': 'cursor',
|
||||
\ 'zindex': 50,
|
||||
\ 'moved': 'WORD',
|
||||
\ })
|
||||
< Use {options} to change the properties.
|
||||
|
||||
|
||||
popup_menu({lines}, {options}) *popup_atcursor()*
|
||||
Show the {lines} near the cursor, handle selecting one of the
|
||||
items with cursorkeys, and close it an item is selected with
|
||||
Space or Enter. This works like: >
|
||||
call popup_show({lines}, {
|
||||
\ 'pos': 'center',
|
||||
\ 'zindex': 200,
|
||||
\ 'wrap': 0,
|
||||
\ 'border': [],
|
||||
\ 'filter': 'popup_filter_menu',
|
||||
\ })
|
||||
< Use {options} to change the properties. Should at least set
|
||||
"callback" to a function that handles the selected item.
|
||||
|
||||
|
||||
popup_move({id}, {options}) *popup_move()*
|
||||
Move popup {id} to the position speficied with {options}.
|
||||
{options} may contain the items from |popup_show()| that
|
||||
specify the popup position: "line", "col", "pos", "maxheight",
|
||||
"minheight", "maxwidth" and "minwidth".
|
||||
|
||||
|
||||
popup_filter_menu({id}, {key}) *popup_filter_menu()*
|
||||
Filter that can be used for a popup. It handles the cursor
|
||||
keys to move the selected index in the popup. Space and Enter
|
||||
can be used to select an item. Invokes the "callback" of the
|
||||
popup menu with the index of the selected line as the second
|
||||
argument.
|
||||
|
||||
|
||||
popup_filter_yesno({id}, {key}) *popup_filter_yesno()*
|
||||
Filter that can be used for a popup. It handles only the keys
|
||||
'y', 'Y' and 'n' or 'N'. Invokes the "callback" of the
|
||||
popup menu with the 1 for 'y' or 'Y' and zero for 'n' or 'N'
|
||||
as the second argument. Pressing Esc and CTRL-C works like
|
||||
pressing 'n'.
|
||||
|
||||
|
||||
popup_setlines({id}, {lnum}, {lines}) *popup_setlines()*
|
||||
In popup {id} set line {lnum} and following to {lines}.
|
||||
|
||||
{lnum} is one-based and must be either an existing line or
|
||||
just one below the last line, in which case the line gets
|
||||
appended.
|
||||
|
||||
{lines} has the same format as one item in {lines} of
|
||||
|popup_show()|. Existing lines are replaced. When {lines}
|
||||
extends below the last line of the popup lines are appended.
|
||||
|
||||
popup_getlines({id}) *popup_getlines()*
|
||||
Return the {lines} for popup {id}.
|
||||
|
||||
|
||||
popup_setoptions({id}, {options}) *popup_setoptions()*
|
||||
Override options in popup {id} with entries in {options}.
|
||||
|
||||
|
||||
popup_getoptions({id}) *popup_getoptions()*
|
||||
Return the {options} for popup {id}.
|
||||
|
||||
|
||||
popup_close({id}) *popup_close()*
|
||||
Close popup {id}.
|
||||
|
||||
|
||||
POPUP_SHOW() ARGUMENTS *popup_show-usage*
|
||||
|
||||
The first argument of |popup_show()| is a list of text lines. Each item in
|
||||
the list is a dictionary with these entries:
|
||||
text The text to display.
|
||||
props A list of text properties. Optional.
|
||||
Each entry is a dictionary, like the third argument of
|
||||
|prop_add()|, but specifying the column in the
|
||||
dictionary with a "col" entry, see below:
|
||||
|popup-props|.
|
||||
|
||||
The second argument of |popup_show()| is a dictionary with options:
|
||||
line screen line where to position the popup; can use
|
||||
"cursor", "cursor+1" or "cursor-1" to use the line of
|
||||
the cursor and add or subtract a number of lines;
|
||||
default is "cursor-1".
|
||||
col screen column where to position the popup; can use
|
||||
"cursor" to use the column of the cursor, "cursor+99"
|
||||
and "cursor-99" to add or subtract a number of
|
||||
columns; default is "cursor"
|
||||
pos "topleft", "topright", "botleft" or "botright":
|
||||
defines what corner of the popup "line" and "col" are
|
||||
used for. Default is "botleft". Alternatively
|
||||
"center" can be used to position the popup somewhere
|
||||
near the cursor.
|
||||
maxheight maximum height
|
||||
minheight minimum height
|
||||
maxwidth maximum width
|
||||
minwidth minimum width
|
||||
title text to be displayed above the first item in the
|
||||
popup, on top of any border
|
||||
wrap TRUE to make the lines wrap (default TRUE)
|
||||
highlight highlight group name to use for the text, defines the
|
||||
background and foreground color
|
||||
border list with numbers, defining the border thickness
|
||||
above/right/below/left of the popup; an empty list
|
||||
uses a border of 1 all around
|
||||
borderhighlight highlight group name to use for the border
|
||||
borderchars list with characters, defining the character to use
|
||||
for the top/right/bottom/left border; optionally
|
||||
followed by the character to use for the
|
||||
topright/botright/botleft/topleft corner; an empty
|
||||
list can be used to show a double line all around
|
||||
zindex priority for the popup, default 50
|
||||
time time in milliseconds after which the popup will close;
|
||||
when omitted |popup_close()| must be used.
|
||||
moved "cell": close the popup if the cursor moved at least
|
||||
one screen cell; "word" allows for moving within
|
||||
|<cword>|, "WORD" allows for moving within |<cWORD>|,
|
||||
a list with two numbers specifies the start and end
|
||||
column
|
||||
filter a callback that can filter typed characters, see
|
||||
|popup-filter|
|
||||
callback a callback to be used when the popup closes, e.g. when
|
||||
using |popup_filter_menu()|, see |popup-callback|.
|
||||
|
||||
Depending on the "zindex" the popup goes under or above other popups. The
|
||||
completion menu (|popup-menu|) has zindex 100. For messages that occur for a
|
||||
short time the suggestion is to use zindex 1000.
|
||||
|
||||
By default text wraps, which causes a line in {lines} to occupy more than one
|
||||
screen line. When "wrap" is FALSE then the text outside of the popup or
|
||||
outside of the Vim window will not be displayed, thus truncated.
|
||||
|
||||
|
||||
POPUP TEXT PROPERTIES *popup-props*
|
||||
|
||||
These are similar to the third argument of |prop_add()|, but not exactly the
|
||||
same, since they only apply to one line.
|
||||
col starting column, counted in bytes, use one for the
|
||||
first column.
|
||||
length length of text in bytes; can be zero
|
||||
end_col column just after the text; not used when "length" is
|
||||
present; when {col} and "end_col" are equal, this is a
|
||||
zero-width text property
|
||||
id user defined ID for the property; when omitted zero is
|
||||
used
|
||||
type name of the text property type, as added with
|
||||
|prop_type_add()|
|
||||
transparent do not show these characters, show the text under it;
|
||||
if there is an border character to the right or below
|
||||
it will be made transparent as well
|
||||
|
||||
|
||||
POPUP FILTER *popup-filter*
|
||||
|
||||
A callback that gets any typed keys while a popup is displayed. It can return
|
||||
TRUE to indicate the key has been handled and is to be discarded, or FALSE to
|
||||
let Vim handle the key as usual in the current state.
|
||||
|
||||
The filter function is called with two arguments: the ID of the popup and the
|
||||
key.
|
||||
|
||||
Some common key actions:
|
||||
Esc close the popup
|
||||
cursor keys select another entry
|
||||
Tab accept current suggestion
|
||||
|
||||
Vim provides standard filters |popup_filter_menu()| and
|
||||
|popup_filter_yesno()|.
|
||||
|
||||
|
||||
POPUP CALLBACK *popup-callback*
|
||||
|
||||
A callback that is invoked when the popup closes. Used by
|
||||
|popup_filter_menu()|. Invoked with two arguments: the ID of the popup and
|
||||
the result, which would usually be an index in the popup lines, or whatever
|
||||
the filter wants to pass.
|
||||
|
||||
==============================================================================
|
||||
3. Examples *popup-examples*
|
||||
|
||||
TODO
|
||||
|
||||
Prompt the user to press y/Y or n/N: >
|
||||
|
||||
func MyDialogHandler(id, result)
|
||||
if a:result
|
||||
" ... 'y' or 'Y' was pressed
|
||||
endif
|
||||
endfunc
|
||||
|
||||
call popup_show([{'text': 'Continue? y/n'}], {
|
||||
\ 'filter': 'popup_filter_yesno',
|
||||
\ 'callback': 'MyDialogHandler',
|
||||
\ })
|
||||
<
|
||||
|
||||
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