Compare commits
652 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 |
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
@@ -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.
|
||||||
31
.gitignore
vendored
@@ -6,16 +6,15 @@ src/auto/if_perl.c
|
|||||||
src/auto/gui_gtk_gresources.c
|
src/auto/gui_gtk_gresources.c
|
||||||
src/auto/gui_gtk_gresources.h
|
src/auto/gui_gtk_gresources.h
|
||||||
src/objects/.dirstamp
|
src/objects/.dirstamp
|
||||||
|
src/objects
|
||||||
src/tags
|
src/tags
|
||||||
|
|
||||||
# We do need src/auto/configure.
|
# We do need src/auto/configure.
|
||||||
src/auto/config.aap
|
|
||||||
src/auto/config.cache
|
src/auto/config.cache
|
||||||
src/auto/config.h
|
src/auto/config.h
|
||||||
src/auto/config.log
|
src/auto/config.log
|
||||||
src/auto/config.mk
|
src/auto/config.mk
|
||||||
src/auto/config.status
|
src/auto/config.status
|
||||||
src/auto/configure.aap
|
|
||||||
src/auto/osdef.h
|
src/auto/osdef.h
|
||||||
src/auto/link.log
|
src/auto/link.log
|
||||||
src/auto/link.sed
|
src/auto/link.sed
|
||||||
@@ -26,6 +25,7 @@ src/auto/pathdef.c
|
|||||||
*.idb
|
*.idb
|
||||||
*.manifest
|
*.manifest
|
||||||
*.exp
|
*.exp
|
||||||
|
*.map
|
||||||
*.obj
|
*.obj
|
||||||
*.pdb
|
*.pdb
|
||||||
*.ilk
|
*.ilk
|
||||||
@@ -33,22 +33,15 @@ src/auto/pathdef.c
|
|||||||
*.suo
|
*.suo
|
||||||
*.res
|
*.res
|
||||||
*.RES
|
*.RES
|
||||||
src/if_perl.c
|
vim*.dll
|
||||||
|
vim*.lib
|
||||||
src/pathdef.c
|
src/pathdef.c
|
||||||
src/Obj*/pathdef.c
|
src/Obj*/pathdef.c
|
||||||
gvimext.dll
|
gvimext.dll
|
||||||
gvimext.lib
|
gvimext.lib
|
||||||
gvim.lib
|
gvim.lib
|
||||||
runtime/doc/uganda.nsis.txt
|
runtime/doc/uganda.nsis.txt
|
||||||
|
nsis/icons/*
|
||||||
# Borland C++
|
|
||||||
bcc.cfg
|
|
||||||
*.ilc
|
|
||||||
*.ild
|
|
||||||
*.ilf
|
|
||||||
*.ils
|
|
||||||
*.map
|
|
||||||
*.tds
|
|
||||||
|
|
||||||
# NetBeans
|
# NetBeans
|
||||||
nbproject/*
|
nbproject/*
|
||||||
@@ -68,6 +61,7 @@ src/po/vim.pot
|
|||||||
|
|
||||||
# Generated by "make test"
|
# Generated by "make test"
|
||||||
src/po/*.ck
|
src/po/*.ck
|
||||||
|
src/po/*.desktop
|
||||||
src/testdir/mbyte.vim
|
src/testdir/mbyte.vim
|
||||||
src/testdir/mzscheme.vim
|
src/testdir/mzscheme.vim
|
||||||
src/testdir/lua.vim
|
src/testdir/lua.vim
|
||||||
@@ -85,3 +79,16 @@ src/memfile_test
|
|||||||
src/json_test
|
src/json_test
|
||||||
src/message_test
|
src/message_test
|
||||||
src/kword_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
@@ -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
|
||||||
163
.travis.yml
@@ -10,54 +10,58 @@ compiler:
|
|||||||
- gcc
|
- gcc
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- BUILD=yes TEST=test COVERAGE=no FEATURES=tiny CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
- &tiny-nogui
|
||||||
# ASAN build
|
BUILD=yes TEST=test COVERAGE=no FEATURES=tiny "CONFOPT='--disable-gui'" SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||||
- BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer"
|
- &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"
|
FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan" LSAN_OPTIONS="suppressions=$TRAVIS_BUILD_DIR/src/testdir/lsan-suppress.txt"
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
||||||
- BUILD=yes TEST="scripttests test_libvterm" 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'"
|
"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
|
- &unittests
|
||||||
- BUILD=yes TEST=test COVERAGE=no FEATURES=normal CONFOPT= SHADOWOPT="-C src/shadow" SRCDIR=./src/shadow CHECK_AUTOCONF=no
|
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=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
- &normal
|
||||||
# Mac OSX build
|
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=huge SHADOWOPT= SRCDIR=./src 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'"
|
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
# instead of a 2*2*7 matrix (2*os + 2*compiler + 7*env),
|
# instead of a 2*2*8 matrix (2*os + 2*compiler + 8*env),
|
||||||
# exclude some builds on mac os x and linux
|
# exclude some builds on mac os x and linux
|
||||||
|
# on mac os x "tiny" is always without GUI
|
||||||
# linux: 2*compiler + 5*env + mac: 2*compiler + 2*env
|
# linux: 2*compiler + 5*env + mac: 2*compiler + 2*env
|
||||||
matrix:
|
matrix:
|
||||||
exclude:
|
exclude:
|
||||||
- os: osx
|
- os: osx
|
||||||
env: BUILD=yes TEST=test COVERAGE=no FEATURES=normal CONFOPT= SHADOWOPT="-C src/shadow" SRCDIR=./src/shadow CHECK_AUTOCONF=no
|
env: *tiny
|
||||||
- os: osx
|
- os: osx
|
||||||
env: BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes
|
env: *normal
|
||||||
- os: osx
|
- os: osx
|
||||||
env: BUILD=yes TEST=test COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
env: *unittests
|
||||||
- os: osx
|
- os: osx
|
||||||
env: BUILD=yes TEST="scripttests test_libvterm" COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
env: *small
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
|
||||||
- os: osx
|
- os: osx
|
||||||
env: BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer"
|
env: *linux-huge
|
||||||
FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan" LSAN_OPTIONS="suppressions=$TRAVIS_BUILD_DIR/src/testdir/lsan-suppress.txt"
|
- os: osx
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
env: *asan
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env: BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer"
|
env: *asan
|
||||||
FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan" LSAN_OPTIONS="suppressions=$TRAVIS_BUILD_DIR/src/testdir/lsan-suppress.txt"
|
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env: BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes
|
env: *unittests
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env: BUILD=yes TEST=test COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
env: *small
|
||||||
- os: linux
|
- os: linux
|
||||||
env: BUILD=yes TEST=test COVERAGE=no FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
env: *osx-huge
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
|
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
except:
|
except:
|
||||||
@@ -65,10 +69,14 @@ branches:
|
|||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
sources:
|
||||||
|
# Need msgfmt 0.19.8 to be able to generate .desktop files
|
||||||
|
- sourceline: 'ppa:ricotz/toolchain'
|
||||||
packages:
|
packages:
|
||||||
- autoconf
|
- autoconf
|
||||||
- clang
|
- clang
|
||||||
- lcov
|
- lcov
|
||||||
|
- gettext
|
||||||
- libperl-dev
|
- libperl-dev
|
||||||
- python-dev
|
- python-dev
|
||||||
- python3-dev
|
- python3-dev
|
||||||
@@ -78,38 +86,97 @@ addons:
|
|||||||
- tcl-dev
|
- tcl-dev
|
||||||
- cscope
|
- cscope
|
||||||
- libgtk2.0-dev
|
- libgtk2.0-dev
|
||||||
|
homebrew:
|
||||||
|
packages:
|
||||||
|
- lua
|
||||||
|
update: true
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- rvm reset
|
- rvm reset
|
||||||
# Remove /opt/python/3.x.x/bin from $PATH for using system python3.
|
# Remove /opt/python/3.x.x/bin from $PATH for using system python3.
|
||||||
# ("pyenv global system" doesn't seem to work.)
|
# ("pyenv global system" doesn't seem to work.)
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ] && which python3 | grep '/opt/python/' > /dev/null; then export PATH=$(echo $PATH | sed -e "s#$(echo $(which python3) | sed -e 's#/python3$##'):##"); fi
|
- |
|
||||||
- if [ "$COVERAGE" = "yes" ]; then pip install --user cpp-coveralls; fi
|
if [[ "${TRAVIS_OS_NAME}" = "linux" ]] && [[ "$(which python3)" =~ ^/opt/python/ ]]; then
|
||||||
# needed for https support for coveralls
|
export PATH=$(py3=$(which python3); echo ${PATH//${py3%/python3}:/})
|
||||||
# building cffi only works with gcc, not with clang
|
fi
|
||||||
- if [ "$COVERAGE" = "yes" ]; then CC=gcc pip install --user pyopenssl ndg-httpsclient pyasn1; fi
|
- |
|
||||||
# Lua is not installed on Travis OSX
|
if [[ "${COVERAGE}" = "yes" ]]; then
|
||||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export HOMEBREW_NO_AUTO_UPDATE=1; brew update; brew install lua; export LUA_PREFIX=/usr/local; fi
|
pip install --user cpp-coveralls
|
||||||
# Use llvm-cov instead of gcov when compiler is clang.
|
fi
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CC" = "clang" ]; then ln -sf $(which llvm-cov) /home/travis/bin/gcov; 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:
|
before_script:
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then export DISPLAY=:99.0 && sh -e /etc/init.d/xvfb start && sleep 3; fi
|
# Start virtual framebuffer to be able to test the GUI. Does not work on OS X.
|
||||||
|
- |
|
||||||
|
if [[ "${TRAVIS_OS_NAME}" = "linux" ]]; then
|
||||||
|
export DISPLAY=:99.0
|
||||||
|
sh -e /etc/init.d/xvfb start && sleep 3
|
||||||
|
fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- NPROC=$(getconf _NPROCESSORS_ONLN)
|
- NPROC=$(getconf _NPROCESSORS_ONLN)
|
||||||
- if [ "$CHECK_AUTOCONF" = "yes" -a "$CC" = "gcc" ]; then make -C src autoconf; fi
|
- set -o errexit
|
||||||
- if [ "x$SHADOWOPT" != x ]; then make -C src shadow; fi
|
- echo -e "\\033[33;1mConfiguring Vim\\033[0m" && echo -en "travis_fold:start:configure\\r\\033[0K"
|
||||||
- (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 [[ "${CHECK_AUTOCONF}" = "yes" ]] && [[ "${CC}" = "gcc" ]]; then
|
||||||
- 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 -C src autoconf
|
||||||
- make $SHADOWOPT $TEST
|
fi
|
||||||
- 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
|
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:
|
after_success:
|
||||||
- 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
|
if [[ "${COVERAGE}" = "yes" ]]; then
|
||||||
|
~/.local/bin/coveralls -b "${SRCDIR}" -x .xs -e "${SRCDIR}"/if_perl.c -e "${SRCDIR}"/xxd -e "${SRCDIR}"/libvterm --encodings utf-8 latin-1 EUC-KR
|
||||||
|
fi
|
||||||
|
- |
|
||||||
|
if [[ "${COVERAGE}" = "yes" ]]; then
|
||||||
|
(cd "${SRCDIR}" && bash <(curl -s https://codecov.io/bash))
|
||||||
|
fi
|
||||||
|
|
||||||
# vim:set sts=2 sw=2 tw=0 et:
|
# vim:set sts=2 sw=2 tw=0 et:
|
||||||
|
|||||||
@@ -21,9 +21,9 @@ maillist is also fine.
|
|||||||
|
|
||||||
Please use the GitHub issues only for actual issues. If you are not 100% sure
|
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
|
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.
|
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:
|
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
|
# 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]
|
* Messages in Vim, see [src/po/README.txt][1]
|
||||||
|
Also used for the desktop icons.
|
||||||
* Menus, see [runtime/lang/README.txt][2]
|
* Menus, see [runtime/lang/README.txt][2]
|
||||||
* Vim tutor, see [runtime/tutor/README.txt][3]
|
* Vim tutor, see [runtime/tutor/README.txt][3]
|
||||||
* Manual pages, see [runtime/doc/\*.1][4] for examples
|
* 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.
|
The help files can be translated and made available separately.
|
||||||
See https://www.vim.org/translations.php for examples.
|
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
|
[2]: https://github.com/vim/vim/blob/master/runtime/lang/README.txt
|
||||||
[3]: https://github.com/vim/vim/blob/master/runtime/tutor/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
|
[4]: https://github.com/vim/vim/blob/master/runtime/doc/vim.1
|
||||||
[5]: https://github.com/vim/vim/blob/master/runtime/vim.desktop
|
[5]: https://github.com/vim/vim/blob/master/nsis/lang/english.nsi
|
||||||
[6]: https://github.com/vim/vim/blob/master/runtime/gvim.desktop
|
|
||||||
|
|||||||
50
Filelist
@@ -3,25 +3,29 @@
|
|||||||
|
|
||||||
# source files for all source archives
|
# source files for all source archives
|
||||||
SRC_ALL = \
|
SRC_ALL = \
|
||||||
|
.gitignore \
|
||||||
.hgignore \
|
.hgignore \
|
||||||
.lgtm.yml \
|
.lgtm.yml \
|
||||||
.travis.yml \
|
.travis.yml \
|
||||||
appveyor.yml \
|
appveyor.yml \
|
||||||
|
ci/appveyor.bat \
|
||||||
src/Make_all.mak \
|
src/Make_all.mak \
|
||||||
src/appveyor.bat \
|
src/README.md \
|
||||||
src/README.txt \
|
|
||||||
src/alloc.h \
|
src/alloc.h \
|
||||||
src/arabic.c \
|
src/arabic.c \
|
||||||
src/arabic.h \
|
|
||||||
src/ascii.h \
|
src/ascii.h \
|
||||||
|
src/autocmd.c \
|
||||||
src/beval.c \
|
src/beval.c \
|
||||||
src/beval.h \
|
src/beval.h \
|
||||||
|
src/blob.c \
|
||||||
src/blowfish.c \
|
src/blowfish.c \
|
||||||
src/buffer.c \
|
src/buffer.c \
|
||||||
|
src/change.c \
|
||||||
src/channel.c \
|
src/channel.c \
|
||||||
src/charset.c \
|
src/charset.c \
|
||||||
src/crypt.c \
|
src/crypt.c \
|
||||||
src/crypt_zip.c \
|
src/crypt_zip.c \
|
||||||
|
src/debugger.c \
|
||||||
src/dict.c \
|
src/dict.c \
|
||||||
src/diff.c \
|
src/diff.c \
|
||||||
src/digraph.c \
|
src/digraph.c \
|
||||||
@@ -35,10 +39,9 @@ SRC_ALL = \
|
|||||||
src/ex_docmd.c \
|
src/ex_docmd.c \
|
||||||
src/ex_eval.c \
|
src/ex_eval.c \
|
||||||
src/ex_getln.c \
|
src/ex_getln.c \
|
||||||
src/farsi.c \
|
|
||||||
src/farsi.h \
|
|
||||||
src/feature.h \
|
src/feature.h \
|
||||||
src/fileio.c \
|
src/fileio.c \
|
||||||
|
src/findfile.c \
|
||||||
src/fold.c \
|
src/fold.c \
|
||||||
src/getchar.c \
|
src/getchar.c \
|
||||||
src/globals.h \
|
src/globals.h \
|
||||||
@@ -47,6 +50,8 @@ SRC_ALL = \
|
|||||||
src/gui_beval.c \
|
src/gui_beval.c \
|
||||||
src/hardcopy.c \
|
src/hardcopy.c \
|
||||||
src/hashtab.c \
|
src/hashtab.c \
|
||||||
|
src/indent.c \
|
||||||
|
src/insexpand.c \
|
||||||
src/json.c \
|
src/json.c \
|
||||||
src/json_test.c \
|
src/json_test.c \
|
||||||
src/kword_test.c \
|
src/kword_test.c \
|
||||||
@@ -95,6 +100,7 @@ SRC_ALL = \
|
|||||||
src/textprop.c \
|
src/textprop.c \
|
||||||
src/ui.c \
|
src/ui.c \
|
||||||
src/undo.c \
|
src/undo.c \
|
||||||
|
src/usercmd.c \
|
||||||
src/userfunc.c \
|
src/userfunc.c \
|
||||||
src/version.c \
|
src/version.c \
|
||||||
src/version.h \
|
src/version.h \
|
||||||
@@ -145,13 +151,17 @@ SRC_ALL = \
|
|||||||
src/proto.h \
|
src/proto.h \
|
||||||
src/protodef.h \
|
src/protodef.h \
|
||||||
src/proto/arabic.pro \
|
src/proto/arabic.pro \
|
||||||
|
src/proto/autocmd.pro \
|
||||||
src/proto/beval.pro \
|
src/proto/beval.pro \
|
||||||
|
src/proto/blob.pro \
|
||||||
src/proto/blowfish.pro \
|
src/proto/blowfish.pro \
|
||||||
src/proto/buffer.pro \
|
src/proto/buffer.pro \
|
||||||
|
src/proto/change.pro \
|
||||||
src/proto/channel.pro \
|
src/proto/channel.pro \
|
||||||
src/proto/charset.pro \
|
src/proto/charset.pro \
|
||||||
src/proto/crypt.pro \
|
src/proto/crypt.pro \
|
||||||
src/proto/crypt_zip.pro \
|
src/proto/crypt_zip.pro \
|
||||||
|
src/proto/debugger.pro \
|
||||||
src/proto/dict.pro \
|
src/proto/dict.pro \
|
||||||
src/proto/diff.pro \
|
src/proto/diff.pro \
|
||||||
src/proto/digraph.pro \
|
src/proto/digraph.pro \
|
||||||
@@ -163,14 +173,16 @@ SRC_ALL = \
|
|||||||
src/proto/ex_docmd.pro \
|
src/proto/ex_docmd.pro \
|
||||||
src/proto/ex_eval.pro \
|
src/proto/ex_eval.pro \
|
||||||
src/proto/ex_getln.pro \
|
src/proto/ex_getln.pro \
|
||||||
src/proto/farsi.pro \
|
|
||||||
src/proto/fileio.pro \
|
src/proto/fileio.pro \
|
||||||
|
src/proto/findfile.pro \
|
||||||
src/proto/fold.pro \
|
src/proto/fold.pro \
|
||||||
src/proto/getchar.pro \
|
src/proto/getchar.pro \
|
||||||
src/proto/gui.pro \
|
src/proto/gui.pro \
|
||||||
src/proto/gui_beval.pro \
|
src/proto/gui_beval.pro \
|
||||||
src/proto/hardcopy.pro \
|
src/proto/hardcopy.pro \
|
||||||
src/proto/hashtab.pro \
|
src/proto/hashtab.pro \
|
||||||
|
src/proto/indent.pro \
|
||||||
|
src/proto/insexpand.pro \
|
||||||
src/proto/json.pro \
|
src/proto/json.pro \
|
||||||
src/proto/list.pro \
|
src/proto/list.pro \
|
||||||
src/proto/main.pro \
|
src/proto/main.pro \
|
||||||
@@ -204,6 +216,7 @@ SRC_ALL = \
|
|||||||
src/proto/textprop.pro \
|
src/proto/textprop.pro \
|
||||||
src/proto/ui.pro \
|
src/proto/ui.pro \
|
||||||
src/proto/undo.pro \
|
src/proto/undo.pro \
|
||||||
|
src/proto/usercmd.pro \
|
||||||
src/proto/userfunc.pro \
|
src/proto/userfunc.pro \
|
||||||
src/proto/version.pro \
|
src/proto/version.pro \
|
||||||
src/proto/winclip.pro \
|
src/proto/winclip.pro \
|
||||||
@@ -334,8 +347,6 @@ SRC_UNIX = \
|
|||||||
src/gui_x11_pm.h \
|
src/gui_x11_pm.h \
|
||||||
src/hangulin.c \
|
src/hangulin.c \
|
||||||
src/if_xcmdsrv.c \
|
src/if_xcmdsrv.c \
|
||||||
src/integration.c \
|
|
||||||
src/integration.h \
|
|
||||||
src/link.sh \
|
src/link.sh \
|
||||||
src/installman.sh \
|
src/installman.sh \
|
||||||
src/installml.sh \
|
src/installml.sh \
|
||||||
@@ -358,7 +369,6 @@ SRC_UNIX = \
|
|||||||
src/proto/if_xcmdsrv.pro \
|
src/proto/if_xcmdsrv.pro \
|
||||||
src/proto/os_unix.pro \
|
src/proto/os_unix.pro \
|
||||||
src/proto/pty.pro \
|
src/proto/pty.pro \
|
||||||
src/proto/workshop.pro \
|
|
||||||
src/pty.c \
|
src/pty.c \
|
||||||
src/testdir/Makefile \
|
src/testdir/Makefile \
|
||||||
src/testdir/unix.vim \
|
src/testdir/unix.vim \
|
||||||
@@ -368,10 +378,6 @@ SRC_UNIX = \
|
|||||||
src/vimtutor \
|
src/vimtutor \
|
||||||
src/gvimtutor \
|
src/gvimtutor \
|
||||||
src/which.sh \
|
src/which.sh \
|
||||||
src/workshop.c \
|
|
||||||
src/workshop.h \
|
|
||||||
src/wsdebug.c \
|
|
||||||
src/wsdebug.h \
|
|
||||||
src/tee/Makefile \
|
src/tee/Makefile \
|
||||||
src/xxd/Makefile \
|
src/xxd/Makefile \
|
||||||
|
|
||||||
@@ -417,11 +423,8 @@ SRC_DOS = \
|
|||||||
src/GvimExt/uninst.bat \
|
src/GvimExt/uninst.bat \
|
||||||
README_srcdos.txt \
|
README_srcdos.txt \
|
||||||
src/INSTALLpc.txt \
|
src/INSTALLpc.txt \
|
||||||
src/Make_bc5.mak \
|
|
||||||
src/Make_cyg.mak \
|
src/Make_cyg.mak \
|
||||||
src/Make_cyg_ming.mak \
|
src/Make_cyg_ming.mak \
|
||||||
src/Make_ivc.mak \
|
|
||||||
src/Make_dvc.mak \
|
|
||||||
src/Make_ming.mak \
|
src/Make_ming.mak \
|
||||||
src/Make_mvc.mak \
|
src/Make_mvc.mak \
|
||||||
tools/rename.bat \
|
tools/rename.bat \
|
||||||
@@ -472,7 +475,6 @@ SRC_DOS = \
|
|||||||
src/xpm_w32.c \
|
src/xpm_w32.c \
|
||||||
src/xpm_w32.h \
|
src/xpm_w32.h \
|
||||||
src/tee/Make_mvc.mak \
|
src/tee/Make_mvc.mak \
|
||||||
src/xxd/Make_bc5.mak \
|
|
||||||
src/xxd/Make_ming.mak \
|
src/xxd/Make_ming.mak \
|
||||||
src/xxd/Make_mvc.mak \
|
src/xxd/Make_mvc.mak \
|
||||||
nsis/gvim.nsi \
|
nsis/gvim.nsi \
|
||||||
@@ -510,16 +512,15 @@ SRC_DOS_BIN = \
|
|||||||
src/vim.tlb \
|
src/vim.tlb \
|
||||||
src/xpm/COPYRIGHT \
|
src/xpm/COPYRIGHT \
|
||||||
src/xpm/README.txt \
|
src/xpm/README.txt \
|
||||||
|
src/xpm/arm64/lib-vc14/libXpm.lib \
|
||||||
src/xpm/include/*.h \
|
src/xpm/include/*.h \
|
||||||
|
src/xpm/x64/lib-vc14/libXpm.lib \
|
||||||
src/xpm/x64/lib/libXpm.a \
|
src/xpm/x64/lib/libXpm.a \
|
||||||
src/xpm/x64/lib/libXpm.lib \
|
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.a \
|
||||||
src/xpm/x86/lib/libXpm.lib \
|
src/xpm/x86/lib/libXpm.lib \
|
||||||
src/xpm/x86/lib-vc14/libXpm.lib \
|
nsis/icons.zip \
|
||||||
nsis/icons/*.bmp \
|
|
||||||
nsis/icons/*.ico \
|
|
||||||
nsis/icons/*.svg \
|
|
||||||
|
|
||||||
# source files for Amiga, DOS, etc. (also in the extra archive)
|
# source files for Amiga, DOS, etc. (also in the extra archive)
|
||||||
SRC_AMI_DOS = \
|
SRC_AMI_DOS = \
|
||||||
@@ -667,6 +668,7 @@ RT_ALL = \
|
|||||||
runtime/pack/dist/opt/matchit/plugin/matchit.vim \
|
runtime/pack/dist/opt/matchit/plugin/matchit.vim \
|
||||||
runtime/pack/dist/opt/matchit/doc/matchit.txt \
|
runtime/pack/dist/opt/matchit/doc/matchit.txt \
|
||||||
runtime/pack/dist/opt/matchit/doc/tags \
|
runtime/pack/dist/opt/matchit/doc/tags \
|
||||||
|
runtime/pack/dist/opt/matchit/autoload/*.vim \
|
||||||
runtime/pack/dist/opt/shellmenu/plugin/shellmenu.vim \
|
runtime/pack/dist/opt/shellmenu/plugin/shellmenu.vim \
|
||||||
runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim \
|
runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim \
|
||||||
runtime/pack/dist/opt/termdebug/plugin/termdebug.vim \
|
runtime/pack/dist/opt/termdebug/plugin/termdebug.vim \
|
||||||
@@ -837,8 +839,6 @@ EXTRA = \
|
|||||||
$(SRC_EXTRA) \
|
$(SRC_EXTRA) \
|
||||||
README_extra.txt \
|
README_extra.txt \
|
||||||
src/VisVim/VisVim.dll \
|
src/VisVim/VisVim.dll \
|
||||||
farsi/README.txt \
|
|
||||||
farsi/fonts/*/far-* \
|
|
||||||
runtime/vimlogo.xpm \
|
runtime/vimlogo.xpm \
|
||||||
src/tee/Makefile \
|
src/tee/Makefile \
|
||||||
src/tee/Make_mvc.mak \
|
src/tee/Make_mvc.mak \
|
||||||
@@ -941,6 +941,8 @@ LANG_SRC = \
|
|||||||
src/po/Make_cyg.mak \
|
src/po/Make_cyg.mak \
|
||||||
src/po/Make_ming.mak \
|
src/po/Make_ming.mak \
|
||||||
src/po/Make_mvc.mak \
|
src/po/Make_mvc.mak \
|
||||||
|
src/po/vim.desktop.in \
|
||||||
|
src/po/gvim.desktop.in \
|
||||||
src/po/sjiscorr.c \
|
src/po/sjiscorr.c \
|
||||||
src/po/*.po \
|
src/po/*.po \
|
||||||
|
|
||||||
|
|||||||
17
Makefile
@@ -43,13 +43,18 @@ all install uninstall tools config configure reconfig proto depend lint tags typ
|
|||||||
@if test "$@" = "test"; then \
|
@if test "$@" = "test"; then \
|
||||||
$(MAKE) indenttest; \
|
$(MAKE) indenttest; \
|
||||||
fi
|
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.
|
# Executable used for running the indent tests.
|
||||||
VIM_FOR_INDENTTEST = ../../src/vim
|
VIM_FOR_INDENTTEST = ../../src/vim
|
||||||
|
|
||||||
indenttest:
|
indenttest:
|
||||||
cd runtime/indent && \
|
cd runtime/indent && \
|
||||||
$(MAKE) clean VIM="$(VIM_FOR_INDENTTEST)" && \
|
$(MAKE) clean && \
|
||||||
$(MAKE) test VIM="$(VIM_FOR_INDENTTEST)"
|
$(MAKE) test VIM="$(VIM_FOR_INDENTTEST)"
|
||||||
|
|
||||||
|
|
||||||
@@ -205,6 +210,7 @@ MINOR = 1
|
|||||||
# - Make sure there is a diff.exe two levels up (get it from a previous Vim
|
# - Make sure there is a diff.exe two levels up (get it from a previous Vim
|
||||||
# version). Also put winpty32.dll and winpty-agent.exe there.
|
# version). Also put winpty32.dll and winpty-agent.exe there.
|
||||||
# - go to ../nsis and do:
|
# - go to ../nsis and do:
|
||||||
|
# > unzip icons.zip
|
||||||
# > makensis gvim.nsi (takes a few minutes).
|
# > makensis gvim.nsi (takes a few minutes).
|
||||||
# ignore warning for libwinpthread-1.dll
|
# ignore warning for libwinpthread-1.dll
|
||||||
# - Copy gvim##.exe to the dist directory.
|
# - Copy gvim##.exe to the dist directory.
|
||||||
@@ -468,11 +474,12 @@ dosrt_files: dist prepare no_title.vim
|
|||||||
-rm $(IN_README_DIR)
|
-rm $(IN_README_DIR)
|
||||||
mv dist/vim/$(VIMRTDIR)/runtime/* dist/vim/$(VIMRTDIR)
|
mv dist/vim/$(VIMRTDIR)/runtime/* dist/vim/$(VIMRTDIR)
|
||||||
rmdir dist/vim/$(VIMRTDIR)/runtime
|
rmdir dist/vim/$(VIMRTDIR)/runtime
|
||||||
# Add the message translations. Trick: skip ja.mo and use ja.sjis.mo instead.
|
# Add the message translations. Trick: skip ja.mo/ja.euc-jp.mo and use
|
||||||
# Same for cs.mo / cs.cp1250.mo, pl.mo / pl.cp1250.mo, sk.mo / sk.cp1250.mo,
|
# ja.sjis.mo instead. Same for cs.mo / cs.cp1250.mo, pl.mo / pl.cp1250.mo,
|
||||||
# zh_CN.mo / zh_CN.cp936.mo, uk.mo / uk.cp1251.mo and ru.mo / ru.cp1251.mo.
|
# sk.mo / sk.cp1250.mo, zh_CN.mo / zh_CN.cp936.mo, uk.mo / uk.cp1251.mo and
|
||||||
|
# ru.mo / ru.cp1251.mo.
|
||||||
for i in $(LANG_DOS); do \
|
for i in $(LANG_DOS); do \
|
||||||
if test "$$i" != "src/po/ja.mo" -a "$$i" != "src/po/pl.mo" -a "$$i" != "src/po/cs.mo" -a "$$i" != "src/po/sk.mo" -a "$$i" != "src/po/zh_CN.mo" -a "$$i" != "src/po/ru.mo" -a "$$i" != "src/po/uk.mo"; then \
|
if test "$$i" != "src/po/ja.mo" -a "$$i" != "src/po/ja.euc-jp.mo" -a "$$i" != "src/po/pl.mo" -a "$$i" != "src/po/cs.mo" -a "$$i" != "src/po/sk.mo" -a "$$i" != "src/po/zh_CN.mo" -a "$$i" != "src/po/ru.mo" -a "$$i" != "src/po/uk.mo"; then \
|
||||||
n=`echo $$i | sed -e "s+src/po/\([-a-zA-Z0-9_]*\(.UTF-8\)*\)\(.sjis\)*\(.cp1250\)*\(.cp1251\)*\(.cp936\)*.mo+\1+"`; \
|
n=`echo $$i | sed -e "s+src/po/\([-a-zA-Z0-9_]*\(.UTF-8\)*\)\(.sjis\)*\(.cp1250\)*\(.cp1251\)*\(.cp936\)*.mo+\1+"`; \
|
||||||
mkdir dist/vim/$(VIMRTDIR)/lang/$$n; \
|
mkdir dist/vim/$(VIMRTDIR)/lang/$$n; \
|
||||||
mkdir dist/vim/$(VIMRTDIR)/lang/$$n/LC_MESSAGES; \
|
mkdir dist/vim/$(VIMRTDIR)/lang/$$n/LC_MESSAGES; \
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||

|

|
||||||
|
|
||||||
[](https://travis-ci.org/vim/vim)
|
[](https://travis-ci.org/vim/vim)
|
||||||
[](https://codecov.io/gh/vim/vim?branch=master)
|
|
||||||
[](https://coveralls.io/github/vim/vim?branch=master)
|
|
||||||
[](https://ci.appveyor.com/project/chrisbra/vim)
|
[](https://ci.appveyor.com/project/chrisbra/vim)
|
||||||
|
[](https://codecov.io/gh/vim/vim?branch=master)
|
||||||
[](https://scan.coverity.com/projects/vim)
|
[](https://scan.coverity.com/projects/vim)
|
||||||
[](https://lgtm.com/projects/g/vim/vim/context:cpp)
|
[](https://lgtm.com/projects/g/vim/vim/context:cpp)
|
||||||
[](https://buildd.debian.org/vim)
|
[](https://buildd.debian.org/vim)
|
||||||
|
[](https://repology.org/metapackage/vim)
|
||||||
|
|
||||||
|
|
||||||
## What is Vim? ##
|
## What is Vim? ##
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ before_build:
|
|||||||
- 'set INCLUDE=%INCLUDE%C:\Program Files (x86)\Windows Kits\8.1\Include\um'
|
- 'set INCLUDE=%INCLUDE%C:\Program Files (x86)\Windows Kits\8.1\Include\um'
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- src/appveyor.bat
|
- ci/appveyor.bat
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- cd src/testdir
|
- cd src/testdir
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ cd %APPVEYOR_BUILD_FOLDER%
|
|||||||
cd src
|
cd src
|
||||||
echo "Building MinGW 32bit console version"
|
echo "Building MinGW 32bit console version"
|
||||||
set PATH=c:\msys64\mingw32\bin;%PATH%
|
set PATH=c:\msys64\mingw32\bin;%PATH%
|
||||||
mingw32-make.exe -f Make_ming.mak GUI=no OPTIMIZE=speed IME=yes MBYTE=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
|
mingw32-make.exe -f Make_ming.mak GUI=no OPTIMIZE=speed IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
|
||||||
:: Save vim.exe before Make clean, moved back below.
|
:: Save vim.exe before Make clean, moved back below.
|
||||||
copy vim.exe testdir
|
copy vim.exe testdir
|
||||||
mingw32-make.exe -f Make_ming.mak clean
|
mingw32-make.exe -f Make_ming.mak clean
|
||||||
@@ -16,24 +16,24 @@ mingw32-make.exe -f Make_ming.mak clean
|
|||||||
:: with specified features without python.
|
:: with specified features without python.
|
||||||
echo "Building MinGW 32bit GUI version"
|
echo "Building MinGW 32bit GUI version"
|
||||||
if "%FEATURE%" == "HUGE" (
|
if "%FEATURE%" == "HUGE" (
|
||||||
mingw32-make.exe -f Make_ming.mak OPTIMIZE=speed CHANNEL=yes GUI=yes IME=yes MBYTE=yes ICONV=yes DEBUG=no PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27 PYTHON3_VER=35 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python35 FEATURES=%FEATURE% || exit 1
|
mingw32-make.exe -f Make_ming.mak OPTIMIZE=speed CHANNEL=yes GUI=yes IME=yes ICONV=yes DEBUG=no PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27 PYTHON3_VER=35 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python35 FEATURES=%FEATURE% || exit 1
|
||||||
) ELSE (
|
) ELSE (
|
||||||
mingw32-make.exe -f Make_ming.mak OPTIMIZE=speed GUI=yes IME=yes MBYTE=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
|
mingw32-make.exe -f Make_ming.mak OPTIMIZE=speed GUI=yes IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
|
||||||
)
|
)
|
||||||
.\gvim -u NONE -c "redir @a | ver |0put a | wq" ver_ming.txt
|
.\gvim -u NONE -c "redir @a | ver |0put a | wq" ver_ming.txt
|
||||||
|
|
||||||
echo "Building MSVC 64bit console Version"
|
echo "Building MSVC 64bit console Version"
|
||||||
sed -e "s/\$(LINKARGS2)/\$(LINKARGS2) | sed -e 's#.*\\\\r.*##'/" Make_mvc.mak > Make_mvc2.mak
|
sed -e "s/\$(LINKARGS2)/\$(LINKARGS2) | sed -e 's#.*\\\\r.*##'/" Make_mvc.mak > Make_mvc2.mak
|
||||||
nmake -f Make_mvc2.mak CPU=AMD64 OLE=no GUI=no IME=yes MBYTE=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
|
nmake -f Make_mvc2.mak CPU=AMD64 OLE=no GUI=no IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
|
||||||
nmake -f Make_mvc2.mak clean
|
nmake -f Make_mvc2.mak clean
|
||||||
|
|
||||||
:: build MSVC huge version with python and channel support
|
:: build MSVC huge version with python and channel support
|
||||||
:: GUI needs to be last, so that testing works
|
:: GUI needs to be last, so that testing works
|
||||||
echo "Building MSVC 64bit GUI Version"
|
echo "Building MSVC 64bit GUI Version"
|
||||||
if "%FEATURE%" == "HUGE" (
|
if "%FEATURE%" == "HUGE" (
|
||||||
nmake -f Make_mvc2.mak DIRECTX=yes CPU=AMD64 CHANNEL=yes OLE=no GUI=yes IME=yes MBYTE=yes ICONV=yes DEBUG=no PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27-x64 PYTHON3_VER=35 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python35-x64 FEATURES=%FEATURE% || exit 1
|
nmake -f Make_mvc2.mak DIRECTX=yes CPU=AMD64 CHANNEL=yes OLE=no GUI=yes IME=yes ICONV=yes DEBUG=no PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27-x64 PYTHON3_VER=35 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python35-x64 FEATURES=%FEATURE% || exit 1
|
||||||
) ELSE (
|
) ELSE (
|
||||||
nmake -f Make_mvc2.mak CPU=AMD64 OLE=no GUI=yes IME=yes MBYTE=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
|
nmake -f Make_mvc2.mak CPU=AMD64 OLE=no GUI=yes IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
|
||||||
)
|
)
|
||||||
.\gvim -u NONE -c "redir @a | ver |0put a | wq" ver_msvc.txt
|
.\gvim -u NONE -c "redir @a | ver |0put a | wq" ver_msvc.txt
|
||||||
|
|
||||||
2
configure
vendored
@@ -3,4 +3,4 @@
|
|||||||
# This is just a stub for the Unix configure script, to provide support for
|
# This is just a stub for the Unix configure script, to provide support for
|
||||||
# doing "./configure" in the top Vim directory.
|
# 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.
|
|
||||||
@@ -67,6 +67,11 @@ To build the installable .exe:
|
|||||||
Install NSIS if you didn't do that already.
|
Install NSIS if you didn't do that already.
|
||||||
Also install UPX, if you want a compressed file.
|
Also install UPX, if you want a compressed file.
|
||||||
|
|
||||||
|
Unpack the images:
|
||||||
|
cd nsis
|
||||||
|
unzip icons.zip
|
||||||
|
|
||||||
To build then, enter:
|
To build then, enter:
|
||||||
|
|
||||||
|
cd nsis
|
||||||
makensis gvim.nsi
|
makensis gvim.nsi
|
||||||
|
|||||||
@@ -322,6 +322,9 @@ Section "$(str_section_exe)" id_section_exe
|
|||||||
|
|
||||||
SetOutPath $0
|
SetOutPath $0
|
||||||
File /oname=gvim.exe ${VIMSRC}\gvim_ole.exe
|
File /oname=gvim.exe ${VIMSRC}\gvim_ole.exe
|
||||||
|
!if /FileExists "${VIMSRC}\vim${BIT}.dll"
|
||||||
|
File ${VIMSRC}\vim${BIT}.dll
|
||||||
|
!endif
|
||||||
File /oname=install.exe ${VIMSRC}\installw32.exe
|
File /oname=install.exe ${VIMSRC}\installw32.exe
|
||||||
File /oname=uninstal.exe ${VIMSRC}\uninstalw32.exe
|
File /oname=uninstal.exe ${VIMSRC}\uninstalw32.exe
|
||||||
File ${VIMSRC}\vimrun.exe
|
File ${VIMSRC}\vimrun.exe
|
||||||
@@ -354,40 +357,10 @@ Section "$(str_section_exe)" id_section_exe
|
|||||||
File ${VIMRT}\indent\*.*
|
File ${VIMRT}\indent\*.*
|
||||||
|
|
||||||
SetOutPath $0\macros
|
SetOutPath $0\macros
|
||||||
File ${VIMRT}\macros\*.*
|
File /r ${VIMRT}\macros\*.*
|
||||||
SetOutPath $0\macros\hanoi
|
|
||||||
File ${VIMRT}\macros\hanoi\*.*
|
|
||||||
SetOutPath $0\macros\life
|
|
||||||
File ${VIMRT}\macros\life\*.*
|
|
||||||
SetOutPath $0\macros\maze
|
|
||||||
File ${VIMRT}\macros\maze\*.*
|
|
||||||
SetOutPath $0\macros\urm
|
|
||||||
File ${VIMRT}\macros\urm\*.*
|
|
||||||
|
|
||||||
SetOutPath $0\pack\dist\opt\dvorak\dvorak
|
SetOutPath $0\pack
|
||||||
File ${VIMRT}\pack\dist\opt\dvorak\dvorak\*.*
|
File /r ${VIMRT}\pack\*.*
|
||||||
SetOutPath $0\pack\dist\opt\dvorak\plugin
|
|
||||||
File ${VIMRT}\pack\dist\opt\dvorak\plugin\*.*
|
|
||||||
|
|
||||||
SetOutPath $0\pack\dist\opt\editexisting\plugin
|
|
||||||
File ${VIMRT}\pack\dist\opt\editexisting\plugin\*.*
|
|
||||||
|
|
||||||
SetOutPath $0\pack\dist\opt\justify\plugin
|
|
||||||
File ${VIMRT}\pack\dist\opt\justify\plugin\*.*
|
|
||||||
|
|
||||||
SetOutPath $0\pack\dist\opt\matchit\doc
|
|
||||||
File ${VIMRT}\pack\dist\opt\matchit\doc\*.*
|
|
||||||
SetOutPath $0\pack\dist\opt\matchit\plugin
|
|
||||||
File ${VIMRT}\pack\dist\opt\matchit\plugin\*.*
|
|
||||||
|
|
||||||
SetOutPath $0\pack\dist\opt\shellmenu\plugin
|
|
||||||
File ${VIMRT}\pack\dist\opt\shellmenu\plugin\*.*
|
|
||||||
|
|
||||||
SetOutPath $0\pack\dist\opt\swapmouse\plugin
|
|
||||||
File ${VIMRT}\pack\dist\opt\swapmouse\plugin\*.*
|
|
||||||
|
|
||||||
SetOutPath $0\pack\dist\opt\termdebug\plugin
|
|
||||||
File ${VIMRT}\pack\dist\opt\termdebug\plugin\*.*
|
|
||||||
|
|
||||||
SetOutPath $0\plugin
|
SetOutPath $0\plugin
|
||||||
File ${VIMRT}\plugin\*.*
|
File ${VIMRT}\plugin\*.*
|
||||||
@@ -1126,7 +1099,9 @@ Section "un.$(str_unsection_rootdir)" id_unsection_rootdir
|
|||||||
Call un.GetParent
|
Call un.GetParent
|
||||||
Pop $0
|
Pop $0
|
||||||
|
|
||||||
Delete $0\_vimrc
|
${IfNot} ${Silent}
|
||||||
|
Delete $0\_vimrc
|
||||||
|
${Endif}
|
||||||
RMDir $0
|
RMDir $0
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
|
|||||||
BIN
nsis/icons.zip
Normal file
|
Before Width: | Height: | Size: 358 B |
|
Before Width: | Height: | Size: 358 B |
|
Before Width: | Height: | Size: 100 KiB |
@@ -1,265 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
||||||
|
|
||||||
<svg
|
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
||||||
xmlns:cc="http://creativecommons.org/ns#"
|
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
width="300"
|
|
||||||
height="114"
|
|
||||||
id="svg2"
|
|
||||||
version="1.1"
|
|
||||||
inkscape:version="0.47 r22583"
|
|
||||||
sodipodi:docname="header.svg"
|
|
||||||
inkscape:export-filename="header.png"
|
|
||||||
inkscape:export-xdpi="90"
|
|
||||||
inkscape:export-ydpi="90">
|
|
||||||
<defs
|
|
||||||
id="defs4">
|
|
||||||
<filter
|
|
||||||
id="filter2840"
|
|
||||||
inkscape:label="Drop shadow"
|
|
||||||
width="1.5"
|
|
||||||
height="1.5"
|
|
||||||
x="-.25"
|
|
||||||
y="-.25">
|
|
||||||
<feGaussianBlur
|
|
||||||
id="feGaussianBlur2842"
|
|
||||||
in="SourceAlpha"
|
|
||||||
stdDeviation="3.000000"
|
|
||||||
result="blur" />
|
|
||||||
<feColorMatrix
|
|
||||||
id="feColorMatrix2844"
|
|
||||||
result="bluralpha"
|
|
||||||
type="matrix"
|
|
||||||
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.600000 0 " />
|
|
||||||
<feOffset
|
|
||||||
id="feOffset2846"
|
|
||||||
in="bluralpha"
|
|
||||||
dx="-5.000000"
|
|
||||||
dy="5.000000"
|
|
||||||
result="offsetBlur" />
|
|
||||||
<feMerge
|
|
||||||
id="feMerge2848">
|
|
||||||
<feMergeNode
|
|
||||||
id="feMergeNode2850"
|
|
||||||
in="offsetBlur" />
|
|
||||||
<feMergeNode
|
|
||||||
id="feMergeNode2852"
|
|
||||||
in="SourceGraphic" />
|
|
||||||
</feMerge>
|
|
||||||
</filter>
|
|
||||||
<filter
|
|
||||||
id="filter2910"
|
|
||||||
inkscape:label="Drop shadow"
|
|
||||||
width="1.5"
|
|
||||||
height="1.5"
|
|
||||||
x="-.25"
|
|
||||||
y="-.25">
|
|
||||||
<feGaussianBlur
|
|
||||||
id="feGaussianBlur2912"
|
|
||||||
in="SourceAlpha"
|
|
||||||
stdDeviation="2.500000"
|
|
||||||
result="blur" />
|
|
||||||
<feColorMatrix
|
|
||||||
id="feColorMatrix2914"
|
|
||||||
result="bluralpha"
|
|
||||||
type="matrix"
|
|
||||||
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.600000 0 " />
|
|
||||||
<feOffset
|
|
||||||
id="feOffset2916"
|
|
||||||
in="bluralpha"
|
|
||||||
dx="-3.000000"
|
|
||||||
dy="3.000000"
|
|
||||||
result="offsetBlur" />
|
|
||||||
<feMerge
|
|
||||||
id="feMerge2918">
|
|
||||||
<feMergeNode
|
|
||||||
id="feMergeNode2920"
|
|
||||||
in="offsetBlur" />
|
|
||||||
<feMergeNode
|
|
||||||
id="feMergeNode2922"
|
|
||||||
in="SourceGraphic" />
|
|
||||||
</feMerge>
|
|
||||||
</filter>
|
|
||||||
</defs>
|
|
||||||
<sodipodi:namedview
|
|
||||||
id="base"
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#666666"
|
|
||||||
borderopacity="1.0"
|
|
||||||
inkscape:pageopacity="1"
|
|
||||||
inkscape:pageshadow="2"
|
|
||||||
inkscape:zoom="2.1369427"
|
|
||||||
inkscape:cx="130.27686"
|
|
||||||
inkscape:cy="77.09629"
|
|
||||||
inkscape:document-units="px"
|
|
||||||
inkscape:current-layer="header"
|
|
||||||
showgrid="false"
|
|
||||||
inkscape:window-width="1280"
|
|
||||||
inkscape:window-height="942"
|
|
||||||
inkscape:window-x="0"
|
|
||||||
inkscape:window-y="27"
|
|
||||||
inkscape:window-maximized="1"
|
|
||||||
inkscape:snap-global="true"
|
|
||||||
inkscape:showpageshadow="false" />
|
|
||||||
<metadata
|
|
||||||
id="metadata7">
|
|
||||||
<rdf:RDF>
|
|
||||||
<cc:Work
|
|
||||||
rdf:about="">
|
|
||||||
<dc:format>image/svg+xml</dc:format>
|
|
||||||
<dc:type
|
|
||||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
||||||
<dc:title></dc:title>
|
|
||||||
</cc:Work>
|
|
||||||
</rdf:RDF>
|
|
||||||
</metadata>
|
|
||||||
<g
|
|
||||||
inkscape:label="Layer 1"
|
|
||||||
inkscape:groupmode="layer"
|
|
||||||
id="header"
|
|
||||||
transform="translate(0,-938.36218)">
|
|
||||||
<text
|
|
||||||
xml:space="preserve"
|
|
||||||
style="font-size:40px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
|
|
||||||
id="text3026"
|
|
||||||
x="4.0525044"
|
|
||||||
y="-8.7699928">The editor</text>
|
|
||||||
<text
|
|
||||||
xml:space="preserve"
|
|
||||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:100%;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;filter:url(#filter2910)"
|
|
||||||
x="178.45901"
|
|
||||||
y="988.47156"
|
|
||||||
id="text3198"
|
|
||||||
sodipodi:linespacing="100%"><tspan
|
|
||||||
sodipodi:role="line"
|
|
||||||
id="tspan3200"
|
|
||||||
x="178.45901"
|
|
||||||
y="988.47156"
|
|
||||||
style="font-size:36px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle;font-family:Courier New;-inkscape-font-specification:Courier New Bold">The</tspan><tspan
|
|
||||||
sodipodi:role="line"
|
|
||||||
x="178.45901"
|
|
||||||
y="1024.4716"
|
|
||||||
id="tspan3202"
|
|
||||||
style="font-size:36px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle;font-family:Courier New;-inkscape-font-specification:Courier New Bold">editor</tspan></text>
|
|
||||||
<g
|
|
||||||
id="g2916"
|
|
||||||
style="filter:url(#filter2840)">
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path2999"
|
|
||||||
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="M 107.53604,994.85892 57.991535,946.32092 9.4535173,995.84025 57.991535,1044.4034 107.53604,994.85892" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3003"
|
|
||||||
style="fill:#006b05;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="m 102.57907,994.85892 2.96915,0 -47.556685,47.55668 0,-2.9691 44.587535,-44.58758" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3007"
|
|
||||||
style="fill:#007d17;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="m 11.441335,995.84025 2.969148,0 43.581052,43.60625 0,2.9691 -46.5502,-46.57535" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3011"
|
|
||||||
style="fill:#66ff99;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="m 57.991535,951.25272 0,-2.94398 -46.5502,47.53151 2.969148,0 43.581052,-44.58753" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3015"
|
|
||||||
style="fill:#45ff02;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="m 57.991535,948.30873 0,2.94399 44.587535,43.6062 2.96915,0 -47.556685,-46.55019" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3019"
|
|
||||||
style="fill:#009933;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="m 57.991535,1039.4465 44.587535,-44.58758 -44.587535,-43.6062 -43.581052,44.58753 43.581052,43.60625" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3023"
|
|
||||||
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="m 67.25125,961.16664 2.969146,2.99431 0,0 -20.482085,20.78405 0,-20.78405 1.987817,0 2.969148,-2.99431 0,-7.90094 -2.969148,-2.99431 -33.012896,0 -2.969149,2.99431 0,7.90094 2.969149,2.99431 2.314928,0 0,67.35935 3.623367,2.9692 10.241043,0 70.98276,-73.32286 0,-7.90094 -2.96915,-2.99431 -32.358674,0 -3.296256,2.99431 0,7.90094" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3027"
|
|
||||||
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="m 19.694561,962.17314 -1.987821,-1.98782 0,-5.9383 1.987821,-1.98782 31.05024,-0.0252 1.962656,2.01298 -1.962656,0.95617 -1.00649,-0.95617 -30.04375,4.9318 0,2.99432" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3031"
|
|
||||||
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="m 25.632856,1032.5017 -2.314928,-1.9878 0,-68.36592 2.314928,-1.96266 0,72.31638" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3035"
|
|
||||||
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="m 75.177364,962.17314 1.987819,-1.98782 0,3.97563 -33.038059,33.66712 3.64853,-7.9261 27.40171,-27.72883" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3039"
|
|
||||||
style="fill:#7f7f7f;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="m 26.312236,959.20399 -0.67938,0.98133 -2.314928,1.98782 -3.623367,0 0,-3.97563 6.617675,1.00648" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3043"
|
|
||||||
style="fill:#7f7f7f;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="m 47.775654,962.17314 0,27.72883 -3.64853,7.90094 0,-37.64275 5.611187,0 1.00649,-0.98133 -1.00649,-4.93181 2.969146,0 0,5.9383 -1.962656,1.98782 -2.969147,0" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3047"
|
|
||||||
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="m 71.201725,962.17314 -1.962656,-1.98782 0,-5.9383 2.289766,-1.98782 30.068915,0 2.31493,1.98782 -3.32142,2.96915 -29.389535,1.96265 0,2.99432" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3051"
|
|
||||||
style="fill:#7f7f7f;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="m 103.91268,960.18532 -69.699491,72.31638 -8.580333,0 0,-2.9692 6.290568,0 69.674326,-71.33499 -1.00649,-3.95049 3.32142,0 0,5.9383" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3055"
|
|
||||||
style="fill:#7f7f7f;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="m 77.819404,959.20399 -0.679382,0.98133 -1.962658,1.98782 -3.975639,0 0,-3.97563 6.617679,1.00648" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3059"
|
|
||||||
style="fill:#cccccc;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="m 44.127124,997.80291 0,-37.64275 5.611187,0 1.00649,-0.98134 0,-3.97563 -1.00649,-0.98133 -29.062421,0 -0.981329,0.98133 0,3.97563 0.981329,0.98134 4.956966,0 0,69.37234 1.283276,0.9814 5.661511,0 69.347217,-72.31639 0,-2.84335 -1.00649,-1.1323 -28.710153,0 -1.006492,0.98133 0,4.0008 1.006492,0.98133 4.956966,0 0,3.97563 -33.038059,33.64196" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3063"
|
|
||||||
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="m 62.143307,997.85323 2.31493,-1.98781 5.938295,0 1.660709,1.98781 -1.987817,5.93827 -2.289767,1.9879 -5.938295,0 -1.685872,-1.9879 1.987817,-5.93827" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3067"
|
|
||||||
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="m 64.131127,1030.539 5.963458,-17.8149 -1.987818,0 1.987818,-5.9634 8.882281,0 1.987818,1.9878 1.333602,0 1.962657,-1.9878 6.617676,0 1.98782,1.9878 1.308439,0 1.987818,-1.9878 7.246734,0 2.64204,3.9756 -4.32791,14.0909 1.96265,0 -1.91233,5.7118 -11.901751,0 4.655019,-13.8644 -2.969147,0 -2.742688,8.1023 1.962658,0 -1.862008,5.7621 -11.901753,0 4.629856,-13.8644 -2.969146,0 -2.767852,8.1526 1.987821,0 -1.862008,5.7118 -11.901754,0" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3071"
|
|
||||||
style="fill:#cccccc;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="m 102.50359,1008.7485 1.53489,2.1891 -4.881475,15.6509 1.962655,0 -0.65422,1.9627 -7.92611,0 4.629858,-13.8644 -6.944788,0 -3.950475,11.9017 1.962657,0 -0.654219,1.9627 -7.926114,0 4.629855,-13.8644 -6.944785,0 -3.950476,11.9017 1.987818,0 -0.67938,1.9627 -7.926116,0 5.963458,-17.8149 -1.987818,0 0.654217,-1.9878 7.271898,0 1.987818,1.9878 1.962657,0 1.987819,-1.9878 5.938295,0 1.987821,1.9878 1.987818,0 1.987821,-1.9878 5.988621,0" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3075"
|
|
||||||
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="m 69.088095,1006.7607 -6.064107,18.0413 2.063305,0 -1.962657,5.737 -11.876589,0 5.938295,-17.8149 -1.98782,0 13.889573,-5.9634 z m -13.889573,5.9634 1.98782,-5.9634 11.901753,0" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3079"
|
|
||||||
style="fill:#cccccc;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="m 61.816199,1028.5512 0.654219,-1.9627 -1.987819,0 5.963458,-17.84 -8.253225,0 -0.67938,1.9878 2.314928,0 -5.938297,17.8149 7.926116,0" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3083"
|
|
||||||
style="fill:#cccccc;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.07548681;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
d="m 68.408713,1002.8102 1.333602,-3.97563 -0.65422,-0.98134 -3.975639,0 -1.308438,0.98134 -1.333601,3.97563 0.679382,0.9813 3.975639,0 1.283275,-0.9813" />
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 100 KiB |
|
Before Width: | Height: | Size: 604 KiB |
|
Before Width: | Height: | Size: 766 B |
|
Before Width: | Height: | Size: 766 B |
|
Before Width: | Height: | Size: 604 KiB |
@@ -1,268 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
||||||
|
|
||||||
<svg
|
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
||||||
xmlns:cc="http://creativecommons.org/ns#"
|
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
width="328"
|
|
||||||
height="628"
|
|
||||||
id="svg2"
|
|
||||||
version="1.1"
|
|
||||||
inkscape:version="0.47 r22583"
|
|
||||||
sodipodi:docname="welcome.svg"
|
|
||||||
inkscape:export-filename="welcome.png"
|
|
||||||
inkscape:export-xdpi="90"
|
|
||||||
inkscape:export-ydpi="90">
|
|
||||||
<defs
|
|
||||||
id="defs4">
|
|
||||||
<filter
|
|
||||||
id="filter3356"
|
|
||||||
inkscape:label="Drop shadow"
|
|
||||||
width="1.5"
|
|
||||||
height="1.5"
|
|
||||||
x="-.25"
|
|
||||||
y="-.25">
|
|
||||||
<feGaussianBlur
|
|
||||||
id="feGaussianBlur3358"
|
|
||||||
in="SourceAlpha"
|
|
||||||
stdDeviation="5.000000"
|
|
||||||
result="blur" />
|
|
||||||
<feColorMatrix
|
|
||||||
id="feColorMatrix3360"
|
|
||||||
result="bluralpha"
|
|
||||||
type="matrix"
|
|
||||||
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.600000 0 " />
|
|
||||||
<feOffset
|
|
||||||
id="feOffset3362"
|
|
||||||
in="bluralpha"
|
|
||||||
dx="-10.000000"
|
|
||||||
dy="10.000000"
|
|
||||||
result="offsetBlur" />
|
|
||||||
<feMerge
|
|
||||||
id="feMerge3364">
|
|
||||||
<feMergeNode
|
|
||||||
id="feMergeNode3366"
|
|
||||||
in="offsetBlur" />
|
|
||||||
<feMergeNode
|
|
||||||
id="feMergeNode3368"
|
|
||||||
in="SourceGraphic" />
|
|
||||||
</feMerge>
|
|
||||||
</filter>
|
|
||||||
<filter
|
|
||||||
id="filter3496"
|
|
||||||
inkscape:label="Drop shadow"
|
|
||||||
width="1.5"
|
|
||||||
height="1.5"
|
|
||||||
x="-.25"
|
|
||||||
y="-.25">
|
|
||||||
<feGaussianBlur
|
|
||||||
id="feGaussianBlur3498"
|
|
||||||
in="SourceAlpha"
|
|
||||||
stdDeviation="3.000000"
|
|
||||||
result="blur" />
|
|
||||||
<feColorMatrix
|
|
||||||
id="feColorMatrix3500"
|
|
||||||
result="bluralpha"
|
|
||||||
type="matrix"
|
|
||||||
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.600000 0 " />
|
|
||||||
<feOffset
|
|
||||||
id="feOffset3502"
|
|
||||||
in="bluralpha"
|
|
||||||
dx="-5.000000"
|
|
||||||
dy="5.000000"
|
|
||||||
result="offsetBlur" />
|
|
||||||
<feMerge
|
|
||||||
id="feMerge3504">
|
|
||||||
<feMergeNode
|
|
||||||
id="feMergeNode3506"
|
|
||||||
in="offsetBlur" />
|
|
||||||
<feMergeNode
|
|
||||||
id="feMergeNode3508"
|
|
||||||
in="SourceGraphic" />
|
|
||||||
</feMerge>
|
|
||||||
</filter>
|
|
||||||
</defs>
|
|
||||||
<sodipodi:namedview
|
|
||||||
id="base"
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#666666"
|
|
||||||
borderopacity="1.0"
|
|
||||||
inkscape:pageopacity="1"
|
|
||||||
inkscape:pageshadow="2"
|
|
||||||
inkscape:zoom="1.0716561"
|
|
||||||
inkscape:cx="122.81449"
|
|
||||||
inkscape:cy="381.22777"
|
|
||||||
inkscape:document-units="px"
|
|
||||||
inkscape:current-layer="layer1"
|
|
||||||
showgrid="false"
|
|
||||||
inkscape:window-width="1280"
|
|
||||||
inkscape:window-height="942"
|
|
||||||
inkscape:window-x="0"
|
|
||||||
inkscape:window-y="27"
|
|
||||||
inkscape:window-maximized="1"
|
|
||||||
inkscape:snap-global="true"
|
|
||||||
inkscape:showpageshadow="false" />
|
|
||||||
<metadata
|
|
||||||
id="metadata7">
|
|
||||||
<rdf:RDF>
|
|
||||||
<cc:Work
|
|
||||||
rdf:about="">
|
|
||||||
<dc:format>image/svg+xml</dc:format>
|
|
||||||
<dc:type
|
|
||||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
||||||
<dc:title></dc:title>
|
|
||||||
</cc:Work>
|
|
||||||
</rdf:RDF>
|
|
||||||
</metadata>
|
|
||||||
<g
|
|
||||||
inkscape:label="Layer 1"
|
|
||||||
inkscape:groupmode="layer"
|
|
||||||
id="layer1"
|
|
||||||
transform="translate(0,-424.36218)">
|
|
||||||
<rect
|
|
||||||
style="fill:#eeffcc;fill-opacity:1;stroke:#007f00;stroke-width:2.0138948;stroke-miterlimit:2.6099999;stroke-opacity:1;stroke-dasharray:none"
|
|
||||||
id="rect3510"
|
|
||||||
width="327.98608"
|
|
||||||
height="635.98608"
|
|
||||||
x="-0.99305254"
|
|
||||||
y="420.36914" />
|
|
||||||
<path
|
|
||||||
sodipodi:type="arc"
|
|
||||||
style="fill:#ffffff;fill-opacity:0;stroke:none"
|
|
||||||
id="path3795"
|
|
||||||
sodipodi:cx="92.889717"
|
|
||||||
sodipodi:cy="94.761551"
|
|
||||||
sodipodi:rx="83.062592"
|
|
||||||
sodipodi:ry="84.466469"
|
|
||||||
d="m 175.95231,94.761551 c 0,46.649539 -37.18839,84.466469 -83.062593,84.466469 -45.874202,0 -83.0625915,-37.81693 -83.0625915,-84.466469 0,-46.649543 37.1883895,-84.466469 83.0625915,-84.466469 45.874203,0 83.062593,37.816926 83.062593,84.466469 z"
|
|
||||||
transform="matrix(0,-2.3099964,-2.3548838,0,387.15244,952.93709)" />
|
|
||||||
<text
|
|
||||||
xml:space="preserve"
|
|
||||||
style="font-size:40px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;filter:url(#filter3496)"
|
|
||||||
id="text3026"><textPath
|
|
||||||
xlink:href="#path3795"
|
|
||||||
startOffset="50%"
|
|
||||||
id="textPath3036"
|
|
||||||
style="font-size:58;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:center;text-anchor:middle;font-family:Courier New;-inkscape-font-specification:Courier New Bold;">The editor</textPath></text>
|
|
||||||
<g
|
|
||||||
id="g2968"
|
|
||||||
style="filter:url(#filter3356)">
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path2999"
|
|
||||||
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="M 299.80052,736.9686 162.60646,602.56167 28.199478,739.68603 162.60646,874.16269 299.80052,736.9686" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3003"
|
|
||||||
style="fill:#006b05;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="m 286.07415,736.9686 8.22189,0 -131.68958,131.68962 0,-8.2219 123.46769,-123.46772" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3007"
|
|
||||||
style="fill:#007d17;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="m 33.703958,739.68603 8.221891,0 120.680611,120.75029 0,8.2219 L 33.703958,739.68603" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3011"
|
|
||||||
style="fill:#66ff99;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="m 162.60646,616.21837 0,-8.15223 -128.902502,131.61989 8.221891,0 120.680611,-123.46766" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3015"
|
|
||||||
style="fill:#45ff02;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="m 162.60646,608.06614 0,8.15223 123.46769,120.75023 8.22189,0 -131.68958,-128.90246" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3019"
|
|
||||||
style="fill:#009933;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="M 162.60646,860.43632 286.07415,736.9686 162.60646,616.21837 41.925849,739.68603 162.60646,860.43632" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3023"
|
|
||||||
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="m 188.24761,643.67106 8.22188,8.29158 0,0 -56.71709,57.55326 0,-57.55326 5.50448,0 8.22189,-8.29158 0,-21.87855 -8.22189,-8.29157 -91.416257,0 -8.221894,8.29157 0,21.87855 8.221894,8.29158 6.410285,0 0,186.52539 10.033492,8.22191 28.358547,0 196.558893,-203.03888 0,-21.87855 -8.22189,-8.29157 -89.60466,0 -9.12768,8.29157 0,21.87855" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3027"
|
|
||||||
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="m 56.558028,646.45817 -5.504489,-5.50448 0,-16.4438 5.504489,-5.50448 85.981452,-0.0697 5.4348,5.57416 -5.4348,2.64775 -2.78708,-2.64775 -83.194372,13.6567 0,8.29158" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3031"
|
|
||||||
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="m 73.001805,841.20547 -6.410285,-5.50448 0,-189.3125 6.410285,-5.4348 0,200.25178" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3035"
|
|
||||||
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="m 210.19587,646.45817 5.50448,-5.50448 0,11.00895 -91.48593,93.22786 10.10317,-21.94822 75.87828,-76.78411" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3039"
|
|
||||||
style="fill:#7f7f7f;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="m 74.883082,638.23626 -1.881277,2.71743 -6.410285,5.50448 -10.033492,0 0,-11.00895 18.325054,2.78704" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3043"
|
|
||||||
style="fill:#7f7f7f;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="m 134.31759,646.45817 0,76.78411 -10.10317,21.87855 0,-104.23681 15.53798,0 2.78708,-2.71743 -2.78708,-13.6567 8.22188,0 0,16.4438 -5.4348,5.50448 -8.22189,0" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3047"
|
|
||||||
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="m 199.1869,646.45817 -5.43481,-5.50448 0,-16.4438 6.34061,-5.50448 83.26404,0 6.41029,5.50448 -9.19736,8.2219 -81.38277,5.4348 0,8.29158" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3051"
|
|
||||||
style="fill:#7f7f7f;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="m 289.76703,640.95369 -193.005361,200.25177 -23.759864,0 0,-8.2219 17.419257,0 192.935678,-197.53434 -2.78707,-10.93933 9.19736,0 0,16.4438" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3055"
|
|
||||||
style="fill:#7f7f7f;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="m 217.51196,638.23626 -1.88128,2.71743 -5.43481,5.50448 -11.00897,0 0,-11.00895 18.32506,2.78704" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3059"
|
|
||||||
style="fill:#cccccc;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="m 124.21442,745.12082 0,-104.23681 15.53798,0 2.78708,-2.71742 0,-11.00895 -2.78708,-2.71743 -80.476968,0 -2.717404,2.71743 0,11.00895 2.717404,2.71742 13.726373,0 0,192.09955 3.553528,2.71743 15.677333,0 192.029884,-200.25177 0,-7.87353 -2.78708,-3.13548 -79.50149,0 -2.78708,2.71743 0,11.07862 2.78708,2.71743 13.72637,0 0,11.00895 -91.48593,93.15818" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3063"
|
|
||||||
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="m 174.10317,745.26018 6.41029,-5.50448 16.44377,0 4.59868,5.50448 -5.50447,16.4438 -6.34062,5.50448 -16.44377,0 -4.66836,-5.50448 5.50448,-16.4438" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3067"
|
|
||||||
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="m 179.60765,835.77066 16.51346,-49.33135 -5.50448,0 5.50448,-16.51342 24.59599,0 5.50448,5.50447 3.69289,0 5.43481,-5.50447 18.32505,0 5.50449,5.50447 3.62321,0 5.50448,-5.50447 20.06698,0 7.31609,11.00895 -11.98445,39.01911 5.43481,0 -5.29546,15.81671 -32.95723,0 12.89025,-38.39208 -8.22189,0 -7.59479,22.43602 5.43481,0 -5.1561,15.95606 -32.95724,0 12.82057,-38.39208 -8.22188,0 -7.66448,22.57537 5.50449,0 -5.1561,15.81671 -32.95724,0" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3071"
|
|
||||||
style="fill:#cccccc;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="m 285.86512,775.43036 4.25029,6.06188 -13.51734,43.3391 5.43481,0 -1.8116,5.43485 -21.94826,0 12.82057,-38.39208 -19.23086,0 -10.93929,32.95723 5.43481,0 -1.81161,5.43485 -21.94826,0 12.82057,-38.39208 -19.23086,0 -10.93929,32.95723 5.50448,0 -1.88127,5.43485 -21.94827,0 16.51346,-49.33135 -5.50449,0 1.8116,-5.50448 20.13667,0 5.50448,5.50448 5.43481,0 5.50448,-5.50448 16.44378,0 5.50449,5.50448 5.50448,0 5.50449,-5.50448 16.58312,0" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3075"
|
|
||||||
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="m 193.33403,769.92588 -16.79216,49.95839 5.71351,0 -5.43481,15.88639 -32.88755,0 16.44378,-49.33135 -5.50449,0 38.46172,-16.51343 z m -38.46172,16.51343 5.50449,-16.51343 32.95723,0" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3079"
|
|
||||||
style="fill:#cccccc;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="m 173.19737,830.26619 1.8116,-5.43485 -5.50448,0 16.51345,-49.40098 -22.85406,0 -1.88128,5.50448 6.41028,0 -16.44378,49.33135 21.94827,0" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3083"
|
|
||||||
style="fill:#cccccc;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20903109000000000;stroke-miterlimit:2.60999990000000004;stroke-opacity:1;stroke-dasharray:none;"
|
|
||||||
d="m 191.45275,758.98656 3.69288,-11.00896 -1.8116,-2.71743 -11.00897,0 -3.62321,2.71743 -3.69288,11.00896 1.88128,2.71742 11.00897,0 3.55353,-2.71742" />
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 14 KiB |
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# Overwrite the default translation.
|
# Overwrite the default translation.
|
||||||
# These string should be always English. Otherwise dosinst.c fails.
|
# These strings should be always English. Otherwise dosinst.c fails.
|
||||||
LangString ^SetupCaption ${LANG_DANISH} "$(^Name) Setup"
|
LangString ^SetupCaption ${LANG_DANISH} "$(^Name) Setup"
|
||||||
LangString ^UninstallCaption ${LANG_DANISH} "$(^Name) Uninstall"
|
LangString ^UninstallCaption ${LANG_DANISH} "$(^Name) Uninstall"
|
||||||
|
|
||||||
@@ -74,7 +74,7 @@ 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_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_section_plugin_home ${LANG_DANISH} "Private"
|
||||||
LangString str_desc_plugin_home ${LANG_DANISH} "Opret plugin-mapper i HOME-mappen."
|
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_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_desc_plugin_vim ${LANG_DANISH} "Opret plugin-mapper i Vim-installationsmappe, det bruges af alle på systemet."
|
||||||
@@ -92,9 +92,9 @@ LangString str_unsection_exe ${LANG_DANISH} "Fjern Vim-eksekverbare-/
|
|||||||
LangString str_desc_rm_exe ${LANG_DANISH} "Fjern alle Vim-eksekverbare- og 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_ungroup_plugin ${LANG_DANISH} "Fjern plugin-mapper"
|
||||||
LangString str_desc_rm_plugin ${LANG_DANISH} "Fjern plugin-mapperne hvis de er tomme."
|
LangString str_desc_rm_plugin ${LANG_DANISH} "Fjern plugin-mapperne, hvis de er tomme."
|
||||||
|
|
||||||
LangString str_unsection_plugin_home ${LANG_DANISH} "Privat"
|
LangString str_unsection_plugin_home ${LANG_DANISH} "Private"
|
||||||
LangString str_desc_rm_plugin_home ${LANG_DANISH} "Fjern plugin-mapperne fra HOME-mappen."
|
LangString str_desc_rm_plugin_home ${LANG_DANISH} "Fjern plugin-mapperne fra HOME-mappen."
|
||||||
|
|
||||||
LangString str_unsection_plugin_vim ${LANG_DANISH} "Delte"
|
LangString str_unsection_plugin_vim ${LANG_DANISH} "Delte"
|
||||||
@@ -164,9 +164,9 @@ LangString str_msg_compat_defaults ${LANG_DANISH} "Vim med nogle forbedringe
|
|||||||
LangString str_msg_compat_all ${LANG_DANISH} "Vim med alle forbedringer (indlæs vimrc_example.vim) (standard)"
|
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_title ${LANG_DANISH} " Tilknytninger "
|
||||||
LangString str_msg_keymap_desc ${LANG_DANISH} "&Gentilknyt nogle få taster (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F osv.)"
|
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_default ${LANG_DANISH} "Gentilknyt ikke taster (standard)"
|
||||||
LangString str_msg_keymap_windows ${LANG_DANISH} "Gentilknyt nogle få taster til Windows"
|
LangString str_msg_keymap_windows ${LANG_DANISH} "Gentilknyt nogle få taster"
|
||||||
|
|
||||||
LangString str_msg_mouse_title ${LANG_DANISH} " Mus "
|
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_desc ${LANG_DANISH} "&Opførsel af højre og venstre knapper"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# Overwrite the default translation.
|
# Overwrite the default translation.
|
||||||
# These string should be always English. Otherwise dosinst.c fails.
|
# These strings should be always English. Otherwise dosinst.c fails.
|
||||||
LangString ^SetupCaption ${LANG_DUTCH} \
|
LangString ^SetupCaption ${LANG_DUTCH} \
|
||||||
"$(^Name) Setup"
|
"$(^Name) Setup"
|
||||||
LangString ^UninstallCaption ${LANG_DUTCH} \
|
LangString ^UninstallCaption ${LANG_DUTCH} \
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# Overwrite the default translation.
|
# Overwrite the default translation.
|
||||||
# These string should be always English. Otherwise dosinst.c fails.
|
# These strings should be always English. Otherwise dosinst.c fails.
|
||||||
LangString ^SetupCaption ${LANG_ENGLISH} \
|
LangString ^SetupCaption ${LANG_ENGLISH} \
|
||||||
"$(^Name) Setup"
|
"$(^Name) Setup"
|
||||||
LangString ^UninstallCaption ${LANG_ENGLISH} \
|
LangString ^UninstallCaption ${LANG_ENGLISH} \
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# Overwrite the default translation.
|
# Overwrite the default translation.
|
||||||
# These string should be always English. Otherwise dosinst.c fails.
|
# These strings should be always English. Otherwise dosinst.c fails.
|
||||||
LangString ^SetupCaption ${LANG_GERMAN} \
|
LangString ^SetupCaption ${LANG_GERMAN} \
|
||||||
"$(^Name) Setup"
|
"$(^Name) Setup"
|
||||||
LangString ^UninstallCaption ${LANG_GERMAN} \
|
LangString ^UninstallCaption ${LANG_GERMAN} \
|
||||||
|
|||||||
@@ -4,14 +4,14 @@
|
|||||||
#
|
#
|
||||||
# Locale ID : 1040
|
# Locale ID : 1040
|
||||||
# Locale Name : it
|
# Locale Name : it
|
||||||
# fileencoding : latin1
|
# fileencoding : UTF-8
|
||||||
# Author : Antonio Colombo
|
# Author : Antonio Colombo
|
||||||
|
|
||||||
!insertmacro MUI_LANGUAGE "Italian"
|
!insertmacro MUI_LANGUAGE "Italian"
|
||||||
|
|
||||||
|
|
||||||
# Overwrite the default translation.
|
# Overwrite the default translation.
|
||||||
# These string should be always English. Otherwise dosinst.c fails.
|
# These strings should be always English. Otherwise dosinst.c fails.
|
||||||
LangString ^SetupCaption ${LANG_ITALIAN} \
|
LangString ^SetupCaption ${LANG_ITALIAN} \
|
||||||
"$(^Name) Setup"
|
"$(^Name) Setup"
|
||||||
LangString ^UninstallCaption ${LANG_ITALIAN} \
|
LangString ^UninstallCaption ${LANG_ITALIAN} \
|
||||||
@@ -48,7 +48,7 @@ LangString str_desc_old_ver ${LANG_ITALIAN} \
|
|||||||
"Disinstalla versione/i esistente/i di Vim dal vostro sistema."
|
"Disinstalla versione/i esistente/i di Vim dal vostro sistema."
|
||||||
|
|
||||||
LangString str_section_exe ${LANG_ITALIAN} \
|
LangString str_section_exe ${LANG_ITALIAN} \
|
||||||
"Vim GUI (gvim.exe per Windows)"
|
"Vim GUI e file di supporto"
|
||||||
LangString str_desc_exe ${LANG_ITALIAN} \
|
LangString str_desc_exe ${LANG_ITALIAN} \
|
||||||
"Vim GUI programmi e file di supporto. Questa componente è indispensabile."
|
"Vim GUI programmi e file di supporto. Questa componente è indispensabile."
|
||||||
|
|
||||||
@@ -61,7 +61,7 @@ LangString str_section_batch ${LANG_ITALIAN} \
|
|||||||
"Crea file di invocazione (MS-DOS) .bat"
|
"Crea file di invocazione (MS-DOS) .bat"
|
||||||
LangString str_desc_batch ${LANG_ITALIAN} \
|
LangString str_desc_batch ${LANG_ITALIAN} \
|
||||||
"Crea file di invocazione .bat per varianti di Vim nella directory \
|
"Crea file di invocazione .bat per varianti di Vim nella directory \
|
||||||
di Windows, da utilizzare da linea di comando (MS-DOS)."
|
di Windows, per utilizzo da linea di comando (MS-DOS)."
|
||||||
|
|
||||||
LangString str_group_icons ${LANG_ITALIAN} \
|
LangString str_group_icons ${LANG_ITALIAN} \
|
||||||
"Crea icone per Vim"
|
"Crea icone per Vim"
|
||||||
@@ -71,13 +71,12 @@ LangString str_desc_icons ${LANG_ITALIAN} \
|
|||||||
LangString str_section_desktop ${LANG_ITALIAN} \
|
LangString str_section_desktop ${LANG_ITALIAN} \
|
||||||
"Sul Desktop"
|
"Sul Desktop"
|
||||||
LangString str_desc_desktop ${LANG_ITALIAN} \
|
LangString str_desc_desktop ${LANG_ITALIAN} \
|
||||||
"Crea icone per programma gvim sul desktop."
|
"Crea icone per programma gVim sul desktop."
|
||||||
|
|
||||||
LangString str_section_start_menu ${LANG_ITALIAN} \
|
LangString str_section_start_menu ${LANG_ITALIAN} \
|
||||||
"Nella cartella del menù START"
|
"Nella cartella del menù START"
|
||||||
LangString str_desc_start_menu ${LANG_ITALIAN} \
|
LangString str_desc_start_menu ${LANG_ITALIAN} \
|
||||||
"Aggiungi Vim alle cartelle del menù START. \
|
"Aggiungi Vim alle cartelle del menù START."
|
||||||
Disponibile solo da Windows 95 in avanti."
|
|
||||||
|
|
||||||
#LangString str_section_quick_launch ${LANG_ITALIAN} \
|
#LangString str_section_quick_launch ${LANG_ITALIAN} \
|
||||||
# "Nella barra di Avvio Veloce"
|
# "Nella barra di Avvio Veloce"
|
||||||
@@ -102,26 +101,26 @@ LangString str_desc_edit_with ${LANG_ITALIAN} \
|
|||||||
# per applicazioni a 64-bit."
|
# per applicazioni a 64-bit."
|
||||||
|
|
||||||
LangString str_section_vim_rc ${LANG_ITALIAN} \
|
LangString str_section_vim_rc ${LANG_ITALIAN} \
|
||||||
"Crea Configurazione di default"
|
"Crea configurazione di default"
|
||||||
LangString str_desc_vim_rc ${LANG_ITALIAN} \
|
LangString str_desc_vim_rc ${LANG_ITALIAN} \
|
||||||
"Crea file configurazione di default (_vimrc) se non ne \
|
"Crea un file configurazione di default (_vimrc) se non \
|
||||||
esiste già uno."
|
ne esiste già uno."
|
||||||
|
|
||||||
LangString str_group_plugin ${LANG_ITALIAN} \
|
LangString str_group_plugin ${LANG_ITALIAN} \
|
||||||
"Crea Directory per Plugin"
|
"Crea directory per plugin"
|
||||||
LangString str_desc_plugin ${LANG_ITALIAN} \
|
LangString str_desc_plugin ${LANG_ITALIAN} \
|
||||||
"Crea Directory per Plugin. Servono per aggiungere funzionalità \
|
"Crea directory per plugin. Consentono di aggiungere funzionalità \
|
||||||
a Vim aggiungendo file a una di queste directory."
|
a Vim mettendo file in una di queste directory."
|
||||||
|
|
||||||
LangString str_section_plugin_home ${LANG_ITALIAN} \
|
LangString str_section_plugin_home ${LANG_ITALIAN} \
|
||||||
"Privato"
|
"Private"
|
||||||
LangString str_desc_plugin_home ${LANG_ITALIAN} \
|
LangString str_desc_plugin_home ${LANG_ITALIAN} \
|
||||||
"Create plugin directories in HOME directory."
|
"Crea directory per plugin nella directory HOME."
|
||||||
|
|
||||||
LangString str_section_plugin_vim ${LANG_ITALIAN} \
|
LangString str_section_plugin_vim ${LANG_ITALIAN} \
|
||||||
"Condiviso"
|
"Condivise"
|
||||||
LangString str_desc_plugin_vim ${LANG_ITALIAN} \
|
LangString str_desc_plugin_vim ${LANG_ITALIAN} \
|
||||||
"Crea Directory Plugin nella directory di installazione di Vim \
|
"Crea directory per plugin nella directory di installazione di Vim \
|
||||||
per uso da parte di tutti gli utenti di questo sistema."
|
per uso da parte di tutti gli utenti di questo sistema."
|
||||||
|
|
||||||
LangString str_section_vis_vim ${LANG_ITALIAN} \
|
LangString str_section_vis_vim ${LANG_ITALIAN} \
|
||||||
@@ -140,35 +139,29 @@ LangString str_desc_unregister ${LANG_ITALIAN} \
|
|||||||
"Togli Vim dal Registry di configurazione sistema."
|
"Togli Vim dal Registry di configurazione sistema."
|
||||||
|
|
||||||
LangString str_unsection_exe ${LANG_ITALIAN} \
|
LangString str_unsection_exe ${LANG_ITALIAN} \
|
||||||
"Cancella programmi/file_ausiliari Vim"
|
"Cancella programmi/file di supporto Vim"
|
||||||
LangString str_desc_rm_exe ${LANG_ITALIAN} \
|
LangString str_desc_rm_exe ${LANG_ITALIAN} \
|
||||||
"Cancella tutti i programmi/file_ausiliari di Vim."
|
"Cancella tutti i programmi/file di supporto di Vim."
|
||||||
|
|
||||||
LangString str_unsection_rc ${LANG_ITALIAN} \
|
|
||||||
"Cancella file di configurazione di Vim"
|
|
||||||
LangString str_desc_rm_rc ${LANG_ITALIAN} \
|
|
||||||
"Cancella file di configurazione di Vim $vim_install_root\_vimrc. \
|
|
||||||
Da saltare se avete personalizzato il file di configurazione."
|
|
||||||
|
|
||||||
LangString str_ungroup_plugin ${LANG_ITALIAN} \
|
LangString str_ungroup_plugin ${LANG_ITALIAN} \
|
||||||
"Remove plugin directories"
|
"Cancella le directory per plugin"
|
||||||
LangString str_desc_rm_plugin ${LANG_ITALIAN} \
|
LangString str_desc_rm_plugin ${LANG_ITALIAN} \
|
||||||
"Remove the plugin directories if they are empty."
|
"Cancella le directory per plugin se sono vuote."
|
||||||
|
|
||||||
LangString str_unsection_plugin_home ${LANG_ITALIAN} \
|
LangString str_unsection_plugin_home ${LANG_ITALIAN} \
|
||||||
"Privato"
|
"Private"
|
||||||
LangString str_desc_rm_plugin_home ${LANG_ITALIAN} \
|
LangString str_desc_rm_plugin_home ${LANG_ITALIAN} \
|
||||||
"Remove the plugin directories from HOME directory."
|
"Cancella le directory per plugin dalla directory HOME."
|
||||||
|
|
||||||
LangString str_unsection_plugin_vim ${LANG_ITALIAN} \
|
LangString str_unsection_plugin_vim ${LANG_ITALIAN} \
|
||||||
"Condiviso"
|
"Condivise"
|
||||||
LangString str_desc_rm_plugin_vim ${LANG_ITALIAN} \
|
LangString str_desc_rm_plugin_vim ${LANG_ITALIAN} \
|
||||||
"Remove the plugin directories from Vim install directory."
|
"Cancella le directory per plugin dalla directory di installazione di Vim."
|
||||||
|
|
||||||
LangString str_unsection_rootdir ${LANG_ITALIAN} \
|
LangString str_unsection_rootdir ${LANG_ITALIAN} \
|
||||||
"Remove the Vim root directory"
|
"Cancella la directory di installazione di Vim"
|
||||||
LangString str_desc_rm_rootdir ${LANG_ITALIAN} \
|
LangString str_desc_rm_rootdir ${LANG_ITALIAN} \
|
||||||
"Remove the Vim root directory. It contains your Vim configuration files!"
|
"Cancella la directory di installazione di Vim. Contiene i vostri file di configurazione!"
|
||||||
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
@@ -177,8 +170,8 @@ LangString str_desc_rm_rootdir ${LANG_ITALIAN} \
|
|||||||
|
|
||||||
#LangString str_msg_too_many_ver ${LANG_ITALIAN} \
|
#LangString str_msg_too_many_ver ${LANG_ITALIAN} \
|
||||||
# "Trovate $vim_old_ver_count versioni di Vim sul vostro sistema.$\r$\n\
|
# "Trovate $vim_old_ver_count versioni di Vim sul vostro sistema.$\r$\n\
|
||||||
# Questo programma di installazione può gestirne solo \
|
# Questo programma di installazione può gestire solo \
|
||||||
# ${VIM_MAX_OLD_VER}.$\r$\n\
|
# ${VIM_MAX_OLD_VER} versioni.$\r$\n\
|
||||||
# Disinstallate qualche versione precedente e ricominciate."
|
# Disinstallate qualche versione precedente e ricominciate."
|
||||||
|
|
||||||
#LangString str_msg_invalid_root ${LANG_ITALIAN} \
|
#LangString str_msg_invalid_root ${LANG_ITALIAN} \
|
||||||
@@ -186,7 +179,7 @@ LangString str_desc_rm_rootdir ${LANG_ITALIAN} \
|
|||||||
# Dovrebbe terminare con $\"vim$\"."
|
# Dovrebbe terminare con $\"vim$\"."
|
||||||
|
|
||||||
#LangString str_msg_bin_mismatch ${LANG_ITALIAN} \
|
#LangString str_msg_bin_mismatch ${LANG_ITALIAN} \
|
||||||
# "Incongruenza di installazione!$\r$\n$\r$\n\
|
# "Conflitto nella directory di installazione!$\r$\n$\r$\n\
|
||||||
# Cartella di installazione dev'essere $\"$vim_bin_path$\",$\r$\n\
|
# Cartella di installazione dev'essere $\"$vim_bin_path$\",$\r$\n\
|
||||||
# ma il sistema segnala invece $\"$INSTDIR$\"."
|
# ma il sistema segnala invece $\"$INSTDIR$\"."
|
||||||
|
|
||||||
@@ -196,14 +189,14 @@ LangString str_desc_rm_rootdir ${LANG_ITALIAN} \
|
|||||||
|
|
||||||
#LangString str_msg_register_ole ${LANG_ITALIAN} \
|
#LangString str_msg_register_ole ${LANG_ITALIAN} \
|
||||||
# "Tentativo di registrazione di Vim con OLE. \
|
# "Tentativo di registrazione di Vim con OLE. \
|
||||||
# Non ci sono messaggi che indicano se ha funzionato o no."
|
# Non c'è messaggio che indica se è riuscito o no."
|
||||||
|
|
||||||
#LangString str_msg_unreg_ole ${LANG_ITALIAN} \
|
#LangString str_msg_unreg_ole ${LANG_ITALIAN} \
|
||||||
# "Tentativo di togliere da Registry Vim con OLE. \
|
# "Tentativo di togliere dal Registry Vim con OLE. \
|
||||||
# Non ci sono messaggi che indicano se ha funzionato o no."
|
# Non c'è messaggio che indica se è riuscito o no."
|
||||||
|
|
||||||
#LangString str_msg_rm_start ${LANG_ITALIAN} \
|
#LangString str_msg_rm_start ${LANG_ITALIAN} \
|
||||||
# "Disinstallazione delle seguenti versioni:"
|
# "Disinstallazione della seguente versione:"
|
||||||
|
|
||||||
#LangString str_msg_rm_fail ${LANG_ITALIAN} \
|
#LangString str_msg_rm_fail ${LANG_ITALIAN} \
|
||||||
# "Disinstallazione non riuscita per la seguente versione:"
|
# "Disinstallazione non riuscita per la seguente versione:"
|
||||||
@@ -215,7 +208,7 @@ LangString str_desc_rm_rootdir ${LANG_ITALIAN} \
|
|||||||
# "Non riesco a trovare programma disinstallazione nel Registry."
|
# "Non riesco a trovare programma disinstallazione nel Registry."
|
||||||
|
|
||||||
#LangString str_msg_no_rm_exe ${LANG_ITALIAN} \
|
#LangString str_msg_no_rm_exe ${LANG_ITALIAN} \
|
||||||
# "Non riesco a utilizzare programma disinstallazione."
|
# "Non riesco a trovare programma disinstallazione."
|
||||||
|
|
||||||
#LangString str_msg_rm_copy_fail ${LANG_ITALIAN} \
|
#LangString str_msg_rm_copy_fail ${LANG_ITALIAN} \
|
||||||
# "Non riesco a copiare programma disinstallazione a una \
|
# "Non riesco a copiare programma disinstallazione a una \
|
||||||
@@ -238,13 +231,13 @@ LangString str_msg_rm_exe_fail ${LANG_ITALIAN} \
|
|||||||
# "AVVISO: Non posso cancellare $\"$vim_install_root$\", non è vuota!"
|
# "AVVISO: Non posso cancellare $\"$vim_install_root$\", non è vuota!"
|
||||||
|
|
||||||
LangString str_msg_uninstalling ${LANG_ITALIAN} \
|
LangString str_msg_uninstalling ${LANG_ITALIAN} \
|
||||||
"Uninstalling the old version..."
|
"Sto disinstallando la vecchia versione..."
|
||||||
|
|
||||||
LangString str_msg_registering ${LANG_ITALIAN} \
|
LangString str_msg_registering ${LANG_ITALIAN} \
|
||||||
"Registering..."
|
"Sto aggiungendo Vim al Registry..."
|
||||||
|
|
||||||
LangString str_msg_unregistering ${LANG_ITALIAN} \
|
LangString str_msg_unregistering ${LANG_ITALIAN} \
|
||||||
"Unregistering..."
|
"Sto togliendo Vim dal Registry..."
|
||||||
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
@@ -252,39 +245,39 @@ LangString str_msg_unregistering ${LANG_ITALIAN} \
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
LangString str_vimrc_page_title ${LANG_ITALIAN} \
|
LangString str_vimrc_page_title ${LANG_ITALIAN} \
|
||||||
"Choose _vimrc settings"
|
"Scelta impostazioni _vimrc"
|
||||||
LangString str_vimrc_page_subtitle ${LANG_ITALIAN} \
|
LangString str_vimrc_page_subtitle ${LANG_ITALIAN} \
|
||||||
"Choose the settings for enhancement, keyboard and mouse."
|
"Scelta impostazioni per funzionalità ulteriori, tastiera e mouse."
|
||||||
|
|
||||||
LangString str_msg_compat_title ${LANG_ITALIAN} \
|
LangString str_msg_compat_title ${LANG_ITALIAN} \
|
||||||
" Vi / Vim behavior "
|
" comportamento come Vi / Vim "
|
||||||
LangString str_msg_compat_desc ${LANG_ITALIAN} \
|
LangString str_msg_compat_desc ${LANG_ITALIAN} \
|
||||||
"&Compatibility and enhancements"
|
"&Compatibilità e funzionalità ulteriori"
|
||||||
LangString str_msg_compat_vi ${LANG_ITALIAN} \
|
LangString str_msg_compat_vi ${LANG_ITALIAN} \
|
||||||
"Vi compatible"
|
"Compatibile con Vi"
|
||||||
LangString str_msg_compat_vim ${LANG_ITALIAN} \
|
LangString str_msg_compat_vim ${LANG_ITALIAN} \
|
||||||
"Vim original"
|
"Vim originale"
|
||||||
LangString str_msg_compat_defaults ${LANG_ITALIAN} \
|
LangString str_msg_compat_defaults ${LANG_ITALIAN} \
|
||||||
"Vim with some enhancements (load defaults.vim)"
|
"Vim con alcune funzionalità ulteriori (esecuzione defaults.vim)"
|
||||||
LangString str_msg_compat_all ${LANG_ITALIAN} \
|
LangString str_msg_compat_all ${LANG_ITALIAN} \
|
||||||
"Vim with all enhancements (load vimrc_example.vim) (Default)"
|
"Vim con tutte le funzionalità ulteriori (esecuzione vimrc_example.vim) (Default)"
|
||||||
|
|
||||||
LangString str_msg_keymap_title ${LANG_ITALIAN} \
|
LangString str_msg_keymap_title ${LANG_ITALIAN} \
|
||||||
" Mappings "
|
" Mappature "
|
||||||
LangString str_msg_keymap_desc ${LANG_ITALIAN} \
|
LangString str_msg_keymap_desc ${LANG_ITALIAN} \
|
||||||
"&Remap a few keys for Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc)"
|
"&Rimappatura di alcuni tasti per Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc.)"
|
||||||
LangString str_msg_keymap_default ${LANG_ITALIAN} \
|
LangString str_msg_keymap_default ${LANG_ITALIAN} \
|
||||||
"Do not remap keys (Default)"
|
"Non effettuare rimappature di tasti (Default)"
|
||||||
LangString str_msg_keymap_windows ${LANG_ITALIAN} \
|
LangString str_msg_keymap_windows ${LANG_ITALIAN} \
|
||||||
"Remap a few keys"
|
"Rimappare solo alcuni tasti"
|
||||||
|
|
||||||
LangString str_msg_mouse_title ${LANG_ITALIAN} \
|
LangString str_msg_mouse_title ${LANG_ITALIAN} \
|
||||||
" Mouse "
|
" Mouse "
|
||||||
LangString str_msg_mouse_desc ${LANG_ITALIAN} \
|
LangString str_msg_mouse_desc ${LANG_ITALIAN} \
|
||||||
"&Behavior of right and left buttons"
|
"&Comportamento dei pulsanti destro e sinistro"
|
||||||
LangString str_msg_mouse_default ${LANG_ITALIAN} \
|
LangString str_msg_mouse_default ${LANG_ITALIAN} \
|
||||||
"Right: popup menu, Left: visual mode (Default)"
|
"Destro: popup menu, Sinistro: modalità visuale (Default)"
|
||||||
LangString str_msg_mouse_windows ${LANG_ITALIAN} \
|
LangString str_msg_mouse_windows ${LANG_ITALIAN} \
|
||||||
"Right: popup menu, Left: select mode (Windows)"
|
"Destro: popup menu, Sinistro: seleziona modalità (Windows)"
|
||||||
LangString str_msg_mouse_unix ${LANG_ITALIAN} \
|
LangString str_msg_mouse_unix ${LANG_ITALIAN} \
|
||||||
"Right: extends selection, Left: visual mode (Unix)"
|
"Destro: estende selezione, Sinistro: modalità visuale (Unix)"
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# Overwrite the default translation.
|
# Overwrite the default translation.
|
||||||
# These string should be always English. Otherwise dosinst.c fails.
|
# These strings should be always English. Otherwise dosinst.c fails.
|
||||||
LangString ^SetupCaption ${LANG_JAPANESE} \
|
LangString ^SetupCaption ${LANG_JAPANESE} \
|
||||||
"$(^Name) Setup"
|
"$(^Name) Setup"
|
||||||
LangString ^UninstallCaption ${LANG_JAPANESE} \
|
LangString ^UninstallCaption ${LANG_JAPANESE} \
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# Overwrite the default translation.
|
# Overwrite the default translation.
|
||||||
# These string should be always English. Otherwise dosinst.c fails.
|
# These strings should be always English. Otherwise dosinst.c fails.
|
||||||
LangString ^SetupCaption ${LANG_SIMPCHINESE} \
|
LangString ^SetupCaption ${LANG_SIMPCHINESE} \
|
||||||
"$(^Name) Setup"
|
"$(^Name) Setup"
|
||||||
LangString ^UninstallCaption ${LANG_SIMPCHINESE} \
|
LangString ^UninstallCaption ${LANG_SIMPCHINESE} \
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# Overwrite the default translation.
|
# Overwrite the default translation.
|
||||||
# These string should be always English. Otherwise dosinst.c fails.
|
# These strings should be always English. Otherwise dosinst.c fails.
|
||||||
LangString ^SetupCaption ${LANG_TRADCHINESE} \
|
LangString ^SetupCaption ${LANG_TRADCHINESE} \
|
||||||
"$(^Name) Setup"
|
"$(^Name) Setup"
|
||||||
LangString ^UninstallCaption ${LANG_TRADCHINESE} \
|
LangString ^UninstallCaption ${LANG_TRADCHINESE} \
|
||||||
|
|||||||
26
runtime/autoload/dist/ft.vim
vendored
@@ -1,7 +1,7 @@
|
|||||||
" Vim functions for file type detection
|
" Vim functions for file type detection
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2017 Dec 05
|
" Last Change: 2019 Mar 08
|
||||||
|
|
||||||
" These functions are moved here from runtime/filetype.vim to make startup
|
" These functions are moved here from runtime/filetype.vim to make startup
|
||||||
" faster.
|
" faster.
|
||||||
@@ -197,7 +197,7 @@ func dist#ft#FTe()
|
|||||||
exe 'setf ' . g:filetype_euphoria
|
exe 'setf ' . g:filetype_euphoria
|
||||||
else
|
else
|
||||||
let n = 1
|
let n = 1
|
||||||
while n < 100 && n < line("$")
|
while n < 100 && n <= line("$")
|
||||||
if getline(n) =~ "^\\s*\\(<'\\|'>\\)\\s*$"
|
if getline(n) =~ "^\\s*\\(<'\\|'>\\)\\s*$"
|
||||||
setf specman
|
setf specman
|
||||||
return
|
return
|
||||||
@@ -211,7 +211,7 @@ endfunc
|
|||||||
" Distinguish between HTML, XHTML and Django
|
" Distinguish between HTML, XHTML and Django
|
||||||
func dist#ft#FThtml()
|
func dist#ft#FThtml()
|
||||||
let n = 1
|
let n = 1
|
||||||
while n < 10 && n < line("$")
|
while n < 10 && n <= line("$")
|
||||||
if getline(n) =~ '\<DTD\s\+XHTML\s'
|
if getline(n) =~ '\<DTD\s\+XHTML\s'
|
||||||
setf xhtml
|
setf xhtml
|
||||||
return
|
return
|
||||||
@@ -222,13 +222,13 @@ func dist#ft#FThtml()
|
|||||||
endif
|
endif
|
||||||
let n = n + 1
|
let n = n + 1
|
||||||
endwhile
|
endwhile
|
||||||
setf html
|
setf FALLBACK html
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" Distinguish between standard IDL and MS-IDL
|
" Distinguish between standard IDL and MS-IDL
|
||||||
func dist#ft#FTidl()
|
func dist#ft#FTidl()
|
||||||
let n = 1
|
let n = 1
|
||||||
while n < 50 && n < line("$")
|
while n < 50 && n <= line("$")
|
||||||
if getline(n) =~ '^\s*import\s\+"\(unknwn\|objidl\)\.idl"'
|
if getline(n) =~ '^\s*import\s\+"\(unknwn\|objidl\)\.idl"'
|
||||||
setf msidl
|
setf msidl
|
||||||
return
|
return
|
||||||
@@ -484,6 +484,10 @@ endfunc
|
|||||||
|
|
||||||
" Called from filetype.vim and scripts.vim.
|
" Called from filetype.vim and scripts.vim.
|
||||||
func dist#ft#SetFileTypeSH(name)
|
func dist#ft#SetFileTypeSH(name)
|
||||||
|
if did_filetype()
|
||||||
|
" Filetype was already detected
|
||||||
|
return
|
||||||
|
endif
|
||||||
if expand("<amatch>") =~ g:ft_ignore_pat
|
if expand("<amatch>") =~ g:ft_ignore_pat
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
@@ -531,6 +535,10 @@ endfunc
|
|||||||
" as used for Tcl.
|
" as used for Tcl.
|
||||||
" Also called from scripts.vim, thus can't be local to this script.
|
" Also called from scripts.vim, thus can't be local to this script.
|
||||||
func dist#ft#SetFileTypeShell(name)
|
func dist#ft#SetFileTypeShell(name)
|
||||||
|
if did_filetype()
|
||||||
|
" Filetype was already detected
|
||||||
|
return
|
||||||
|
endif
|
||||||
if expand("<amatch>") =~ g:ft_ignore_pat
|
if expand("<amatch>") =~ g:ft_ignore_pat
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
@@ -551,6 +559,10 @@ func dist#ft#SetFileTypeShell(name)
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func dist#ft#CSH()
|
func dist#ft#CSH()
|
||||||
|
if did_filetype()
|
||||||
|
" Filetype was already detected
|
||||||
|
return
|
||||||
|
endif
|
||||||
if exists("g:filetype_csh")
|
if exists("g:filetype_csh")
|
||||||
call dist#ft#SetFileTypeShell(g:filetype_csh)
|
call dist#ft#SetFileTypeShell(g:filetype_csh)
|
||||||
elseif &shell =~ "tcsh"
|
elseif &shell =~ "tcsh"
|
||||||
@@ -687,7 +699,7 @@ endfunc
|
|||||||
|
|
||||||
func dist#ft#FTxml()
|
func dist#ft#FTxml()
|
||||||
let n = 1
|
let n = 1
|
||||||
while n < 100 && n < line("$")
|
while n < 100 && n <= line("$")
|
||||||
let line = getline(n)
|
let line = getline(n)
|
||||||
" DocBook 4 or DocBook 5.
|
" DocBook 4 or DocBook 5.
|
||||||
let is_docbook4 = line =~ '<!DOCTYPE.*DocBook'
|
let is_docbook4 = line =~ '<!DOCTYPE.*DocBook'
|
||||||
@@ -713,7 +725,7 @@ endfunc
|
|||||||
|
|
||||||
func dist#ft#FTy()
|
func dist#ft#FTy()
|
||||||
let n = 1
|
let n = 1
|
||||||
while n < 100 && n < line("$")
|
while n < 100 && n <= line("$")
|
||||||
let line = getline(n)
|
let line = getline(n)
|
||||||
if line =~ '^\s*%'
|
if line =~ '^\s*%'
|
||||||
setf yacc
|
setf yacc
|
||||||
|
|||||||
@@ -1,35 +1,25 @@
|
|||||||
" Vim support file to help with paste mappings and menus
|
" Vim support file to help with paste mappings and menus
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2017 Aug 30
|
" Last Change: 2019 Jan 27
|
||||||
|
|
||||||
" Define the string to use for items that are present both in Edit, Popup and
|
" Define the string to use for items that are present both in Edit, Popup and
|
||||||
" Toolbar menu. Also used in mswin.vim and macmap.vim.
|
" Toolbar menu. Also used in mswin.vim and macmap.vim.
|
||||||
|
|
||||||
" Pasting blockwise and linewise selections is not possible in Insert and
|
let paste#paste_cmd = {'n': ":call paste#Paste()<CR>"}
|
||||||
" Visual mode without the +virtualedit feature. They are pasted as if they
|
let paste#paste_cmd['v'] = '"-c<Esc>' . paste#paste_cmd['n']
|
||||||
" were characterwise instead. Add to that some tricks to leave the cursor in
|
let paste#paste_cmd['i'] = "\<c-\>\<c-o>\"+gP"
|
||||||
" 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"
|
|
||||||
|
|
||||||
func! paste#Paste()
|
func! paste#Paste()
|
||||||
let ove = &ve
|
let ove = &ve
|
||||||
set ve=all
|
set ve=all
|
||||||
normal! `^
|
normal! `^
|
||||||
if @+ != ''
|
if @+ != ''
|
||||||
normal! "+gP
|
normal! "+gP
|
||||||
endif
|
endif
|
||||||
let c = col(".")
|
let c = col(".")
|
||||||
normal! i
|
normal! i
|
||||||
if col(".") < c " compensate for i<ESC> moving the cursor left
|
if col(".") < c " compensate for i<ESC> moving the cursor left
|
||||||
normal! l
|
normal! l
|
||||||
endif
|
endif
|
||||||
let &ve = ove
|
let &ve = ove
|
||||||
endfunc
|
endfunc
|
||||||
else
|
|
||||||
let paste#paste_cmd = {'n': "\"=@+.'xy'<CR>gPFx\"_2x"}
|
|
||||||
let paste#paste_cmd['v'] = '"-c<Esc>gix<Esc>' . paste#paste_cmd['n'] . '"_x'
|
|
||||||
let paste#paste_cmd['i'] = 'x<Esc>' . paste#paste_cmd['n'] . '"_s'
|
|
||||||
endif
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
" Vim completion script
|
" Vim completion script
|
||||||
" Language: Ruby
|
" Language: Ruby
|
||||||
" Maintainer: Mark Guzman <segfault@hasno.info>
|
" Maintainer: Mark Guzman <segfault@hasno.info>
|
||||||
" URL: https://github.com/vim-ruby/vim-ruby
|
" URL: https://github.com/vim-ruby/vim-ruby
|
||||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Maintainer Version: 0.8.1
|
" Last Change: 2019 Jan 06
|
||||||
" ----------------------------------------------------------------------------
|
" ----------------------------------------------------------------------------
|
||||||
"
|
"
|
||||||
" Ruby IRB/Complete author: Keiju ISHITSUKA(keiju@ishitsuka.com)
|
" Ruby IRB/Complete author: Keiju ISHITSUKA(keiju@ishitsuka.com)
|
||||||
@@ -103,7 +103,7 @@ function! s:GetBufferRubyEntity( name, type, ... )
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
let curpos = getpos(".")
|
let curpos = getpos(".")
|
||||||
let [enum,ecol] = searchpairpos( crex, '', '\(end\|}\)', 'wr' )
|
let [enum,ecol] = searchpairpos( crex, '', '\(end\|}\)', 'W' )
|
||||||
call cursor(lastpos[1], lastpos[2])
|
call cursor(lastpos[1], lastpos[2])
|
||||||
|
|
||||||
if lnum > enum
|
if lnum > enum
|
||||||
@@ -253,15 +253,27 @@ class VimRubyCompletion
|
|||||||
|
|
||||||
# {{{ buffer analysis magic
|
# {{{ buffer analysis magic
|
||||||
def load_requires
|
def load_requires
|
||||||
|
|
||||||
|
custom_paths = VIM::evaluate("get(g:, 'rubycomplete_load_paths', [])")
|
||||||
|
|
||||||
|
if !custom_paths.empty?
|
||||||
|
$LOAD_PATH.concat(custom_paths).uniq!
|
||||||
|
end
|
||||||
|
|
||||||
buf = VIM::Buffer.current
|
buf = VIM::Buffer.current
|
||||||
enum = buf.line_number
|
enum = buf.line_number
|
||||||
nums = Range.new( 1, enum )
|
nums = Range.new( 1, enum )
|
||||||
nums.each do |x|
|
nums.each do |x|
|
||||||
|
|
||||||
ln = buf[x]
|
ln = buf[x]
|
||||||
begin
|
begin
|
||||||
eval( "require %s" % $1 ) if /.*require\s*(.*)$/.match( ln )
|
if /.*require_relative\s*(.*)$/.match( ln )
|
||||||
rescue Exception
|
eval( "require %s" % File.expand_path($1) )
|
||||||
#ignore?
|
elsif /.*require\s*(["'].*?["'])/.match( ln )
|
||||||
|
eval( "require %s" % $1 )
|
||||||
|
end
|
||||||
|
rescue Exception => e
|
||||||
|
dprint e.inspect
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -344,8 +356,13 @@ class VimRubyCompletion
|
|||||||
if x != cur_line
|
if x != cur_line
|
||||||
next if x == 0
|
next if x == 0
|
||||||
ln = buf[x]
|
ln = buf[x]
|
||||||
if /^\s*(module|class|def|include)\s+/.match(ln)
|
is_const = false
|
||||||
clscnt += 1 if $1 == "class"
|
if /^\s*(module|class|def|include)\s+/.match(ln) || is_const = /^\s*?[A-Z]([A-z]|[1-9])*\s*?[|]{0,2}=\s*?.+\s*?/.match(ln)
|
||||||
|
clscnt += 1 if /class|module/.match($1)
|
||||||
|
# We must make sure to load each constant only once to avoid errors
|
||||||
|
if is_const
|
||||||
|
ln.gsub!(/\s*?[|]{0,2}=\s*?/, '||=')
|
||||||
|
end
|
||||||
#dprint "\$1$1
|
#dprint "\$1$1
|
||||||
classdef += "%s\n" % ln
|
classdef += "%s\n" % ln
|
||||||
classdef += "end\n" if /def\s+/.match(ln)
|
classdef += "end\n" if /def\s+/.match(ln)
|
||||||
@@ -423,7 +440,6 @@ class VimRubyCompletion
|
|||||||
return get_buffer_entity_list( "class" )
|
return get_buffer_entity_list( "class" )
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
def load_rails
|
def load_rails
|
||||||
allow_rails = VIM::evaluate("exists('g:rubycomplete_rails') && g:rubycomplete_rails")
|
allow_rails = VIM::evaluate("exists('g:rubycomplete_rails') && g:rubycomplete_rails")
|
||||||
return if allow_rails.to_i.zero?
|
return if allow_rails.to_i.zero?
|
||||||
@@ -529,7 +545,6 @@ class VimRubyCompletion
|
|||||||
ret += ActiveRecord::ConnectionAdapters::SchemaStatements.methods
|
ret += ActiveRecord::ConnectionAdapters::SchemaStatements.methods
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
return ret
|
return ret
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -587,11 +602,13 @@ class VimRubyCompletion
|
|||||||
# {{{ main completion code
|
# {{{ main completion code
|
||||||
def self.preload_rails
|
def self.preload_rails
|
||||||
a = VimRubyCompletion.new
|
a = VimRubyCompletion.new
|
||||||
require 'Thread'
|
if VIM::evaluate("has('nvim')") == 0
|
||||||
Thread.new(a) do |b|
|
require 'thread'
|
||||||
begin
|
Thread.new(a) do |b|
|
||||||
b.load_rails
|
begin
|
||||||
rescue
|
b.load_rails
|
||||||
|
rescue
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
a.load_rails
|
a.load_rails
|
||||||
@@ -612,7 +629,6 @@ class VimRubyCompletion
|
|||||||
|
|
||||||
want_gems = VIM::evaluate("get(g:, 'rubycomplete_load_gemfile')")
|
want_gems = VIM::evaluate("get(g:, 'rubycomplete_load_gemfile')")
|
||||||
load_gems unless want_gems.to_i.zero?
|
load_gems unless want_gems.to_i.zero?
|
||||||
|
|
||||||
|
|
||||||
input = VIM::Buffer.current.line
|
input = VIM::Buffer.current.line
|
||||||
cpos = VIM::Window.current.cursor[1] - 1
|
cpos = VIM::Window.current.cursor[1] - 1
|
||||||
@@ -666,6 +682,7 @@ class VimRubyCompletion
|
|||||||
message = Regexp.quote($4)
|
message = Regexp.quote($4)
|
||||||
dprint "const or cls 2 [recv: \'%s\', msg: \'%s\']" % [ receiver, message ]
|
dprint "const or cls 2 [recv: \'%s\', msg: \'%s\']" % [ receiver, message ]
|
||||||
load_buffer_class( receiver )
|
load_buffer_class( receiver )
|
||||||
|
load_buffer_module( receiver )
|
||||||
begin
|
begin
|
||||||
classes = eval("#{receiver}.constants")
|
classes = eval("#{receiver}.constants")
|
||||||
#methods = eval("#{receiver}.methods")
|
#methods = eval("#{receiver}.methods")
|
||||||
@@ -786,7 +803,6 @@ class VimRubyCompletion
|
|||||||
methods += Kernel.public_methods
|
methods += Kernel.public_methods
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
include_object = VIM::evaluate("exists('g:rubycomplete_include_object') && g:rubycomplete_include_object")
|
include_object = VIM::evaluate("exists('g:rubycomplete_include_object') && g:rubycomplete_include_object")
|
||||||
methods = clean_sel( methods, message )
|
methods = clean_sel( methods, message )
|
||||||
methods = (methods-Object.instance_methods) if include_object == "0"
|
methods = (methods-Object.instance_methods) if include_object == "0"
|
||||||
@@ -829,5 +845,4 @@ let s:rubycomplete_rails_loaded = 0
|
|||||||
call s:DefRuby()
|
call s:DefRuby()
|
||||||
"}}} ruby-side code
|
"}}} ruby-side code
|
||||||
|
|
||||||
|
|
||||||
" vim:tw=78:sw=4:ts=8:et:fdm=marker:ft=vim:norl:
|
" vim:tw=78:sw=4:ts=8:et:fdm=marker:ft=vim:norl:
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
:" information about the environment of a possible bug in Vim.
|
:" information about the environment of a possible bug in Vim.
|
||||||
:"
|
:"
|
||||||
:" Maintainer: Bram Moolenaar <Bram@vim.org>
|
:" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
:" Last change: 2005 Jun 12
|
:" Last change: 2019 Jan 27
|
||||||
:"
|
:"
|
||||||
:" To use inside Vim:
|
:" To use inside Vim:
|
||||||
:" :so $VIMRUNTIME/bugreport.vim
|
:" :so $VIMRUNTIME/bugreport.vim
|
||||||
@@ -54,9 +54,7 @@
|
|||||||
:endif
|
:endif
|
||||||
:set all
|
:set all
|
||||||
:set termcap
|
:set termcap
|
||||||
:if has("autocmd")
|
:au
|
||||||
: au
|
|
||||||
:endif
|
|
||||||
:if 1
|
:if 1
|
||||||
: echo "--- Normal/Visual mode mappings ---"
|
: echo "--- Normal/Visual mode mappings ---"
|
||||||
:endif
|
:endif
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" URL: https://github.com/vim-ruby/vim-ruby
|
" URL: https://github.com/vim-ruby/vim-ruby
|
||||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||||
|
" Last Change: 2018 Jan 25
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
@@ -28,8 +29,8 @@ CompilerSet errorformat=
|
|||||||
\%W%f:%l:\ warning:\ %m,
|
\%W%f:%l:\ warning:\ %m,
|
||||||
\%E%f:%l:in\ %*[^:]:\ %m,
|
\%E%f:%l:in\ %*[^:]:\ %m,
|
||||||
\%E%f:%l:\ %m,
|
\%E%f:%l:\ %m,
|
||||||
\%-C%\tfrom\ %f:%l:in\ %.%#,
|
\%-C%\t%\\d%#:%#\ %#from\ %f:%l:in\ %.%#,
|
||||||
\%-Z%\tfrom\ %f:%l,
|
\%-Z%\t%\\d%#:%#\ %#from\ %f:%l,
|
||||||
\%-Z%p^,
|
\%-Z%p^,
|
||||||
\%-G%.%#
|
\%-G%.%#
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||||
" URL: https://github.com/vim-ruby/vim-ruby
|
" URL: https://github.com/vim-ruby/vim-ruby
|
||||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||||
|
" Last Change: 2018 Mar 02
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
@@ -20,12 +21,12 @@ CompilerSet makeprg=rake
|
|||||||
|
|
||||||
CompilerSet errorformat=
|
CompilerSet errorformat=
|
||||||
\%D(in\ %f),
|
\%D(in\ %f),
|
||||||
\%\\s%#from\ %f:%l:%m,
|
\%\\s%#%\\d%#:%#\ %#from\ %f:%l:%m,
|
||||||
\%\\s%#from\ %f:%l:,
|
\%\\s%#%\\d%#:%#\ %#from\ %f:%l:,
|
||||||
\%\\s%##\ %f:%l:%m,
|
\%\\s%##\ %f:%l:%m%\\&%.%#%\\D:%\\d%\\+:%.%#,
|
||||||
\%\\s%##\ %f:%l,
|
\%\\s%##\ %f:%l%\\&%.%#%\\D:%\\d%\\+,
|
||||||
\%\\s%#[%f:%l:\ %#%m,
|
\%\\s%#[%f:%l:\ %#%m%\\&%.%#%\\D:%\\d%\\+:%.%#,
|
||||||
\%\\s%#%f:%l:\ %#%m,
|
\%\\s%#%f:%l:\ %#%m%\\&%.%#%\\D:%\\d%\\+:%.%#,
|
||||||
\%\\s%#%f:%l:,
|
\%\\s%#%f:%l:,
|
||||||
\%m\ [%f:%l]:,
|
\%m\ [%f:%l]:,
|
||||||
\%+Erake\ aborted!,
|
\%+Erake\ aborted!,
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||||
" URL: https://github.com/vim-ruby/vim-ruby
|
" URL: https://github.com/vim-ruby/vim-ruby
|
||||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||||
|
" Last Change: 2018 Aug 07
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
@@ -23,7 +24,8 @@ CompilerSet errorformat=
|
|||||||
\%E%.%#:in\ `load':\ %f:%l:%m,
|
\%E%.%#:in\ `load':\ %f:%l:%m,
|
||||||
\%E%f:%l:in\ `%*[^']':\ %m,
|
\%E%f:%l:in\ `%*[^']':\ %m,
|
||||||
\%-Z\ \ \ \ \ %\\+\#\ %f:%l:%.%#,
|
\%-Z\ \ \ \ \ %\\+\#\ %f:%l:%.%#,
|
||||||
\%E\ \ %\\d%\\+)%.%#,
|
\%E\ \ \ \ \ Failure/Error:\ %m,
|
||||||
|
\%E\ \ \ \ \ Failure/Error:,
|
||||||
\%C\ \ \ \ \ %m,
|
\%C\ \ \ \ \ %m,
|
||||||
\%C%\\s%#,
|
\%C%\\s%#,
|
||||||
\%-G%.%#
|
\%-G%.%#
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||||
" URL: https://github.com/vim-ruby/vim-ruby
|
" URL: https://github.com/vim-ruby/vim-ruby
|
||||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||||
" ----------------------------------------------------------------------------
|
" Last Change: 2019 Jan 06
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
@@ -21,21 +21,21 @@ set cpo-=C
|
|||||||
" default settings runs script normally
|
" default settings runs script normally
|
||||||
" add '-c' switch to run syntax check only:
|
" add '-c' switch to run syntax check only:
|
||||||
"
|
"
|
||||||
" CompilerSet makeprg=ruby\ -wc\ $*
|
" CompilerSet makeprg=ruby\ -c
|
||||||
"
|
"
|
||||||
" or add '-c' at :make command line:
|
" or add '-c' at :make command line:
|
||||||
"
|
"
|
||||||
" :make -c %<CR>
|
" :make -c %<CR>
|
||||||
"
|
"
|
||||||
CompilerSet makeprg=ruby\ -w\ $*
|
CompilerSet makeprg=ruby
|
||||||
|
|
||||||
CompilerSet errorformat=
|
CompilerSet errorformat=
|
||||||
\%+E%f:%l:\ parse\ error,
|
\%+E%f:%l:\ parse\ error,
|
||||||
\%W%f:%l:\ warning:\ %m,
|
\%W%f:%l:\ warning:\ %m,
|
||||||
\%E%f:%l:in\ %*[^:]:\ %m,
|
\%E%f:%l:in\ %*[^:]:\ %m,
|
||||||
\%E%f:%l:\ %m,
|
\%E%f:%l:\ %m,
|
||||||
\%-C%\tfrom\ %f:%l:in\ %.%#,
|
\%-C%\t%\\d%#:%#\ %#from\ %f:%l:in\ %.%#,
|
||||||
\%-Z%\tfrom\ %f:%l,
|
\%-Z%\t%\\d%#:%#\ %#from\ %f:%l,
|
||||||
\%-Z%p^,
|
\%-Z%p^,
|
||||||
\%-G%.%#
|
\%-G%.%#
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" URL: https://github.com/vim-ruby/vim-ruby
|
" URL: https://github.com/vim-ruby/vim-ruby
|
||||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||||
|
" Last Change: 2014 Mar 23
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
" The default vimrc file.
|
" The default vimrc file.
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last change: 2017 Jun 13
|
" Last change: 2019 Feb 18
|
||||||
"
|
"
|
||||||
" This is loaded if no vimrc file was found.
|
" This is loaded if no vimrc file was found.
|
||||||
" Except when Vim is run with "-u NONE" or "-C".
|
" Except when Vim is run with "-u NONE" or "-C".
|
||||||
@@ -90,8 +90,8 @@ if &t_Co > 2 || has("gui_running")
|
|||||||
let c_comment_strings=1
|
let c_comment_strings=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Only do this part when compiled with support for autocommands.
|
" Only do this part when Vim was compiled with the +eval feature.
|
||||||
if has("autocmd")
|
if 1
|
||||||
|
|
||||||
" Enable file type detection.
|
" Enable file type detection.
|
||||||
" Use the default filetype settings, so that mail gets 'tw' set to 72,
|
" Use the default filetype settings, so that mail gets 'tw' set to 72,
|
||||||
@@ -116,7 +116,7 @@ if has("autocmd")
|
|||||||
|
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
endif " has("autocmd")
|
endif
|
||||||
|
|
||||||
" Convenient command to see the difference between the current buffer and the
|
" Convenient command to see the difference between the current buffer and the
|
||||||
" file it was loaded from, thus the changes you made.
|
" file it was loaded from, thus the changes you made.
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ DOCS = \
|
|||||||
pi_tar.txt \
|
pi_tar.txt \
|
||||||
pi_vimball.txt \
|
pi_vimball.txt \
|
||||||
pi_zip.txt \
|
pi_zip.txt \
|
||||||
|
popup.txt \
|
||||||
print.txt \
|
print.txt \
|
||||||
quickfix.txt \
|
quickfix.txt \
|
||||||
quickref.txt \
|
quickref.txt \
|
||||||
@@ -220,6 +221,7 @@ HTMLS = \
|
|||||||
pi_tar.html \
|
pi_tar.html \
|
||||||
pi_vimball.html \
|
pi_vimball.html \
|
||||||
pi_zip.html \
|
pi_zip.html \
|
||||||
|
popup.html \
|
||||||
print.html \
|
print.html \
|
||||||
quickfix.html \
|
quickfix.html \
|
||||||
quickref.html \
|
quickref.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
|
VIM REFERENCE MANUAL by Nadim Shaikli
|
||||||
@@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
Arabic Language support (options & mappings) for Vim *Arabic*
|
Arabic Language support (options & mappings) for Vim *Arabic*
|
||||||
|
|
||||||
{Vi does not have any of these commands}
|
|
||||||
|
|
||||||
*E800*
|
*E800*
|
||||||
In order to use right-to-left and Arabic mapping support, it is
|
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 Dec 28
|
*autocmd.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
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|
|
10. Using autocommands |autocmd-use|
|
||||||
11. Disabling autocommands |autocmd-disable|
|
11. Disabling autocommands |autocmd-disable|
|
||||||
|
|
||||||
{Vi does not have any of these commands}
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
1. Introduction *autocmd-intro*
|
1. Introduction *autocmd-intro*
|
||||||
@@ -52,7 +51,7 @@ effects. Be careful not to destroy your text.
|
|||||||
2. Defining autocommands *autocmd-define*
|
2. Defining autocommands *autocmd-define*
|
||||||
|
|
||||||
*:au* *:autocmd*
|
*: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
|
Add {cmd} to the list of commands that Vim will
|
||||||
execute automatically on {event} for a file matching
|
execute automatically on {event} for a file matching
|
||||||
{pat} |autocmd-patterns|.
|
{pat} |autocmd-patterns|.
|
||||||
@@ -60,7 +59,13 @@ effects. Be careful not to destroy your text.
|
|||||||
:autocmd and won't start a comment.
|
:autocmd and won't start a comment.
|
||||||
Vim always adds the {cmd} after existing autocommands,
|
Vim always adds the {cmd} after existing autocommands,
|
||||||
so that the autocommands execute in the order in which
|
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.
|
The special pattern <buffer> or <buffer=N> defines a buffer-local autocommand.
|
||||||
See |autocmd-buflocal|.
|
See |autocmd-buflocal|.
|
||||||
@@ -128,10 +133,11 @@ prompt. When one command outputs two messages this can happen anyway.
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
3. Removing autocommands *autocmd-remove*
|
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
|
Remove all autocommands associated with {event} and
|
||||||
{pat}, and add the command {cmd}. See
|
{pat}, and add the command {cmd}.
|
||||||
|autocmd-nested| for [nested].
|
See |autocmd-once| for [++once].
|
||||||
|
See |autocmd-nested| for [++nested].
|
||||||
|
|
||||||
:au[tocmd]! [group] {event} {pat}
|
:au[tocmd]! [group] {event} {pat}
|
||||||
Remove all autocommands associated with {event} and
|
Remove all autocommands associated with {event} and
|
||||||
@@ -311,6 +317,7 @@ Name triggered by ~
|
|||||||
|FuncUndefined| a user function is used but it isn't defined
|
|FuncUndefined| a user function is used but it isn't defined
|
||||||
|SpellFileMissing| a spell file is used but it can't be found
|
|SpellFileMissing| a spell file is used but it can't be found
|
||||||
|SourcePre| before sourcing a Vim script
|
|SourcePre| before sourcing a Vim script
|
||||||
|
|SourcePost| after sourcing a Vim script
|
||||||
|SourceCmd| before sourcing a Vim script |Cmd-event|
|
|SourceCmd| before sourcing a Vim script |Cmd-event|
|
||||||
|
|
||||||
|VimResized| after the Vim window size changed
|
|VimResized| after the Vim window size changed
|
||||||
@@ -359,6 +366,7 @@ Name triggered by ~
|
|||||||
|SessionLoadPost| after loading a session file
|
|SessionLoadPost| after loading a session file
|
||||||
|
|
||||||
|MenuPopup| just before showing the popup menu
|
|MenuPopup| just before showing the popup menu
|
||||||
|
|CompleteChanged| after Insert mode completion menu changed
|
||||||
|CompleteDone| after Insert mode completion is done
|
|CompleteDone| after Insert mode completion is done
|
||||||
|
|
||||||
|User| to be used in combination with ":doautocmd"
|
|User| to be used in combination with ":doautocmd"
|
||||||
@@ -571,7 +579,22 @@ ColorScheme After loading a color scheme. |:colorscheme|
|
|||||||
ColorSchemePre Before loading a color scheme. |:colorscheme|
|
ColorSchemePre Before loading a color scheme. |:colorscheme|
|
||||||
Useful to setup removing things added by a
|
Useful to setup removing things added by a
|
||||||
color scheme, before another one is loaded.
|
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*
|
||||||
CompleteDone After Insert mode completion is done. Either
|
CompleteDone After Insert mode completion is done. Either
|
||||||
when something was completed or abandoning
|
when something was completed or abandoning
|
||||||
@@ -620,6 +643,8 @@ CursorMoved After the cursor was moved in Normal or Visual
|
|||||||
Not triggered when there is typeahead or when
|
Not triggered when there is typeahead or when
|
||||||
an operator is pending.
|
an operator is pending.
|
||||||
For an example see |match-parens|.
|
For an example see |match-parens|.
|
||||||
|
Note: This can not be skipped with
|
||||||
|
`:noautocmd`.
|
||||||
Careful: This is triggered very often, don't
|
Careful: This is triggered very often, don't
|
||||||
do anything that the user does not expect or
|
do anything that the user does not expect or
|
||||||
that is slow.
|
that is slow.
|
||||||
@@ -664,13 +689,14 @@ DiffUpdated After diffs have been updated. Depending on
|
|||||||
change or when doing |:diffupdate|.
|
change or when doing |:diffupdate|.
|
||||||
*DirChanged*
|
*DirChanged*
|
||||||
DirChanged The working directory has changed in response
|
DirChanged The working directory has changed in response
|
||||||
to the |:cd| or |:lcd| commands, or as a
|
to the |:cd| or |:tcd| or |:lcd| commands, or
|
||||||
result of the 'autochdir' option.
|
as a result of the 'autochdir' option.
|
||||||
The pattern can be:
|
The pattern can be:
|
||||||
"window" to trigger on `:lcd`
|
"window" to trigger on `:lcd`
|
||||||
"global" to trigger on `:cd`
|
"tabpage" to trigger on `:tcd`
|
||||||
"auto" to trigger on 'autochdir'.
|
"global" to trigger on `:cd`
|
||||||
"drop" to trigger on editing a file
|
"auto" to trigger on 'autochdir'.
|
||||||
|
"drop" to trigger on editing a file
|
||||||
<afile> is set to the new directory name.
|
<afile> is set to the new directory name.
|
||||||
*ExitPre*
|
*ExitPre*
|
||||||
ExitPre When using `:quit`, `:wq` in a way it makes
|
ExitPre When using `:quit`, `:wq` in a way it makes
|
||||||
@@ -869,7 +895,6 @@ OptionSet After setting an option. The pattern is
|
|||||||
|
|
||||||
When using |:set| in the autocommand the event
|
When using |:set| in the autocommand the event
|
||||||
is not triggered again.
|
is not triggered again.
|
||||||
|
|
||||||
*QuickFixCmdPre*
|
*QuickFixCmdPre*
|
||||||
QuickFixCmdPre Before a quickfix command is run (|:make|,
|
QuickFixCmdPre Before a quickfix command is run (|:make|,
|
||||||
|:lmake|, |:grep|, |:lgrep|, |:grepadd|,
|
|:lmake|, |:grep|, |:lgrep|, |:grepadd|,
|
||||||
@@ -925,6 +950,12 @@ ShellFilterPost After executing a shell command with
|
|||||||
*SourcePre*
|
*SourcePre*
|
||||||
SourcePre Before sourcing a Vim script. |:source|
|
SourcePre Before sourcing a Vim script. |:source|
|
||||||
<afile> is the name of the file being sourced.
|
<afile> is the name of the file being sourced.
|
||||||
|
*SourcePost*
|
||||||
|
SourcePost After sourcing a Vim script. |:source|
|
||||||
|
<afile> is the name of the file being sourced.
|
||||||
|
Not triggered when sourcing was interrupted.
|
||||||
|
Also triggered after a SourceCmd autocommand
|
||||||
|
was triggered.
|
||||||
*SourceCmd*
|
*SourceCmd*
|
||||||
SourceCmd When sourcing a Vim script. |:source|
|
SourceCmd When sourcing a Vim script. |:source|
|
||||||
<afile> is the name of the file being sourced.
|
<afile> is the name of the file being sourced.
|
||||||
@@ -1011,10 +1042,14 @@ TermResponse After the response to |t_RV| is received from
|
|||||||
anything else that takes time is involved.
|
anything else that takes time is involved.
|
||||||
*TextChanged*
|
*TextChanged*
|
||||||
TextChanged After a change was made to the text in the
|
TextChanged After a change was made to the text in the
|
||||||
current buffer in Normal mode. That is when
|
current buffer in Normal mode. That is after
|
||||||
|b:changedtick| has changed.
|
|b:changedtick| has changed (also when that
|
||||||
|
happened before the TextChanged autocommand
|
||||||
|
was defined).
|
||||||
Not triggered when there is typeahead or when
|
Not triggered when there is typeahead or when
|
||||||
an operator is pending.
|
an operator is pending.
|
||||||
|
Note: This can not be skipped with
|
||||||
|
`:noautocmd`.
|
||||||
Careful: This is triggered very often, don't
|
Careful: This is triggered very often, don't
|
||||||
do anything that the user does not expect or
|
do anything that the user does not expect or
|
||||||
that is slow.
|
that is slow.
|
||||||
@@ -1456,11 +1491,11 @@ If you want the buffer to be unmodified after changing it, reset the
|
|||||||
instead of ":q!".
|
instead of ":q!".
|
||||||
|
|
||||||
*autocmd-nested* *E218*
|
*autocmd-nested* *E218*
|
||||||
By default, autocommands do not nest. If you use ":e" or ":w" in an
|
By default, autocommands do not nest. For example, if you use ":e" or ":w" in
|
||||||
autocommand, Vim does not execute the BufRead and BufWrite autocommands for
|
an autocommand, Vim does not execute the BufRead and BufWrite autocommands for
|
||||||
those commands. If you do want this, use the "nested" flag for those commands
|
those commands. If you do want this, use the "nested" flag for those commands
|
||||||
in which you want nesting. For example: >
|
in which you want nesting. For example: >
|
||||||
:autocmd FileChangedShell *.c nested e!
|
:autocmd FileChangedShell *.c ++nested e!
|
||||||
The nesting is limited to 10 levels to get out of recursive loops.
|
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
|
It's possible to use the ":au" command in an autocommand. This can be a
|
||||||
@@ -1603,5 +1638,8 @@ following command. Example: >
|
|||||||
This will write the file without triggering the autocommands defined by the
|
This will write the file without triggering the autocommands defined by the
|
||||||
gzip plugin.
|
gzip plugin.
|
||||||
|
|
||||||
|
Note that some autocommands are not triggered right away, but only later.
|
||||||
|
This specifically applies to |CursorMoved| and |TextChanged|.
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:noet:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*change.txt* For Vim version 8.1. Last change: 2018 Dec 14
|
*change.txt* For Vim version 8.1. Last change: 2019 May 07
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -34,7 +34,7 @@ For inserting text see |insert.txt|.
|
|||||||
deletes the last character of the count.
|
deletes the last character of the count.
|
||||||
See |:fixdel| if the <Del> key does not do what you
|
See |:fixdel| if the <Del> key does not do what you
|
||||||
want. See |'whichwrap'| for deleting a line break
|
want. See |'whichwrap'| for deleting a line break
|
||||||
(join lines). {Vi does not support <Del>}
|
(join lines).
|
||||||
|
|
||||||
*X* *dh*
|
*X* *dh*
|
||||||
["x]X Delete [count] characters before the cursor [into
|
["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]x or *v_x* *v_d* *v_<Del>*
|
||||||
{Visual}["x]d or
|
{Visual}["x]d or
|
||||||
{Visual}["x]<Del> Delete the highlighted text [into register x] (for
|
{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]CTRL-H or *v_CTRL-H* *v_<BS>*
|
||||||
{Visual}["x]<BS> When in Select mode: Delete the highlighted text [into
|
{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}["x]D Delete the highlighted lines [into register x] (for
|
||||||
{Visual} see |Visual-mode|). In Visual block mode,
|
{Visual} see |Visual-mode|). In Visual block mode,
|
||||||
"D" deletes the highlighted text plus all text until
|
"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*
|
*:d* *:de* *:del* *:delete* *:dl* *:dp*
|
||||||
:[range]d[elete] [x] Delete [range] lines (default: current line) [into
|
:[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*
|
*v_J*
|
||||||
{Visual}J Join the highlighted lines, with a minimum of two
|
{Visual}J Join the highlighted lines, with a minimum of two
|
||||||
lines. Remove the indent and insert up to two spaces
|
lines. Remove the indent and insert up to two spaces
|
||||||
(see below). {not in Vi}
|
(see below).
|
||||||
|
|
||||||
*gJ*
|
*gJ*
|
||||||
gJ Join [count] lines, with a minimum of two lines.
|
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*
|
*v_gJ*
|
||||||
{Visual}gJ Join the highlighted lines, with a minimum of two
|
{Visual}gJ Join the highlighted lines, with a minimum of two
|
||||||
lines. Don't insert or remove any spaces. {not in
|
lines. Don't insert or remove any spaces.
|
||||||
Vi}
|
|
||||||
|
|
||||||
*:j* *:join*
|
*:j* *:join*
|
||||||
:[range]j[oin][!] [flags]
|
:[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
|
If a [range] has equal start and end values, this
|
||||||
command does nothing. The default behavior is to
|
command does nothing. The default behavior is to
|
||||||
join the current line with the line below it.
|
join the current line with the line below it.
|
||||||
{not in Vi: !}
|
|
||||||
See |ex-flags| for [flags].
|
See |ex-flags| for [flags].
|
||||||
|
|
||||||
:[range]j[oin][!] {count} [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
|
current line |cmdline-ranges|). Same as "J", except
|
||||||
with [!] the join does not insert or delete any
|
with [!] the join does not insert or delete any
|
||||||
spaces.
|
spaces.
|
||||||
{not in Vi: !}
|
|
||||||
See |ex-flags| for [flags].
|
See |ex-flags| for [flags].
|
||||||
|
|
||||||
These commands delete the <EOL> between lines. This has the effect of joining
|
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]c or *v_c* *v_s*
|
||||||
{Visual}["x]s Delete the highlighted text [into register x] and
|
{Visual}["x]s Delete the highlighted text [into register x] and
|
||||||
start insert (for {Visual} see |Visual-mode|). {not
|
start insert (for {Visual} see |Visual-mode|).
|
||||||
in Vi}
|
|
||||||
|
|
||||||
*v_r*
|
*v_r*
|
||||||
{Visual}["x]r{char} Replace all selected characters by {char}.
|
{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*
|
*v_C*
|
||||||
{Visual}["x]C Delete the highlighted lines [into register x] and
|
{Visual}["x]C Delete the highlighted lines [into register x] and
|
||||||
start insert. In Visual block mode it works
|
start insert. In Visual block mode it works
|
||||||
differently |v_b_C|. {not in Vi}
|
differently |v_b_C|.
|
||||||
*v_S*
|
*v_S*
|
||||||
{Visual}["x]S Delete the highlighted lines [into register x] and
|
{Visual}["x]S Delete the highlighted lines [into register x] and
|
||||||
start insert (for {Visual} see |Visual-mode|). {not
|
start insert (for {Visual} see |Visual-mode|).
|
||||||
in Vi}
|
|
||||||
*v_R*
|
*v_R*
|
||||||
{Visual}["x]R Currently just like {Visual}["x]S. In a next version
|
{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:
|
Notes:
|
||||||
- You can end Insert and Replace mode with <Esc>.
|
- 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
|
If {char} is a <CR> or <NL>, a line break replaces the
|
||||||
character. To replace with a real <CR>, use CTRL-V
|
character. To replace with a real <CR>, use CTRL-V
|
||||||
<CR>. CTRL-V <NL> replaces with a <Nul>.
|
<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
|
If {char} is CTRL-E or CTRL-Y the character from the
|
||||||
line below or above is used, just like with |i_CTRL-E|
|
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
|
~ 'notildeop' option: Switch case of the character
|
||||||
under the cursor and move the cursor to the right.
|
under the cursor and move the cursor to the right.
|
||||||
If a [count] is given, do that many characters. {Vi:
|
If a [count] is given, do that many characters.
|
||||||
no count}
|
|
||||||
|
|
||||||
~{motion} 'tildeop' option: switch case of {motion} text. {Vi:
|
~{motion} 'tildeop' option: switch case of {motion} text.
|
||||||
tilde cannot be used as an operator}
|
|
||||||
|
|
||||||
*g~*
|
*g~*
|
||||||
g~{motion} Switch case of {motion} text. {not in Vi}
|
g~{motion} Switch case of {motion} text.
|
||||||
|
|
||||||
g~g~ *g~g~* *g~~*
|
g~g~ *g~g~* *g~~*
|
||||||
g~~ Switch case of current line. {not in Vi}.
|
g~~ Switch case of current line.
|
||||||
|
|
||||||
*v_~*
|
*v_~*
|
||||||
{Visual}~ Switch case of highlighted text (for {Visual} see
|
{Visual}~ Switch case of highlighted text (for {Visual} see
|
||||||
|Visual-mode|). {not in Vi}
|
|Visual-mode|).
|
||||||
|
|
||||||
*v_U*
|
*v_U*
|
||||||
{Visual}U Make highlighted text uppercase (for {Visual} see
|
{Visual}U Make highlighted text uppercase (for {Visual} see
|
||||||
|Visual-mode|). {not in Vi}
|
|Visual-mode|).
|
||||||
|
|
||||||
*gU* *uppercase*
|
*gU* *uppercase*
|
||||||
gU{motion} Make {motion} text uppercase. {not in Vi}
|
gU{motion} Make {motion} text uppercase.
|
||||||
Example: >
|
Example: >
|
||||||
:map! <C-F> <Esc>gUiw`]a
|
:map! <C-F> <Esc>gUiw`]a
|
||||||
< This works in Insert mode: press CTRL-F to make the
|
< 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*
|
gUgU *gUgU* *gUU*
|
||||||
gUU Make current line uppercase. {not in Vi}.
|
gUU Make current line uppercase.
|
||||||
|
|
||||||
*v_u*
|
*v_u*
|
||||||
{Visual}u Make highlighted text lowercase (for {Visual} see
|
{Visual}u Make highlighted text lowercase (for {Visual} see
|
||||||
|Visual-mode|). {not in Vi}
|
|Visual-mode|).
|
||||||
|
|
||||||
*gu* *lowercase*
|
*gu* *lowercase*
|
||||||
gu{motion} Make {motion} text lowercase. {not in Vi}
|
gu{motion} Make {motion} text lowercase.
|
||||||
|
|
||||||
gugu *gugu* *guu*
|
gugu *gugu* *guu*
|
||||||
guu Make current line lowercase. {not in Vi}.
|
guu Make current line lowercase.
|
||||||
|
|
||||||
*g?* *rot13*
|
*g?* *rot13*
|
||||||
g?{motion} Rot13 encode {motion} text. {not in Vi}
|
g?{motion} Rot13 encode {motion} text.
|
||||||
|
|
||||||
*v_g?*
|
*v_g?*
|
||||||
{Visual}g? Rot13 encode the highlighted text (for {Visual} see
|
{Visual}g? Rot13 encode the highlighted text (for {Visual} see
|
||||||
|Visual-mode|). {not in Vi}
|
|Visual-mode|).
|
||||||
|
|
||||||
g?g? *g?g?* *g??*
|
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
|
To turn one line into title caps, make every first letter of a word
|
||||||
uppercase: >
|
uppercase: >
|
||||||
@@ -375,18 +366,18 @@ uppercase: >
|
|||||||
Adding and subtracting ~
|
Adding and subtracting ~
|
||||||
*CTRL-A*
|
*CTRL-A*
|
||||||
CTRL-A Add [count] to the number or alphabetic character at
|
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*
|
*v_CTRL-A*
|
||||||
{Visual}CTRL-A Add [count] to the number or alphabetic character in
|
{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*
|
*v_g_CTRL-A*
|
||||||
{Visual}g CTRL-A Add [count] to the number or alphabetic character in
|
{Visual}g CTRL-A Add [count] to the number or alphabetic character in
|
||||||
the highlighted text. If several lines are
|
the highlighted text. If several lines are
|
||||||
highlighted, each one will be incremented by an
|
highlighted, each one will be incremented by an
|
||||||
additional [count] (so effectively creating a
|
additional [count] (so effectively creating a
|
||||||
[count] incrementing sequence). {not in Vi}
|
[count] incrementing sequence).
|
||||||
For Example, if you have this list of numbers:
|
For Example, if you have this list of numbers:
|
||||||
1. ~
|
1. ~
|
||||||
1. ~
|
1. ~
|
||||||
@@ -401,11 +392,11 @@ CTRL-A Add [count] to the number or alphabetic character at
|
|||||||
|
|
||||||
*CTRL-X*
|
*CTRL-X*
|
||||||
CTRL-X Subtract [count] from the number or alphabetic
|
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*
|
*v_CTRL-X*
|
||||||
{Visual}CTRL-X Subtract [count] from the number or alphabetic
|
{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
|
On MS-Windows, this is mapped to cut Visual text
|
||||||
|dos-standard-mappings|. If you want to disable the
|
|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
|
character in the highlighted text. If several lines
|
||||||
are highlighted, each value will be decremented by an
|
are highlighted, each value will be decremented by an
|
||||||
additional [count] (so effectively creating a [count]
|
additional [count] (so effectively creating a [count]
|
||||||
decrementing sequence). {not in Vi}
|
decrementing sequence).
|
||||||
|
|
||||||
The CTRL-A and CTRL-X commands can work for:
|
The CTRL-A and CTRL-X commands can work for:
|
||||||
- signed and unsigned decimal numbers
|
- signed and unsigned decimal numbers
|
||||||
@@ -485,8 +476,7 @@ SHIFTING LINES LEFT OR RIGHT *shift-left-right*
|
|||||||
|
|
||||||
*v_<*
|
*v_<*
|
||||||
{Visual}[count]< Shift the highlighted lines [count] 'shiftwidth'
|
{Visual}[count]< Shift the highlighted lines [count] 'shiftwidth'
|
||||||
leftwards (for {Visual} see |Visual-mode|). {not in
|
leftwards (for {Visual} see |Visual-mode|).
|
||||||
Vi}
|
|
||||||
|
|
||||||
*>*
|
*>*
|
||||||
>{motion} Shift {motion} lines one 'shiftwidth' rightwards.
|
>{motion} Shift {motion} lines one 'shiftwidth' rightwards.
|
||||||
@@ -500,8 +490,7 @@ SHIFTING LINES LEFT OR RIGHT *shift-left-right*
|
|||||||
|
|
||||||
*v_>*
|
*v_>*
|
||||||
{Visual}[count]> Shift the highlighted lines [count] 'shiftwidth'
|
{Visual}[count]> Shift the highlighted lines [count] 'shiftwidth'
|
||||||
rightwards (for {Visual} see |Visual-mode|). {not in
|
rightwards (for {Visual} see |Visual-mode|).
|
||||||
Vi}
|
|
||||||
|
|
||||||
*:<*
|
*:<*
|
||||||
:[range]< Shift [range] lines one 'shiftwidth' left. Repeat '<'
|
:[range]< Shift [range] lines one 'shiftwidth' left. Repeat '<'
|
||||||
@@ -512,7 +501,7 @@ SHIFTING LINES LEFT OR RIGHT *shift-left-right*
|
|||||||
Repeat '<' for shifting multiple 'shiftwidth's.
|
Repeat '<' for shifting multiple 'shiftwidth's.
|
||||||
|
|
||||||
:[range]le[ft] [indent] left align lines in [range]. Sets the indent in the
|
:[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.
|
:[range]> [flags] Shift {count} [range] lines one 'shiftwidth' right.
|
||||||
@@ -579,7 +568,6 @@ comment (starting with '"') after the `:!` command.
|
|||||||
*v_!*
|
*v_!*
|
||||||
{Visual}!{filter} Filter the highlighted lines through the external
|
{Visual}!{filter} Filter the highlighted lines through the external
|
||||||
program {filter} (for {Visual} see |Visual-mode|).
|
program {filter} (for {Visual} see |Visual-mode|).
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
:{range}![!]{filter} [!][arg] *:range!*
|
:{range}![!]{filter} [!][arg] *:range!*
|
||||||
Filter {range} lines through the external program
|
Filter {range} lines through the external program
|
||||||
@@ -613,7 +601,6 @@ comment (starting with '"') after the `:!` command.
|
|||||||
|
|
||||||
*v_=*
|
*v_=*
|
||||||
{Visual}= Filter the highlighted lines like with ={motion}.
|
{Visual}= Filter the highlighted lines like with ={motion}.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
|
|
||||||
*tempfile* *setuid*
|
*tempfile* *setuid*
|
||||||
@@ -640,11 +627,11 @@ For other systems the tmpnam() library function is used.
|
|||||||
For the {pattern} see |pattern|.
|
For the {pattern} see |pattern|.
|
||||||
{string} can be a literal string, or something
|
{string} can be a literal string, or something
|
||||||
special; see |sub-replace-special|.
|
special; see |sub-replace-special|.
|
||||||
*E939*
|
|
||||||
When [range] and [count] are omitted, replace in the
|
When [range] and [count] are omitted, replace in the
|
||||||
current line only. When [count] is given, replace in
|
current line only. When [count] is given, replace in
|
||||||
[count] lines, starting with the last line in [range].
|
[count] lines, starting with the last line in [range].
|
||||||
When [range] is omitted start in the current line.
|
When [range] is omitted start in the current line.
|
||||||
|
*E939*
|
||||||
[count] must be a positive number. Also see
|
[count] must be a positive number. Also see
|
||||||
|cmdline-ranges|.
|
|cmdline-ranges|.
|
||||||
|
|
||||||
@@ -678,15 +665,13 @@ g& Synonym for `:%s//~/&` (repeat last substitute with
|
|||||||
For example, when you first do a substitution with
|
For example, when you first do a substitution with
|
||||||
`:s/pattern/repl/flags` and then `/search` for
|
`:s/pattern/repl/flags` and then `/search` for
|
||||||
something else, `g&` will do `:%s/search/repl/flags`.
|
something else, `g&` will do `:%s/search/repl/flags`.
|
||||||
Mnemonic: global substitute. {not in Vi}
|
Mnemonic: global substitute.
|
||||||
|
|
||||||
*:snomagic* *:sno*
|
*:snomagic* *:sno*
|
||||||
:[range]sno[magic] ... Same as `:substitute`, but always use 'nomagic'.
|
:[range]sno[magic] ... Same as `:substitute`, but always use 'nomagic'.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*:smagic* *:sm*
|
*:smagic* *:sm*
|
||||||
:[range]sm[agic] ... Same as `:substitute`, but always use 'magic'.
|
:[range]sm[agic] ... Same as `:substitute`, but always use 'magic'.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*:s_flags*
|
*:s_flags*
|
||||||
The flags that you can use for the substitute commands:
|
The flags that you can use for the substitute commands:
|
||||||
@@ -697,7 +682,6 @@ The flags that you can use for the substitute commands:
|
|||||||
:&&
|
:&&
|
||||||
:s/this/that/&
|
:s/this/that/&
|
||||||
< Note that `:s` and `:&` don't keep the flags.
|
< Note that `:s` and `:&` don't keep the flags.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
[c] Confirm each substitution. Vim highlights the matching string (with
|
[c] Confirm each substitution. Vim highlights the matching string (with
|
||||||
|hl-IncSearch|). You can type: *:s_c*
|
|hl-IncSearch|). You can type: *:s_c*
|
||||||
@@ -705,16 +689,15 @@ The flags that you can use for the substitute commands:
|
|||||||
'l' to substitute this match and then quit ("last")
|
'l' to substitute this match and then quit ("last")
|
||||||
'n' to skip this match
|
'n' to skip this match
|
||||||
<Esc> to quit substituting
|
<Esc> to quit substituting
|
||||||
'a' to substitute this and all remaining matches {not in Vi}
|
'a' to substitute this and all remaining matches
|
||||||
'q' to quit substituting {not in Vi}
|
'q' to quit substituting
|
||||||
CTRL-E to scroll the screen up {not in Vi, not available when
|
CTRL-E to scroll the screen up {not available when compiled
|
||||||
compiled without the |+insert_expand| feature}
|
without the |+insert_expand| feature}
|
||||||
CTRL-Y to scroll the screen down {not in Vi, not available when
|
CTRL-Y to scroll the screen down {not available when compiled
|
||||||
compiled without the |+insert_expand| feature}
|
without the |+insert_expand| feature}
|
||||||
If the 'edcompatible' option is on, Vim remembers the [c] flag and
|
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
|
toggles it each time you use it, but resets it when you give a new
|
||||||
search pattern.
|
search pattern.
|
||||||
{not in Vi: highlighting of the match, other responses than 'y' or 'n'}
|
|
||||||
|
|
||||||
*:s_e*
|
*:s_e*
|
||||||
[e] When the search pattern fails, do not issue an error message and, in
|
[e] When the search pattern fails, do not issue an error message and, in
|
||||||
@@ -726,7 +709,6 @@ The flags that you can use for the substitute commands:
|
|||||||
No previous substitute regular expression
|
No previous substitute regular expression
|
||||||
Trailing characters
|
Trailing characters
|
||||||
Interrupted
|
Interrupted
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*:s_g*
|
*:s_g*
|
||||||
[g] Replace all occurrences in the line. Without this argument,
|
[g] Replace all occurrences in the line. Without this argument,
|
||||||
@@ -739,12 +721,10 @@ The flags that you can use for the substitute commands:
|
|||||||
*:s_i*
|
*:s_i*
|
||||||
[i] Ignore case for the pattern. The 'ignorecase' and 'smartcase' options
|
[i] Ignore case for the pattern. The 'ignorecase' and 'smartcase' options
|
||||||
are not used.
|
are not used.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*:s_I*
|
*:s_I*
|
||||||
[I] Don't ignore case for the pattern. The 'ignorecase' and 'smartcase'
|
[I] Don't ignore case for the pattern. The 'ignorecase' and 'smartcase'
|
||||||
options are not used.
|
options are not used.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*:s_n*
|
*:s_n*
|
||||||
[n] Report the number of matches, do not actually substitute. The [c]
|
[n] Report the number of matches, do not actually substitute. The [c]
|
||||||
@@ -776,7 +756,6 @@ The flags that you can use for the substitute commands:
|
|||||||
/green
|
/green
|
||||||
:&
|
:&
|
||||||
< The last command will replace "blue" with "red".
|
< 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
|
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
|
different command is used instead, or you can use |/\v| and friends. The
|
||||||
@@ -1002,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
|
a single tabstop. Each value in the list represents
|
||||||
the width of one tabstop, except the final value which
|
the width of one tabstop, except the final value which
|
||||||
applies to all following tabstops.
|
applies to all following tabstops.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*retab-example*
|
*retab-example*
|
||||||
Example for using autocommands and ":retab" to edit a file which is stored
|
Example for using autocommands and ":retab" to edit a file which is stored
|
||||||
@@ -1026,17 +1004,16 @@ inside of strings can change! Also see 'softtabstop' option. >
|
|||||||
:reg[isters] Display the contents of all numbered and named
|
:reg[isters] Display the contents of all numbered and named
|
||||||
registers. If a register is written to for |:redir|
|
registers. If a register is written to for |:redir|
|
||||||
it will not be listed.
|
it will not be listed.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
|
|
||||||
:reg[isters] {arg} Display the contents of the numbered and named
|
:reg[isters] {arg} Display the contents of the numbered and named
|
||||||
registers that are mentioned in {arg}. For example: >
|
registers that are mentioned in {arg}. For example: >
|
||||||
:reg 1a
|
:reg 1a
|
||||||
< to display registers '1' and 'a'. Spaces are allowed
|
< to display registers '1' and 'a'. Spaces are allowed
|
||||||
in {arg}. {not in Vi}
|
in {arg}.
|
||||||
|
|
||||||
*:di* *:display*
|
*:di* *:display*
|
||||||
:di[splay] [arg] Same as :registers. {not in Vi}
|
:di[splay] [arg] Same as :registers.
|
||||||
|
|
||||||
*y* *yank*
|
*y* *yank*
|
||||||
["x]y{motion} Yank {motion} text [into register x]. When no
|
["x]y{motion} Yank {motion} text [into register x]. When no
|
||||||
@@ -1055,11 +1032,11 @@ inside of strings can change! Also see 'softtabstop' option. >
|
|||||||
|
|
||||||
*v_y*
|
*v_y*
|
||||||
{Visual}["x]y Yank the highlighted text [into register x] (for
|
{Visual}["x]y Yank the highlighted text [into register x] (for
|
||||||
{Visual} see |Visual-mode|). {not in Vi}
|
{Visual} see |Visual-mode|).
|
||||||
|
|
||||||
*v_Y*
|
*v_Y*
|
||||||
{Visual}["x]Y Yank the highlighted lines [into register x] (for
|
{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*
|
*:y* *:yank* *E850*
|
||||||
:[range]y[ank] [x] Yank [range] lines [into register x]. Yanking to the
|
:[range]y[ank] [x] Yank [range] lines [into register x]. Yanking to the
|
||||||
@@ -1073,11 +1050,11 @@ inside of strings can change! Also see 'softtabstop' option. >
|
|||||||
|
|
||||||
*p* *put* *E353*
|
*p* *put* *E353*
|
||||||
["x]p Put the text [from register x] after the cursor
|
["x]p Put the text [from register x] after the cursor
|
||||||
[count] times. {Vi: no count}
|
[count] times.
|
||||||
|
|
||||||
*P*
|
*P*
|
||||||
["x]P Put the text [from register x] before the cursor
|
["x]P Put the text [from register x] before the cursor
|
||||||
[count] times. {Vi: no count}
|
[count] times.
|
||||||
|
|
||||||
*<MiddleMouse>*
|
*<MiddleMouse>*
|
||||||
["x]<MiddleMouse> Put the text from a register before the cursor [count]
|
["x]<MiddleMouse> Put the text from a register before the cursor [count]
|
||||||
@@ -1086,7 +1063,6 @@ inside of strings can change! Also see 'softtabstop' option. >
|
|||||||
Leaves the cursor at the end of the new text.
|
Leaves the cursor at the end of the new text.
|
||||||
Using the mouse only works when 'mouse' contains 'n'
|
Using the mouse only works when 'mouse' contains 'n'
|
||||||
or 'a'.
|
or 'a'.
|
||||||
{not in Vi}
|
|
||||||
If you have a scrollwheel and often accidentally paste
|
If you have a scrollwheel and often accidentally paste
|
||||||
text, you can use these mappings to disable the
|
text, you can use these mappings to disable the
|
||||||
pasting with the middle mouse button: >
|
pasting with the middle mouse button: >
|
||||||
@@ -1097,11 +1073,11 @@ inside of strings can change! Also see 'softtabstop' option. >
|
|||||||
|
|
||||||
*gp*
|
*gp*
|
||||||
["x]gp Just like "p", but leave the cursor just after the new
|
["x]gp Just like "p", but leave the cursor just after the new
|
||||||
text. {not in Vi}
|
text.
|
||||||
|
|
||||||
*gP*
|
*gP*
|
||||||
["x]gP Just like "P", but leave the cursor just after the new
|
["x]gP Just like "P", but leave the cursor just after the new
|
||||||
text. {not in Vi}
|
text.
|
||||||
|
|
||||||
*:pu* *:put*
|
*:pu* *:put*
|
||||||
:[line]pu[t] [x] Put the text [from register x] after [line] (default
|
:[line]pu[t] [x] Put the text [from register x] after [line] (default
|
||||||
@@ -1129,14 +1105,14 @@ inside of strings can change! Also see 'softtabstop' option. >
|
|||||||
["x]]p or *]p* *]<MiddleMouse>*
|
["x]]p or *]p* *]<MiddleMouse>*
|
||||||
["x]]<MiddleMouse> Like "p", but adjust the indent to the current line.
|
["x]]<MiddleMouse> Like "p", but adjust the indent to the current line.
|
||||||
Using the mouse only works when 'mouse' contains 'n'
|
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*
|
["x]]P or *]P*
|
||||||
["x][p or *[p* *[<MiddleMouse>*
|
["x][p or *[p* *[<MiddleMouse>*
|
||||||
["x][<MiddleMouse> Like "P", but adjust the indent to the current line.
|
["x][<MiddleMouse> Like "P", but adjust the indent to the current line.
|
||||||
Using the mouse only works when 'mouse' contains 'n'
|
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
|
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
|
by first getting the text into a register with a yank, delete or change
|
||||||
@@ -1246,7 +1222,6 @@ not exist}
|
|||||||
3. Small delete register "- *quote_-* *quote-*
|
3. Small delete register "- *quote_-* *quote-*
|
||||||
This register contains text from commands that delete less than one line,
|
This register contains text from commands that delete less than one line,
|
||||||
except when the command specifies a register with ["x].
|
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*
|
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
|
Vim fills these registers only when you say so. Specify them as lowercase
|
||||||
@@ -1256,7 +1231,7 @@ a line break is inserted before the appended text.
|
|||||||
|
|
||||||
5. Read-only registers ":, ". and "%
|
5. Read-only registers ":, ". and "%
|
||||||
These are '%', '#', ':' and '.'. You can use them only with the "p", "P",
|
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*
|
*quote_.* *quote.* *E29*
|
||||||
". Contains the last inserted text (the same as what is inserted
|
". Contains the last inserted text (the same as what is inserted
|
||||||
with the insert mode commands CTRL-A and CTRL-@). Note: this
|
with the insert mode commands CTRL-A and CTRL-@). Note: this
|
||||||
@@ -1310,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>
|
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
|
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 "~
|
8. Selection and drop registers "*, "+ and "~
|
||||||
Use these registers for storing and retrieving the selected text for the GUI.
|
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
|
See |quotestar| and |quoteplus|. When the clipboard is not available or not
|
||||||
working, the unnamed register is used instead. For Unix systems the clipboard
|
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
|
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
|
an explanation of the difference, see |x11-selection|. Under MS-Windows, use
|
||||||
@@ -1327,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
|
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
|
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
|
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
|
{only available when compiled with the |+dnd| feature, currently only with the
|
||||||
GTK GUI}
|
GTK GUI}
|
||||||
|
|
||||||
@@ -1337,7 +1312,7 @@ Drag'n'drop of URI lists is handled internally.
|
|||||||
9. Black hole register "_ *quote_*
|
9. Black hole register "_ *quote_*
|
||||||
When writing to this register, nothing happens. This can be used to delete
|
When writing to this register, nothing happens. This can be used to delete
|
||||||
text without affecting the normal registers. When reading from this register,
|
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/*
|
10. Last search pattern register "/ *quote_/* *quote/*
|
||||||
Contains the most recent search-pattern. This is used for "n" and 'hlsearch'.
|
Contains the most recent search-pattern. This is used for "n" and 'hlsearch'.
|
||||||
@@ -1346,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|.
|
register. The search direction is available in |v:searchforward|.
|
||||||
Note that the value is restored when returning from a function
|
Note that the value is restored when returning from a function
|
||||||
|function-search-undo|.
|
|function-search-undo|.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*@/*
|
*@/*
|
||||||
You can write to a register with a `:let` command |:let-@|. Example: >
|
You can write to a register with a `:let` command |:let-@|. Example: >
|
||||||
@@ -1377,17 +1351,15 @@ The next three commands always work on whole lines.
|
|||||||
:[range]ce[nter] [width] *:ce* *:center*
|
:[range]ce[nter] [width] *:ce* *:center*
|
||||||
Center lines in [range] between [width] columns
|
Center lines in [range] between [width] columns
|
||||||
(default 'textwidth' or 80 when 'textwidth' is 0).
|
(default 'textwidth' or 80 when 'textwidth' is 0).
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
:[range]ri[ght] [width] *:ri* *:right*
|
:[range]ri[ght] [width] *:ri* *:right*
|
||||||
Right-align lines in [range] at [width] columns
|
Right-align lines in [range] at [width] columns
|
||||||
(default 'textwidth' or 80 when 'textwidth' is 0).
|
(default 'textwidth' or 80 when 'textwidth' is 0).
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*:le* *:left*
|
*:le* *:left*
|
||||||
:[range]le[ft] [indent]
|
:[range]le[ft] [indent]
|
||||||
Left-align lines in [range]. Sets the indent in the
|
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*
|
||||||
gq{motion} Format the lines that {motion} moves over.
|
gq{motion} Format the lines that {motion} moves over.
|
||||||
@@ -1414,24 +1386,24 @@ gq{motion} Format the lines that {motion} moves over.
|
|||||||
|
|
||||||
gqgq *gqgq* *gqq*
|
gqgq *gqgq* *gqq*
|
||||||
gqq Format the current line. With a count format that
|
gqq Format the current line. With a count format that
|
||||||
many lines. {not in Vi}
|
many lines.
|
||||||
|
|
||||||
*v_gq*
|
*v_gq*
|
||||||
{Visual}gq Format the highlighted text. (for {Visual} see
|
{Visual}gq Format the highlighted text. (for {Visual} see
|
||||||
|Visual-mode|). {not in Vi}
|
|Visual-mode|).
|
||||||
|
|
||||||
*gw*
|
*gw*
|
||||||
gw{motion} Format the lines that {motion} moves over. Similar to
|
gw{motion} Format the lines that {motion} moves over. Similar to
|
||||||
|gq| but puts the cursor back at the same position in
|
|gq| but puts the cursor back at the same position in
|
||||||
the text. However, 'formatprg' and 'formatexpr' are
|
the text. However, 'formatprg' and 'formatexpr' are
|
||||||
not used. {not in Vi}
|
not used.
|
||||||
|
|
||||||
gwgw *gwgw* *gww*
|
gwgw *gwgw* *gww*
|
||||||
gww Format the current line as with "gw". {not in Vi}
|
gww Format the current line as with "gw".
|
||||||
|
|
||||||
*v_gw*
|
*v_gw*
|
||||||
{Visual}gw Format the highlighted text as with "gw". (for
|
{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* >
|
Example: To format the current paragraph use: *gqap* >
|
||||||
gqap
|
gqap
|
||||||
@@ -1720,6 +1692,17 @@ j Where it makes sense, remove a comment leader when joining lines. For
|
|||||||
// in the list ~
|
// in the list ~
|
||||||
Becomes:
|
Becomes:
|
||||||
int i; // the index in the list ~
|
int i; // the index in the list ~
|
||||||
|
p Don't break lines at single spaces that follow periods. This is
|
||||||
|
intended to complement 'joinspaces' and |cpo-J|, for prose with
|
||||||
|
sentences separated by two spaces. For example, with 'textwidth' set
|
||||||
|
to 28: >
|
||||||
|
Surely you're joking, Mr. Feynman!
|
||||||
|
< Becomes: >
|
||||||
|
Surely you're joking,
|
||||||
|
Mr. Feynman!
|
||||||
|
< Instead of: >
|
||||||
|
Surely you're joking, Mr.
|
||||||
|
Feynman!
|
||||||
|
|
||||||
|
|
||||||
With 't' and 'c' you can specify when Vim performs auto-wrapping:
|
With 't' and 'c' you can specify when Vim performs auto-wrapping:
|
||||||
|
|||||||
@@ -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
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -24,7 +24,6 @@ The Netbeans interface also uses a channel. |netbeans|
|
|||||||
11. Controlling a job |job-control|
|
11. Controlling a job |job-control|
|
||||||
12. Using a prompt buffer |prompt-buffer|
|
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}
|
{only when compiled with the |+channel| feature for channel stuff}
|
||||||
You can check this with: `has('channel')`
|
You can check this with: `has('channel')`
|
||||||
{only when compiled with the |+job| feature for job stuff}
|
{only when compiled with the |+job| feature for job stuff}
|
||||||
@@ -308,9 +307,10 @@ higher.
|
|||||||
|
|
||||||
Command "redraw" ~
|
Command "redraw" ~
|
||||||
|
|
||||||
The other commands do not update the screen, so that you can send a sequence
|
The other commands do not explicitly update the screen, so that you can send a
|
||||||
of commands without the cursor moving around. You must end with the "redraw"
|
sequence of commands without the cursor moving around. A redraw can happen as
|
||||||
command to show any changed text and show the cursor where it belongs.
|
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:
|
The argument is normally an empty string:
|
||||||
["redraw", ""] ~
|
["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
|
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
|
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
|
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.
|
<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
|
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.
|
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
|
- 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
|
from commands like "*" and "#". But for a mapping, only the last search is
|
||||||
remembered (to avoid that long mappings trash the history).
|
remembered (to avoid that long mappings trash the history).
|
||||||
{Vi: no history}
|
|
||||||
{not available when compiled without the |+cmdline_hist| feature}
|
{not available when compiled without the |+cmdline_hist| feature}
|
||||||
|
|
||||||
There is an automatic completion of names on the command-line; see
|
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>
|
:cnoremap <C-U> <C-E><C-U>
|
||||||
<
|
<
|
||||||
*c_<Insert>* *c_Insert*
|
*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*
|
{char1} <BS> {char2} or *c_digraph*
|
||||||
CTRL-K {char1} {char2} *c_CTRL-K*
|
CTRL-K {char1} {char2} *c_CTRL-K*
|
||||||
enter digraph (see |digraphs|). When {char1} is a special
|
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>*
|
CTRL-R {0-9a-z"%#:-=.} *c_CTRL-R* *c_<C-R>*
|
||||||
Insert the contents of a numbered or named register. Between
|
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.
|
too.
|
||||||
When the result is a Float it's automatically
|
When the result is a Float it's automatically
|
||||||
converted to a String.
|
converted to a String.
|
||||||
See |registers| about registers. {not in Vi}
|
See |registers| about registers.
|
||||||
Implementation detail: When using the |expression| register
|
Implementation detail: When using the |expression| register
|
||||||
and invoking setcmdpos(), this sets the position before
|
and invoking setcmdpos(), this sets the position before
|
||||||
inserting the resulting string. Use CTRL-R CTRL-R to set the
|
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
|
currently displayed match is used. With CTRL-W the part of
|
||||||
the word that was already typed is not inserted again.
|
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
|
CTRL-F and CTRL-P: {only when |+file_in_path| feature is
|
||||||
included}
|
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
|
off, since you are expected to type a command. After
|
||||||
switching it on with CTRL-^, the new state is not used again
|
switching it on with CTRL-^, the new state is not used again
|
||||||
for the next command or Search pattern.
|
for the next command or Search pattern.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*c_CTRL-]*
|
*c_CTRL-]*
|
||||||
CTRL-] Trigger abbreviation, without inserting a character. {not in
|
CTRL-] Trigger abbreviation, without inserting a character.
|
||||||
Vi}
|
|
||||||
|
|
||||||
For Emacs-style editing on the command-line see |emacs-keys|.
|
For Emacs-style editing on the command-line see |emacs-keys|.
|
||||||
|
|
||||||
@@ -332,7 +327,6 @@ terminals)
|
|||||||
|
|
||||||
*:his* *:history*
|
*:his* *:history*
|
||||||
:his[tory] Print the history of last entered commands.
|
:his[tory] Print the history of last entered commands.
|
||||||
{not in Vi}
|
|
||||||
{not available when compiled without the |+cmdline_hist|
|
{not available when compiled without the |+cmdline_hist|
|
||||||
feature}
|
feature}
|
||||||
|
|
||||||
@@ -344,7 +338,6 @@ terminals)
|
|||||||
i[nput] or @ input line history
|
i[nput] or @ input line history
|
||||||
d[ebug] or > debug command history
|
d[ebug] or > debug command history
|
||||||
a[ll] all of the above
|
a[ll] all of the above
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
If the numbers {first} and/or {last} are given, the respective
|
If the numbers {first} and/or {last} are given, the respective
|
||||||
range of entries from a history is listed. These numbers can
|
range of entries from a history is listed. These numbers can
|
||||||
|
|||||||
@@ -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
|
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,
|
If you built the executable yourself with the Microsoft Visual C++ compiler,
|
||||||
then the PDB was built with the EXE.
|
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.
|
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
|
For other compilers, you should always use the corresponding debugger: gdb
|
||||||
a Vim executable compiled with the Borland compiler; gdb (see above
|
(see above |debug-gcc|) for the Cygwin and MinGW compilers.
|
||||||
|debug-gcc|) for the Cygwin and MinGW compilers.
|
|
||||||
|
|
||||||
|
|
||||||
*debug-vs2005*
|
*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
|
VIM REFERENCE MANUAL by Gordon Prieur
|
||||||
@@ -10,7 +10,6 @@ Debugger Support Features *debugger-support*
|
|||||||
2. Vim Compile Options |debugger-compilation|
|
2. Vim Compile Options |debugger-compilation|
|
||||||
3. Integrated Debuggers |debugger-integration|
|
3. Integrated Debuggers |debugger-integration|
|
||||||
|
|
||||||
{Vi does not have any of these features}
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
1. Debugger Features *debugger-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
|
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
|
index shadows global declaration
|
||||||
time shadows global declaration
|
time shadows global declaration
|
||||||
new C++ reserved keyword
|
new C++ reserved keyword
|
||||||
try Borland C++ doesn't like it to be used as a variable.
|
|
||||||
|
|
||||||
clear Mac curses.h
|
clear Mac curses.h
|
||||||
echo Mac curses.h
|
echo Mac curses.h
|
||||||
@@ -355,6 +354,24 @@ OK: if (cond)
|
|||||||
cmd;
|
cmd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
When a block has one line the braces can be left out. When an if/else has
|
||||||
|
braces on one block, it usually looks better when the other block also has
|
||||||
|
braces:
|
||||||
|
OK: if (cond)
|
||||||
|
cmd;
|
||||||
|
else
|
||||||
|
cmd;
|
||||||
|
|
||||||
|
OK: if (cond)
|
||||||
|
{
|
||||||
|
cmd;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
cmd;
|
||||||
|
cmd;
|
||||||
|
}
|
||||||
|
|
||||||
Use ANSI (new style) function declarations with the return type on a separate
|
Use ANSI (new style) function declarations with the return type on a separate
|
||||||
indented line.
|
indented line.
|
||||||
|
|
||||||
@@ -367,10 +384,10 @@ OK: /*
|
|||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
function_name(
|
function_name(
|
||||||
int arg1, /* short comment about arg1 */
|
int arg1, // short comment about arg1
|
||||||
int arg2) /* short comment about arg2 */
|
int arg2) // short comment about arg2
|
||||||
{
|
{
|
||||||
int local; /* comment about local */
|
int local; // comment about local
|
||||||
|
|
||||||
local = arg1 * arg2;
|
local = arg1 * arg2;
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
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|
|
4. Copying diffs |copy-diffs|
|
||||||
5. Diff options |diff-options|
|
5. Diff options |diff-options|
|
||||||
|
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
1. Starting diff mode *start-vimdiff*
|
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: >
|
need another buffer. This command is useful: >
|
||||||
command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_
|
command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_
|
||||||
\ | diffthis | wincmd p | diffthis
|
\ | diffthis | wincmd p | diffthis
|
||||||
(this is in |vimrc_example.vim|). Use ":DiffOrig" to see the differences
|
(this is in |defaults.vim|). Use ":DiffOrig" to see the differences between
|
||||||
between the current buffer and the file it was loaded from.
|
the current buffer and the file it was loaded from.
|
||||||
|
|
||||||
A buffer that is unloaded cannot be used for the diff. But it does work for
|
A buffer that is unloaded cannot be used for the diff. But it does work for
|
||||||
hidden buffers. You can use ":hide" to close a window without unloading the
|
hidden buffers. You can use ":hide" to close a window without unloading the
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*digraph.txt* For Vim version 8.1. Last change: 2018 Dec 14
|
*digraph.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -18,7 +18,6 @@ An alternative is using the 'keymap' option.
|
|||||||
2. Using digraphs |digraphs-use|
|
2. Using digraphs |digraphs-use|
|
||||||
3. Default digraphs |digraphs-default|
|
3. Default digraphs |digraphs-default|
|
||||||
|
|
||||||
{Vi does not have any of these commands}
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
1. Defining digraphs *digraphs-define*
|
1. Defining digraphs *digraphs-define*
|
||||||
@@ -59,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
|
"10". That's because NUL characters are internally represented with a NL
|
||||||
character. When you write the file it will become a NUL character.
|
character. When you write the file it will become a NUL character.
|
||||||
|
|
||||||
When Vim was compiled without the |+multi_byte| feature, you need to specify
|
Example: >
|
||||||
the character in the encoding given with 'encoding'. You might want to use
|
digraph oe 339
|
||||||
something like this: >
|
This defines the "oe" digraph for a character that is number 339 in Unicode.
|
||||||
|
|
||||||
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).
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
2. Using digraphs *digraphs-use*
|
2. Using digraphs *digraphs-use*
|
||||||
@@ -164,8 +154,7 @@ a standard meaning:
|
|||||||
Example: a: is ä and o: is ö
|
Example: a: is ä and o: is ö
|
||||||
|
|
||||||
These are the RFC1345 digraphs for the one-byte characters. See the output of
|
These are the RFC1345 digraphs for the one-byte characters. See the output of
|
||||||
":digraphs" for the others. The characters above 255 are only available when
|
":digraphs" for the others.
|
||||||
Vim was compiled with the |+multi_byte| feature.
|
|
||||||
|
|
||||||
EURO
|
EURO
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*editing.txt* For Vim version 8.1. Last change: 2018 Dec 16
|
*editing.txt* For Vim version 8.1. Last change: 2019 May 07
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
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
|
:keepalt {cmd} Execute {cmd} while keeping the current alternate file
|
||||||
name. Note that commands invoked indirectly (e.g.,
|
name. Note that commands invoked indirectly (e.g.,
|
||||||
with a function) may still set the alternate file
|
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,
|
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"),
|
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
|
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.,
|
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
|
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*
|
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,
|
option is set), and the file status (readonly,
|
||||||
modified, read errors, new file). See the 'shortmess'
|
modified, read errors, new file). See the 'shortmess'
|
||||||
option about how to make this message shorter.
|
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
|
:f[ile]! like |:file|, but don't truncate the name even when
|
||||||
'shortmess' indicates this.
|
'shortmess' indicates this.
|
||||||
|
|
||||||
{count}CTRL-G Like CTRL-G, but prints the current file name with
|
{count}CTRL-G Like CTRL-G, but prints the current file name with
|
||||||
full path. If the count is higher than 1 the current
|
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* *word-count* *byte-count*
|
||||||
g CTRL-G Prints the current position of the cursor in five
|
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.
|
column are shown, separated with a dash.
|
||||||
Also see the 'ruler' option and the |wordcount()|
|
Also see the 'ruler' option and the |wordcount()|
|
||||||
function.
|
function.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*v_g_CTRL-G*
|
*v_g_CTRL-G*
|
||||||
{Visual}g CTRL-G Similar to "g CTRL-G", but Word, Character, Line, and
|
{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.
|
displayed.
|
||||||
In Blockwise mode, Column count is also shown. (For
|
In Blockwise mode, Column count is also shown. (For
|
||||||
{Visual} see |Visual-mode|.)
|
{Visual} see |Visual-mode|.)
|
||||||
{not in VI}
|
|
||||||
|
|
||||||
*:file_f*
|
*:file_f*
|
||||||
:f[ile][!] {name} Sets the current file name to {name}. The optional !
|
: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.
|
to hold the old name.
|
||||||
*:0file*
|
*:0file*
|
||||||
:0f[ile][!] Remove the name of the current buffer. The optional !
|
:0f[ile][!] Remove the name of the current buffer. The optional !
|
||||||
avoids truncating the message, as with |:file|. {not
|
avoids truncating the message, as with |:file|.
|
||||||
in Vi}
|
|
||||||
|
|
||||||
:buffers
|
:buffers
|
||||||
:files
|
:files
|
||||||
:ls List all the currently known file names. See
|
:ls List all the currently known file names. See
|
||||||
'windows.txt' |:files| |:buffers| |:ls|. {not in
|
'windows.txt' |:files| |:buffers| |:ls|.
|
||||||
Vi}
|
|
||||||
|
|
||||||
Vim will remember the full path name of a file name that you enter. In most
|
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
|
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
|
buffer and 'autowriteall' isn't set or the file can't
|
||||||
be written.
|
be written.
|
||||||
Also see |++opt| and |+cmd|.
|
Also see |++opt| and |+cmd|.
|
||||||
{Vi: no ++opt}
|
|
||||||
|
|
||||||
*:edit!* *discard*
|
*:edit!* *discard*
|
||||||
:e[dit]! [++opt] [+cmd]
|
: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
|
the current buffer. This is useful if you want to
|
||||||
start all over again.
|
start all over again.
|
||||||
Also see |++opt| and |+cmd|.
|
Also see |++opt| and |+cmd|.
|
||||||
{Vi: no ++opt}
|
|
||||||
|
|
||||||
*:edit_f*
|
*:edit_f*
|
||||||
:e[dit] [++opt] [+cmd] {file}
|
: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
|
buffer, unless 'hidden' is set or 'autowriteall' is
|
||||||
set and the file can be written.
|
set and the file can be written.
|
||||||
Also see |++opt| and |+cmd|.
|
Also see |++opt| and |+cmd|.
|
||||||
{Vi: no ++opt}
|
|
||||||
|
|
||||||
*:edit!_f*
|
*:edit!_f*
|
||||||
:e[dit]! [++opt] [+cmd] {file}
|
:e[dit]! [++opt] [+cmd] {file}
|
||||||
Edit {file} always. Discard any changes to the
|
Edit {file} always. Discard any changes to the
|
||||||
current buffer.
|
current buffer.
|
||||||
Also see |++opt| and |+cmd|.
|
Also see |++opt| and |+cmd|.
|
||||||
{Vi: no ++opt}
|
|
||||||
|
|
||||||
:e[dit] [++opt] [+cmd] #[count]
|
:e[dit] [++opt] [+cmd] #[count]
|
||||||
Edit the [count]th buffer (as shown by |:files|).
|
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
|
#" doesn't work if the alternate buffer doesn't have a
|
||||||
file name, while CTRL-^ still works then.
|
file name, while CTRL-^ still works then.
|
||||||
Also see |++opt| and |+cmd|.
|
Also see |++opt| and |+cmd|.
|
||||||
{Vi: no ++opt}
|
|
||||||
|
|
||||||
*:ene* *:enew*
|
*:ene* *:enew*
|
||||||
:ene[w] Edit a new, unnamed buffer. This fails when changes
|
: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
|
If 'fileformats' is not empty, the first format given
|
||||||
will be used for the new buffer. If 'fileformats' is
|
will be used for the new buffer. If 'fileformats' is
|
||||||
empty, the 'fileformat' of the current buffer is used.
|
empty, the 'fileformat' of the current buffer is used.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*:ene!* *:enew!*
|
*:ene!* *:enew!*
|
||||||
:ene[w]! Edit a new, unnamed buffer. Discard any changes to
|
:ene[w]! Edit a new, unnamed buffer. Discard any changes to
|
||||||
the current buffer.
|
the current buffer.
|
||||||
Set 'fileformat' like |:enew|.
|
Set 'fileformat' like |:enew|.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*:fin* *:find*
|
*:fin* *:find*
|
||||||
:fin[d][!] [++opt] [+cmd] {file}
|
:fin[d][!] [++opt] [+cmd] {file}
|
||||||
Find {file} in 'path' and then |:edit| it.
|
Find {file} in 'path' and then |:edit| it.
|
||||||
{not in Vi} {not available when the |+file_in_path|
|
{not available when the |+file_in_path| feature was
|
||||||
feature was disabled at compile time}
|
disabled at compile time}
|
||||||
|
|
||||||
:{count}fin[d][!] [++opt] [+cmd] {file}
|
:{count}fin[d][!] [++opt] [+cmd] {file}
|
||||||
Just like ":find", but use the {count} match in
|
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
|
:vie[w][!] [++opt] [+cmd] file
|
||||||
When used in Ex mode: Leave |Ex-mode|, go back to
|
When used in Ex mode: Leave |Ex-mode|, go back to
|
||||||
Normal mode. Otherwise same as |:edit|, but set
|
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-^* *CTRL-6*
|
||||||
CTRL-^ Edit the alternate file. Mostly the alternate file is
|
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
|
":e #[count]"). This is a quick way to switch between
|
||||||
files.
|
files.
|
||||||
See |CTRL-^| above for further details.
|
See |CTRL-^| above for further details.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
[count]]f *]f* *[f*
|
[count]]f *]f* *[f*
|
||||||
[count][f Same as "gf". Deprecated.
|
[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
|
For Unix the '~' character is expanded, like in
|
||||||
"~user/file". Environment variables are expanded too
|
"~user/file". Environment variables are expanded too
|
||||||
|expand-env|.
|
|expand-env|.
|
||||||
{not in Vi}
|
|
||||||
{not available when the |+file_in_path| feature was
|
{not available when the |+file_in_path| feature was
|
||||||
disabled at compile time}
|
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
|
Leading blanks are skipped, otherwise all blanks and
|
||||||
special characters are included in the file name.
|
special characters are included in the file name.
|
||||||
(For {Visual} see |Visual-mode|.)
|
(For {Visual} see |Visual-mode|.)
|
||||||
{not in VI}
|
|
||||||
|
|
||||||
*gF*
|
*gF*
|
||||||
[count]gF Same as "gf", except if a number follows the file
|
[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
|
the first one. This fails when changes have been made
|
||||||
and Vim does not want to |abandon| the current buffer.
|
and Vim does not want to |abandon| the current buffer.
|
||||||
Also see |++opt| and |+cmd|.
|
Also see |++opt| and |+cmd|.
|
||||||
{Vi: no ++opt}
|
|
||||||
|
|
||||||
:ar[gs]! [++opt] [+cmd] {arglist} *:args_f!*
|
:ar[gs]! [++opt] [+cmd] {arglist} *:args_f!*
|
||||||
Define {arglist} as the new argument list and edit
|
Define {arglist} as the new argument list and edit
|
||||||
the first one. Discard any changes to the current
|
the first one. Discard any changes to the current
|
||||||
buffer.
|
buffer.
|
||||||
Also see |++opt| and |+cmd|.
|
Also see |++opt| and |+cmd|.
|
||||||
{Vi: no ++opt}
|
|
||||||
|
|
||||||
:[count]arge[dit][!] [++opt] [+cmd] {name} .. *:arge* *:argedit*
|
:[count]arge[dit][!] [++opt] [+cmd] {name} .. *:arge* *:argedit*
|
||||||
Add {name}s to the argument list and edit it.
|
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
|
still be added to the argument list, but won't be
|
||||||
edited. No check for duplicates is done.
|
edited. No check for duplicates is done.
|
||||||
Also see |++opt| and |+cmd|.
|
Also see |++opt| and |+cmd|.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
:[count]arga[dd] {name} .. *:arga* *:argadd* *E479*
|
:[count]arga[dd] {name} .. *:arga* *:argadd* *E479*
|
||||||
:[count]arga[dd]
|
:[count]arga[dd]
|
||||||
@@ -659,7 +641,6 @@ list of the current window.
|
|||||||
There is no check for duplicates, it is possible to
|
There is no check for duplicates, it is possible to
|
||||||
add a file to the argument list twice.
|
add a file to the argument list twice.
|
||||||
The currently edited file is not changed.
|
The currently edited file is not changed.
|
||||||
{not in Vi}
|
|
||||||
Note: you can also use this method: >
|
Note: you can also use this method: >
|
||||||
:args ## x
|
:args ## x
|
||||||
< This will add the "x" item and sort the new list.
|
< 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.
|
when it's deleted from the argument list.
|
||||||
Example: >
|
Example: >
|
||||||
:argdel *.obj
|
:argdel *.obj
|
||||||
< {not in Vi}
|
|
||||||
|
|
||||||
:[range]argd[elete] Delete the {range} files from the argument list.
|
:[range]argd[elete] Delete the {range} files from the argument list.
|
||||||
Example: >
|
Example: >
|
||||||
@@ -688,7 +668,6 @@ list of the current window.
|
|||||||
< Removes all the files from the arglist.
|
< Removes all the files from the arglist.
|
||||||
When the last number in the range is too high, up to
|
When the last number in the range is too high, up to
|
||||||
the last argument is deleted.
|
the last argument is deleted.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*:argu* *:argument*
|
*:argu* *:argument*
|
||||||
:[count]argu[ment] [count] [++opt] [+cmd]
|
:[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
|
when changes have been made and Vim does not want to
|
||||||
|abandon| the current buffer.
|
|abandon| the current buffer.
|
||||||
Also see |++opt| and |+cmd|.
|
Also see |++opt| and |+cmd|.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
:[count]argu[ment]! [count] [++opt] [+cmd]
|
:[count]argu[ment]! [count] [++opt] [+cmd]
|
||||||
Edit file [count] in the argument list, discard any
|
Edit file [count] in the argument list, discard any
|
||||||
changes to the current buffer. When [count] is
|
changes to the current buffer. When [count] is
|
||||||
omitted the current entry is used.
|
omitted the current entry is used.
|
||||||
Also see |++opt| and |+cmd|.
|
Also see |++opt| and |+cmd|.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
:[count]n[ext] [++opt] [+cmd] *:n* *:ne* *:next* *E165* *E163*
|
:[count]n[ext] [++opt] [+cmd] *:n* *:ne* *:next* *E165* *E163*
|
||||||
Edit [count] next file. This fails when changes have
|
Edit [count] next file. This fails when changes have
|
||||||
been made and Vim does not want to |abandon| the
|
been made and Vim does not want to |abandon| the
|
||||||
current buffer. Also see |++opt| and |+cmd|. {Vi: no
|
current buffer. Also see |++opt| and |+cmd|.
|
||||||
count or ++opt}.
|
|
||||||
|
|
||||||
:[count]n[ext]! [++opt] [+cmd]
|
:[count]n[ext]! [++opt] [+cmd]
|
||||||
Edit [count] next file, discard any changes to the
|
Edit [count] next file, discard any changes to the
|
||||||
buffer. Also see |++opt| and |+cmd|. {Vi: no count
|
buffer. Also see |++opt| and |+cmd|.
|
||||||
or ++opt}.
|
|
||||||
|
|
||||||
:n[ext] [++opt] [+cmd] {arglist} *:next_f*
|
:n[ext] [++opt] [+cmd] {arglist} *:next_f*
|
||||||
Same as |:args_f|.
|
Same as |:args_f|.
|
||||||
@@ -727,65 +702,63 @@ list of the current window.
|
|||||||
Edit [count] previous file in argument list. This
|
Edit [count] previous file in argument list. This
|
||||||
fails when changes have been made and Vim does not
|
fails when changes have been made and Vim does not
|
||||||
want to |abandon| the current buffer.
|
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]
|
:[count]N[ext]! [count] [++opt] [+cmd]
|
||||||
Edit [count] previous file in argument list. Discard
|
Edit [count] previous file in argument list. Discard
|
||||||
any changes to the buffer. Also see |++opt| and
|
any changes to the buffer. Also see |++opt| and
|
||||||
|+cmd|. {Vi: no count or ++opt}.
|
|+cmd|.
|
||||||
|
|
||||||
:[count]prev[ious] [count] [++opt] [+cmd] *:prev* *:previous*
|
:[count]prev[ious] [count] [++opt] [+cmd] *:prev* *:previous*
|
||||||
Same as :Next. Also see |++opt| and |+cmd|. {Vi:
|
Same as :Next. Also see |++opt| and |+cmd|.
|
||||||
only in some versions}
|
|
||||||
|
|
||||||
*:rew* *:rewind*
|
*:rew* *:rewind*
|
||||||
:rew[ind] [++opt] [+cmd]
|
:rew[ind] [++opt] [+cmd]
|
||||||
Start editing the first file in the argument list.
|
Start editing the first file in the argument list.
|
||||||
This fails when changes have been made and Vim does
|
This fails when changes have been made and Vim does
|
||||||
not want to |abandon| the current buffer.
|
not want to |abandon| the current buffer.
|
||||||
Also see |++opt| and |+cmd|. {Vi: no ++opt}
|
Also see |++opt| and |+cmd|.
|
||||||
|
|
||||||
:rew[ind]! [++opt] [+cmd]
|
:rew[ind]! [++opt] [+cmd]
|
||||||
Start editing the first file in the argument list.
|
Start editing the first file in the argument list.
|
||||||
Discard any changes to the buffer. Also see |++opt|
|
Discard any changes to the buffer. Also see |++opt|
|
||||||
and |+cmd|. {Vi: no ++opt}
|
and |+cmd|.
|
||||||
|
|
||||||
*:fir* *:first*
|
*:fir* *:first*
|
||||||
:fir[st][!] [++opt] [+cmd]
|
:fir[st][!] [++opt] [+cmd]
|
||||||
Other name for ":rewind". {not in Vi}
|
Other name for ":rewind".
|
||||||
|
|
||||||
*:la* *:last*
|
*:la* *:last*
|
||||||
:la[st] [++opt] [+cmd]
|
:la[st] [++opt] [+cmd]
|
||||||
Start editing the last file in the argument list.
|
Start editing the last file in the argument list.
|
||||||
This fails when changes have been made and Vim does
|
This fails when changes have been made and Vim does
|
||||||
not want to |abandon| the current buffer.
|
not want to |abandon| the current buffer.
|
||||||
Also see |++opt| and |+cmd|. {not in Vi}
|
Also see |++opt| and |+cmd|.
|
||||||
|
|
||||||
:la[st]! [++opt] [+cmd]
|
:la[st]! [++opt] [+cmd]
|
||||||
Start editing the last file in the argument list.
|
Start editing the last file in the argument list.
|
||||||
Discard any changes to the buffer. Also see |++opt|
|
Discard any changes to the buffer. Also see |++opt|
|
||||||
and |+cmd|. {not in Vi}
|
and |+cmd|.
|
||||||
|
|
||||||
*:wn* *:wnext*
|
*:wn* *:wnext*
|
||||||
:[count]wn[ext] [++opt]
|
:[count]wn[ext] [++opt]
|
||||||
Write current file and start editing the [count]
|
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}
|
:[count]wn[ext] [++opt] {file}
|
||||||
Write current file to {file} and start editing the
|
Write current file to {file} and start editing the
|
||||||
[count] next file, unless {file} already exists and
|
[count] next file, unless {file} already exists and
|
||||||
the 'writeany' option is off. Also see |++opt| and
|
the 'writeany' option is off. Also see |++opt| and
|
||||||
|+cmd|. {not in Vi}
|
|+cmd|.
|
||||||
|
|
||||||
:[count]wn[ext]! [++opt] {file}
|
:[count]wn[ext]! [++opt] {file}
|
||||||
Write current file to {file} and start editing the
|
Write current file to {file} and start editing the
|
||||||
[count] next file. Also see |++opt| and |+cmd|. {not
|
[count] next file. Also see |++opt| and |+cmd|.
|
||||||
in Vi}
|
|
||||||
|
|
||||||
:[count]wN[ext][!] [++opt] [file] *:wN* *:wNext*
|
:[count]wN[ext][!] [++opt] [file] *:wN* *:wNext*
|
||||||
:[count]wp[revious][!] [++opt] [file] *:wp* *:wprevious*
|
:[count]wp[revious][!] [++opt] [file] *:wp* *:wprevious*
|
||||||
Same as :wnext, but go to previous file instead of
|
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
|
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.
|
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
|
LOCAL ARGUMENT LIST
|
||||||
|
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*:arglocal*
|
*:arglocal*
|
||||||
:argl[ocal] Make a local copy of the global argument list.
|
:argl[ocal] Make a local copy of the global argument list.
|
||||||
Doesn't start editing another file.
|
Doesn't start editing another file.
|
||||||
@@ -878,7 +849,6 @@ USING THE ARGUMENT LIST
|
|||||||
autocommand event is disabled by adding it to
|
autocommand event is disabled by adding it to
|
||||||
'eventignore'. This considerably speeds up editing
|
'eventignore'. This considerably speeds up editing
|
||||||
each file.
|
each file.
|
||||||
{not in Vi}
|
|
||||||
Also see |:windo|, |:tabdo|, |:bufdo|, |:cdo|, |:ldo|,
|
Also see |:windo|, |:tabdo|, |:bufdo|, |:cdo|, |:ldo|,
|
||||||
|:cfdo| and |:lfdo|
|
|:cfdo| and |:lfdo|
|
||||||
|
|
||||||
@@ -970,12 +940,11 @@ slower (but safer).
|
|||||||
When 'filetype' is empty filetype detection is done
|
When 'filetype' is empty filetype detection is done
|
||||||
with the new name, before the file is written.
|
with the new name, before the file is written.
|
||||||
When the write was successful 'readonly' is reset.
|
When the write was successful 'readonly' is reset.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*:up* *:update*
|
*:up* *:update*
|
||||||
:[range]up[date][!] [++opt] [>>] [file]
|
:[range]up[date][!] [++opt] [>>] [file]
|
||||||
Like ":write", but only write when the buffer has been
|
Like ":write", but only write when the buffer has been
|
||||||
modified. {not in Vi}
|
modified.
|
||||||
|
|
||||||
|
|
||||||
WRITING WITH MULTIPLE BUFFERS *buffer-write*
|
WRITING WITH MULTIPLE BUFFERS *buffer-write*
|
||||||
@@ -983,11 +952,11 @@ WRITING WITH MULTIPLE BUFFERS *buffer-write*
|
|||||||
*:wa* *:wall*
|
*:wa* *:wall*
|
||||||
:wa[ll] Write all changed buffers. Buffers without a file
|
:wa[ll] Write all changed buffers. Buffers without a file
|
||||||
name cause an error message. Buffers which are
|
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
|
:wa[ll]! Write all changed buffers, even the ones that are
|
||||||
readonly. Buffers without a file name are not
|
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
|
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
|
:conf[irm] q[uit] Quit, but give prompt when changes have been made, or
|
||||||
the last file in the argument list has not been
|
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
|
:q[uit]! Quit without writing, also when the current buffer has
|
||||||
changes. The buffer is unloaded, also when it 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
|
:cq[uit] Quit always, without writing, and return an error
|
||||||
code. See |:cq|. Used for Manx's QuickFix mode (see
|
code. See |:cq|. Used for Manx's QuickFix mode (see
|
||||||
|quickfix|). {not in Vi}
|
|quickfix|).
|
||||||
|
|
||||||
*:wq*
|
*:wq*
|
||||||
:wq [++opt] Write the current file and quit. Writing fails when
|
: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*
|
||||||
ZQ Quit without checking for changes (same as ":q!").
|
ZQ Quit without checking for changes (same as ":q!").
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
MULTIPLE WINDOWS AND BUFFERS *window-exit*
|
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
|
:qa[ll] Exit Vim, unless there are some buffers which have been
|
||||||
changed. (Use ":bmod" to go to the next modified buffer).
|
changed. (Use ":bmod" to go to the next modified buffer).
|
||||||
When 'autowriteall' is set all changed buffers will be
|
When 'autowriteall' is set all changed buffers will be
|
||||||
written, like |:wqall|. {not in Vi}
|
written, like |:wqall|.
|
||||||
|
|
||||||
:conf[irm] qa[ll]
|
:conf[irm] qa[ll]
|
||||||
Exit Vim. Bring up a prompt when some buffers have been
|
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
|
Also see |:cquit|, it does the same but exits with a non-zero
|
||||||
value.
|
value.
|
||||||
|
|
||||||
*:quita* *:quitall*
|
*:quita* *:quitall*
|
||||||
:quita[ll][!] Same as ":qall". {not in Vi}
|
:quita[ll][!] Same as ":qall".
|
||||||
|
|
||||||
:wqa[ll] [++opt] *:wqa* *:wqall* *:xa* *:xall*
|
:wqa[ll] [++opt] *:wqa* *:wqall* *:xa* *:xall*
|
||||||
:xa[ll] Write all changed buffers and exit Vim. If there are buffers
|
:xa[ll] Write all changed buffers and exit Vim. If there are buffers
|
||||||
without a file name, which are readonly or which cannot be
|
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] wqa[ll] [++opt]
|
||||||
:conf[irm] xa[ll]
|
:conf[irm] xa[ll]
|
||||||
Write all changed buffers and exit Vim. Bring up a prompt
|
Write all changed buffers and exit Vim. Bring up a prompt
|
||||||
when some buffers are readonly or cannot be written for
|
when some buffers are readonly or cannot be written for
|
||||||
another reason. See |:confirm|. {not in Vi}
|
another reason. See |:confirm|.
|
||||||
|
|
||||||
:wqa[ll]! [++opt]
|
:wqa[ll]! [++opt]
|
||||||
:xa[ll]! Write all changed buffers, even the ones that are readonly,
|
:xa[ll]! Write all changed buffers, even the ones that are readonly,
|
||||||
and exit Vim. If there are buffers without a file name or
|
and exit Vim. If there are buffers without a file name or
|
||||||
which cannot be written for another reason, or there is a
|
which cannot be written for another reason, or there is a
|
||||||
terminal with a running job, Vim will not quit.
|
terminal with a running job, Vim will not quit.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
6. Dialogs *edit-dialogs*
|
6. Dialogs *edit-dialogs*
|
||||||
@@ -1304,9 +1272,10 @@ use has("browsefilter"): >
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
7. The current directory *current-directory*
|
7. The current directory *current-directory*
|
||||||
|
|
||||||
You may use the |:cd| and |:lcd| commands to change to another directory, so
|
You can use the |:cd|, |:tcd| and |:lcd| commands to change to another
|
||||||
you will not have to type that directory name in front of the file names. It
|
directory, so you will not have to type that directory name in front of the
|
||||||
also makes a difference for executing external commands, e.g. ":!ls".
|
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
|
Changing directory fails when the current buffer is modified, the '.' flag is
|
||||||
present in 'cpoptions' and "!" is not used in the command.
|
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
|
name. On Unix systems: Change the current directory
|
||||||
to the home directory. Use |:pwd| to print the
|
to the home directory. Use |:pwd| to print the
|
||||||
current directory on all systems.
|
current directory on all systems.
|
||||||
|
On Unix systems: clear any window-local directory.
|
||||||
|
|
||||||
:cd[!] {path} Change the current directory to {path}.
|
:cd[!] {path} Change the current directory to {path}.
|
||||||
If {path} is relative, it is searched for in the
|
If {path} is relative, it is searched for in the
|
||||||
directories listed in |'cdpath'|.
|
directories listed in |'cdpath'|.
|
||||||
|
Clear any window-local directory.
|
||||||
Does not change the meaning of an already opened file,
|
Does not change the meaning of an already opened file,
|
||||||
because its full path name is remembered. Files from
|
because its full path name is remembered. Files from
|
||||||
the |arglist| may change though!
|
the |arglist| may change though!
|
||||||
@@ -1329,36 +1300,54 @@ present in 'cpoptions' and "!" is not used in the command.
|
|||||||
<
|
<
|
||||||
*:cd-* *E186*
|
*:cd-* *E186*
|
||||||
:cd[!] - Change to the previous current directory (before the
|
:cd[!] - Change to the previous current directory (before the
|
||||||
previous ":cd {path}" command). {not in Vi}
|
previous ":cd {path}" command).
|
||||||
|
|
||||||
*:chd* *:chdir*
|
*:chd* *:chdir*
|
||||||
:chd[ir][!] [path] Same as |:cd|.
|
: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* *:lcd*
|
||||||
:lc[d][!] {path} Like |:cd|, but only set the current directory when
|
:lc[d][!] {path} Like |:cd|, but only set the current directory when
|
||||||
the cursor is in the current window. The current
|
the cursor is in the current window. The current
|
||||||
directory for other windows is not changed, switching
|
directory for other windows is not changed, switching
|
||||||
to another window will stop using {path}.
|
to another window will stop using {path}.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*:lch* *:lchdir*
|
*:lch* *:lchdir*
|
||||||
:lch[dir][!] Same as |:lcd|. {not in Vi}
|
:lch[dir][!] Same as |:lcd|.
|
||||||
|
|
||||||
*:pw* *:pwd* *E187*
|
*:pw* *:pwd* *E187*
|
||||||
:pw[d] Print the current directory name. {Vi: no pwd}
|
:pw[d] Print the current directory name.
|
||||||
Also see |getcwd()|.
|
Also see |getcwd()|.
|
||||||
|
|
||||||
So long as no |:lcd| command has been used, all windows share the same current
|
So long as no |:lcd| or |:tcd| command has been used, all windows share the
|
||||||
directory. Using a command to jump to another window doesn't change anything
|
same current directory. Using a command to jump to another window doesn't
|
||||||
for the current directory.
|
change anything for the current directory.
|
||||||
|
|
||||||
When a |:lcd| command has been used for a window, the specified 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|
|
becomes the current directory for that window. Windows where the |:lcd|
|
||||||
command has not been used stick to the global current directory. When jumping
|
command has not been used stick to the global or tab-local current directory.
|
||||||
to another window the current directory will become the last specified local
|
When jumping to another window the current directory will become the last
|
||||||
current directory. If none was specified, the global current directory is
|
specified local current directory. If none was specified, the global or
|
||||||
used.
|
tab-local 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.
|
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
|
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
|
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
|
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>.
|
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
|
- <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
|
"CTRL-V CTRL-@" or "CTRL-V 000"
|
||||||
file}
|
|
||||||
- To insert a <NL> character in the file split a line. When writing the
|
- 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>.
|
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.
|
- Vim normally appends an <EOL> at the end of the file if there is none.
|
||||||
|
|||||||
1282
runtime/doc/eval.txt
@@ -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
|
VIM REFERENCE MANUAL by Mortaza Ghassab Shiran
|
||||||
@@ -6,264 +6,14 @@
|
|||||||
|
|
||||||
Right to Left and Farsi Mapping for Vim *farsi* *Farsi*
|
Right to Left and Farsi Mapping for Vim *farsi* *Farsi*
|
||||||
|
|
||||||
{Vi does not have any of these commands}
|
|
||||||
|
|
||||||
*E27*
|
*E27*
|
||||||
In order to use right-to-left and Farsi mapping support, it is necessary to
|
Farsi support has been removed in patch 8.1.0932. At that time it was
|
||||||
compile Vim with the |+farsi| feature.
|
outdated and unused.
|
||||||
|
|
||||||
These functions have been made by Mortaza G. Shiran <shiran@jps.net>
|
If you would like to bring Farsi support back, please have a look at the old
|
||||||
|
Farsi code, as it was present at the 8.1 release. It should be merged with
|
||||||
|
Arabic support using the Unicode character set.
|
||||||
|
|
||||||
|
|
||||||
Introduction
|
|
||||||
------------
|
|
||||||
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:
|
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
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -12,7 +12,6 @@ Filetypes *filetype* *file-type*
|
|||||||
|
|
||||||
Also see |autocmd.txt|.
|
Also see |autocmd.txt|.
|
||||||
|
|
||||||
{Vi does not have any of these commands}
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
1. Filetypes *filetypes* *file-types*
|
1. Filetypes *filetypes* *file-types*
|
||||||
@@ -663,6 +662,15 @@ your |vimrc|: >
|
|||||||
let rrst_dynamic_comments = 0
|
let rrst_dynamic_comments = 0
|
||||||
|
|
||||||
|
|
||||||
|
RESTRUCTUREDTEXT *ft-rst-plugin*
|
||||||
|
|
||||||
|
The following formatting setting are optionally available: >
|
||||||
|
setlocal expandtab shiftwidth=3 softtabstop=3 tabstop=8
|
||||||
|
|
||||||
|
To enable this behavior, set the following variable in your vimrc: >
|
||||||
|
let g:rst_style = 1
|
||||||
|
|
||||||
|
|
||||||
RPM SPEC *ft-spec-plugin*
|
RPM SPEC *ft-spec-plugin*
|
||||||
|
|
||||||
Since the text for this plugin is rather long it has been put in a separate
|
Since the text for this plugin is rather long it has been put in a separate
|
||||||
|
|||||||
@@ -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
|
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|
|
3. Fold options |fold-options|
|
||||||
4. Behavior of folds |fold-behavior|
|
4. Behavior of folds |fold-behavior|
|
||||||
|
|
||||||
{Vi has no Folding}
|
|
||||||
{not available when compiled without the |+folding| feature}
|
{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
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -11,14 +11,14 @@ Vim's Graphical User Interface *gui* *GUI*
|
|||||||
3. Mouse Control |gui-mouse|
|
3. Mouse Control |gui-mouse|
|
||||||
4. Making GUI Selections |gui-selections|
|
4. Making GUI Selections |gui-selections|
|
||||||
5. Menus |menus|
|
5. Menus |menus|
|
||||||
6. Extras |gui-extras|
|
6. Font |gui-font|
|
||||||
7. Shell Commands |gui-shell|
|
7. Extras |gui-extras|
|
||||||
|
8. Shell Commands |gui-shell|
|
||||||
|
|
||||||
Other GUI documentation:
|
Other GUI documentation:
|
||||||
|gui_x11.txt| For specific items of the X11 GUI.
|
|gui_x11.txt| For specific items of the X11 GUI.
|
||||||
|gui_w32.txt| For specific items of the Win32 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*
|
1. Starting the GUI *gui-start* *E229* *E233*
|
||||||
@@ -914,7 +914,9 @@ may be used to complete the name of the menu item for the appropriate mode.
|
|||||||
To remove all menus use: *:unmenu-all* >
|
To remove all menus use: *:unmenu-all* >
|
||||||
:unmenu * " remove all menus in Normal and visual mode
|
:unmenu * " remove all menus in Normal and visual mode
|
||||||
:unmenu! * " remove all menus in Insert and Command-line mode
|
:unmenu! * " remove all menus in Insert and Command-line mode
|
||||||
:aunmenu * " remove all menus in all modes
|
:aunmenu * " remove all menus in all modes, except for Terminal
|
||||||
|
" mode
|
||||||
|
:tlunmenu * " remove all menus in Terminal mode
|
||||||
|
|
||||||
If you want to get rid of the menu bar: >
|
If you want to get rid of the menu bar: >
|
||||||
:set guioptions-=m
|
:set guioptions-=m
|
||||||
@@ -1035,7 +1037,139 @@ make a selection.
|
|||||||
Note that a menu that starts with ']' will not be displayed.
|
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.
|
This section describes other features which are related to the GUI.
|
||||||
|
|
||||||
@@ -1079,7 +1213,7 @@ A recommended Japanese font is MS Mincho. You can find info here:
|
|||||||
http://www.lexikan.com/mincho.htm
|
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.
|
For the X11 GUI the external commands are executed inside the gvim window.
|
||||||
See |gui-pty|.
|
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
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -19,7 +19,6 @@ Other relevant documentation:
|
|||||||
|gui.txt| For generic items of the GUI.
|
|gui.txt| For generic items of the GUI.
|
||||||
|os_win32.txt| For Win32 specific items.
|
|os_win32.txt| For Win32 specific items.
|
||||||
|
|
||||||
{Vi does not have a Windows GUI}
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
1. Starting the GUI *gui-w32-start*
|
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
|
return with a command prompt after starting gvim. If not, you should use the
|
||||||
"start" command: >
|
"start" command: >
|
||||||
start gvim [options] file ..
|
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
|
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
|
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*
|
*:simalt* *:sim*
|
||||||
:sim[alt] {key} simulate pressing {key} while holding Alt pressed.
|
: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.
|
Note: ":si" means ":s" with the "i" flag.
|
||||||
|
|
||||||
Normally, Vim takes control of all Alt-<Key> combinations, to increase the
|
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
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -19,7 +19,6 @@ Vim's Graphical User Interface *gui-x11* *GUI-X11*
|
|||||||
Other relevant documentation:
|
Other relevant documentation:
|
||||||
|gui.txt| For generic items of the GUI.
|
|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*
|
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
|
":gui -f". Don't use "vim -fg", because "-fg" specifies the foreground
|
||||||
color.
|
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
|
"-f" argument will be remembered. To force running Vim in the background use
|
||||||
":gui -b".
|
":gui -b".
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
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
|
Lottem. <alottem at gmail dot com> Ron Aaron <ron at ronware dot org> is
|
||||||
currently helping support these features.
|
currently helping support these features.
|
||||||
|
|
||||||
{Vi does not have any of these commands}
|
{only available when the |+rightleft| feature was enabled at compile time}
|
||||||
|
|
||||||
All this is only available when the |+rightleft| feature was enabled at
|
|
||||||
compile time.
|
|
||||||
|
|
||||||
|
|
||||||
Introduction
|
Introduction
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*help.txt* For Vim version 8.1. Last change: 2019 Jan 01
|
*help.txt* For Vim version 8.1. Last change: 2019 Jan 17
|
||||||
|
|
||||||
VIM - main help file
|
VIM - main help file
|
||||||
k
|
k
|
||||||
@@ -143,6 +143,7 @@ Special issues ~
|
|||||||
|remote.txt| using Vim as a server or client
|
|remote.txt| using Vim as a server or client
|
||||||
|term.txt| using different terminals and mice
|
|term.txt| using different terminals and mice
|
||||||
|terminal.txt| Terminal window support
|
|terminal.txt| Terminal window support
|
||||||
|
|popup.txt| popop window support
|
||||||
|
|
||||||
Programming language support ~
|
Programming language support ~
|
||||||
|indent.txt| automatic indenting for C and other languages
|
|indent.txt| automatic indenting for C and other languages
|
||||||
@@ -180,7 +181,6 @@ Interfaces ~
|
|||||||
|if_ole.txt| OLE automation interface for Win32
|
|if_ole.txt| OLE automation interface for Win32
|
||||||
|if_ruby.txt| Ruby interface
|
|if_ruby.txt| Ruby interface
|
||||||
|debugger.txt| Interface with a debugger
|
|debugger.txt| Interface with a debugger
|
||||||
|workshop.txt| Sun Visual Workshop interface
|
|
||||||
|netbeans.txt| NetBeans External Editor interface
|
|netbeans.txt| NetBeans External Editor interface
|
||||||
|sign.txt| debugging signs
|
|sign.txt| debugging signs
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -24,7 +24,6 @@ Help on help files *helphelp*
|
|||||||
the very top.
|
the very top.
|
||||||
The 'helplang' option is used to select a language, if
|
The 'helplang' option is used to select a language, if
|
||||||
the main help file is available in several languages.
|
the main help file is available in several languages.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*{subject}* *E149* *E661*
|
*{subject}* *E149* *E661*
|
||||||
:h[elp] {subject} Like ":help", additionally jump to the tag {subject}.
|
: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
|
command from a following command. You need to type
|
||||||
CTRL-V first to insert the <LF> or <CR>. Example: >
|
CTRL-V first to insert the <LF> or <CR>. Example: >
|
||||||
:help so<C-V><CR>only
|
:help so<C-V><CR>only
|
||||||
< {not in Vi}
|
|
||||||
|
|
||||||
:h[elp]! [subject] Like ":help", but in non-English help files prefer to
|
: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
|
find a tag in a file with the same language as the
|
||||||
@@ -133,7 +131,6 @@ Help on help files *helphelp*
|
|||||||
|:execute| when needed.
|
|:execute| when needed.
|
||||||
Compressed help files will not be searched (Fedora
|
Compressed help files will not be searched (Fedora
|
||||||
compresses the help files).
|
compresses the help files).
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*:lh* *:lhelpgrep*
|
*:lh* *:lhelpgrep*
|
||||||
:lh[elpgrep] {pattern}[@xx]
|
:lh[elpgrep] {pattern}[@xx]
|
||||||
@@ -147,11 +144,11 @@ Help on help files *helphelp*
|
|||||||
|
|
||||||
*:exu* *:exusage*
|
*:exu* *:exusage*
|
||||||
:exu[sage] Show help on Ex commands. Added to simulate the Nvi
|
:exu[sage] Show help on Ex commands. Added to simulate the Nvi
|
||||||
command. {not in Vi}
|
command.
|
||||||
|
|
||||||
*:viu* *:viusage*
|
*:viu* *:viusage*
|
||||||
:viu[sage] Show help on Normal mode commands. Added to simulate
|
: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
|
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"
|
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
|
Only for backwards compatibility. It now executes the
|
||||||
ToolBar.FindHelp menu entry instead of using a builtin
|
ToolBar.FindHelp menu entry instead of using a builtin
|
||||||
dialog. {only when compiled with |+GUI_GTK|}
|
dialog. {only when compiled with |+GUI_GTK|}
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*:helpt* *:helptags*
|
*:helpt* *:helptags*
|
||||||
*E154* *E150* *E151* *E152* *E153* *E670*
|
*E154* *E150* *E151* *E152* *E153* *E670*
|
||||||
@@ -224,8 +220,6 @@ command: >
|
|||||||
To rebuild the help tags in the runtime directory
|
To rebuild the help tags in the runtime directory
|
||||||
(requires write permission there): >
|
(requires write permission there): >
|
||||||
:helptags $VIMRUNTIME/doc
|
:helptags $VIMRUNTIME/doc
|
||||||
< {not in Vi}
|
|
||||||
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
2. Translated help files *help-translated*
|
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
|
VIM REFERENCE MANUAL by Andy Kahn
|
||||||
@@ -21,7 +21,6 @@ functions as you normally would with |tags|.
|
|||||||
7. Availability & Information |cscope-info|
|
7. Availability & Information |cscope-info|
|
||||||
|
|
||||||
This is currently for Unix and Win32 only.
|
This is currently for Unix and Win32 only.
|
||||||
{Vi does not have any of these commands}
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
1. Cscope introduction *cscope-intro*
|
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
|
VIM REFERENCE MANUAL by Luis Carvalho
|
||||||
@@ -10,23 +10,21 @@ The Lua Interface to Vim *lua* *Lua*
|
|||||||
2. The vim module |lua-vim|
|
2. The vim module |lua-vim|
|
||||||
3. List userdata |lua-list|
|
3. List userdata |lua-list|
|
||||||
4. Dict userdata |lua-dict|
|
4. Dict userdata |lua-dict|
|
||||||
5. Funcref userdata |lua-funcref|
|
5. Blob userdata |lua-blob|
|
||||||
6. Buffer userdata |lua-buffer|
|
6. Funcref userdata |lua-funcref|
|
||||||
7. Window userdata |lua-window|
|
7. Buffer userdata |lua-buffer|
|
||||||
8. The luaeval function |lua-luaeval|
|
8. Window userdata |lua-window|
|
||||||
9. Dynamic loading |lua-dynamic|
|
9. luaeval() Vim function |lua-luaeval|
|
||||||
|
10. Dynamic loading |lua-dynamic|
|
||||||
|
|
||||||
{Vi does not have any of these commands}
|
{only available when Vim was compiled with the |+lua| feature}
|
||||||
|
|
||||||
The Lua interface is available only when Vim was compiled with the
|
|
||||||
|+lua| feature.
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
1. Commands *lua-commands*
|
1. Commands *lua-commands*
|
||||||
|
|
||||||
*:lua*
|
*:lua*
|
||||||
:[range]lua {chunk}
|
:[range]lua {chunk}
|
||||||
Execute Lua chunk {chunk}. {not in Vi}
|
Execute Lua chunk {chunk}.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
>
|
>
|
||||||
@@ -37,7 +35,7 @@ Examples:
|
|||||||
:[range]lua << {endmarker}
|
:[range]lua << {endmarker}
|
||||||
{script}
|
{script}
|
||||||
{endmarker}
|
{endmarker}
|
||||||
Execute Lua script {script}. {not in Vi}
|
Execute Lua script {script}.
|
||||||
Note: This command doesn't work when the Lua
|
Note: This command doesn't work when the Lua
|
||||||
feature wasn't compiled in. To avoid errors, see
|
feature wasn't compiled in. To avoid errors, see
|
||||||
|script-here|.
|
|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
|
If the value returned by the function is a string it
|
||||||
becomes the text of the line in the current turn. The
|
becomes the text of the line in the current turn. The
|
||||||
default for [range] is the whole file: "1,$".
|
default for [range] is the whole file: "1,$".
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
>
|
>
|
||||||
@@ -88,7 +85,7 @@ Examples:
|
|||||||
|
|
||||||
*:luafile*
|
*:luafile*
|
||||||
:[range]luafile {file}
|
:[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.
|
The whole argument is used as a single file name.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
@@ -140,6 +137,14 @@ Vim evaluation and command execution, and others.
|
|||||||
:echo luaeval('vim.dict(t)')
|
:echo luaeval('vim.dict(t)')
|
||||||
:" {'1': 3.141593, '2': v:false,
|
:" {'1': 3.141593, '2': v:false,
|
||||||
:" 'say': 'hi'}
|
:" '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
|
vim.funcref({name}) Returns a Funcref to function {name} (see
|
||||||
|Funcref|). It is equivalent to Vim's
|
|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
|
Funcref userdata represent funcref variables in Vim. Funcrefs that were
|
||||||
defined with a "dict" attribute need to be obtained as a dictionary key
|
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
|
Buffer userdata represent vim buffers. A buffer userdata "b" has the following
|
||||||
properties and methods:
|
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
|
Window objects represent vim windows. A window userdata "w" has the following
|
||||||
properties and methods:
|
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
|
The (dual) equivalent of "vim.eval" for passing Lua values to Vim is
|
||||||
"luaeval". "luaeval" takes an expression string and an optional argument and
|
"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
|
end
|
||||||
<
|
<
|
||||||
Note that "_A" receives the argument to "luaeval". Lua numbers, strings, and
|
Note that "_A" receives the argument to "luaeval". Lua numbers, strings, and
|
||||||
list, dict, and funcref userdata are converted to their Vim respective types,
|
list, dict, blob, and funcref userdata are converted to their Vim respective
|
||||||
while Lua booleans are converted to numbers. An error is thrown if conversion
|
types, while Lua booleans are converted to numbers. An error is thrown if
|
||||||
of any of the remaining Lua types, including userdata other than lists, dicts,
|
conversion of any of the remaining Lua types, including userdata other than
|
||||||
and funcrefs, is attempted.
|
lists, dicts, blobs, and funcrefs, is attempted.
|
||||||
|
|
||||||
Examples: >
|
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
|
On MS-Windows and Unix the Lua library can be loaded dynamically. The
|
||||||
|:version| output then includes |+lua/dyn|.
|
|: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
|
VIM REFERENCE MANUAL by Sergey Khorev
|
||||||
@@ -15,10 +15,7 @@ The MzScheme Interface to Vim *mzscheme* *MzScheme*
|
|||||||
7. Dynamic loading |mzscheme-dynamic|
|
7. Dynamic loading |mzscheme-dynamic|
|
||||||
8. MzScheme setup |mzscheme-setup|
|
8. MzScheme setup |mzscheme-setup|
|
||||||
|
|
||||||
{Vi does not have any of these commands}
|
{only available when Vim was compiled with the |+mzscheme| feature}
|
||||||
|
|
||||||
The MzScheme interface is available only if Vim was compiled with the
|
|
||||||
|+mzscheme| feature.
|
|
||||||
|
|
||||||
Based on the work of Brent Fulgham.
|
Based on the work of Brent Fulgham.
|
||||||
Dynamic loading added by Sergey Khorev
|
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*
|
*:mzscheme* *:mz*
|
||||||
:[range]mz[scheme] {stmt}
|
:[range]mz[scheme] {stmt}
|
||||||
Execute MzScheme statement {stmt}. {not in Vi}
|
Execute MzScheme statement {stmt}.
|
||||||
|
|
||||||
:[range]mz[scheme] << {endmarker}
|
:[range]mz[scheme] << {endmarker}
|
||||||
{script}
|
{script}
|
||||||
@@ -51,7 +48,7 @@ To speed up the process, you might also want to use --disable-gracket and
|
|||||||
|script-here|.
|
|script-here|.
|
||||||
|
|
||||||
*:mzfile* *:mzf*
|
*: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
|
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
|
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
|
VIM REFERENCE MANUAL by Paul Moore
|
||||||
@@ -12,10 +12,8 @@ The OLE Interface to Vim *ole-interface*
|
|||||||
4. Registration |ole-registration|
|
4. Registration |ole-registration|
|
||||||
5. MS Visual Studio integration |MSVisualStudio|
|
5. MS Visual Studio integration |MSVisualStudio|
|
||||||
|
|
||||||
{Vi does not have any of these commands}
|
{only available when compiled with the |+ole| feature. See
|
||||||
|
src/if_ole.INSTALL}
|
||||||
OLE is only available when compiled with the |+ole| feature. See
|
|
||||||
src/if_ole.INSTALL.
|
|
||||||
An alternative is using the client-server communication |clientserver|.
|
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
|
VIM REFERENCE MANUAL by Sven Verdoolaege
|
||||||
@@ -11,9 +11,7 @@ Perl and Vim *perl* *Perl*
|
|||||||
3. Using the Perl interface |perl-using|
|
3. Using the Perl interface |perl-using|
|
||||||
4. Dynamic loading |perl-dynamic|
|
4. Dynamic loading |perl-dynamic|
|
||||||
|
|
||||||
{Vi does not have any of these commands}
|
{only available when Vim was compiled with the |+perl| feature}
|
||||||
|
|
||||||
The Perl interface only works when Vim was compiled with the |+perl| feature.
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
1. Editing Perl files *perl-editing*
|
1. Editing Perl files *perl-editing*
|
||||||
@@ -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
|
A |List| is turned into a string by joining the items
|
||||||
and inserting line breaks.
|
and inserting line breaks.
|
||||||
|
|
||||||
|
*perl-Blob*
|
||||||
|
VIM::Blob({expr}) Return |Blob| literal string 0zXXXX from scalar value.
|
||||||
|
|
||||||
*perl-SetHeight*
|
*perl-SetHeight*
|
||||||
Window->SetHeight({height})
|
Window->SetHeight({height})
|
||||||
Sets the Window height to {height}, within screen
|
Sets the Window height to {height}, within screen
|
||||||
|
|||||||
@@ -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
|
VIM REFERENCE MANUAL by Paul Moore
|
||||||
@@ -19,8 +19,6 @@ The Python Interface to Vim *python* *Python*
|
|||||||
11. Python X |python_x|
|
11. Python X |python_x|
|
||||||
12. Building with Python support |python-building|
|
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
|
The Python 2.x interface is available only when Vim was compiled with the
|
||||||
|+python| feature.
|
|+python| feature.
|
||||||
The Python 3 interface is available only when Vim was compiled with the
|
The Python 3 interface is available only when Vim was compiled with the
|
||||||
@@ -76,7 +74,6 @@ and "EOF" do not have any indent.
|
|||||||
None. If a string is returned, it becomes the text of
|
None. If a string is returned, it becomes the text of
|
||||||
the line in the current turn. The default for [range]
|
the line in the current turn. The default for [range]
|
||||||
is the whole file: "1,$".
|
is the whole file: "1,$".
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
>
|
>
|
||||||
@@ -98,7 +95,7 @@ python. For example: >
|
|||||||
*:pyfile* *:pyf*
|
*:pyfile* *:pyf*
|
||||||
:[range]pyf[ile] {file}
|
:[range]pyf[ile] {file}
|
||||||
Execute the Python script in {file}. The whole
|
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
|
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
|
Python code, with the "current range" |python-range| set to the given line
|
||||||
|
|||||||
@@ -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
|
VIM REFERENCE MANUAL by Shugo Maeda
|
||||||
@@ -11,12 +11,12 @@ The Ruby Interface to Vim *ruby* *Ruby*
|
|||||||
3. Vim::Buffer objects |ruby-buffer|
|
3. Vim::Buffer objects |ruby-buffer|
|
||||||
4. Vim::Window objects |ruby-window|
|
4. Vim::Window objects |ruby-window|
|
||||||
5. Global variables |ruby-globals|
|
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*
|
*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
|
The home page for ruby is http://www.ruby-lang.org/. You can find links for
|
||||||
downloading Ruby there.
|
downloading Ruby there.
|
||||||
@@ -110,6 +110,10 @@ Module Functions:
|
|||||||
Vim::message({msg})
|
Vim::message({msg})
|
||||||
Displays the message {msg}.
|
Displays the message {msg}.
|
||||||
|
|
||||||
|
*ruby-blob*
|
||||||
|
Vim::blob({arg})
|
||||||
|
Return |Blob| literal string from {arg}.
|
||||||
|
|
||||||
*ruby-set_option*
|
*ruby-set_option*
|
||||||
Vim::set_option({arg})
|
Vim::set_option({arg})
|
||||||
Sets a vim option. {arg} can be any argument that the ":set" command
|
Sets a vim option. {arg} can be any argument that the ":set" command
|
||||||
@@ -194,7 +198,16 @@ $curwin The current window object.
|
|||||||
$curbuf The current buffer 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
|
On MS-Windows and Unix the Ruby library can be loaded dynamically. The
|
||||||
|:version| output then includes |+ruby/dyn|.
|
|: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
|
VIM REFERENCE MANUAL by Ingo Wilken
|
||||||
@@ -16,9 +16,8 @@ The Tcl Interface to Vim *tcl* *Tcl* *TCL*
|
|||||||
8. Examples |tcl-examples|
|
8. Examples |tcl-examples|
|
||||||
9. Dynamic loading |tcl-dynamic|
|
9. Dynamic loading |tcl-dynamic|
|
||||||
|
|
||||||
{Vi does not have any of these commands} *E280*
|
*E280*
|
||||||
|
{only available when Vim was compiled with the |+tcl| feature}
|
||||||
The Tcl interface only works when Vim was compiled with the |+tcl| feature.
|
|
||||||
|
|
||||||
WARNING: There are probably still some bugs. Please send bug reports,
|
WARNING: There are probably still some bugs. Please send bug reports,
|
||||||
comments, ideas etc to <Ingo.Wilken@informatik.uni-oldenburg.de>
|
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.
|
possible to add or delete lines using this command.
|
||||||
If {cmd} returns an error, the command is interrupted.
|
If {cmd} returns an error, the command is interrupted.
|
||||||
The default for [range] is the whole file: "1,$".
|
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*
|
*:tclfile* *:tclf*
|
||||||
:tclf[ile] {file} Execute the Tcl script in {file}. This is the same as
|
:tclf[ile] {file} Execute the Tcl script in {file}. This is the same as
|
||||||
":tcl source {file}", but allows file name completion.
|
":tcl source {file}", but allows file name completion.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
|
|
||||||
Note that Tcl objects (like variables) persist from one command to the next,
|
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
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -60,12 +60,13 @@ typing certain characters or commands in certain contexts. Note that this not
|
|||||||
only triggers C-indenting. When 'indentexpr' is not empty 'indentkeys' is
|
only triggers C-indenting. When 'indentexpr' is not empty 'indentkeys' is
|
||||||
used instead. The format of 'cinkeys' and 'indentkeys' is equal.
|
used instead. The format of 'cinkeys' and 'indentkeys' is equal.
|
||||||
|
|
||||||
The default is "0{,0},0),:,0#,!^F,o,O,e" which specifies that indenting occurs
|
The default is "0{,0},0),0],:,0#,!^F,o,O,e" which specifies that indenting
|
||||||
as follows:
|
occurs as follows:
|
||||||
|
|
||||||
"0{" if you type '{' as the first character in a line
|
"0{" if you type '{' as the first character in a line
|
||||||
"0}" if you type '}' as the first character in a line
|
"0}" if you type '}' as the first character in a line
|
||||||
"0)" if you type ')' as the first character in a line
|
"0)" if you type ')' as the first character in a line
|
||||||
|
"0]" if you type ']' as the first character in a line
|
||||||
":" if you type ':' after a label or case statement
|
":" if you type ':' after a label or case statement
|
||||||
"0#" if you type '#' as the first character in a line
|
"0#" if you type '#' as the first character in a line
|
||||||
"!^F" if you type CTRL-F (which is not inserted)
|
"!^F" if you type CTRL-F (which is not inserted)
|
||||||
@@ -947,6 +948,11 @@ 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: >
|
indenting isn't correct, you can set a larger timeout in msec: >
|
||||||
let g:pyindent_searchpair_timeout = 500
|
let g:pyindent_searchpair_timeout = 500
|
||||||
|
|
||||||
|
If looking back for unclosed parenthesis is still too slow, especially during
|
||||||
|
a copy-paste operation, or if you don't need indenting inside multi-line
|
||||||
|
parentheses, you can completely disable this feature: >
|
||||||
|
let g:pyindent_disable_parentheses_indenting = 1
|
||||||
|
|
||||||
|
|
||||||
R *ft-r-indent*
|
R *ft-r-indent*
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -17,9 +17,11 @@ to look for deleting something, use: "/delete".
|
|||||||
2.3. Square bracket commands |[|
|
2.3. Square bracket commands |[|
|
||||||
2.4. Commands starting with 'g' |g|
|
2.4. Commands starting with 'g' |g|
|
||||||
2.5. Commands starting with 'z' |z|
|
2.5. Commands starting with 'z' |z|
|
||||||
|
2.6. Operator-pending mode |operator-pending-index|
|
||||||
3. Visual mode |visual-index|
|
3. Visual mode |visual-index|
|
||||||
4. Command-line editing |ex-edit-index|
|
4. Command-line editing |ex-edit-index|
|
||||||
5. EX commands |ex-cmd-index|
|
5. Terminal-Job mode |terminal-job-index|
|
||||||
|
6. EX commands |ex-cmd-index|
|
||||||
|
|
||||||
For an overview of options see help.txt |option-list|.
|
For an overview of options see help.txt |option-list|.
|
||||||
For an overview of built-in functions see |functions|.
|
For an overview of built-in functions see |functions|.
|
||||||
@@ -166,6 +168,20 @@ commands in CTRL-X submode *i_CTRL-X_index*
|
|||||||
|i_CTRL-X_s| CTRL-X s spelling suggestions
|
|i_CTRL-X_s| CTRL-X s spelling suggestions
|
||||||
{not available when compiled without the |+insert_expand| feature}
|
{not available when compiled without the |+insert_expand| feature}
|
||||||
|
|
||||||
|
commands in completion mode (see |popupmenu-keys|)
|
||||||
|
|
||||||
|
|complete_CTRL-E| CTRL-E stop completion and go back to original text
|
||||||
|
|complete_CTRL-Y| CTRL-Y accept selected match and stop completion
|
||||||
|
CTRL-L insert one character from the current match
|
||||||
|
<CR> insert currently selected match
|
||||||
|
<BS> delete one character and redo search
|
||||||
|
CTRL-H same as <BS>
|
||||||
|
<Up> select the previous match
|
||||||
|
<Down> select the next match
|
||||||
|
<PageUp> select a match several entries back
|
||||||
|
<PageDown> select a match several entries forward
|
||||||
|
other stop completion and insert the typed character
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
2. Normal mode *normal-index*
|
2. Normal mode *normal-index*
|
||||||
|
|
||||||
@@ -528,10 +544,8 @@ tag command action in Normal mode ~
|
|||||||
|CTRL-W_CTRL-]| CTRL-W CTRL-] same as "CTRL-W ]"
|
|CTRL-W_CTRL-]| CTRL-W CTRL-] same as "CTRL-W ]"
|
||||||
|CTRL-W_CTRL-^| CTRL-W CTRL-^ same as "CTRL-W ^"
|
|CTRL-W_CTRL-^| CTRL-W CTRL-^ same as "CTRL-W ^"
|
||||||
|CTRL-W_CTRL-_| CTRL-W CTRL-_ same as "CTRL-W _"
|
|CTRL-W_CTRL-_| CTRL-W CTRL-_ same as "CTRL-W _"
|
||||||
|CTRL-W_quote| CTRL-W " terminal window: paste register
|
|
||||||
|CTRL-W_+| CTRL-W + increase current window height N lines
|
|CTRL-W_+| CTRL-W + increase current window height N lines
|
||||||
|CTRL-W_-| CTRL-W - decrease current window height N lines
|
|CTRL-W_-| CTRL-W - decrease current window height N lines
|
||||||
|CTRL-W_.| CTRL-W . terminal window: type CTRL-W
|
|
||||||
|CTRL-W_:| CTRL-W : same as |:|, edit a command line
|
|CTRL-W_:| CTRL-W : same as |:|, edit a command line
|
||||||
|CTRL-W_<| CTRL-W < decrease current window width N columns
|
|CTRL-W_<| CTRL-W < decrease current window width N columns
|
||||||
|CTRL-W_=| CTRL-W = make all windows the same height & width
|
|CTRL-W_=| CTRL-W = make all windows the same height & width
|
||||||
@@ -540,7 +554,6 @@ tag command action in Normal mode ~
|
|||||||
|CTRL-W_J| CTRL-W J move current window to the very bottom
|
|CTRL-W_J| CTRL-W J move current window to the very bottom
|
||||||
|CTRL-W_K| CTRL-W K move current window to the very top
|
|CTRL-W_K| CTRL-W K move current window to the very top
|
||||||
|CTRL-W_L| CTRL-W L move current window to the far right
|
|CTRL-W_L| CTRL-W L move current window to the far right
|
||||||
|CTRL-W_N| CTRL-W N terminal window: go to Terminal Normal mode
|
|
||||||
|CTRL-W_P| CTRL-W P go to preview window
|
|CTRL-W_P| CTRL-W P go to preview window
|
||||||
|CTRL-W_R| CTRL-W R rotate windows upwards N times
|
|CTRL-W_R| CTRL-W R rotate windows upwards N times
|
||||||
|CTRL-W_S| CTRL-W S same as "CTRL-W s"
|
|CTRL-W_S| CTRL-W S same as "CTRL-W s"
|
||||||
@@ -570,6 +583,8 @@ tag command action in Normal mode ~
|
|||||||
|CTRL-W_gF| CTRL-W g F edit file name under the cursor in a new
|
|CTRL-W_gF| CTRL-W g F edit file name under the cursor in a new
|
||||||
tab page and jump to the line number
|
tab page and jump to the line number
|
||||||
following the file name.
|
following the file name.
|
||||||
|
|CTRL-W_gt| CTRL-W g t same as `gt`: go to next tab page
|
||||||
|
|CTRL-W_gT| CTRL-W g T same as `gT`: go to previous tab page
|
||||||
|CTRL-W_h| CTRL-W h go to Nth left window (stop at first window)
|
|CTRL-W_h| CTRL-W h go to Nth left window (stop at first window)
|
||||||
|CTRL-W_i| CTRL-W i split window and jump to declaration of
|
|CTRL-W_i| CTRL-W i split window and jump to declaration of
|
||||||
identifier under the cursor
|
identifier under the cursor
|
||||||
@@ -847,6 +862,10 @@ tag char note action in Normal mode ~
|
|||||||
position the cursor at the start (left
|
position the cursor at the start (left
|
||||||
side) of the screen
|
side) of the screen
|
||||||
|zt| zt redraw, cursor line at top of window
|
|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
|
|zv| zv open enough folds to view the cursor line
|
||||||
|zw| zw mark word as wrong (bad) spelled word
|
|zw| zw mark word as wrong (bad) spelled word
|
||||||
|zx| zx re-apply 'foldlevel' and do "zv"
|
|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<Left>| z<Left> same as "zh"
|
||||||
|z<Right>| z<Right> same as "zl"
|
|z<Right>| z<Right> same as "zl"
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
2.6 Operator-pending mode *operator-pending-index*
|
||||||
|
|
||||||
|
These can be used after an operator, but before a {motion} has been entered.
|
||||||
|
|
||||||
|
tag char action in Operator-pending mode ~
|
||||||
|
-----------------------------------------------------------------------
|
||||||
|
|o_v| v force operator to work characterwise
|
||||||
|
|o_V| V force operator to work linewise
|
||||||
|
|o_CTRL-V| CTRL-V force operator to work blockwise
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
3. Visual mode *visual-index*
|
3. Visual mode *visual-index*
|
||||||
|
|
||||||
@@ -976,7 +1006,7 @@ Normal characters are inserted at the current cursor position.
|
|||||||
"Completion" below refers to context-sensitive completion. It will complete
|
"Completion" below refers to context-sensitive completion. It will complete
|
||||||
file names, tags, commands etc. as appropriate.
|
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
|
CTRL-@ not used
|
||||||
|c_CTRL-A| CTRL-A do completion on the pattern in front of the
|
|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.
|
command-line from history.
|
||||||
|c_CTRL-Q| CTRL-Q same as CTRL-V, unless it's used for terminal
|
|c_CTRL-Q| CTRL-Q same as CTRL-V, unless it's used for terminal
|
||||||
control flow
|
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
|
insert the contents of a register or object
|
||||||
under the cursor as if typed
|
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
|
insert the contents of a register or object
|
||||||
under the cursor literally
|
under the cursor literally
|
||||||
CTRL-S (used for terminal control flow)
|
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_<Insert>| <Insert> toggle insert/overstrike mode
|
||||||
|c_<LeftMouse>| <LeftMouse> cursor at mouse click
|
|c_<LeftMouse>| <LeftMouse> cursor at mouse click
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
5. Terminal-Job mode *terminal-job-index*
|
||||||
|
|
||||||
|
Most Normal mode commands except for window commands (|CTRL-W|) do not work in
|
||||||
|
a terminal window. Switch to Terminal-Normal mode to use them.
|
||||||
|
This assumes 'termwinkey' is not set.
|
||||||
|
|
||||||
|
tag char action in Terminal-Job mode ~
|
||||||
|
-----------------------------------------------------------------------
|
||||||
|
|t_CTRL-\_CTRL-N| CTRL-\ CTRL-N switch to Terminal-Normal mode
|
||||||
|
|t_CTRL-W_N| CTRL-W N switch to Terminal-Normal mode
|
||||||
|
|t_CTRL-W_:| CTRL-W : enter an Ex command
|
||||||
|
|t_CTRL-W_.| CTRL-W . type CTRL-W in the terminal
|
||||||
|
CTRL-W CTRL-\ send a CTRL-\ to the job in the terminal
|
||||||
|
|t_CTRL-W_quote| CTRL-W " {0-9a-z"%#*:=}
|
||||||
|
paste register in the terminal
|
||||||
|
|t_CTRL-W_CTRL-C| CTRL-W CTRL-C forcefully ends the job
|
||||||
|
|t_CTRL-W_CTRL-W| CTRL-W CTRL-W move focus to the next window
|
||||||
|
|t_CTRL-W_gt| CTRL-W gt go to next tabpage, same as `gt`
|
||||||
|
|t_CTRL-W_gT| CTRL-W gT go to previous tabpage, same as `gT`
|
||||||
|
|
||||||
You found it, Arthur! *holy-grail* *:smile*
|
You found it, Arthur! *holy-grail* *:smile*
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
5. EX commands *ex-cmd-index* *:index*
|
6. EX commands *ex-cmd-index* *:index*
|
||||||
|
|
||||||
This is a brief but complete listing of all the ":" commands, without
|
This is a brief but complete listing of all the ":" commands, without
|
||||||
mentioning any arguments. The optional part of the command name is inside [].
|
mentioning any arguments. The optional part of the command name is inside [].
|
||||||
The commands are sorted on the non-optional part of their name.
|
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
|
|:!| :! filter lines or execute an external command
|
||||||
|:!!| :!! repeat last ":!" command
|
|:!!| :!! repeat last ":!" command
|
||||||
@@ -1140,11 +1192,15 @@ tag command action ~
|
|||||||
|:cNfile| :cNf[ile] go to last error in previous file
|
|:cNfile| :cNf[ile] go to last error in previous file
|
||||||
|:cabbrev| :ca[bbrev] like ":abbreviate" but for Command-line mode
|
|:cabbrev| :ca[bbrev] like ":abbreviate" but for Command-line mode
|
||||||
|:cabclear| :cabc[lear] clear all abbreviations 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
|
|:caddbuffer| :cad[dbuffer] add errors from buffer
|
||||||
|:caddexpr| :cadde[xpr] add errors from expr
|
|:caddexpr| :cadde[xpr] add errors from expr
|
||||||
|:caddfile| :caddf[ile] add error message to current quickfix list
|
|: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
|
|:call| :cal[l] call a function
|
||||||
|:catch| :cat[ch] part of a :try command
|
|: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
|
|:cbottom| :cbo[ttom] scroll to the bottom of the quickfix window
|
||||||
|:cbuffer| :cb[uffer] parse error messages and jump to first error
|
|:cbuffer| :cb[uffer] parse error messages and jump to first error
|
||||||
|:cc| :cc go to specific error
|
|:cc| :cc go to specific error
|
||||||
@@ -1302,12 +1358,16 @@ tag command action ~
|
|||||||
|:lNext| :lN[ext] go to previous entry in location list
|
|:lNext| :lN[ext] go to previous entry in location list
|
||||||
|:lNfile| :lNf[ile] go to last entry in previous file
|
|:lNfile| :lNf[ile] go to last entry in previous file
|
||||||
|:list| :l[ist] print lines
|
|:list| :l[ist] print lines
|
||||||
|
|:labove| :lab[ove] go to location above current line
|
||||||
|:laddexpr| :lad[dexpr] add locations from expr
|
|:laddexpr| :lad[dexpr] add locations from expr
|
||||||
|:laddbuffer| :laddb[uffer] add locations from buffer
|
|:laddbuffer| :laddb[uffer] add locations from buffer
|
||||||
|:laddfile| :laddf[ile] add locations to current location list
|
|: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
|
|:last| :la[st] go to the last file in the argument list
|
||||||
|:language| :lan[guage] set the language (locale)
|
|:language| :lan[guage] set the language (locale)
|
||||||
|:later| :lat[er] go to newer change, redo
|
|: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
|
|:lbottom| :lbo[ttom] scroll to the bottom of the location window
|
||||||
|:lbuffer| :lb[uffer] parse locations and jump to first location
|
|:lbuffer| :lb[uffer] parse locations and jump to first location
|
||||||
|:lcd| :lc[d] change directory locally
|
|:lcd| :lc[d] change directory locally
|
||||||
@@ -1457,8 +1517,9 @@ tag command action ~
|
|||||||
|:recover| :rec[over] recover a file from a swap file
|
|:recover| :rec[over] recover a file from a swap file
|
||||||
|:redo| :red[o] redo one undone change
|
|:redo| :red[o] redo one undone change
|
||||||
|:redir| :redi[r] redirect messages to a file or register
|
|:redir| :redi[r] redirect messages to a file or register
|
||||||
|:redraw| :redr[aw] force a redraw of the display
|
|:redraw| :redr[aw] force a redraw of the display
|
||||||
|:redrawstatus| :redraws[tatus] force a redraw of the status line(s)
|
|:redrawstatus| :redraws[tatus] force a redraw of the status line(s)
|
||||||
|
|:redrawtabline| :redrawt[abline] force a redraw of the tabline
|
||||||
|:registers| :reg[isters] display the contents of registers
|
|:registers| :reg[isters] display the contents of registers
|
||||||
|:resize| :res[ize] change current window height
|
|:resize| :res[ize] change current window height
|
||||||
|:retab| :ret[ab] change tab size
|
|:retab| :ret[ab] change tab size
|
||||||
@@ -1498,7 +1559,8 @@ tag command action ~
|
|||||||
|:sbrewind| :sbr[ewind] split window and go to first file in the
|
|:sbrewind| :sbr[ewind] split window and go to first file in the
|
||||||
buffer list
|
buffer list
|
||||||
|:scriptnames| :scr[iptnames] list names of all sourced Vim scripts
|
|: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
|
|:scscope| :scs[cope] split window and execute cscope command
|
||||||
|:set| :se[t] show or set options
|
|:set| :se[t] show or set options
|
||||||
|:setfiletype| :setf[iletype] set 'filetype', unless it was set already
|
|: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
|
|:tab| :tab create new tab when opening new window
|
||||||
|:tag| :ta[g] jump to tag
|
|:tag| :ta[g] jump to tag
|
||||||
|:tags| :tags show the contents of the tag stack
|
|: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
|
|:tcl| :tc[l] execute Tcl command
|
||||||
|:tcldo| :tcld[o] execute Tcl command for each line
|
|:tcldo| :tcld[o] execute Tcl command for each line
|
||||||
|:tclfile| :tclf[ile] execute Tcl script file
|
|:tclfile| :tclf[ile] execute Tcl script file
|
||||||
@@ -1643,7 +1707,6 @@ tag command action ~
|
|||||||
argument list
|
argument list
|
||||||
|:wq| :wq write to a file and quit window or Vim
|
|:wq| :wq write to a file and quit window or Vim
|
||||||
|:wqall| :wqa[ll] write all changed buffers and quit Vim
|
|:wqall| :wqa[ll] write all changed buffers and quit Vim
|
||||||
|:wsverb| :ws[verb] pass the verb to workshop over IPC
|
|
||||||
|:wundo| :wu[ndo] write undo information to a file
|
|:wundo| :wu[ndo] write undo information to a file
|
||||||
|:wviminfo| :wv[iminfo] write to viminfo file
|
|:wviminfo| :wv[iminfo] write to viminfo file
|
||||||
|:xit| :x[it] write if buffer changed and quit window or Vim
|
|:xit| :x[it] write if buffer changed and quit window or Vim
|
||||||
@@ -1651,6 +1714,7 @@ tag command action ~
|
|||||||
|:xmapclear| :xmapc[lear] remove all mappings for Visual mode
|
|:xmapclear| :xmapc[lear] remove all mappings for Visual mode
|
||||||
|:xmap| :xm[ap] like ":map" but for Visual mode
|
|:xmap| :xm[ap] like ":map" but for Visual mode
|
||||||
|:xmenu| :xme[nu] add menu 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
|
|:xnoremap| :xn[oremap] like ":noremap" but for Visual mode
|
||||||
|:xnoremenu| :xnoreme[nu] like ":noremenu" but for Visual mode
|
|:xnoremenu| :xnoreme[nu] like ":noremenu" but for Visual mode
|
||||||
|:xunmap| :xu[nmap] like ":unmap" 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
|
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.
|
event.
|
||||||
|
|
||||||
*i_CTRL-@*
|
*i_CTRL-@*
|
||||||
CTRL-@ Insert previously inserted text and stop insert. {Vi: only
|
CTRL-@ Insert previously inserted text and stop insert.
|
||||||
when typed as first char, only up to 128 chars}
|
|
||||||
*i_CTRL-A*
|
*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*
|
*i_CTRL-H* *i_<BS>* *i_BS*
|
||||||
<BS> or CTRL-H Delete the character before the cursor (see |i_backspacing|
|
<BS> or CTRL-H Delete the character before the cursor (see |i_backspacing|
|
||||||
about joining lines).
|
about joining lines).
|
||||||
See |:fixdel| if your <BS> key does not do what you want.
|
See |:fixdel| if your <BS> key does not do what you want.
|
||||||
{Vi: does not delete autoindents}
|
|
||||||
*i_<Del>* *i_DEL*
|
*i_<Del>* *i_DEL*
|
||||||
<Del> Delete the character under the cursor. If the cursor is at
|
<Del> Delete the character under the cursor. If the cursor is at
|
||||||
the end of the line, and the 'backspace' option includes
|
the end of the line, and the 'backspace' option includes
|
||||||
"eol", delete the <EOL>; the next line is appended after the
|
"eol", delete the <EOL>; the next line is appended after the
|
||||||
current one.
|
current one.
|
||||||
See |:fixdel| if your <Del> key does not do what you want.
|
See |:fixdel| if your <Del> key does not do what you want.
|
||||||
{not in Vi}
|
|
||||||
*i_CTRL-W*
|
*i_CTRL-W*
|
||||||
CTRL-W Delete the word before the cursor (see |i_backspacing| about
|
CTRL-W Delete the word before the cursor (see |i_backspacing| about
|
||||||
joining lines). See the section "word motions",
|
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
|
key, the code for that key is inserted in <> form. For
|
||||||
example, the string "<S-Space>" can be entered by typing
|
example, the string "<S-Space>" can be entered by typing
|
||||||
<C-K><S-Space> (two keys). Neither char is considered for
|
<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-N Find next keyword (see |i_CTRL-N|).
|
||||||
CTRL-P Find previous keyword (see |i_CTRL-P|). {not in Vi}
|
CTRL-P Find previous keyword (see |i_CTRL-P|).
|
||||||
|
|
||||||
CTRL-R {0-9a-z"%#*+:.-=} *i_CTRL-R*
|
CTRL-R {0-9a-z"%#*+:.-=} *i_CTRL-R*
|
||||||
Insert the contents of a register. Between typing CTRL-R and
|
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.
|
converted to a String.
|
||||||
When append() or setline() is invoked the undo
|
When append() or setline() is invoked the undo
|
||||||
sequence will be broken.
|
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*
|
CTRL-R CTRL-R {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-R*
|
||||||
Insert the contents of a register. Works like using a single
|
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
|
< Options 'textwidth', 'formatoptions', etc. still apply. If
|
||||||
you also want to avoid these, use CTRL-R CTRL-O, see below.
|
you also want to avoid these, use CTRL-R CTRL-O, see below.
|
||||||
The '.' register (last inserted text) is still inserted as
|
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*
|
CTRL-R CTRL-O {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-O*
|
||||||
Insert the contents of a register literally and don't
|
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`.
|
insert the text above the current line, like with `P`.
|
||||||
Does not replace characters!
|
Does not replace characters!
|
||||||
The '.' register (last inserted text) is still inserted as
|
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*
|
CTRL-R CTRL-P {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-P*
|
||||||
Insert the contents of a register literally and fix the
|
Insert the contents of a register literally and fix the
|
||||||
indent, like |[<MiddleMouse>|.
|
indent, like |[<MiddleMouse>|.
|
||||||
Does not replace characters!
|
Does not replace characters!
|
||||||
The '.' register (last inserted text) is still inserted as
|
The '.' register (last inserted text) is still inserted as
|
||||||
typed. {not in Vi}
|
typed.
|
||||||
|
|
||||||
*i_CTRL-T*
|
*i_CTRL-T*
|
||||||
CTRL-T Insert one shiftwidth of indent at the start of the current
|
CTRL-T Insert one shiftwidth of indent at the start of the current
|
||||||
line. The indent is always rounded to a 'shiftwidth' (this is
|
line. The indent is always rounded to a 'shiftwidth' (this is
|
||||||
vi compatible). {Vi: only when in indent}
|
vi compatible).
|
||||||
*i_CTRL-D*
|
*i_CTRL-D*
|
||||||
CTRL-D Delete one shiftwidth of indent at the start of the current
|
CTRL-D Delete one shiftwidth of indent at the start of the current
|
||||||
line. The indent is always rounded to a 'shiftwidth' (this is
|
line. The indent is always rounded to a 'shiftwidth' (this is
|
||||||
vi compatible). {Vi: CTRL-D works only when used after
|
vi compatible).
|
||||||
autoindent}
|
|
||||||
*i_0_CTRL-D*
|
*i_0_CTRL-D*
|
||||||
0 CTRL-D Delete all indent in the current line. {Vi: CTRL-D works
|
0 CTRL-D Delete all indent in the current line.
|
||||||
only when used after autoindent}
|
|
||||||
*i_^_CTRL-D*
|
*i_^_CTRL-D*
|
||||||
^ CTRL-D Delete all indent in the current line. The indent is
|
^ CTRL-D Delete all indent in the current line. The indent is
|
||||||
restored in the next line. This is useful when inserting a
|
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*
|
*i_CTRL-V*
|
||||||
CTRL-V Insert next non-digit literally. For special keys, the
|
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
|
decimal, octal or hexadecimal value of a character
|
||||||
|i_CTRL-V_digit|.
|
|i_CTRL-V_digit|.
|
||||||
The characters typed right after CTRL-V are not considered for
|
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
|
Note: When CTRL-V is mapped (e.g., to paste text) you can
|
||||||
often use CTRL-Q instead |i_CTRL-Q|.
|
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
|
CTRL-X Enter CTRL-X mode. This is a sub-mode where commands can
|
||||||
be given to complete words or scroll the window. See
|
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*
|
*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*
|
*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
|
Note that for CTRL-E and CTRL-Y 'textwidth' is not used, to be
|
||||||
able to copy characters from a long line.
|
able to copy characters from a long line.
|
||||||
|
|
||||||
@@ -228,7 +226,6 @@ CTRL-_ Switch between languages, as follows:
|
|||||||
is set.
|
is set.
|
||||||
Please refer to |rileft.txt| for more information about
|
Please refer to |rileft.txt| for more information about
|
||||||
right-to-left mode.
|
right-to-left mode.
|
||||||
{not in Vi}
|
|
||||||
Only if compiled with the |+rightleft| feature.
|
Only if compiled with the |+rightleft| feature.
|
||||||
|
|
||||||
*i_CTRL-^*
|
*i_CTRL-^*
|
||||||
@@ -248,14 +245,12 @@ CTRL-^ Toggle the use of typing language characters.
|
|||||||
The language mappings are normally used to type characters
|
The language mappings are normally used to type characters
|
||||||
that are different from what the keyboard produces. The
|
that are different from what the keyboard produces. The
|
||||||
'keymap' option can be used to install a whole number of them.
|
'keymap' option can be used to install a whole number of them.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*i_CTRL-]*
|
*i_CTRL-]*
|
||||||
CTRL-] Trigger abbreviation, without inserting a character. {not in
|
CTRL-] Trigger abbreviation, without inserting a character.
|
||||||
Vi}
|
|
||||||
|
|
||||||
*i_<Insert>*
|
*i_<Insert>*
|
||||||
<Insert> Toggle between Insert and Replace mode. {not in Vi}
|
<Insert> Toggle between Insert and Replace mode.
|
||||||
-----------------------------------------------------------------------
|
-----------------------------------------------------------------------
|
||||||
|
|
||||||
*i_backspacing*
|
*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
|
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
|
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.
|
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*
|
*i_CTRL-V_digit*
|
||||||
With CTRL-V the decimal, octal or hexadecimal value of a character can be
|
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-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 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*
|
CTRL-G U don't break undo with next left/right cursor *i_CTRL-G_U*
|
||||||
movement (but only if the cursor stays
|
movement, if the cursor stays within
|
||||||
within same the line)
|
same the line
|
||||||
-----------------------------------------------------------------------
|
-----------------------------------------------------------------------
|
||||||
|
|
||||||
Note: If the cursor keys take you out of Insert mode, check the 'noesckeys'
|
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
|
character is replaced with several spaces. The result of this is that the
|
||||||
number of characters in the line increases. Backspacing will delete one
|
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
|
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'
|
that you backspace over (the last one).
|
||||||
option}
|
|
||||||
|
|
||||||
*ins-smarttab*
|
*ins-smarttab*
|
||||||
When the 'smarttab' option is on, a <Tab> inserts 'shiftwidth' positions at
|
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
|
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'
|
that often spaces instead of a <Tab> character are inserted. When 'smarttab'
|
||||||
is off, a <Tab> always inserts 'tabstop' positions, and 'shiftwidth' is only
|
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*
|
*ins-softtabstop*
|
||||||
When the 'softtabstop' option is non-zero, a <Tab> inserts '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
|
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
|
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
|
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*
|
6. Virtual Replace mode *vreplace-mode* *Virtual-Replace-mode*
|
||||||
|
|
||||||
Enter Virtual Replace mode with the "gR" command in normal mode.
|
Enter Virtual Replace mode with the "gR" command in normal mode.
|
||||||
{not available when compiled without the |+vreplace| feature}
|
{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
|
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
|
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,
|
not a valid CTRL-X mode command. Valid keys are the CTRL-X command itself,
|
||||||
CTRL-N (next), and CTRL-P (previous).
|
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.
|
Also see the 'infercase' option if you want to adjust the case of the match.
|
||||||
|
|
||||||
*complete_CTRL-E*
|
*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
|
The only value currently recognized is "always", the
|
||||||
effect is that the function is called whenever the
|
effect is that the function is called whenever the
|
||||||
leading text is changed.
|
leading text is changed.
|
||||||
|
|
||||||
|
If you want to suppress the warning message for an empty result, return
|
||||||
|
|v:none|. This is useful to implement asynchronous completion with
|
||||||
|
|complete()|.
|
||||||
|
|
||||||
Other items are ignored.
|
Other items are ignored.
|
||||||
|
|
||||||
For acting upon end of completion, see the |CompleteDone| autocommand event.
|
For acting upon end of completion, see the |CompleteDone| autocommand event.
|
||||||
@@ -1099,6 +1097,9 @@ items:
|
|||||||
icase when non-zero case is to be ignored when comparing
|
icase when non-zero case is to be ignored when comparing
|
||||||
items to be equal; when omitted zero is used, thus
|
items to be equal; when omitted zero is used, thus
|
||||||
items that only differ in case are added
|
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
|
dup when non-zero this match will be added even when an
|
||||||
item with the same word is already present.
|
item with the same word is already present.
|
||||||
empty when non-zero this match will be added even when it is
|
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
|
user_data custom data which is associated with the item and
|
||||||
available in |v:completed_item|
|
available in |v:completed_item|
|
||||||
|
|
||||||
All of these except "icase", "dup" and "empty" must be a string. If an item
|
All of these except "icase", "equal", "dup" and "empty" must be a string. If
|
||||||
does not meet these requirements then an error message is given and further
|
an item does not meet these requirements then an error message is given and
|
||||||
items in the list are not used. You can mix string and Dictionary items in
|
further items in the list are not used. You can mix string and Dictionary
|
||||||
the returned list.
|
items in the returned list.
|
||||||
|
|
||||||
The "menu" item is used in the popup menu and may be truncated, thus it should
|
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
|
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.
|
the last blank.
|
||||||
|
|
||||||
*gI*
|
*gI*
|
||||||
gI Insert text in column 1 [count] times. {not in Vi}
|
gI Insert text in column 1 [count] times.
|
||||||
|
|
||||||
*gi*
|
*gi*
|
||||||
gi Insert text in the same position as where Insert mode
|
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.
|
but NOT for inserted/deleted characters.
|
||||||
When the |:keepjumps| command modifier is used the |'^|
|
When the |:keepjumps| command modifier is used the |'^|
|
||||||
mark won't be changed.
|
mark won't be changed.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*o*
|
*o*
|
||||||
o Begin a new line below the cursor and insert text,
|
o Begin a new line below the cursor and insert text,
|
||||||
repeat [count] times. {Vi: blank [count] screen
|
repeat [count] times.
|
||||||
lines}
|
|
||||||
When the '#' flag is in 'cpoptions' the count is
|
When the '#' flag is in 'cpoptions' the count is
|
||||||
ignored.
|
ignored.
|
||||||
|
|
||||||
*O*
|
*O*
|
||||||
O Begin a new line above the cursor and insert text,
|
O Begin a new line above the cursor and insert text,
|
||||||
repeat [count] times. {Vi: blank [count] screen
|
repeat [count] times.
|
||||||
lines}
|
|
||||||
When the '#' flag is in 'cpoptions' the count is
|
When the '#' flag is in 'cpoptions' the count is
|
||||||
ignored.
|
ignored.
|
||||||
|
|
||||||
@@ -1876,7 +1874,6 @@ NOTE: These commands cannot be used with |:global| or |:vglobal|.
|
|||||||
script, the insertion only starts after the function
|
script, the insertion only starts after the function
|
||||||
or script is finished.
|
or script is finished.
|
||||||
This command does not work from |:normal|.
|
This command does not work from |:normal|.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*:stopi* *:stopinsert*
|
*:stopi* *:stopinsert*
|
||||||
:stopi[nsert] Stop Insert mode as soon as possible. Works like
|
: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
|
Note that when using this command in a function or
|
||||||
script that the replacement will only start after
|
script that the replacement will only start after
|
||||||
the function or script is finished.
|
the function or script is finished.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*:startgreplace*
|
*:startgreplace*
|
||||||
:startg[replace][!] Just like |:startreplace|, but use Virtual Replace
|
:startg[replace][!] Just like |:startreplace|, but use Virtual Replace
|
||||||
mode, like with |gR|.
|
mode, like with |gR|.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
10. Inserting a file *inserting-file*
|
10. Inserting a file *inserting-file*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*intro.txt* For Vim version 8.1. Last change: 2019 Jan 01
|
*intro.txt* For Vim version 8.1. Last change: 2019 May 07
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
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:
|
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.
|
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
|
The differences between Vi and Vim are mentioned in |vi_diff.txt|.
|
||||||
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.
|
|
||||||
|
|
||||||
This manual refers to Vim on various machines. There may be small differences
|
This manual refers to Vim on various machines. There may be small differences
|
||||||
between different computers and terminals. Besides the remarks given in this
|
between different computers and terminals. Besides the remarks given in this
|
||||||
@@ -268,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
|
Vi "the original". Without further remarks this is the version
|
||||||
of Vi that appeared in Sun OS 4.x. ":version" returns
|
of Vi that appeared in Sun OS 4.x. ":version" returns
|
||||||
"Version 3.7, 6/7/85". Sometimes other versions are referred
|
"Version 3.7, 6/7/85". Sometimes other versions are referred
|
||||||
to. Only runs under Unix. Source code only available with a
|
to. Only runs under Unix. Source code is now available under a
|
||||||
license. More information on Vi can be found through:
|
BSD-style license. More information on Vi can be found through:
|
||||||
http://vi-editor.org [doesn't currently work...]
|
http://ex-vi.sourceforge.net/
|
||||||
*Posix*
|
*Posix*
|
||||||
Posix From the IEEE standard 1003.2, Part 2: Shell and utilities.
|
Posix From the IEEE standard 1003.2, Part 2: Shell and utilities.
|
||||||
Generally known as "Posix". This is a textual description of
|
Generally known as "Posix". This is a textual description of
|
||||||
@@ -285,11 +283,10 @@ Nvi The "New" Vi. The version of Vi that comes with BSD 4.4 and FreeBSD.
|
|||||||
Source code is freely available.
|
Source code is freely available.
|
||||||
*Elvis*
|
*Elvis*
|
||||||
Elvis Another Vi clone, made by Steve Kirkendall. Very compact but isn't
|
Elvis Another Vi clone, made by Steve Kirkendall. Very compact but isn't
|
||||||
as flexible as Vim.
|
as flexible as Vim. Development has stalled, Elvis has left the
|
||||||
The version used is 2.1. It is still being developed. Source code is
|
building! Source code is freely available.
|
||||||
freely available.
|
*Neovim*
|
||||||
*NeoVim*
|
Neovim A Vim clone. Forked the Vim source in 2014 and went a different way.
|
||||||
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
|
Very much bound to github and has many more dependencies, making
|
||||||
development more complex and limiting portability. Code has been
|
development more complex and limiting portability. Code has been
|
||||||
refactored, resulting in patches not being exchangeable with Vim.
|
refactored, resulting in patches not being exchangeable with Vim.
|
||||||
@@ -649,11 +646,7 @@ Ex :vi -- -- -- -- --
|
|||||||
the command.
|
the command.
|
||||||
In the last case <Esc> may be the character defined with the 'wildchar'
|
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
|
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
|
ignore that and type <Esc> again.
|
||||||
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"}
|
|
||||||
*4 Go from Normal to Select mode by:
|
*4 Go from Normal to Select mode by:
|
||||||
- use the mouse to select text while 'selectmode' contains "mouse"
|
- use the mouse to select text while 'selectmode' contains "mouse"
|
||||||
- use a non-printable command to move the cursor while keeping the Shift
|
- use a non-printable command to move the cursor while keeping the Shift
|
||||||
@@ -704,7 +697,6 @@ gQ Switch to "Ex" mode like with "Q", but really behave
|
|||||||
like typing ":" commands after another. All command
|
like typing ":" commands after another. All command
|
||||||
line editing, completion etc. is available.
|
line editing, completion etc. is available.
|
||||||
Use the ":vi" command |:visual| to exit "Ex" mode.
|
Use the ":vi" command |:visual| to exit "Ex" mode.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
7. The window contents *window-contents*
|
7. The window contents *window-contents*
|
||||||
@@ -717,7 +709,6 @@ exceptions:
|
|||||||
character.
|
character.
|
||||||
- When inserting text in one window, other windows on the same text are not
|
- When inserting text in one window, other windows on the same text are not
|
||||||
updated until the insert is finished.
|
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
|
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.
|
(see below). The 'linebreak' option can be set to wrap at a blank character.
|
||||||
@@ -763,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
|
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
|
cursor is. There are no special characters shown, so that you can edit all
|
||||||
parts of this line.
|
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
|
The '@' occasion in the 'highlight' option can be used to set special
|
||||||
highlighting for the '@' and '~' characters. This makes it possible to
|
highlighting for the '@' and '~' characters. This makes it possible to
|
||||||
@@ -778,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
|
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
|
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
|
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>
|
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
|
is replaced with the number of spaces that it represents. Other non-printing
|
||||||
@@ -810,16 +800,14 @@ command characters 'showcmd' on off
|
|||||||
cursor position 'ruler' off off
|
cursor position 'ruler' off off
|
||||||
|
|
||||||
The current mode is "-- INSERT --" or "-- REPLACE --", see |'showmode'|. The
|
The current mode is "-- INSERT --" or "-- REPLACE --", see |'showmode'|. The
|
||||||
command characters are those that you typed but were not used yet. {Vi: does
|
command characters are those that you typed but were not used yet.
|
||||||
not show the characters you typed or the cursor position}
|
|
||||||
|
|
||||||
If you have a slow terminal you can switch off the status messages to speed
|
If you have a slow terminal you can switch off the status messages to speed
|
||||||
up editing:
|
up editing:
|
||||||
:set nosc noru nosm
|
:set nosc noru nosm
|
||||||
|
|
||||||
If there is an error, an error message will be shown for at least one second
|
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
|
(in reverse video).
|
||||||
messages before you have a chance to read them}
|
|
||||||
|
|
||||||
Some commands show how many lines were affected. Above which threshold this
|
Some commands show how many lines were affected. Above which threshold this
|
||||||
happens can be controlled with the 'report' option (default 2).
|
happens can be controlled with the 'report' option (default 2).
|
||||||
@@ -832,7 +820,7 @@ Make it at least 40 characters wide to be able to read most messages on the
|
|||||||
last line.
|
last line.
|
||||||
|
|
||||||
On most Unix systems, resizing the window is recognized and handled correctly
|
On most Unix systems, resizing the window is recognized and handled correctly
|
||||||
by Vim. {Vi: not ok}
|
by Vim.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
8. Definitions *definitions*
|
8. Definitions *definitions*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*map.txt* For Vim version 8.1. Last change: 2018 Dec 18
|
*map.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -76,7 +76,7 @@ modes.
|
|||||||
Map the key sequence {lhs} to {rhs} for the modes
|
Map the key sequence {lhs} to {rhs} for the modes
|
||||||
where the map command applies. Disallow mapping of
|
where the map command applies. Disallow mapping of
|
||||||
{rhs}, to avoid nested and recursive mappings. Often
|
{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*
|
:unm[ap] {lhs} |mapmode-nvo| *:unm* *:unmap*
|
||||||
@@ -110,7 +110,7 @@ modes.
|
|||||||
:cmapc[lear] |mapmode-c| *:cmapc* *:cmapclear*
|
:cmapc[lear] |mapmode-c| *:cmapc* *:cmapclear*
|
||||||
:tmapc[lear] |mapmode-t| *:tmapc* *:tmapclear*
|
:tmapc[lear] |mapmode-t| *:tmapc* *:tmapclear*
|
||||||
Remove ALL mappings for the modes where the map
|
Remove ALL mappings for the modes where the map
|
||||||
command applies. {not in Vi}
|
command applies.
|
||||||
Use the <buffer> argument to remove buffer-local
|
Use the <buffer> argument to remove buffer-local
|
||||||
mappings |:map-<buffer>|
|
mappings |:map-<buffer>|
|
||||||
Warning: This also removes the default mappings.
|
Warning: This also removes the default mappings.
|
||||||
@@ -143,7 +143,6 @@ modes.
|
|||||||
:tma[p] {lhs} |mapmode-t| *:tmap_l*
|
:tma[p] {lhs} |mapmode-t| *:tmap_l*
|
||||||
List the key mappings for the key sequences starting
|
List the key mappings for the key sequences starting
|
||||||
with {lhs} in the modes where the map command applies.
|
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
|
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,
|
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.
|
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
|
If you type a space, then "foo" will get inserted, plus the space. If you
|
||||||
type "a", then "bar" will get inserted.
|
type "a", then "bar" will get inserted.
|
||||||
{Vi does not allow ambiguous mappings}
|
|
||||||
|
|
||||||
|
|
||||||
1.2 SPECIAL ARGUMENTS *:map-arguments*
|
1.2 SPECIAL ARGUMENTS *:map-arguments*
|
||||||
@@ -1016,45 +1014,40 @@ See |:verbose-cmd| for more information.
|
|||||||
|
|
||||||
*:norea* *:noreabbrev*
|
*:norea* *:noreabbrev*
|
||||||
:norea[bbrev] [<expr>] [<buffer>] [lhs] [rhs]
|
:norea[bbrev] [<expr>] [<buffer>] [lhs] [rhs]
|
||||||
same as ":ab", but no remapping for this {rhs} {not
|
Same as ":ab", but no remapping for this {rhs}.
|
||||||
in Vi}
|
|
||||||
|
|
||||||
*:ca* *:cabbrev*
|
*:ca* *:cabbrev*
|
||||||
:ca[bbrev] [<expr>] [<buffer>] [lhs] [rhs]
|
:ca[bbrev] [<expr>] [<buffer>] [lhs] [rhs]
|
||||||
same as ":ab", but for Command-line mode only. {not
|
Same as ":ab", but for Command-line mode only.
|
||||||
in Vi}
|
|
||||||
|
|
||||||
*:cuna* *:cunabbrev*
|
*:cuna* *:cunabbrev*
|
||||||
:cuna[bbrev] {lhs} same as ":una", but for Command-line mode only. {not
|
:cuna[bbrev] {lhs} Same as ":una", but for Command-line mode only.
|
||||||
in Vi}
|
|
||||||
|
|
||||||
*:cnorea* *:cnoreabbrev*
|
*:cnorea* *:cnoreabbrev*
|
||||||
:cnorea[bbrev] [<expr>] [<buffer>] [lhs] [rhs]
|
:cnorea[bbrev] [<expr>] [<buffer>] [lhs] [rhs]
|
||||||
same as ":ab", but for Command-line mode only and no
|
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* *:iabbrev*
|
||||||
:ia[bbrev] [<expr>] [<buffer>] [lhs] [rhs]
|
: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* *:iunabbrev*
|
||||||
:iuna[bbrev] {lhs} same as ":una", but for insert mode only. {not in
|
:iuna[bbrev] {lhs} Same as ":una", but for insert mode only.
|
||||||
Vi}
|
|
||||||
|
|
||||||
*:inorea* *:inoreabbrev*
|
*:inorea* *:inoreabbrev*
|
||||||
:inorea[bbrev] [<expr>] [<buffer>] [lhs] [rhs]
|
:inorea[bbrev] [<expr>] [<buffer>] [lhs] [rhs]
|
||||||
same as ":ab", but for Insert mode only and no
|
Same as ":ab", but for Insert mode only and no
|
||||||
remapping for this {rhs} {not in Vi}
|
remapping for this {rhs}.
|
||||||
|
|
||||||
*:abc* *:abclear*
|
*:abc* *:abclear*
|
||||||
:abc[lear] [<buffer>] Remove all abbreviations. {not in Vi}
|
:abc[lear] [<buffer>] Remove all abbreviations.
|
||||||
|
|
||||||
*:iabc* *:iabclear*
|
*: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* *:cabclear*
|
||||||
:cabc[lear] [<buffer>] Remove all abbreviations for Command-line mode. {not
|
:cabc[lear] [<buffer>] Remove all abbreviations for Command-line mode.
|
||||||
in Vi}
|
|
||||||
|
|
||||||
*using_CTRL-V*
|
*using_CTRL-V*
|
||||||
It is possible to use special characters in the rhs of an abbreviation.
|
It is possible to use special characters in the rhs of an abbreviation.
|
||||||
@@ -1147,8 +1140,7 @@ to find out what they are defined to.
|
|||||||
The |:scriptnames| command can be used to see which scripts have been sourced
|
The |:scriptnames| command can be used to see which scripts have been sourced
|
||||||
and what their <SNR> number is.
|
and what their <SNR> number is.
|
||||||
|
|
||||||
This is all {not in Vi} and {not available when compiled without the |+eval|
|
This is all {not available when compiled without the |+eval| feature}.
|
||||||
feature}.
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
4. User-defined commands *user-commands*
|
4. User-defined commands *user-commands*
|
||||||
@@ -1193,9 +1185,10 @@ scripts.
|
|||||||
|
|
||||||
:com[mand] *:com* *:command*
|
:com[mand] *:com* *:command*
|
||||||
List all user-defined commands. When listing commands,
|
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 -bang attribute
|
||||||
" Command has the -register attribute
|
" Command has the -register attribute
|
||||||
|
| Command has the -bar attribute
|
||||||
b Command is local to current buffer
|
b Command is local to current buffer
|
||||||
(see below for details on attributes)
|
(see below for details on attributes)
|
||||||
The list can be filtered on command name with
|
The list can be filtered on command name with
|
||||||
@@ -1390,7 +1383,7 @@ Possible attributes are:
|
|||||||
number.
|
number.
|
||||||
-count=N A count (default N) which is specified either in the line
|
-count=N A count (default N) which is specified either in the line
|
||||||
number position, or as an initial argument (like |:Next|).
|
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
|
Note that -range=N and -count=N are mutually exclusive - only one should be
|
||||||
specified.
|
specified.
|
||||||
@@ -1400,14 +1393,17 @@ 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,
|
by default correspond to the current line, last line and the whole buffer,
|
||||||
relate to arguments, (loaded) buffers, windows or tab pages.
|
relate to arguments, (loaded) buffers, windows or tab pages.
|
||||||
|
|
||||||
Possible values are:
|
Possible values are (second column is the short name used in listing):
|
||||||
-addr=lines Range of lines (this is the default)
|
-addr=lines Range of lines (this is the default for -range)
|
||||||
-addr=arguments Range for arguments
|
-addr=arguments arg Range for arguments
|
||||||
-addr=buffers Range for buffers (also not loaded buffers)
|
-addr=buffers buf Range for buffers (also not loaded buffers)
|
||||||
-addr=loaded_buffers Range for loaded buffers
|
-addr=loaded_buffers load Range for loaded buffers
|
||||||
-addr=windows Range for windows
|
-addr=windows win Range for windows
|
||||||
-addr=tabs Range for tab pages
|
-addr=tabs tab Range for tab pages
|
||||||
-addr=other other kind of range
|
-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 ~
|
Special cases ~
|
||||||
|
|||||||
@@ -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.
|
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.
|
manual.
|
||||||
For changing the language of messages and menus see |mlang.txt|.
|
For changing the language of messages and menus see |mlang.txt|.
|
||||||
|
|
||||||
{not available when compiled without the |+multi_byte| feature}
|
|
||||||
|
|
||||||
|
|
||||||
1. Getting started |mbyte-first|
|
1. Getting started |mbyte-first|
|
||||||
2. Locale |mbyte-locale|
|
2. Locale |mbyte-locale|
|
||||||
3. Encoding |mbyte-encoding|
|
3. Encoding |mbyte-encoding|
|
||||||
@@ -44,16 +41,6 @@ features. Unfortunately, every system has its own way to deal with multibyte
|
|||||||
languages and it is quite complicated.
|
languages and it is quite complicated.
|
||||||
|
|
||||||
|
|
||||||
COMPILING
|
|
||||||
|
|
||||||
If you already have a compiled Vim program, check if the |+multi_byte| feature
|
|
||||||
is included. The |:version| command can be used for this.
|
|
||||||
|
|
||||||
If +multi_byte is not included, you should compile Vim with "normal", "big" or
|
|
||||||
"huge" features. You can further tune what features are included. See the
|
|
||||||
INSTALL files in the source directory.
|
|
||||||
|
|
||||||
|
|
||||||
LOCALE
|
LOCALE
|
||||||
|
|
||||||
First of all, you must make sure your current locale is set correctly. If
|
First of all, you must make sure your current locale is set correctly. If
|
||||||
@@ -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
|
locale. You have to specify all the fonts that a locale requires in the
|
||||||
'guifontset' option.
|
'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
|
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
|
be set to use a different charset. In that situation you might want to use
|
||||||
'guifont' and 'guifontwide' instead of 'guifontset'.
|
'guifont' and 'guifontwide' instead of 'guifontset'.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*message.txt* For Vim version 8.1. Last change: 2018 Dec 30
|
*message.txt* For Vim version 8.1. Last change: 2019 May 07
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -703,11 +703,13 @@ Or use ":set nocp".
|
|||||||
This happens when an Ex command with mandatory argument(s) was executed, but
|
This happens when an Ex command with mandatory argument(s) was executed, but
|
||||||
no argument has been specified.
|
no argument has been specified.
|
||||||
|
|
||||||
*E474* *E475* >
|
*E474* *E475* *E983* >
|
||||||
Invalid argument
|
Invalid argument
|
||||||
Invalid argument: {arg}
|
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* >
|
*E488* >
|
||||||
Trailing characters
|
Trailing characters
|
||||||
@@ -796,7 +798,6 @@ and the screen is about to be redrawn:
|
|||||||
like pressing <Space>. This makes it impossible to select text though.
|
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
|
-> For the GUI clicking the left mouse button in the last line works like
|
||||||
pressing <Space>.
|
pressing <Space>.
|
||||||
{Vi: only ":" commands are interpreted}
|
|
||||||
|
|
||||||
If you accidentally hit <Enter> or <Space> and you want to see the displayed
|
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.
|
text then use |g<|. This only works when 'more' is set.
|
||||||
@@ -828,10 +829,10 @@ Type effect ~
|
|||||||
G down all the way, until the hit-enter
|
G down all the way, until the hit-enter
|
||||||
prompt
|
prompt
|
||||||
|
|
||||||
<BS> or k or <Up> one line back (*)
|
<BS> or k or <Up> one line back
|
||||||
u up a page (half a screen) (*)
|
u up a page (half a screen)
|
||||||
b or <PageUp> back a screen (*)
|
b or <PageUp> back a screen
|
||||||
g back to the start (*)
|
g back to the start
|
||||||
|
|
||||||
q, <Esc> or CTRL-C stop the listing
|
q, <Esc> or CTRL-C stop the listing
|
||||||
: stop the listing and enter a
|
: stop the listing and enter a
|
||||||
@@ -840,13 +841,11 @@ Type effect ~
|
|||||||
the clipboard ("* and "+ registers)
|
the clipboard ("* and "+ registers)
|
||||||
{menu-entry} what the menu is defined to in
|
{menu-entry} what the menu is defined to in
|
||||||
Cmdline-mode.
|
Cmdline-mode.
|
||||||
<LeftMouse> (**) next page
|
<LeftMouse> next page (*)
|
||||||
|
|
||||||
Any other key causes the meaning of the keys to be displayed.
|
Any other key causes the meaning of the keys to be displayed.
|
||||||
|
|
||||||
(*) backwards scrolling is {not in Vi}. Only scrolls back to where messages
|
(*) Clicking the left mouse button only works:
|
||||||
started to scroll.
|
|
||||||
(**) Clicking the left mouse button only works:
|
|
||||||
- For the GUI: in the last line of the screen.
|
- For the GUI: in the last line of the screen.
|
||||||
- When 'r' is included in 'mouse' (but then selecting text won't work).
|
- 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
|
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.
|
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}
|
{not available when compiled without the |+multi_lang| feature}
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*motion.txt* For Vim version 8.1. Last change: 2018 Dec 27
|
*motion.txt* For Vim version 8.1. Last change: 2019 May 07
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -185,7 +185,7 @@ l or *l*
|
|||||||
TEXT column (if possible). Most other commands stay
|
TEXT column (if possible). Most other commands stay
|
||||||
in the same SCREEN column. <Home> works like "1|",
|
in the same SCREEN column. <Home> works like "1|",
|
||||||
which differs from "0" when the line starts with a
|
which differs from "0" when the line starts with a
|
||||||
<Tab>. {not in Vi}
|
<Tab>.
|
||||||
|
|
||||||
*^*
|
*^*
|
||||||
^ To the first non-blank character of the line.
|
^ 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_*
|
||||||
g_ To the last non-blank character of the line and
|
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* *g<Home>*
|
||||||
g0 or g<Home> When lines wrap ('wrap' on): To the first character of
|
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
|
When lines don't wrap ('wrap' off): To the leftmost
|
||||||
character of the current line that is on the screen.
|
character of the current line that is on the screen.
|
||||||
Differs from "0" when the first character of the line
|
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^*
|
||||||
g^ When lines wrap ('wrap' on): To the first non-blank
|
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
|
When lines don't wrap ('wrap' off): To the leftmost
|
||||||
non-blank character of the current line that is on the
|
non-blank character of the current line that is on the
|
||||||
screen. Differs from "^" when the first non-blank
|
screen. Differs from "^" when the first non-blank
|
||||||
character of the line is not on the screen. {not in
|
character of the line is not on the screen.
|
||||||
Vi}
|
|
||||||
|
|
||||||
*gm*
|
*gm*
|
||||||
gm Like "g0", but half a screenwidth to the right (or as
|
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$* *g<End>*
|
||||||
g$ or g<End> When lines wrap ('wrap' on): To the last character of
|
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.
|
instead of going to the end of the line.
|
||||||
When 'virtualedit' is enabled moves to the end of the
|
When 'virtualedit' is enabled moves to the end of the
|
||||||
screen line.
|
screen line.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*bar*
|
*bar*
|
||||||
| To screen column [count] in the current line.
|
| To screen column [count] in the current line.
|
||||||
@@ -296,12 +294,12 @@ CTRL-N [count] lines downward |linewise|.
|
|||||||
gk or *gk* *g<Up>*
|
gk or *gk* *g<Up>*
|
||||||
g<Up> [count] display lines upward. |exclusive| motion.
|
g<Up> [count] display lines upward. |exclusive| motion.
|
||||||
Differs from 'k' when lines wrap, and when used with
|
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>*
|
gj or *gj* *g<Down>*
|
||||||
g<Down> [count] display lines downward. |exclusive| motion.
|
g<Down> [count] display lines downward. |exclusive| motion.
|
||||||
Differs from 'j' when lines wrap, and when used with
|
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
|
- <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
|
G Goto line [count], default last line, on the first
|
||||||
non-blank character |linewise|. If 'startofline' not
|
non-blank character |linewise|. If 'startofline' not
|
||||||
set, keep the same column.
|
set, keep the same column.
|
||||||
G is a one of |jump-motions|.
|
G is one of the |jump-motions|.
|
||||||
|
|
||||||
*<C-End>*
|
*<C-End>*
|
||||||
<C-End> Goto line [count], default last line, on the last
|
<C-End> Goto line [count], default last line, on the last
|
||||||
character |inclusive|. {not in Vi}
|
character |inclusive|.
|
||||||
|
|
||||||
<C-Home> or *gg* *<C-Home>*
|
<C-Home> or *gg* *<C-Home>*
|
||||||
gg Goto line [count], default first line, on the first
|
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
|
non-blank in the line |linewise|. To compute the new
|
||||||
line number this formula is used:
|
line number this formula is used:
|
||||||
({count} * number-of-lines + 99) / 100
|
({count} * number-of-lines + 99) / 100
|
||||||
See also 'startofline' option. {not in Vi}
|
See also 'startofline' option.
|
||||||
|
|
||||||
:[range]go[to] [count] *:go* *:goto* *go*
|
:[range]go[to] [count] *:go* *:goto* *go*
|
||||||
[count]go Go to [count] byte in the buffer. Default [count] is
|
[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.
|
'fileformat' setting.
|
||||||
Also see the |line2byte()| function, and the 'o'
|
Also see the |line2byte()| function, and the 'o'
|
||||||
option in 'statusline'.
|
option in 'statusline'.
|
||||||
{not in Vi}
|
|
||||||
{not available when compiled without the
|
{not available when compiled without the
|
||||||
|+byte_offset| feature}
|
|+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
|
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
|
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
|
word does not include the following white space.
|
||||||
followed by other blanks changes only the first blank; this is probably a
|
|
||||||
bug, because "dw" deletes all the blanks}
|
|
||||||
|
|
||||||
Another special case: When using the "w" motion in combination with an
|
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
|
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
|
without white space, or just the white space. Thus the "inner" commands
|
||||||
always select less text than the "a" 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
|
These commands are not available when the |+textobjects| feature has been
|
||||||
disabled at compile time.
|
disabled at compile time.
|
||||||
Also see `gn` and `gN`, operating on the last search pattern.
|
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* *'0* *`A* *`0*
|
||||||
'{A-Z0-9} `{A-Z0-9} To the mark {A-Z0-9} in the file where it was set (not
|
'{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'* *g'a* *g`* *g`a*
|
||||||
g'{mark} g`{mark}
|
g'{mark} g`{mark}
|
||||||
@@ -790,18 +784,17 @@ g'{mark} g`{mark}
|
|||||||
< jumps to the last known position in a file. See
|
< jumps to the last known position in a file. See
|
||||||
$VIMRUNTIME/vimrc_example.vim.
|
$VIMRUNTIME/vimrc_example.vim.
|
||||||
Also see |:keepjumps|.
|
Also see |:keepjumps|.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*:marks*
|
*:marks*
|
||||||
:marks List all the current marks (not a motion command).
|
:marks List all the current marks (not a motion command).
|
||||||
The |'(|, |')|, |'{| and |'}| marks are not listed.
|
The |'(|, |')|, |'{| and |'}| marks are not listed.
|
||||||
The first column has number zero.
|
The first column has number zero.
|
||||||
{not in Vi}
|
|
||||||
*E283*
|
*E283*
|
||||||
:marks {arg} List the marks that are mentioned in {arg} (not a
|
:marks {arg} List the marks that are mentioned in {arg} (not a
|
||||||
motion command). For example: >
|
motion command). For example: >
|
||||||
:marks aB
|
:marks aB
|
||||||
< to list marks 'a' and 'B'. {not in Vi}
|
< to list marks 'a' and 'B'.
|
||||||
|
|
||||||
*:delm* *:delmarks*
|
*:delm* *:delmarks*
|
||||||
:delm[arks] {marks} Delete the specified marks. Marks that can be deleted
|
: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 p-z deletes marks in the range p to z
|
||||||
:delmarks ^.[] deletes marks ^ . [ ]
|
:delmarks ^.[] deletes marks ^ . [ ]
|
||||||
:delmarks \" deletes mark "
|
:delmarks \" deletes mark "
|
||||||
< {not in Vi}
|
|
||||||
|
|
||||||
:delm[arks]! Delete all marks for the current buffer, but not marks
|
:delm[arks]! Delete all marks for the current buffer, but not marks
|
||||||
A-Z or 0-9.
|
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
|
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
|
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
|
Top, 'b' for Bottom, etc.. Lowercase marks are restored when using undo and
|
||||||
redo.
|
redo.
|
||||||
|
|
||||||
Uppercase marks 'A to 'Z include the file name. {Vi: no uppercase marks} You
|
Uppercase marks 'A to 'Z include the file name. You can use them to jump from
|
||||||
can use them to jump from file to file. You can only use an uppercase mark
|
file to file. You can only use an uppercase mark with an operator if the mark
|
||||||
with an operator if the mark is in the current file. The line number of the
|
is in the current file. The line number of the mark remains correct, even if
|
||||||
mark remains correct, even if you insert/delete lines or edit another file for
|
you insert/delete lines or edit another file for a moment. When the 'viminfo'
|
||||||
a moment. When the 'viminfo' option is not empty, uppercase marks are kept in
|
option is not empty, uppercase marks are kept in the .viminfo file. See
|
||||||
the .viminfo file. See |viminfo-file-marks|.
|
|viminfo-file-marks|.
|
||||||
|
|
||||||
Numbered marks '0 to '9 are quite different. They can not be set directly.
|
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
|
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
|
'[ `[ 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
|
'] `] 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
|
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
|
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
|
'< `< To the first line or character of the last selected
|
||||||
Visual area in the current buffer. For block mode it
|
Visual area in the current buffer. For block mode it
|
||||||
may also be the last character in the first line (to
|
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
|
'> `> 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
|
may also be the first character of the last line (to
|
||||||
be able to define the block). Note that 'selection'
|
be able to define the block). Note that 'selection'
|
||||||
applies, the position may be just after the Visual
|
applies, the position may be just after the Visual
|
||||||
area. {not in Vi}.
|
area.
|
||||||
|
|
||||||
*''* *``*
|
*''* *``*
|
||||||
'' `` To the position before the latest jump, or where the
|
'' `` 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
|
Only one position is remembered per buffer, not one
|
||||||
for each window. As long as the buffer is visible in
|
for each window. As long as the buffer is visible in
|
||||||
a window the position won't be changed.
|
a window the position won't be changed.
|
||||||
{not in Vi}.
|
|
||||||
|
|
||||||
*'^* *`^*
|
*'^* *`^*
|
||||||
'^ `^ To the position where the cursor was the last time
|
'^ `^ To the position where the cursor was the last time
|
||||||
when Insert mode was stopped. This is used by the
|
when Insert mode was stopped. This is used by the
|
||||||
|gi| command. Not set when the |:keepjumps| command
|
|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
|
'. `. 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,
|
command changed. For example when inserting a word,
|
||||||
the position will be on the last character.
|
the position will be on the last character.
|
||||||
To jump to older changes use |g;|.
|
To jump to older changes use |g;|.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*'(* *`(*
|
*'(* *`(*
|
||||||
'( `( To the start of the current sentence, like the |(|
|
'( `( To the start of the current sentence, like the |(|
|
||||||
command. {not in Vi}
|
command.
|
||||||
|
|
||||||
*')* *`)*
|
*')* *`)*
|
||||||
') `) To the end of the current sentence, like the |)|
|
') `) To the end of the current sentence, like the |)|
|
||||||
command. {not in Vi}
|
command.
|
||||||
|
|
||||||
*'{* *`{*
|
*'{* *`{*
|
||||||
'{ `{ To the start of the current paragraph, like the |{|
|
'{ `{ To the start of the current paragraph, like the |{|
|
||||||
command. {not in Vi}
|
command.
|
||||||
|
|
||||||
*'}* *`}*
|
*'}* *`}*
|
||||||
'} `} To the end of the current paragraph, like the |}|
|
'} `} 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:
|
These commands are not marks themselves, but jump to a mark:
|
||||||
|
|
||||||
*]'*
|
*]'*
|
||||||
]' [count] times to next line with a lowercase mark below
|
]' [count] times to next line with a lowercase mark below
|
||||||
the cursor, on the first non-blank character in the
|
the cursor, on the first non-blank character in the
|
||||||
line. {not in Vi}
|
line.
|
||||||
|
|
||||||
*]`*
|
*]`*
|
||||||
]` [count] times to lowercase mark after the cursor. {not
|
]` [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
|
[' [count] times to previous line with a lowercase mark
|
||||||
before the cursor, on the first non-blank character in
|
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.
|
[` [count] times to lowercase mark before the cursor.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
|
|
||||||
:loc[kmarks] {command} *:loc* *:lockmarks*
|
:loc[kmarks] {command} *:loc* *:lockmarks*
|
||||||
@@ -1021,7 +1009,7 @@ These commands are not marks themselves, but jump to a mark:
|
|||||||
|
|
||||||
A "jump" is a command that normally moves the cursor several lines away. If
|
A "jump" is a command that normally moves the cursor several lines away. If
|
||||||
you make the cursor "jump" the position of the cursor before the jump is
|
you make the cursor "jump" the position of the cursor before the jump is
|
||||||
remembered. You can return to that position with the "''" and "``" command,
|
remembered. You can return to that position with the "''" and "``" commands,
|
||||||
unless the line containing that position was changed or deleted. The
|
unless the line containing that position was changed or deleted. The
|
||||||
following commands are "jump" commands: "'", "`", "G", "/", "?", "n", "N",
|
following commands are "jump" commands: "'", "`", "G", "/", "?", "n", "N",
|
||||||
"%", "(", ")", "[[", "]]", "{", "}", ":s", ":tag", "L", "M", "H" and the
|
"%", "(", ")", "[[", "]]", "{", "}", ":s", ":tag", "L", "M", "H" and the
|
||||||
@@ -1030,23 +1018,19 @@ commands that start editing a new file.
|
|||||||
*CTRL-O*
|
*CTRL-O*
|
||||||
CTRL-O Go to [count] Older cursor position in jump list
|
CTRL-O Go to [count] Older cursor position in jump list
|
||||||
(not a motion command).
|
(not a motion command).
|
||||||
{not in Vi}
|
|
||||||
{not available without the |+jumplist| feature}
|
{not available without the |+jumplist| feature}
|
||||||
|
|
||||||
<Tab> or *CTRL-I* *<Tab>*
|
<Tab> or *CTRL-I* *<Tab>*
|
||||||
CTRL-I Go to [count] newer cursor position in jump list
|
CTRL-I Go to [count] newer cursor position in jump list
|
||||||
(not a motion command).
|
(not a motion command).
|
||||||
{not in Vi}
|
|
||||||
{not available without the |+jumplist| feature}
|
{not available without the |+jumplist| feature}
|
||||||
|
|
||||||
*:ju* *:jumps*
|
*:ju* *:jumps*
|
||||||
:ju[mps] Print the jump list (not a motion command).
|
:ju[mps] Print the jump list (not a motion command).
|
||||||
{not in Vi}
|
|
||||||
{not available without the |+jumplist| feature}
|
{not available without the |+jumplist| feature}
|
||||||
|
|
||||||
*:cle* *:clearjumps*
|
*:cle* *:clearjumps*
|
||||||
:cle[arjumps] Clear the jump list of the current window.
|
:cle[arjumps] Clear the jump list of the current window.
|
||||||
{not in Vi}
|
|
||||||
{not available without the |+jumplist| feature}
|
{not available without the |+jumplist| feature}
|
||||||
|
|
||||||
*jumplist*
|
*jumplist*
|
||||||
@@ -1131,14 +1115,12 @@ g; Go to [count] older position in change list.
|
|||||||
positions go to the oldest change.
|
positions go to the oldest change.
|
||||||
If there is no older change an error message is given.
|
If there is no older change an error message is given.
|
||||||
(not a motion command)
|
(not a motion command)
|
||||||
{not in Vi}
|
|
||||||
{not available without the |+jumplist| feature}
|
{not available without the |+jumplist| feature}
|
||||||
|
|
||||||
*g,* *E663*
|
*g,* *E663*
|
||||||
g, Go to [count] newer cursor position in change list.
|
g, Go to [count] newer cursor position in change list.
|
||||||
Just like |g;| but in the opposite direction.
|
Just like |g;| but in the opposite direction.
|
||||||
(not a motion command)
|
(not a motion command)
|
||||||
{not in Vi}
|
|
||||||
{not available without the |+jumplist| feature}
|
{not available without the |+jumplist| feature}
|
||||||
|
|
||||||
When using a count you jump as far back or forward as possible. Thus you can
|
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 '('.
|
[( go to [count] previous unmatched '('.
|
||||||
|exclusive| motion. {not in Vi}
|
|exclusive| motion.
|
||||||
|
|
||||||
*[{*
|
*[{*
|
||||||
[{ go to [count] previous unmatched '{'.
|
[{ go to [count] previous unmatched '{'.
|
||||||
|exclusive| motion. {not in Vi}
|
|exclusive| motion.
|
||||||
|
|
||||||
*])*
|
*])*
|
||||||
]) go to [count] next unmatched ')'.
|
]) go to [count] next unmatched ')'.
|
||||||
|exclusive| motion. {not in Vi}
|
|exclusive| motion.
|
||||||
|
|
||||||
*]}*
|
*]}*
|
||||||
]} go to [count] next unmatched '}'.
|
]} 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
|
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
|
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
|
similar structured language). When not before the
|
||||||
start of a method, jump to the start or end of the
|
start of a method, jump to the start or end of the
|
||||||
class. When no '{' is found after the cursor, this is
|
class. When no '{' is found after the cursor, this is
|
||||||
an error. |exclusive| motion. {not in Vi}
|
an error. |exclusive| motion.
|
||||||
*]M*
|
*]M*
|
||||||
]M Go to [count] next end of a method (for Java or
|
]M Go to [count] next end of a method (for Java or
|
||||||
similar structured language). When not before the end
|
similar structured language). When not before the end
|
||||||
of a method, jump to the start or end of the class.
|
of a method, jump to the start or end of the class.
|
||||||
When no '}' is found after the cursor, this is an
|
When no '}' is found after the cursor, this is an
|
||||||
error. |exclusive| motion. {not in Vi}
|
error. |exclusive| motion.
|
||||||
*[m*
|
*[m*
|
||||||
[m Go to [count] previous start of a method (for Java or
|
[m Go to [count] previous start of a method (for Java or
|
||||||
similar structured language). When not after the
|
similar structured language). When not after the
|
||||||
start of a method, jump to the start or end of the
|
start of a method, jump to the start or end of the
|
||||||
class. When no '{' is found before the cursor this is
|
class. When no '{' is found before the cursor this is
|
||||||
an error. |exclusive| motion. {not in Vi}
|
an error. |exclusive| motion.
|
||||||
*[M*
|
*[M*
|
||||||
[M Go to [count] previous end of a method (for Java or
|
[M Go to [count] previous end of a method (for Java or
|
||||||
similar structured language). When not after the
|
similar structured language). When not after the
|
||||||
end of a method, jump to the start or end of the
|
end of a method, jump to the start or end of the
|
||||||
class. When no '}' is found before the cursor this is
|
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 above two commands assume that the file contains a class with methods.
|
||||||
The class definition is surrounded in '{' and '}'. Each method in the class
|
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".
|
[# go to [count] previous unmatched "#if" or "#else".
|
||||||
|exclusive| motion. {not in Vi}
|
|exclusive| motion.
|
||||||
|
|
||||||
*]#*
|
*]#*
|
||||||
]# go to [count] next unmatched "#else" or "#endif".
|
]# 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
|
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
|
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* *[/*
|
*[star* *[/*
|
||||||
[* or [/ go to [count] previous start of a C comment "/*".
|
[* or [/ go to [count] previous start of a C comment "/*".
|
||||||
|exclusive| motion. {not in Vi}
|
|exclusive| motion.
|
||||||
|
|
||||||
*]star* *]/*
|
*]star* *]/*
|
||||||
]* or ]/ go to [count] next end of a C comment "*/".
|
]* or ]/ go to [count] next end of a C comment "*/".
|
||||||
|exclusive| motion. {not in Vi}
|
|exclusive| motion.
|
||||||
|
|
||||||
|
|
||||||
*H*
|
*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
|
<LeftMouse> Moves to the position on the screen where the mouse
|
||||||
click is |exclusive|. See also |<LeftMouse>|. If the
|
click is |exclusive|. See also |<LeftMouse>|. If the
|
||||||
position is in a status line, that window is made the
|
position is in a status line, that window is made the
|
||||||
active window and the cursor is not moved. {not in Vi}
|
active window and the cursor is not moved.
|
||||||
|
|
||||||
vim:tw=78:ts=8:noet:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
*netbeans.txt* For Vim version 8.1. Last change: 2016 Jul 15
|
*netbeans.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Gordon Prieur et al.
|
VIM REFERENCE MANUAL by Gordon Prieur et al.
|
||||||
|
|
||||||
|
|
||||||
*netbeans* *netbeans-support*
|
*netbeans* *NetBeans* *netbeans-support*
|
||||||
|
|
||||||
Vim NetBeans Protocol: a socket interface for Vim integration into an IDE.
|
Vim NetBeans Protocol: a socket interface for Vim integration into an IDE.
|
||||||
|
|
||||||
@@ -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.4. Obtaining the External Editor Module |obtaining-exted|
|
||||||
10.5. Setting up NetBeans to run with Vim |netbeans-setup|
|
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}
|
{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,
|
by gvim when it is run with one of the following GUIs: GTK, GNOME, Windows,
|
||||||
Athena and Motif.
|
Athena and Motif.
|
||||||
|
|
||||||
If Motif support is required the user must supply XPM libraries. See
|
*netbeans-xpm*
|
||||||
|workshop-xpm| for details on obtaining the latest version of XPM.
|
If Motif support is required the user must supply XPM libraries.
|
||||||
|
The XPM library is required to show images within Vim with Motif or Athena.
|
||||||
|
Without it the toolbar and signs will be disabled.
|
||||||
|
|
||||||
|
The XPM library is provided by Arnaud Le Hors of the French National Institute
|
||||||
|
for Research in Computer Science and Control. It can be downloaded from
|
||||||
|
http://cgit.freedesktop.org/xorg/lib/libXpm. The current release, as of this
|
||||||
|
writing, is xpm-3.4k-solaris.tgz, which is a gzip'ed tar file. If you create
|
||||||
|
the directory /usr/local/xpm and untar the file there you can use the
|
||||||
|
uncommented lines in the Makefile without changing them. If you use another
|
||||||
|
xpm directory you will need to change the XPM_DIR in src/Makefile.
|
||||||
|
|
||||||
|
|
||||||
On MS-Windows:
|
On MS-Windows:
|
||||||
|
|||||||
@@ -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.
|
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
|
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
|
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
|
GTK for OpenVMS or at least runtime shareable images - LIBGTK from
|
||||||
polarhome.com
|
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
|
For more advanced questions, please send your problem to Vim on VMS mailing
|
||||||
list <vim-vms@polarhome.com>
|
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: >
|
Example LOGIN.COM: >
|
||||||
|
|
||||||
$ define/nolog VIM RF10:[UTIL.VIM]
|
$ define/nolog VIM DKA0:[UTIL.VIM81]
|
||||||
$ vi*m :== mcr VIM:VIM.EXE
|
$ vi*m :== mcr VIM:VIM.EXE
|
||||||
$ gv*im:== spawn/nowait/input=NLA0 mcr VIM:VIM.EXE -g -GEOMETRY 80x40
|
$ 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
|
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
|
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*
|
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
|
Version 7.4
|
||||||
- Undo: VMS can not handle more than one dot in the filenames use "dir/name" -> "dir/_un_name"
|
- 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
|
add _un_ at the beginning to keep the extension
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*pattern.txt* For Vim version 8.1. Last change: 2018 Dec 26
|
*pattern.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
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,
|
4. the first non-blank word after the cursor,
|
||||||
in the current line
|
in the current line
|
||||||
Only whole keywords are searched for, like with the
|
Only whole keywords are searched for, like with the
|
||||||
command "/\<keyword\>". |exclusive| {not in Vi}
|
command "/\<keyword\>". |exclusive|
|
||||||
'ignorecase' is used, 'smartcase' is not.
|
'ignorecase' is used, 'smartcase' is not.
|
||||||
|
|
||||||
*#*
|
*#*
|
||||||
# Same as "*", but search backward. The pound sign
|
# Same as "*", but search backward. The pound sign
|
||||||
(character 163) also works. If the "#" key works as
|
(character 163) also works. If the "#" key works as
|
||||||
backspace, try using "stty erase <BS>" before starting
|
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*
|
*gstar*
|
||||||
g* Like "*", but don't put "\<" and "\>" around the word.
|
g* Like "*", but don't put "\<" and "\>" around the word.
|
||||||
This makes the search also find matches that are not a
|
This makes the search also find matches that are not a
|
||||||
whole word. {not in Vi}
|
whole word.
|
||||||
|
|
||||||
*g#*
|
*g#*
|
||||||
g# Like "#", but don't put "\<" and "\>" around the word.
|
g# Like "#", but don't put "\<" and "\>" around the word.
|
||||||
This makes the search also find matches that are not a
|
This makes the search also find matches that are not a
|
||||||
whole word. {not in Vi}
|
whole word.
|
||||||
|
|
||||||
*gd*
|
*gd*
|
||||||
gd Goto local Declaration. When the cursor is on a local
|
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|.
|
searched use the commands listed in |include-search|.
|
||||||
After this command |n| searches forward for the next
|
After this command |n| searches forward for the next
|
||||||
match (not backward).
|
match (not backward).
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*gD*
|
*gD*
|
||||||
gD Goto global Declaration. When the cursor is on a
|
gD Goto global Declaration. When the cursor is on a
|
||||||
global variable that is defined in the file, this
|
global variable that is defined in the file, this
|
||||||
command will jump to its declaration. This works just
|
command will jump to its declaration. This works just
|
||||||
like "gd", except that the search for the keyword
|
like "gd", except that the search for the keyword
|
||||||
always starts in line 1. {not in Vi}
|
always starts in line 1.
|
||||||
|
|
||||||
*1gd*
|
*1gd*
|
||||||
1gd Like "gd", but ignore matches inside a {} block that
|
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*
|
||||||
1gD Like "gD", but ignore matches inside a {} block that
|
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*
|
||||||
CTRL-C Interrupt current (search) command. Use CTRL-Break on
|
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
|
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.
|
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
|
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
|
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
|
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}*
|
*search-offset* *{offset}*
|
||||||
These commands search for the specified pattern. With "/" and "?" an
|
These commands search for the specified pattern. With "/" and "?" an
|
||||||
additional offset may be given. There are two types of offsets: line offsets
|
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:
|
The offset gives the cursor position relative to the found match:
|
||||||
[num] [num] lines downwards, in column 1
|
[num] [num] lines downwards, in column 1
|
||||||
@@ -436,30 +446,28 @@ More explanation and examples below, follow the links. *E64* *E871*
|
|||||||
multi ~
|
multi ~
|
||||||
'magic' 'nomagic' matches of the preceding atom ~
|
'magic' 'nomagic' matches of the preceding atom ~
|
||||||
|/star| * \* 0 or more as many as possible
|
|/star| * \* 0 or more as many as possible
|
||||||
|/\+| \+ \+ 1 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
|
||||||
|/\?| \? \? 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,m} \{n,m} n to m as many as possible
|
||||||
\{n} \{n} n exactly (*)
|
\{n} \{n} n exactly
|
||||||
\{n,} \{n,} at least n as many as possible (*)
|
\{n,} \{n,} at least n as many as possible
|
||||||
\{,m} \{,m} 0 to m as many as possible (*)
|
\{,m} \{,m} 0 to m as many as possible
|
||||||
\{} \{} 0 or more as many as possible (same as *) (*)
|
\{} \{} 0 or more as many as possible (same as *)
|
||||||
|
|
||||||
|/\{-| \{-n,m} \{-n,m} n to m as few as possible (*)
|
|/\{-| \{-n,m} \{-n,m} n to m as few as possible
|
||||||
\{-n} \{-n} n exactly (*)
|
\{-n} \{-n} n exactly
|
||||||
\{-n,} \{-n,} at least n as few as possible (*)
|
\{-n,} \{-n,} at least n as few as possible
|
||||||
\{-,m} \{-,m} 0 to m as few as possible (*)
|
\{-,m} \{-,m} 0 to m as few as possible
|
||||||
\{-} \{-} 0 or more as few as possible (*)
|
\{-} \{-} 0 or more as few as possible
|
||||||
|
|
||||||
*E59*
|
*E59*
|
||||||
|/\@>| \@> \@> 1, like matching a whole pattern (*)
|
|/\@>| \@> \@> 1, like matching a whole pattern
|
||||||
|/\@=| \@= \@= nothing, requires a match |/zero-width| (*)
|
|/\@=| \@= \@= nothing, requires a match |/zero-width|
|
||||||
|/\@!| \@! \@! nothing, requires NO match |/zero-width| (*)
|
|/\@!| \@! \@! nothing, requires NO match |/zero-width|
|
||||||
|/\@<=| \@<= \@<= nothing, requires a match behind |/zero-width| (*)
|
|/\@<=| \@<= \@<= nothing, requires a match behind |/zero-width|
|
||||||
|/\@<!| \@<! \@<! nothing, requires NO match behind |/zero-width| (*)
|
|/\@<!| \@<! \@<! nothing, requires NO match behind |/zero-width|
|
||||||
|
|
||||||
(*) {not in Vi}
|
|
||||||
|
|
||||||
|
|
||||||
Overview of ordinary atoms. */ordinary-atom*
|
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|
|
|/\%c| \%23c \%23c in column 23 |/zero-width|
|
||||||
|/\%v| \%23v \%23v in virtual 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 ~
|
magic nomagic matches ~
|
||||||
|/\i| \i \i identifier character (see 'isident' option)
|
|/\i| \i \i identifier character (see 'isident' option)
|
||||||
|/\I| \I \I like "\i", but excluding digits
|
|/\I| \I \I like "\i", but excluding digits
|
||||||
@@ -527,7 +535,7 @@ Character classes {not in Vi}: */character-classes*
|
|||||||
|/\b| \b \b <BS>
|
|/\b| \b \b <BS>
|
||||||
|/\n| \n \n end-of-line
|
|/\n| \n \n end-of-line
|
||||||
|/~| ~ \~ last given substitute string
|
|/~| ~ \~ 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 \(\)
|
|/\2| \2 \2 Like "\1", but uses second \(\)
|
||||||
...
|
...
|
||||||
|/\9| \9 \9 Like "\1", but uses ninth \(\)
|
|/\9| \9 \9 Like "\1", but uses ninth \(\)
|
||||||
@@ -605,20 +613,19 @@ overview.
|
|||||||
character at a time.
|
character at a time.
|
||||||
|
|
||||||
*/\+*
|
*/\+*
|
||||||
\+ Matches 1 or more of the preceding atom, as many as possible. {not in
|
\+ Matches 1 or more of the preceding atom, as many as possible.
|
||||||
Vi}
|
|
||||||
Example matches ~
|
Example matches ~
|
||||||
^.\+$ any non-empty line
|
^.\+$ any non-empty line
|
||||||
\s\+ white space of at least one character
|
\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 ~
|
Example matches ~
|
||||||
foo\= "fo" and "foo"
|
foo\= "fo" and "foo"
|
||||||
|
|
||||||
*/\?*
|
*/\?*
|
||||||
\? Just like \=. Cannot be used when searching backwards with the "?"
|
\? Just like \=. Cannot be used when searching backwards with the "?"
|
||||||
command. {not in Vi}
|
command.
|
||||||
|
|
||||||
*/\{* *E60* *E554* *E870*
|
*/\{* *E60* *E554* *E870*
|
||||||
\{n,m} Matches n to m of the preceding atom, as many as possible
|
\{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
|
\{-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
|
\{-,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
|
\{-} 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
|
n and m are positive decimal numbers or zero
|
||||||
*non-greedy*
|
*non-greedy*
|
||||||
@@ -655,7 +661,7 @@ overview.
|
|||||||
The } may optionally be preceded with a backslash: \{n,m\}.
|
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.
|
Like "(?=pattern)" in Perl.
|
||||||
Example matches ~
|
Example matches ~
|
||||||
foo\(bar\)\@= "foo" in "foobar"
|
foo\(bar\)\@= "foo" in "foobar"
|
||||||
@@ -675,7 +681,7 @@ overview.
|
|||||||
|
|
||||||
*/\@!*
|
*/\@!*
|
||||||
\@! Matches with zero width if the preceding atom does NOT match at the
|
\@! 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.
|
Like "(?!pattern)" in Perl.
|
||||||
Example matches ~
|
Example matches ~
|
||||||
foo\(bar\)\@! any "foo" not followed by "bar"
|
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
|
\@<= 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.
|
Like "(?<=pattern)" in Perl, but Vim allows non-fixed-width patterns.
|
||||||
Example matches ~
|
Example matches ~
|
||||||
\(an\_s\+\)\@<=file "file" after "an" and white space or an
|
\(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
|
\@<! 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
|
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
|
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.
|
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
|
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.
|
with what follows, thus an atom that ends in ".*" will work.
|
||||||
@@ -765,7 +771,7 @@ overview.
|
|||||||
slow.
|
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.
|
Like "(?>pattern)" in Perl.
|
||||||
Example matches ~
|
Example matches ~
|
||||||
\(a*\)\@>a nothing (the "a*" takes all the "a"'s, there can't be
|
\(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}
|
/\(.\{-}\zsFab\)\{3}
|
||||||
< Finds the third occurrence of "Fab".
|
< Finds the third occurrence of "Fab".
|
||||||
This cannot be followed by a multi. *E888*
|
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*
|
||||||
\ze Matches at any position, and sets the end of the match there: The
|
\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|
|
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
|
Example: "end\ze\(if\|for\)" matches the "end" in "endif" and
|
||||||
"endfor".
|
"endfor".
|
||||||
This cannot be followed by a multi. |E888|
|
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*
|
*/\%^* *start-of-file*
|
||||||
\%^ Matches start of the file. When matching with a string, matches the
|
\%^ 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: >
|
For example, to find the first "VIM" in a file: >
|
||||||
/\%^\_.\{-}\zsVIM
|
/\%^\_.\{-}\zsVIM
|
||||||
<
|
<
|
||||||
*/\%$* *end-of-file*
|
*/\%$* *end-of-file*
|
||||||
\%$ Matches end of the file. When matching with a string, matches the
|
\%$ 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: >
|
Note that this does NOT find the last "VIM" in a file: >
|
||||||
/VIM\_.\{-}\%$
|
/VIM\_.\{-}\%$
|
||||||
< It will find the next VIM, because the part after it will always
|
< 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*
|
*/\%#* *cursor-position*
|
||||||
\%# Matches with the cursor position. Only works when matching in a
|
\%# 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
|
WARNING: When the cursor is moved after the pattern was used, the
|
||||||
result becomes invalid. Vim doesn't automatically update the matches.
|
result becomes invalid. Vim doesn't automatically update the matches.
|
||||||
This is especially relevant for syntax highlighting and 'hlsearch'.
|
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
|
< 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
|
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.
|
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
|
WARNING: When the mark is moved after the pattern was used, the result
|
||||||
becomes invalid. Vim doesn't automatically update the matches.
|
becomes invalid. Vim doesn't automatically update the matches.
|
||||||
Similar to moving the cursor for "\%#" |/\%#|.
|
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 above a specific line (lower line number).
|
||||||
\%>23l Matches below a specific line (higher 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"
|
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
|
WARNING: When inserting or deleting lines Vim does not automatically
|
||||||
update the matches. This means Syntax highlighting quickly becomes
|
update the matches. This means Syntax highlighting quickly becomes
|
||||||
wrong.
|
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
|
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.
|
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
|
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
|
WARNING: When inserting or deleting text Vim does not automatically
|
||||||
update the matches. This means Syntax highlighting quickly becomes
|
update the matches. This means Syntax highlighting quickly becomes
|
||||||
wrong.
|
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.
|
The "23" can be any column number. The first column is 1.
|
||||||
Note that some virtual column positions will never match, because they
|
Note that some virtual column positions will never match, because they
|
||||||
are halfway through a tab or other character that occupies more than
|
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
|
WARNING: When inserting or deleting text Vim does not automatically
|
||||||
update highlighted matches. This means Syntax highlighting quickly
|
update highlighted matches. This means Syntax highlighting quickly
|
||||||
becomes wrong.
|
becomes wrong.
|
||||||
@@ -979,7 +984,7 @@ $ At end of pattern or in front of "\|", "\)" or "\n" ('magic' on):
|
|||||||
where ".*" matches zero characters.
|
where ".*" matches zero characters.
|
||||||
<
|
<
|
||||||
|
|
||||||
Character classes: {not in Vi}
|
Character classes:
|
||||||
\i identifier character (see 'isident' option) */\i*
|
\i identifier character (see 'isident' option) */\i*
|
||||||
\I like "\i", but excluding digits */\I*
|
\I like "\i", but excluding digits */\I*
|
||||||
\k keyword character (see 'iskeyword' option) */\k*
|
\k keyword character (see 'iskeyword' option) */\k*
|
||||||
@@ -1039,7 +1044,7 @@ match ASCII characters, as indicated by the range.
|
|||||||
*E51* *E54* *E55* *E872* *E873*
|
*E51* *E54* *E55* *E872* *E873*
|
||||||
|
|
||||||
\1 Matches the same string that was matched by */\1* *E65*
|
\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.
|
Example: "\([a-z]\).\1" matches "ata", "ehe", "tot", etc.
|
||||||
\2 Like "\1", but uses second sub-expression, */\2*
|
\2 Like "\1", but uses second sub-expression, */\2*
|
||||||
... */\3*
|
... */\3*
|
||||||
@@ -1051,7 +1056,6 @@ match ASCII characters, as indicated by the range.
|
|||||||
\%(\) A pattern enclosed by escaped parentheses. */\%(\)* */\%(* *E53*
|
\%(\) A pattern enclosed by escaped parentheses. */\%(\)* */\%(* *E53*
|
||||||
Just like \(\), but without counting it as a sub-expression. This
|
Just like \(\), but without counting it as a sub-expression. This
|
||||||
allows using more groups and it's a little bit faster.
|
allows using more groups and it's a little bit faster.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
x A single character, with no special meaning, matches itself
|
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
|
*[:tab:]* [:tab:] the <Tab> character
|
||||||
*[:escape:]* [:escape:] the <Esc> character
|
*[:escape:]* [:escape:] the <Esc> character
|
||||||
*[:backspace:]* [:backspace:] the <BS> 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
|
The brackets in character class expressions are additional to the
|
||||||
brackets delimiting a collection. For example, the following is a
|
brackets delimiting a collection. For example, the following is a
|
||||||
plausible pattern for a UNIX filename: "[-./[:alnum:]_~]\+" That is,
|
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
|
The "Func" column shows what library function is used. The
|
||||||
implementation depends on the system. Otherwise:
|
implementation depends on the system. Otherwise:
|
||||||
(1) Uses islower() for ASCII and Vim builtin rules for other
|
(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
|
(2) Uses Vim builtin rules
|
||||||
(3) As with (1) but using isupper()
|
(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\\]".
|
backslash before it: "[xyz\]]", "[\^xyz]", "[xy\-z]" and "[xyz\\]".
|
||||||
(Note: POSIX does not support the use of a backslash this way). For
|
(Note: POSIX does not support the use of a backslash this way). For
|
||||||
']' you can also make it the first character (following a possible
|
']' 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]",
|
For '-' you can also make it the first or last character: "[-xyz]",
|
||||||
"[^-xyz]" or "[xyz-]". For '\' you can also let it be followed by
|
"[^-xyz]" or "[xyz-]". For '\' you can also let it be followed by
|
||||||
any character that's not in "^]-\bdertnoUux". "[\xyz]" matches '\',
|
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
|
- Omitting the trailing ] is not considered an error. "[]" works like
|
||||||
"[]]", it matches the ']' character.
|
"[]]", it matches the ']' character.
|
||||||
- The following translations are accepted when the 'l' flag is not
|
- The following translations are accepted when the 'l' flag is not
|
||||||
included in 'cpoptions' {not in Vi}:
|
included in 'cpoptions':
|
||||||
\e <Esc>
|
\e <Esc>
|
||||||
\t <Tab>
|
\t <Tab>
|
||||||
\r <CR> (NOT end-of-line!)
|
\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
|
\%u20AC Matches the character specified with up to four hexadecimal
|
||||||
characters.
|
characters.
|
||||||
\%U1234abcd Matches the character specified with up to eight hexadecimal
|
\%U1234abcd Matches the character specified with up to eight hexadecimal
|
||||||
characters.
|
characters, up to 0x7fffffff
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
7. Ignoring case in a pattern */ignorecase*
|
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
|
"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
|
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>
|
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*
|
*CR-used-for-NL*
|
||||||
When 'fileformat' is "mac", <NL> characters in the file are stored as <CR>
|
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
|
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: >
|
You can avoid loading this plugin by setting the "loaded_gzip" variable: >
|
||||||
:let loaded_gzip = 1
|
:let loaded_gzip = 1
|
||||||
|
|
||||||
{Vi does not have any of this}
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
1. Autocommands *gzip-autocmd*
|
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
|
NETRW REFERENCE MANUAL by Charles E. Campbell
|
||||||
@@ -114,8 +114,6 @@ Copyright: Copyright (C) 2017 Charles E Campbell *netrw-copyright*
|
|||||||
13. Todo..................................................|netrw-todo|
|
13. Todo..................................................|netrw-todo|
|
||||||
14. Credits...............................................|netrw-credits|
|
14. Credits...............................................|netrw-credits|
|
||||||
|
|
||||||
{Vi does not have any of this}
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
2. Starting With Netrw *netrw-start* {{{1
|
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..."
|
- Click "Add..."
|
||||||
- Set External Editor (adjust path as needed, include
|
- Set External Editor (adjust path as needed, include
|
||||||
the quotes and !.! at the end):
|
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
|
- Check that the filetype in the box below is
|
||||||
{asterisk}.{asterisk} (all files), or whatever types
|
{asterisk}.{asterisk} (all files), or whatever types
|
||||||
you want (cec: change {asterisk} to * ; I had to
|
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:
|
The <netrw.vim> script is typically installed on systems as something like:
|
||||||
>
|
>
|
||||||
/usr/local/share/vim/vim7x/plugin/netrwPlugin.vim
|
/usr/local/share/vim/vim8x/plugin/netrwPlugin.vim
|
||||||
/usr/local/share/vim/vim7x/autoload/netrw.vim
|
/usr/local/share/vim/vim8x/autoload/netrw.vim
|
||||||
(see output of :echo &rtp)
|
(see output of :echo &rtp)
|
||||||
<
|
<
|
||||||
which is loaded automatically at startup (assuming :set nocp). If you
|
which is loaded automatically at startup (assuming :set nocp). If you
|
||||||
|
|||||||
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:
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
*print.txt* For Vim version 8.1. Last change: 2010 Jul 20
|
*print.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -15,7 +15,6 @@ Printing *printing*
|
|||||||
7. PostScript Utilities |postscript-print-util|
|
7. PostScript Utilities |postscript-print-util|
|
||||||
8. Formfeed Characters |printing-formfeed|
|
8. Formfeed Characters |printing-formfeed|
|
||||||
|
|
||||||
{Vi has None of this}
|
|
||||||
{only available when compiled with the |+printer| feature}
|
{only available when compiled with the |+printer| feature}
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
@@ -111,10 +110,9 @@ not recognized by Vim will just be converted to lower case and underscores
|
|||||||
replaced with '-' signs.
|
replaced with '-' signs.
|
||||||
|
|
||||||
If 'printencoding' is empty or Vim cannot find the file then it will use
|
If 'printencoding' is empty or Vim cannot find the file then it will use
|
||||||
'encoding' (if Vim is compiled with |+multi_byte| and it is set an 8-bit
|
'encoding' (if it is set an 8-bit encoding) to find the print character
|
||||||
encoding) to find the print character encoding file. If Vim is unable to find
|
encoding file. If Vim is unable to find a character encoding file then it
|
||||||
a character encoding file then it will use the "latin1" print character
|
will use the "latin1" print character encoding file.
|
||||||
encoding file.
|
|
||||||
|
|
||||||
When 'encoding' is set to a multi-byte encoding, Vim will try to convert
|
When 'encoding' is set to a multi-byte encoding, Vim will try to convert
|
||||||
characters to the printing encoding for printing (if 'printencoding' is empty
|
characters to the printing encoding for printing (if 'printencoding' is empty
|
||||||
@@ -255,9 +253,9 @@ possible. The following tables show the valid combinations:
|
|||||||
Japanese JIS_C_1978 x x
|
Japanese JIS_C_1978 x x
|
||||||
JIS_X_1983 x x
|
JIS_X_1983 x x
|
||||||
JIS_X_1990 x x x
|
JIS_X_1990 x x x
|
||||||
MSWINDOWS x
|
MSWINDOWS x
|
||||||
KANJITALK6 x
|
KANJITALK6 x
|
||||||
KANJITALK7 x
|
KANJITALK7 x
|
||||||
|
|
||||||
euc-kr cp949 ucs-2 utf-8 ~
|
euc-kr cp949 ucs-2 utf-8 ~
|
||||||
Korean KS_X_1992 x
|
Korean KS_X_1992 x
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*quickfix.txt* For Vim version 8.1. Last change: 2018 Dec 27
|
*quickfix.txt* For Vim version 8.1. Last change: 2019 May 05
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -16,8 +16,6 @@ This subject is introduced in section |30.1| of the user manual.
|
|||||||
8. The directory stack |quickfix-directory-stack|
|
8. The directory stack |quickfix-directory-stack|
|
||||||
9. Specific error file formats |errorformats|
|
9. Specific error file formats |errorformats|
|
||||||
|
|
||||||
{Vi does not have any of these commands}
|
|
||||||
|
|
||||||
The quickfix commands are not available when the |+quickfix| feature was
|
The quickfix commands are not available when the |+quickfix| feature was
|
||||||
disabled at compile time.
|
disabled at compile time.
|
||||||
|
|
||||||
@@ -56,6 +54,7 @@ A location list is a window-local quickfix list. You get one after commands
|
|||||||
like `:lvimgrep`, `:lgrep`, `:lhelpgrep`, `:lmake`, etc., which create a
|
like `:lvimgrep`, `:lgrep`, `:lhelpgrep`, `:lmake`, etc., which create a
|
||||||
location list instead of a quickfix list as the corresponding `:vimgrep`,
|
location list instead of a quickfix list as the corresponding `:vimgrep`,
|
||||||
`:grep`, `:helpgrep`, `:make` do.
|
`:grep`, `:helpgrep`, `:make` do.
|
||||||
|
*location-list-file-window*
|
||||||
A location list is associated with a window and each window can have a
|
A location list is associated with a window and each window can have a
|
||||||
separate location list. A location list can be associated with only one
|
separate location list. A location list can be associated with only one
|
||||||
window. The location list is independent of the quickfix list.
|
window. The location list is independent of the quickfix list.
|
||||||
@@ -86,7 +85,7 @@ processing a quickfix or location list command, it will be aborted.
|
|||||||
|
|
||||||
*:cc*
|
*:cc*
|
||||||
:cc[!] [nr] Display error [nr]. If [nr] is omitted, the same
|
:cc[!] [nr] Display error [nr]. If [nr] is omitted, the same
|
||||||
error is displayed again. Without [!] this doesn't
|
:[nr]cc[!] error is displayed again. Without [!] this doesn't
|
||||||
work when jumping to another buffer, the current buffer
|
work when jumping to another buffer, the current buffer
|
||||||
has been changed, there is the only window for the
|
has been changed, there is the only window for the
|
||||||
buffer and both 'hidden' and 'autowrite' are off.
|
buffer and both 'hidden' and 'autowrite' are off.
|
||||||
@@ -95,10 +94,13 @@ processing a quickfix or location list command, it will be aborted.
|
|||||||
there is another window for this buffer.
|
there is another window for this buffer.
|
||||||
The 'switchbuf' settings are respected when jumping
|
The 'switchbuf' settings are respected when jumping
|
||||||
to a buffer.
|
to a buffer.
|
||||||
|
When used in the quickfix window the line number can
|
||||||
|
be used, including "." for the current line and "$"
|
||||||
|
for the last line.
|
||||||
|
|
||||||
*:ll*
|
*:ll*
|
||||||
:ll[!] [nr] Same as ":cc", except the location list for the
|
:ll[!] [nr] Same as ":cc", except the location list for the
|
||||||
current window is used instead of the quickfix list.
|
:[nr]ll[!] current window is used instead of the quickfix list.
|
||||||
|
|
||||||
*:cn* *:cnext* *E553*
|
*:cn* *:cnext* *E553*
|
||||||
:[count]cn[ext][!] Display the [count] next error in the list that
|
:[count]cn[ext][!] Display the [count] next error in the list that
|
||||||
@@ -110,18 +112,76 @@ processing a quickfix or location list command, it will be aborted.
|
|||||||
:[count]lne[xt][!] Same as ":cnext", except the location list for the
|
:[count]lne[xt][!] Same as ":cnext", except the location list for the
|
||||||
current window is used instead of the quickfix list.
|
current window is used instead of the quickfix list.
|
||||||
|
|
||||||
:[count]cN[ext][!] *:cp* *:cprevious* *:cN* *:cNext*
|
:[count]cN[ext][!] *:cp* *:cprevious* *:cprev* *:cN* *:cNext*
|
||||||
:[count]cp[revious][!] Display the [count] previous error in the list that
|
:[count]cp[revious][!] Display the [count] previous error in the list that
|
||||||
includes a file name. If there are no file names at
|
includes a file name. If there are no file names at
|
||||||
all, go to the [count] previous error. See |:cc| for
|
all, go to the [count] previous error. See |:cc| for
|
||||||
[!] and 'switchbuf'.
|
[!] and 'switchbuf'.
|
||||||
|
|
||||||
|
|
||||||
:[count]lN[ext][!] *:lp* *:lprevious* *:lN* *:lNext*
|
:[count]lN[ext][!] *:lp* *:lprevious* *:lprev* *:lN* *:lNext*
|
||||||
:[count]lp[revious][!] Same as ":cNext" and ":cprevious", except the location
|
:[count]lp[revious][!] Same as ":cNext" and ":cprevious", except the location
|
||||||
list for the current window is used instead of the
|
list for the current window is used instead of the
|
||||||
quickfix list.
|
quickfix list.
|
||||||
|
|
||||||
|
*:cabo* *:cabove*
|
||||||
|
:[count]cabo[ve] Go to the [count] error above the current line in the
|
||||||
|
current buffer. If [count] is omitted, then 1 is
|
||||||
|
used. If there are no errors, then an error message
|
||||||
|
is displayed. Assumes that the entries in a quickfix
|
||||||
|
list are sorted by their buffer number and line
|
||||||
|
number. If there are multiple errors on the same line,
|
||||||
|
then only the first entry is used. If [count] exceeds
|
||||||
|
the number of entries above the current line, then the
|
||||||
|
first error in the file is selected.
|
||||||
|
|
||||||
|
*:lab* *:labove*
|
||||||
|
:[count]lab[ove] Same as ":cabove", except the location list for the
|
||||||
|
current window is used instead of the quickfix list.
|
||||||
|
|
||||||
|
*:cbel* *:cbelow*
|
||||||
|
:[count]cbel[ow] Go to the [count] error below the current line in the
|
||||||
|
current buffer. If [count] is omitted, then 1 is
|
||||||
|
used. If there are no errors, then an error message
|
||||||
|
is displayed. Assumes that the entries in a quickfix
|
||||||
|
list are sorted by their buffer number and line
|
||||||
|
number. If there are multiple errors on the same
|
||||||
|
line, then only the first entry is used. If [count]
|
||||||
|
exceeds the number of entries below the current line,
|
||||||
|
then the last error in the file is selected.
|
||||||
|
|
||||||
|
*:lbel* *:lbelow*
|
||||||
|
:[count]lbel[ow] Same as ":cbelow", except the location list for the
|
||||||
|
current window is used instead of the quickfix list.
|
||||||
|
|
||||||
|
*:cbe* *:cbefore*
|
||||||
|
:[count]cbe[fore] Go to the [count] error before the current cursor
|
||||||
|
position in the current buffer. If [count] is
|
||||||
|
omitted, then 1 is used. If there are no errors, then
|
||||||
|
an error message is displayed. Assumes that the
|
||||||
|
entries in a quickfix list are sorted by their buffer,
|
||||||
|
line and column numbers. If [count] exceeds the
|
||||||
|
number of entries before the current position, then
|
||||||
|
the first error in the file is selected.
|
||||||
|
|
||||||
|
*:lbe* *:lbefore*
|
||||||
|
:[count]lbe[fore] Same as ":cbefore", except the location list for the
|
||||||
|
current window is used instead of the quickfix list.
|
||||||
|
|
||||||
|
*:caf* *:cafter*
|
||||||
|
:[count]caf[ter] Go to the [count] error after the current cursor
|
||||||
|
position in the current buffer. If [count] is
|
||||||
|
omitted, then 1 is used. If there are no errors, then
|
||||||
|
an error message is displayed. Assumes that the
|
||||||
|
entries in a quickfix list are sorted by their buffer,
|
||||||
|
line and column numbers. If [count] exceeds the
|
||||||
|
number of entries after the current position, then
|
||||||
|
the last error in the file is selected.
|
||||||
|
|
||||||
|
*:laf* *:lafter*
|
||||||
|
:[count]laf[ter] Same as ":cafter", except the location list for the
|
||||||
|
current window is used instead of the quickfix list.
|
||||||
|
|
||||||
*:cnf* *:cnfile*
|
*:cnf* *:cnfile*
|
||||||
:[count]cnf[ile][!] Display the first error in the [count] next file in
|
:[count]cnf[ile][!] Display the first error in the [count] next file in
|
||||||
the list that includes a file name. If there are no
|
the list that includes a file name. If there are no
|
||||||
@@ -363,6 +423,23 @@ modify the title of a quickfix and location list respectively. Examples: >
|
|||||||
echo getqflist({'title' : 1})
|
echo getqflist({'title' : 1})
|
||||||
call setloclist(3, [], 'a', {'title' : 'Cmd output'})
|
call setloclist(3, [], 'a', {'title' : 'Cmd output'})
|
||||||
echo getloclist(3, {'title' : 1})
|
echo getloclist(3, {'title' : 1})
|
||||||
|
<
|
||||||
|
*quickfix-index*
|
||||||
|
When you jump to a quickfix/location list entry using any of the quickfix
|
||||||
|
commands (e.g. |:cc|, |:cnext|, |:cprev|, etc.), that entry becomes the
|
||||||
|
currently selected entry. The index of the currently selected entry in a
|
||||||
|
quickfix/location list can be obtained using the getqflist()/getloclist()
|
||||||
|
functions. Examples: >
|
||||||
|
echo getqflist({'idx' : 0}).idx
|
||||||
|
echo getqflist({'id' : qfid, 'idx' : 0}).idx
|
||||||
|
echo getloclist(2, {'idx' : 0}).idx
|
||||||
|
<
|
||||||
|
For a new quickfix list, the first entry is selected and the index is 1. Any
|
||||||
|
entry in any quickfix/location list can be set as the currently selected entry
|
||||||
|
using the setqflist() function. Examples: >
|
||||||
|
call setqflist([], 'a', {'idx' : 12})
|
||||||
|
call setqflist([], 'a', {'id' : qfid, 'idx' : 7})
|
||||||
|
call setloclist(1, [], 'a', {'idx' : 7})
|
||||||
<
|
<
|
||||||
*quickfix-size*
|
*quickfix-size*
|
||||||
You can get the number of entries (size) in a quickfix and a location list
|
You can get the number of entries (size) in a quickfix and a location list
|
||||||
@@ -423,7 +500,6 @@ EXECUTE A COMMAND IN ALL THE BUFFERS IN QUICKFIX OR LOCATION LIST:
|
|||||||
autocommand event is disabled by adding it to
|
autocommand event is disabled by adding it to
|
||||||
'eventignore'. This considerably speeds up editing
|
'eventignore'. This considerably speeds up editing
|
||||||
each buffer.
|
each buffer.
|
||||||
{not in Vi}
|
|
||||||
Also see |:bufdo|, |:tabdo|, |:argdo|, |:windo|,
|
Also see |:bufdo|, |:tabdo|, |:argdo|, |:windo|,
|
||||||
|:ldo|, |:cfdo| and |:lfdo|.
|
|:ldo|, |:cfdo| and |:lfdo|.
|
||||||
|
|
||||||
@@ -436,7 +512,6 @@ EXECUTE A COMMAND IN ALL THE BUFFERS IN QUICKFIX OR LOCATION LIST:
|
|||||||
:{cmd}
|
:{cmd}
|
||||||
etc.
|
etc.
|
||||||
< Otherwise it works the same as `:cdo`.
|
< Otherwise it works the same as `:cdo`.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*:ldo*
|
*:ldo*
|
||||||
:ld[o][!] {cmd} Execute {cmd} in each valid entry in the location list
|
:ld[o][!] {cmd} Execute {cmd} in each valid entry in the location list
|
||||||
@@ -449,7 +524,6 @@ EXECUTE A COMMAND IN ALL THE BUFFERS IN QUICKFIX OR LOCATION LIST:
|
|||||||
etc.
|
etc.
|
||||||
< Only valid entries in the location list are used.
|
< Only valid entries in the location list are used.
|
||||||
Otherwise it works the same as `:cdo`.
|
Otherwise it works the same as `:cdo`.
|
||||||
{not in Vi}
|
|
||||||
|
|
||||||
*:lfdo*
|
*:lfdo*
|
||||||
:lfdo[!] {cmd} Execute {cmd} in each file in the location list for
|
:lfdo[!] {cmd} Execute {cmd} in each file in the location list for
|
||||||
@@ -461,7 +535,29 @@ EXECUTE A COMMAND IN ALL THE BUFFERS IN QUICKFIX OR LOCATION LIST:
|
|||||||
:{cmd}
|
:{cmd}
|
||||||
etc.
|
etc.
|
||||||
< Otherwise it works the same as `:ldo`.
|
< Otherwise it works the same as `:ldo`.
|
||||||
{not in Vi}
|
|
||||||
|
FILTERING A QUICKFIX OR LOCATION LIST:
|
||||||
|
*cfilter-plugin* *:Cfilter* *:Lfilter*
|
||||||
|
If you have too many entries in a quickfix list, you can use the cfilter
|
||||||
|
plugin to reduce the number of entries. Load the plugin with: >
|
||||||
|
|
||||||
|
packadd cfilter
|
||||||
|
|
||||||
|
Then you can use the following commands to filter a quickfix/location list: >
|
||||||
|
|
||||||
|
:Cfilter[!] /{pat}/
|
||||||
|
:Lfilter[!] /{pat}/
|
||||||
|
|
||||||
|
The |:Cfilter| command creates a new quickfix list from the entries matching
|
||||||
|
{pat} in the current quickfix list. {pat} is a Vim |regular-expression|
|
||||||
|
pattern. Both the file name and the text of the entries are matched against
|
||||||
|
{pat}. If the optional ! is supplied, then the entries not matching {pat} are
|
||||||
|
used. The pattern can be optionally enclosed using one of the following
|
||||||
|
characters: ', ", /. If the pattern is empty, then the last used search
|
||||||
|
pattern is used.
|
||||||
|
|
||||||
|
The |:Lfilter| command does the same as |:Cfilter| but operates on the current
|
||||||
|
location list.
|
||||||
|
|
||||||
=============================================================================
|
=============================================================================
|
||||||
2. The error window *quickfix-window*
|
2. The error window *quickfix-window*
|
||||||
@@ -478,6 +574,7 @@ EXECUTE A COMMAND IN ALL THE BUFFERS IN QUICKFIX OR LOCATION LIST:
|
|||||||
second quickfix window. If [height] is given the
|
second quickfix window. If [height] is given the
|
||||||
existing window will be resized to it.
|
existing window will be resized to it.
|
||||||
|
|
||||||
|
*quickfix-buffer*
|
||||||
The window will contain a special buffer, with
|
The window will contain a special buffer, with
|
||||||
'buftype' equal to "quickfix". Don't change this!
|
'buftype' equal to "quickfix". Don't change this!
|
||||||
The window will have the w:quickfix_title variable set
|
The window will have the w:quickfix_title variable set
|
||||||
@@ -486,7 +583,11 @@ EXECUTE A COMMAND IN ALL THE BUFFERS IN QUICKFIX OR LOCATION LIST:
|
|||||||
status line if the value of 'statusline' is adjusted
|
status line if the value of 'statusline' is adjusted
|
||||||
properly. Whenever this buffer is modified by a
|
properly. Whenever this buffer is modified by a
|
||||||
quickfix command or function, the |b:changedtick|
|
quickfix command or function, the |b:changedtick|
|
||||||
variable is incremented.
|
variable is incremented. You can get the number of
|
||||||
|
this buffer using the getqflist() and getloclist()
|
||||||
|
functions by passing the 'qfbufnr' item. For a
|
||||||
|
location list, this buffer is wiped out when the
|
||||||
|
location list is removed.
|
||||||
|
|
||||||
*:lop* *:lopen*
|
*:lop* *:lopen*
|
||||||
:lop[en] [height] Open a window to show the location list for the
|
:lop[en] [height] Open a window to show the location list for the
|
||||||
@@ -652,11 +753,20 @@ using these functions are below:
|
|||||||
" get the quickfix list window id
|
" get the quickfix list window id
|
||||||
:echo getqflist({'winid' : 0}).winid
|
:echo getqflist({'winid' : 0}).winid
|
||||||
|
|
||||||
|
" get the quickfix list window buffer number
|
||||||
|
:echo getqflist({'qfbufnr' : 0}).qfbufnr
|
||||||
|
|
||||||
" get the context of the current location list
|
" get the context of the current location list
|
||||||
:echo getloclist(0, {'context' : 0}).context
|
:echo getloclist(0, {'context' : 0}).context
|
||||||
|
|
||||||
" get the location list window id of the third window
|
" get the location list window id of the third window
|
||||||
:echo getloclist(3, {'winid' : 0}).winid
|
:echo getloclist(3, {'winid' : 0}).winid
|
||||||
|
|
||||||
|
" get the location list window buffer number of the third window
|
||||||
|
:echo getloclist(3, {'qfbufnr' : 0}).qfbufnr
|
||||||
|
|
||||||
|
" get the file window id of a location list window (winnr: 4)
|
||||||
|
:echo getloclist(4, {'filewinid' : 0}).filewinid
|
||||||
<
|
<
|
||||||
*setqflist-examples*
|
*setqflist-examples*
|
||||||
The |setqflist()| and |setloclist()| functions can be used to set the various
|
The |setqflist()| and |setloclist()| functions can be used to set the various
|
||||||
@@ -671,6 +781,9 @@ using these functions are below:
|
|||||||
" set the title of the current quickfix list
|
" set the title of the current quickfix list
|
||||||
:call setqflist([], 'a', {'title' : 'Mytitle'})
|
:call setqflist([], 'a', {'title' : 'Mytitle'})
|
||||||
|
|
||||||
|
" change the current entry in the list specified by an identifier
|
||||||
|
:call setqflist([], 'a', {'id' : qfid, 'idx' : 10})
|
||||||
|
|
||||||
" set the context of a quickfix list specified by an identifier
|
" set the context of a quickfix list specified by an identifier
|
||||||
:call setqflist([], 'a', {'id' : qfid, 'context' : {'val' : 100}})
|
:call setqflist([], 'a', {'id' : qfid, 'context' : {'val' : 100}})
|
||||||
|
|
||||||
@@ -732,14 +845,19 @@ lists. They set one of the existing error lists as the current one.
|
|||||||
the current window instead of the quickfix list.
|
the current window instead of the quickfix list.
|
||||||
|
|
||||||
*:chistory* *:chi*
|
*:chistory* *:chi*
|
||||||
:chi[story] Show the list of error lists. The current list is
|
:[count]chi[story] Show the list of error lists. The current list is
|
||||||
marked with ">". The output looks like:
|
marked with ">". The output looks like:
|
||||||
error list 1 of 3; 43 errors ~
|
error list 1 of 3; 43 errors ~
|
||||||
> error list 2 of 3; 0 errors ~
|
> error list 2 of 3; 0 errors ~
|
||||||
error list 3 of 3; 15 errors ~
|
error list 3 of 3; 15 errors ~
|
||||||
|
|
||||||
|
When [count] is given, then the count'th quickfix
|
||||||
|
list is made the current list. Example: >
|
||||||
|
" Make the 4th quickfix list current
|
||||||
|
:4chistory
|
||||||
|
<
|
||||||
*:lhistory* *:lhi*
|
*:lhistory* *:lhi*
|
||||||
:lhi[story] Show the list of location lists, otherwise like
|
:[count]lhi[story] Show the list of location lists, otherwise like
|
||||||
`:chistory`.
|
`:chistory`.
|
||||||
|
|
||||||
When adding a new error list, it becomes the current list.
|
When adding a new error list, it becomes the current list.
|
||||||
@@ -1551,22 +1669,6 @@ The backslashes before the pipe character are required to avoid it to be
|
|||||||
recognized as a command separator. The backslash before each space is
|
recognized as a command separator. The backslash before each space is
|
||||||
required for the set command.
|
required for the set command.
|
||||||
|
|
||||||
*cfilter-plugin* *:Cfilter* *:Lfilter*
|
|
||||||
If you have too many matching messages, you can use the cfilter plugin to
|
|
||||||
reduce the number of entries. Load the plugin with: >
|
|
||||||
packadd cfilter
|
|
||||||
|
|
||||||
Then you can use these command: >
|
|
||||||
:Cfilter[!] /{pat}/
|
|
||||||
:Lfilter[!] /{pat}/
|
|
||||||
|
|
||||||
:Cfilter creates a new quickfix list from entries matching {pat} in the
|
|
||||||
current quickfix list. Both the file name and the text of the entries are
|
|
||||||
matched against {pat}. If ! is supplied, then entries not matching {pat} are
|
|
||||||
used.
|
|
||||||
|
|
||||||
:Lfilter does the same as :Cfilter but operates on the current location list.
|
|
||||||
|
|
||||||
=============================================================================
|
=============================================================================
|
||||||
8. The directory stack *quickfix-directory-stack*
|
8. The directory stack *quickfix-directory-stack*
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*quickref.txt* For Vim version 8.1. Last change: 2018 Apr 18
|
*quickref.txt* For Vim version 8.1. Last change: 2019 Apr 28
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -600,7 +600,7 @@ In Insert or Command-line mode:
|
|||||||
Short explanation of each option: *option-list*
|
Short explanation of each option: *option-list*
|
||||||
'aleph' 'al' ASCII code of the letter Aleph (Hebrew)
|
'aleph' 'al' ASCII code of the letter Aleph (Hebrew)
|
||||||
'allowrevins' 'ari' allow CTRL-_ in Insert and Command-line mode
|
'allowrevins' 'ari' allow CTRL-_ in Insert and Command-line mode
|
||||||
'altkeymap' 'akm' for default second language (Farsi/Hebrew)
|
'altkeymap' 'akm' obsolete option for Farsi
|
||||||
'ambiwidth' 'ambw' what to do with Unicode chars of ambiguous width
|
'ambiwidth' 'ambw' what to do with Unicode chars of ambiguous width
|
||||||
'antialias' 'anti' Mac OS X: use smooth, antialiased fonts
|
'antialias' 'anti' Mac OS X: use smooth, antialiased fonts
|
||||||
'autochdir' 'acd' change directory to the file in the current window
|
'autochdir' 'acd' change directory to the file in the current window
|
||||||
@@ -700,7 +700,7 @@ Short explanation of each option: *option-list*
|
|||||||
'filetype' 'ft' type of file, used for autocommands
|
'filetype' 'ft' type of file, used for autocommands
|
||||||
'fillchars' 'fcs' characters to use for displaying special items
|
'fillchars' 'fcs' characters to use for displaying special items
|
||||||
'fixendofline' 'fixeol' make sure last line in file has <EOL>
|
'fixendofline' 'fixeol' make sure last line in file has <EOL>
|
||||||
'fkmap' 'fk' Farsi keyboard mapping
|
'fkmap' 'fk' obsolete option for Farsi
|
||||||
'foldclose' 'fcl' close a fold when the cursor leaves it
|
'foldclose' 'fcl' close a fold when the cursor leaves it
|
||||||
'foldcolumn' 'fdc' width of the column used to indicate folds
|
'foldcolumn' 'fdc' width of the column used to indicate folds
|
||||||
'foldenable' 'fen' set to display all folds open
|
'foldenable' 'fen' set to display all folds open
|
||||||
@@ -769,6 +769,7 @@ Short explanation of each option: *option-list*
|
|||||||
'keywordprg' 'kp' program to use for the "K" command
|
'keywordprg' 'kp' program to use for the "K" command
|
||||||
'langmap' 'lmap' alphabetic characters for other language mode
|
'langmap' 'lmap' alphabetic characters for other language mode
|
||||||
'langmenu' 'lm' language to be used for the menus
|
'langmenu' 'lm' language to be used for the menus
|
||||||
|
'langnoremap' 'lnr' do not apply 'langmap' to mapped characters
|
||||||
'langremap' 'lrm' do apply 'langmap' to mapped characters
|
'langremap' 'lrm' do apply 'langmap' to mapped characters
|
||||||
'laststatus' 'ls' tells when last window has status lines
|
'laststatus' 'ls' tells when last window has status lines
|
||||||
'lazyredraw' 'lz' don't redraw while executing macros
|
'lazyredraw' 'lz' don't redraw while executing macros
|
||||||
@@ -781,8 +782,6 @@ Short explanation of each option: *option-list*
|
|||||||
'listchars' 'lcs' characters for displaying in list mode
|
'listchars' 'lcs' characters for displaying in list mode
|
||||||
'loadplugins' 'lpl' load plugin scripts when starting up
|
'loadplugins' 'lpl' load plugin scripts when starting up
|
||||||
'luadll' name of the Lua dynamic library
|
'luadll' name of the Lua dynamic library
|
||||||
'mzschemedll' name of the MzScheme dynamic library
|
|
||||||
'mzschemegcdll' name of the MzScheme dynamic library for GC
|
|
||||||
'macatsui' Mac GUI: use ATSUI text drawing
|
'macatsui' Mac GUI: use ATSUI text drawing
|
||||||
'magic' changes special characters in search patterns
|
'magic' changes special characters in search patterns
|
||||||
'makeef' 'mef' name of the errorfile for ":make"
|
'makeef' 'mef' name of the errorfile for ":make"
|
||||||
@@ -810,6 +809,8 @@ Short explanation of each option: *option-list*
|
|||||||
'mouseshape' 'mouses' shape of the mouse pointer in different modes
|
'mouseshape' 'mouses' shape of the mouse pointer in different modes
|
||||||
'mousetime' 'mouset' max time between mouse double-click
|
'mousetime' 'mouset' max time between mouse double-click
|
||||||
'mzquantum' 'mzq' the interval between polls for MzScheme threads
|
'mzquantum' 'mzq' the interval between polls for MzScheme threads
|
||||||
|
'mzschemedll' name of the MzScheme dynamic library
|
||||||
|
'mzschemegcdll' name of the MzScheme dynamic library for GC
|
||||||
'nrformats' 'nf' number formats recognized for CTRL-A command
|
'nrformats' 'nf' number formats recognized for CTRL-A command
|
||||||
'number' 'nu' print the line number in front of each line
|
'number' 'nu' print the line number in front of each line
|
||||||
'numberwidth' 'nuw' number of columns used for the line number
|
'numberwidth' 'nuw' number of columns used for the line number
|
||||||
@@ -918,6 +919,7 @@ Short explanation of each option: *option-list*
|
|||||||
'tabstop' 'ts' number of spaces that <Tab> in file uses
|
'tabstop' 'ts' number of spaces that <Tab> in file uses
|
||||||
'tagbsearch' 'tbs' use binary searching in tags files
|
'tagbsearch' 'tbs' use binary searching in tags files
|
||||||
'tagcase' 'tc' how to handle case when searching in tags files
|
'tagcase' 'tc' how to handle case when searching in tags files
|
||||||
|
'tagfunc' 'tfu' function to get list of tag matches
|
||||||
'taglength' 'tl' number of significant characters for a tag
|
'taglength' 'tl' number of significant characters for a tag
|
||||||
'tagrelative' 'tr' file names in tag file are relative
|
'tagrelative' 'tr' file names in tag file are relative
|
||||||
'tags' 'tag' list of file names used by the tag command
|
'tags' 'tag' list of file names used by the tag command
|
||||||
@@ -930,6 +932,7 @@ Short explanation of each option: *option-list*
|
|||||||
'termwinkey' 'twk' key that precedes a Vim command in a terminal
|
'termwinkey' 'twk' key that precedes a Vim command in a terminal
|
||||||
'termwinscroll' 'twsl' max number of scrollback lines in a terminal window
|
'termwinscroll' 'twsl' max number of scrollback lines in a terminal window
|
||||||
'termwinsize' 'tws' size of a terminal window
|
'termwinsize' 'tws' size of a terminal window
|
||||||
|
'termwintype' 'twt' MS-Windows: type of pty to use for terminal window
|
||||||
'terse' shorten some messages
|
'terse' shorten some messages
|
||||||
'textauto' 'ta' obsolete, use 'fileformats'
|
'textauto' 'ta' obsolete, use 'fileformats'
|
||||||
'textmode' 'tx' obsolete, use 'fileformat'
|
'textmode' 'tx' obsolete, use 'fileformat'
|
||||||
|
|||||||