mirror of
https://github.com/zoriya/vim.git
synced 2025-12-12 18:26:16 +00:00
Compare commits
1008 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f57b43c230 | ||
|
|
8ac681a280 | ||
|
|
968a5b62ff | ||
|
|
affd0bc626 | ||
|
|
caf1a2f296 | ||
|
|
3b814af7e1 | ||
|
|
47f6db9089 | ||
|
|
1b0a9dd413 | ||
|
|
26d711645c | ||
|
|
b69c6fb7b4 | ||
|
|
90478f35a8 | ||
|
|
2d6d718dde | ||
|
|
5ffefbb35a | ||
|
|
2346a63784 | ||
|
|
4ee9d8e04d | ||
|
|
e70e12b32f | ||
|
|
2e66b0d137 | ||
|
|
c2dec4cac4 | ||
|
|
c3a27bbd53 | ||
|
|
6d1792d408 | ||
|
|
d9f31c13d2 | ||
|
|
e99d422bbd | ||
|
|
e6174fd58d | ||
|
|
4a27aefe3b | ||
|
|
a993153538 | ||
|
|
7423577180 | ||
|
|
6654ca702c | ||
|
|
0b71955552 | ||
|
|
5958549760 | ||
|
|
744aecf877 | ||
|
|
22db0d549f | ||
|
|
8de901e1f1 | ||
|
|
f0a4069e3d | ||
|
|
4f13527598 | ||
|
|
3044324e8d | ||
|
|
7b4f76c030 | ||
|
|
544a38e44d | ||
|
|
31e299c08f | ||
|
|
a42e6e0082 | ||
|
|
54656015d3 | ||
|
|
c04f2a4cd4 | ||
|
|
e3f50ad640 | ||
|
|
b55d618f19 | ||
|
|
a733042b12 | ||
|
|
445f11d5bc | ||
|
|
dc73b4b75d | ||
|
|
c41badb748 | ||
|
|
8cf02e5cf8 | ||
|
|
2f9c209ba0 | ||
|
|
f7a023e580 | ||
|
|
3a7503c34c | ||
|
|
f05d2fc539 | ||
|
|
e729ce294f | ||
|
|
6db7b6375a | ||
|
|
518df27ebe | ||
|
|
99285550a9 | ||
|
|
2067733b5c | ||
|
|
c64ed2b714 | ||
|
|
3cfa5b16b0 | ||
|
|
7a2217bedd | ||
|
|
f5bfa8faa7 | ||
|
|
2752360646 | ||
|
|
59b262362f | ||
|
|
1328bde9d4 | ||
|
|
c6d71532dd | ||
|
|
8da6d6db34 | ||
|
|
b288ba9f1d | ||
|
|
4f2417ffee | ||
|
|
84e9ade826 | ||
|
|
21492743e8 | ||
|
|
56cddb3879 | ||
|
|
5fa9b24440 | ||
|
|
6c4c404c58 | ||
|
|
24951a67c2 | ||
|
|
6e0b553fa1 | ||
|
|
4f3c57f798 | ||
|
|
5072b47a22 | ||
|
|
85eee5b969 | ||
|
|
0a808598e4 | ||
|
|
01c798c31a | ||
|
|
a83d06026d | ||
|
|
c3cb1c92a3 | ||
|
|
0f37e3561d | ||
|
|
a2e468fcac | ||
|
|
eecf2b35a1 | ||
|
|
eeec254878 | ||
|
|
b54abeeafb | ||
|
|
6f1d2aa437 | ||
|
|
6a43b37b76 | ||
|
|
3d9c4eefe6 | ||
|
|
bb162367ac | ||
|
|
2ac7184d34 | ||
|
|
ef8706fb84 | ||
|
|
2fa9384ca1 | ||
|
|
d2ea7cf10a | ||
|
|
6ef5ab5904 | ||
|
|
f883d9027c | ||
|
|
e71c0ebe2c | ||
|
|
0b49648486 | ||
|
|
e0a7658bc8 | ||
|
|
e5b4486c42 | ||
|
|
28cf44f761 | ||
|
|
a5787c3742 | ||
|
|
1d3a14ecf0 | ||
|
|
74ede80aeb | ||
|
|
a06e345af5 | ||
|
|
5a6cfb3ff2 | ||
|
|
3e72dcad8b | ||
|
|
1174b018a6 | ||
|
|
f89be8de14 | ||
|
|
3552e74289 | ||
|
|
d0edaf9dc2 | ||
|
|
dc3275a1ac | ||
|
|
4ac198c61c | ||
|
|
2c4a1d0a61 | ||
|
|
bc869874fe | ||
|
|
89dcb4dce3 | ||
|
|
543467136f | ||
|
|
840f91f110 | ||
|
|
c512599b22 | ||
|
|
7d840e9ac7 | ||
|
|
4c8e8c6e19 | ||
|
|
34fcb69724 | ||
|
|
872bee557e | ||
|
|
1e469c72ee | ||
|
|
e97c7c962c | ||
|
|
15bbb8f4f3 | ||
|
|
611728f806 | ||
|
|
ad5c178a19 | ||
|
|
f5409dbf66 | ||
|
|
b777da9be8 | ||
|
|
1e615669c0 | ||
|
|
23c0192166 | ||
|
|
5cf94577cf | ||
|
|
4eb1914e1b | ||
|
|
46aa6f93ac | ||
|
|
56c9fd0107 | ||
|
|
4781d6fd86 | ||
|
|
796139ae3a | ||
|
|
485b627100 | ||
|
|
cbe178e3dc | ||
|
|
082a3bf961 | ||
|
|
ecb664501d | ||
|
|
d87c21a918 | ||
|
|
074f84c01f | ||
|
|
965c04486c | ||
|
|
fc643e6016 | ||
|
|
3b1373b193 | ||
|
|
1764faa386 | ||
|
|
dcfc311198 | ||
|
|
6b02b38ed0 | ||
|
|
ff65288aa8 | ||
|
|
3ec3217f04 | ||
|
|
50157ef1c2 | ||
|
|
0820f4de58 | ||
|
|
30e3de21fc | ||
|
|
d832c3c56e | ||
|
|
761ead497f | ||
|
|
847fe7d750 | ||
|
|
71c6f7a665 | ||
|
|
36f96a5151 | ||
|
|
fe8ebdbe5c | ||
|
|
588cf7547b | ||
|
|
68db996b62 | ||
|
|
918b08957c | ||
|
|
24f720998f | ||
|
|
f06ab6ba38 | ||
|
|
f18332fb9e | ||
|
|
e08795e1ec | ||
|
|
261417b872 | ||
|
|
5631836975 | ||
|
|
e3e598e82b | ||
|
|
6d37e8e3ba | ||
|
|
b7c978154e | ||
|
|
dc3e2e65c9 | ||
|
|
5f7d4c049e | ||
|
|
3a00659db7 | ||
|
|
1ad72c8eb6 | ||
|
|
0279510444 | ||
|
|
ad43199572 | ||
|
|
df36514a64 | ||
|
|
97a6c6a1fb | ||
|
|
5f8ed7408a | ||
|
|
551c1aed65 | ||
|
|
2bf6034e5c | ||
|
|
1bb0da25a6 | ||
|
|
4c295027a4 | ||
|
|
5f628a12e5 | ||
|
|
4a22897591 | ||
|
|
3d0e7a956a | ||
|
|
b6c2e9a010 | ||
|
|
4934ed34c3 | ||
|
|
aeed2a6359 | ||
|
|
227c58a486 | ||
|
|
03717bf6a2 | ||
|
|
b80d2fb0e7 | ||
|
|
b06b50dfa0 | ||
|
|
bb01a1ef3a | ||
|
|
5930ddcd25 | ||
|
|
b98cec28d9 | ||
|
|
d386e923c7 | ||
|
|
dc4c2309f2 | ||
|
|
730bf30020 | ||
|
|
340c59ec6f | ||
|
|
bdc0f1c698 | ||
|
|
96cf4ba8fb | ||
|
|
7ba1e4d363 | ||
|
|
e0c03c8e10 | ||
|
|
a6aa16423f | ||
|
|
f6d9935a13 | ||
|
|
9f28416e54 | ||
|
|
11e3c5ba82 | ||
|
|
459fbdbf92 | ||
|
|
a369c3d9c1 | ||
|
|
2d5f385cee | ||
|
|
753bcf8c7d | ||
|
|
169502fb0b | ||
|
|
16678eb50f | ||
|
|
d23f8bde5c | ||
|
|
9ce47ec0b6 | ||
|
|
5c787fb792 | ||
|
|
63276685f9 | ||
|
|
8238f08838 | ||
|
|
3f88e71fa2 | ||
|
|
6d4c1c7ba8 | ||
|
|
4f2df37a0d | ||
|
|
2d1c57ed3d | ||
|
|
4c13721482 | ||
|
|
e8209b91b9 | ||
|
|
39211cba72 | ||
|
|
b7c21afef1 | ||
|
|
d551d6c268 | ||
|
|
f7e92aae15 | ||
|
|
d23b714d8b | ||
|
|
51e933261b | ||
|
|
0995c81f2f | ||
|
|
c70fe460b0 | ||
|
|
6c7cc347af | ||
|
|
56994d2158 | ||
|
|
112a006417 | ||
|
|
635bd60804 | ||
|
|
aa1959bd5e | ||
|
|
fe090eb58f | ||
|
|
6bc00699c5 | ||
|
|
f387f5dfbc | ||
|
|
bd6406f15d | ||
|
|
b141926890 | ||
|
|
0e3ff19196 | ||
|
|
b47bed2f7a | ||
|
|
a3589a0d6c | ||
|
|
f62d73933a | ||
|
|
2e240bd428 | ||
|
|
f6a8d420a8 | ||
|
|
f2253963c2 | ||
|
|
f48b2fa33c | ||
|
|
68452177ca | ||
|
|
cfc3023cb6 | ||
|
|
af8ea0d066 | ||
|
|
09f067fca3 | ||
|
|
f93bbd0262 | ||
|
|
e8e3078184 | ||
|
|
fed9e830fc | ||
|
|
da479c7597 | ||
|
|
fe95b94ffa | ||
|
|
c429769776 | ||
|
|
bb8a7ce0a1 | ||
|
|
87795939d0 | ||
|
|
51e7e78de7 | ||
|
|
962c43bf0d | ||
|
|
599410cb3c | ||
|
|
701cc6ca9e | ||
|
|
1088b69451 | ||
|
|
2a38908b05 | ||
|
|
767034c5b8 | ||
|
|
dcae51facc | ||
|
|
d8db838392 | ||
|
|
175a41c13f | ||
|
|
fa5963880d | ||
|
|
15e5e53ef2 | ||
|
|
130cbfc312 | ||
|
|
125ed2745c | ||
|
|
e5b0b98a90 | ||
|
|
8dddc1f0e2 | ||
|
|
c9605f0595 | ||
|
|
643ce6c0c6 | ||
|
|
e3d1f4c982 | ||
|
|
e9b8b78e04 | ||
|
|
86cdb8a4bd | ||
|
|
e8c4660a55 | ||
|
|
0d351a04e1 | ||
|
|
58fb7c39a0 | ||
|
|
b9c0cd897a | ||
|
|
2927c07b0e | ||
|
|
01ac0a1f66 | ||
|
|
e42939af87 | ||
|
|
0865b15bc6 | ||
|
|
ce5b06a6a9 | ||
|
|
0b94e297af | ||
|
|
886e5e737d | ||
|
|
409da842db | ||
|
|
68ffe8cade | ||
|
|
f2dd9cb995 | ||
|
|
3c49e74e18 | ||
|
|
90193e6140 | ||
|
|
26af8e54ff | ||
|
|
3a6aadb328 | ||
|
|
ceb0619433 | ||
|
|
a7511c0f4f | ||
|
|
77709b194c | ||
|
|
440cf096fa | ||
|
|
6e50ec2f0a | ||
|
|
c17ba791a9 | ||
|
|
26f201345d | ||
|
|
6437475ffb | ||
|
|
c48f2dc0be | ||
|
|
b9c6b6fb73 | ||
|
|
0df6030145 | ||
|
|
f65ed86f6f | ||
|
|
1e6bbfb560 | ||
|
|
5b8cabfef7 | ||
|
|
dcf29ac87f | ||
|
|
f5906aa780 | ||
|
|
3fa5e64e0e | ||
|
|
ef38bcf051 | ||
|
|
160a2b4dac | ||
|
|
ca51cc0a33 | ||
|
|
d877a5700f | ||
|
|
ce0b75711a | ||
|
|
49c51b825a | ||
|
|
5c504f680e | ||
|
|
b91d3f857f | ||
|
|
529fb5a5f6 | ||
|
|
12be734faf | ||
|
|
e535db86e7 | ||
|
|
dad4473f02 | ||
|
|
ae0f151ddf | ||
|
|
82820d9bf1 | ||
|
|
38a3bfa9a2 | ||
|
|
9ea7e55ab9 | ||
|
|
8b9abfd86c | ||
|
|
9dbe701fe1 | ||
|
|
3215466af9 | ||
|
|
b2cb6c8bbd | ||
|
|
f6bdd82c7e | ||
|
|
b2ac7d0663 | ||
|
|
df749a2b9c | ||
|
|
f49a1fcdb9 | ||
|
|
24f21fdfca | ||
|
|
c580943965 | ||
|
|
7b45d46cf7 | ||
|
|
32105ae88f | ||
|
|
79efa2e3b3 | ||
|
|
7007e31bde | ||
|
|
bb5d87c850 | ||
|
|
ccc25aa285 | ||
|
|
c61cb8bfe1 | ||
|
|
74e54fcb44 | ||
|
|
522eefd9a2 | ||
|
|
a2b3e7dc92 | ||
|
|
0a1a6a1aa4 | ||
|
|
ff87140046 | ||
|
|
3a0f092ac0 | ||
|
|
fa984418e7 | ||
|
|
a91a71322d | ||
|
|
2fecb53115 | ||
|
|
1ff89deeaa | ||
|
|
c54f347d63 | ||
|
|
f4a2ed0714 | ||
|
|
f28f2ac425 | ||
|
|
49f1e9ec3e | ||
|
|
da1dbed0df | ||
|
|
1f448d906b | ||
|
|
e98f60a591 | ||
|
|
2cec027af4 | ||
|
|
f1387285e2 | ||
|
|
5ea79a2599 | ||
|
|
4c86830fc5 | ||
|
|
09f8b3a022 | ||
|
|
67da21a147 | ||
|
|
7a6eaa06f9 | ||
|
|
f90c855c71 | ||
|
|
196a1f7409 | ||
|
|
c5cf369e95 | ||
|
|
a0c8aea479 | ||
|
|
592f57f5fe | ||
|
|
a0399efa72 | ||
|
|
5c7a299c16 | ||
|
|
4355894869 | ||
|
|
240014321b | ||
|
|
af125866db | ||
|
|
74b99f6ab6 | ||
|
|
17709e280a | ||
|
|
a555e6fcb6 | ||
|
|
108cf0153c | ||
|
|
4b3e1964d8 | ||
|
|
5f91e74bf9 | ||
|
|
3f32788000 | ||
|
|
8863bda25d | ||
|
|
3e1916947d | ||
|
|
a4c81bea38 | ||
|
|
c970e4225b | ||
|
|
6ccfd99b92 | ||
|
|
18b7d86d7f | ||
|
|
f8c52e8d08 | ||
|
|
1e448465e1 | ||
|
|
3214812997 | ||
|
|
f4fcedc59d | ||
|
|
02b4d9b18a | ||
|
|
70ce8a1561 | ||
|
|
0289a093a4 | ||
|
|
240309c9bf | ||
|
|
77b10ffad4 | ||
|
|
2e34c34be1 | ||
|
|
6bce5856b5 | ||
|
|
93e1cae739 | ||
|
|
edba70703b | ||
|
|
6508880d6c | ||
|
|
cb4e80fab9 | ||
|
|
41cd80335c | ||
|
|
9e813b3dea | ||
|
|
0756f757ed | ||
|
|
0de8e2d6a3 | ||
|
|
c8cdf0f80b | ||
|
|
6fd367a97c | ||
|
|
c80f647512 | ||
|
|
12bce95887 | ||
|
|
776b954622 | ||
|
|
23b32a8d6b | ||
|
|
6635ae1437 | ||
|
|
f52f0606ed | ||
|
|
c23555de34 | ||
|
|
d345fb9216 | ||
|
|
7ad67d1150 | ||
|
|
ffb7dcdb77 | ||
|
|
37294bd6a2 | ||
|
|
e3ffcd9902 | ||
|
|
d00a7fb81a | ||
|
|
86c3a2162c | ||
|
|
9355ae4149 | ||
|
|
608d78fb45 | ||
|
|
6914e87d3c | ||
|
|
04947cc6ed | ||
|
|
a974953443 | ||
|
|
18062fcad6 | ||
|
|
8c801b374b | ||
|
|
f9a65505d1 | ||
|
|
008bff967f | ||
|
|
6057748a1a | ||
|
|
6c3843ca8a | ||
|
|
2e2d758902 | ||
|
|
f76ec1eeb5 | ||
|
|
51b477f74f | ||
|
|
4fa1175765 | ||
|
|
37096afd3f | ||
|
|
3dc3474f00 | ||
|
|
39d4cab494 | ||
|
|
3650fd7098 | ||
|
|
057e84afe5 | ||
|
|
087b5ff35d | ||
|
|
0a84284e60 | ||
|
|
3f1e9f000f | ||
|
|
0f2a5cc68b | ||
|
|
9faec4e3d4 | ||
|
|
0abc6e471a | ||
|
|
9f646c2e11 | ||
|
|
d0bce504ec | ||
|
|
0e62a6742b | ||
|
|
1bd3cb2019 | ||
|
|
7d41410a45 | ||
|
|
2c6553498e | ||
|
|
21a83bd53d | ||
|
|
eba13e4ea2 | ||
|
|
bc327ccc3d | ||
|
|
9cb577a682 | ||
|
|
41f0895c6e | ||
|
|
6bfc475f71 | ||
|
|
b4893b8450 | ||
|
|
7e82c5f338 | ||
|
|
21578271bb | ||
|
|
027c4ab4d2 | ||
|
|
dc167465f8 | ||
|
|
723ef5db98 | ||
|
|
a1070eae77 | ||
|
|
5b5ae29bd3 | ||
|
|
ada1d870b4 | ||
|
|
10b9421f3b | ||
|
|
12d265315f | ||
|
|
d3f8a9ee65 | ||
|
|
c7dac8534e | ||
|
|
064095012c | ||
|
|
527ed38cfa | ||
|
|
e0890d678d | ||
|
|
3aca5a6fbc | ||
|
|
c0fcb6e0b1 | ||
|
|
9bbd883b35 | ||
|
|
333bd56422 | ||
|
|
04ea7e9049 | ||
|
|
b8554304c3 | ||
|
|
eed9d46293 | ||
|
|
7c5b3c0369 | ||
|
|
4afa77419f | ||
|
|
6281815ecc | ||
|
|
2379f87eb4 | ||
|
|
9979fcd72e | ||
|
|
03dfde2b5f | ||
|
|
39f3b14110 | ||
|
|
10ccfb2a17 | ||
|
|
8d4be89011 | ||
|
|
a98f8a2305 | ||
|
|
942db23c9c | ||
|
|
0fa09676c2 | ||
|
|
c150c09ec4 | ||
|
|
31842cd077 | ||
|
|
44ec21c467 | ||
|
|
d9d7789b6f | ||
|
|
ca753ec862 | ||
|
|
f785aa1354 | ||
|
|
0bcadf14aa | ||
|
|
3b678047bc | ||
|
|
5affc03468 | ||
|
|
418a29f0ff | ||
|
|
5202929dab | ||
|
|
8f33ebfade | ||
|
|
3ff656f6b4 | ||
|
|
f3fa18468c | ||
|
|
b17ec4d427 | ||
|
|
82db31c104 | ||
|
|
4223d43c0f | ||
|
|
963ffa0a5a | ||
|
|
a853089479 | ||
|
|
4549dad874 | ||
|
|
ba98fb54ae | ||
|
|
0123cc1e14 | ||
|
|
dee37dc733 | ||
|
|
6628b7ebff | ||
|
|
a5a1ec1826 | ||
|
|
4f53b79bf5 | ||
|
|
c3fc75db02 | ||
|
|
00385114db | ||
|
|
0dc5f603e9 | ||
|
|
dd07c02232 | ||
|
|
983d83ff1c | ||
|
|
dfc3db76b9 | ||
|
|
2c7080bf1c | ||
|
|
8c6951fa28 | ||
|
|
aad5f9d79a | ||
|
|
efa1923565 | ||
|
|
6502643677 | ||
|
|
f5a5116a96 | ||
|
|
038e09ee76 | ||
|
|
139348f3e8 | ||
|
|
ab65fc77c5 | ||
|
|
92bb83e41c | ||
|
|
8ab375706e | ||
|
|
6bcb877ec1 | ||
|
|
2c363a2e95 | ||
|
|
fef8064b54 | ||
|
|
fc1dafa91c | ||
|
|
8bead9a058 | ||
|
|
0dcd39bad5 | ||
|
|
4dba04256b | ||
|
|
7b6903f02c | ||
|
|
2e5910bfbb | ||
|
|
91478ae49a | ||
|
|
148be9bc1c | ||
|
|
d5e8c92816 | ||
|
|
e7bebc495d | ||
|
|
7781ebe50f | ||
|
|
3b69006973 | ||
|
|
9d20daffc2 | ||
|
|
f9547eb6ef | ||
|
|
5daa911626 | ||
|
|
0346b799fc | ||
|
|
e507ff15d5 | ||
|
|
80ad3e2569 | ||
|
|
f272ae12ac | ||
|
|
c03f5c677a | ||
|
|
853886722c | ||
|
|
3d2bb8b6f1 | ||
|
|
6a12e3342d | ||
|
|
4d8479b335 | ||
|
|
206c2a6e19 | ||
|
|
3445320839 | ||
|
|
f2b26bcf8f | ||
|
|
b63f3ca66d | ||
|
|
76ab5446d5 | ||
|
|
ebd211c8a3 | ||
|
|
f8c6a17180 | ||
|
|
59ff64079b | ||
|
|
92e5df8047 | ||
|
|
3eb6bd9c2b | ||
|
|
28976e2acc | ||
|
|
df2c2988bb | ||
|
|
97202d9516 | ||
|
|
61015162ba | ||
|
|
1d859e2421 | ||
|
|
5ed58c7b70 | ||
|
|
9a046fd08b | ||
|
|
d697ddea14 | ||
|
|
2e6cdb91e8 | ||
|
|
3e492c2d5f | ||
|
|
bed72df3e6 | ||
|
|
21829c5f2c | ||
|
|
b7e2670b6a | ||
|
|
bb4b93ed85 | ||
|
|
ce0370d9e6 | ||
|
|
98989a0014 | ||
|
|
ff0e57fe77 | ||
|
|
e0e3917554 | ||
|
|
e5ea346a07 | ||
|
|
5c829bf229 | ||
|
|
ab55f11d9b | ||
|
|
c05fe07529 | ||
|
|
4efd994829 | ||
|
|
107e9cecf7 | ||
|
|
ced68a0070 | ||
|
|
8323cab31c | ||
|
|
f002a41d12 | ||
|
|
b204990346 | ||
|
|
7cf0c114d6 | ||
|
|
40be52ba71 | ||
|
|
dfbc5fd879 | ||
|
|
7cebe8ba7d | ||
|
|
9a562c184d | ||
|
|
9ae3705b6e | ||
|
|
4bce26bb70 | ||
|
|
402115f1c2 | ||
|
|
0d3de8cb59 | ||
|
|
b3005ce191 | ||
|
|
9b6344613e | ||
|
|
57d5a01cb4 | ||
|
|
e32e516dfa | ||
|
|
f904133e1a | ||
|
|
e71996bd08 | ||
|
|
5e6a7aa2b2 | ||
|
|
ccb47a2899 | ||
|
|
b1f2857096 | ||
|
|
c5f59fab23 | ||
|
|
a0f7f73ebb | ||
|
|
77a849c4b3 | ||
|
|
99880f96cf | ||
|
|
a28639e711 | ||
|
|
e64f83cc6a | ||
|
|
09fbedc8dc | ||
|
|
98a29d00a4 | ||
|
|
82aa6e09e0 | ||
|
|
f30a14db3b | ||
|
|
585587dadb | ||
|
|
036d07144e | ||
|
|
1430ceeb2d | ||
|
|
3af15ab788 | ||
|
|
85773bf32b | ||
|
|
239f8d9326 | ||
|
|
e2edc2ed4a | ||
|
|
70250fb4d2 | ||
|
|
f898f7c68d | ||
|
|
9ebcf231bd | ||
|
|
351ead09dd | ||
|
|
7c886db915 | ||
|
|
a3b494d6af | ||
|
|
e2924328c1 | ||
|
|
bf78974ca4 | ||
|
|
648ea76e1d | ||
|
|
883cf97f10 | ||
|
|
97c6943e11 | ||
|
|
797e63b9f2 | ||
|
|
17d015b243 | ||
|
|
d44cc593ce | ||
|
|
8f81b22e86 | ||
|
|
033135eb8e | ||
|
|
2415669348 | ||
|
|
fadd55bd63 | ||
|
|
e1ee58ac78 | ||
|
|
845b72854d | ||
|
|
681fc3fa78 | ||
|
|
6601b62943 | ||
|
|
c423ad77ed | ||
|
|
9145846b6a | ||
|
|
1bb4de5302 | ||
|
|
37487e16da | ||
|
|
a47e05f04a | ||
|
|
64ed4d4398 | ||
|
|
67876de7bb | ||
|
|
b0e6b51364 | ||
|
|
7cd24227c0 | ||
|
|
a0122dcd1c | ||
|
|
cb6cbf29e9 | ||
|
|
9567efa1b4 | ||
|
|
082517570d | ||
|
|
9e1d9e3473 | ||
|
|
df4c9af7e7 | ||
|
|
82be4849ee | ||
|
|
48e11c1054 | ||
|
|
16a6f91ccb | ||
|
|
086ae06862 | ||
|
|
75ab91ff34 | ||
|
|
6f02b00bb0 | ||
|
|
31a11b942a | ||
|
|
0186e58639 | ||
|
|
ab360526ef | ||
|
|
cff40ff986 | ||
|
|
657137ca48 | ||
|
|
e7525c5520 | ||
|
|
9e0f883f89 | ||
|
|
b657198cb3 | ||
|
|
832ea89ca9 | ||
|
|
299f3036ec | ||
|
|
ece0b87c0f | ||
|
|
467b59c2eb | ||
|
|
17126b1396 | ||
|
|
43b69b39ac | ||
|
|
c37b655443 | ||
|
|
328eac2b5d | ||
|
|
ebbf11c119 | ||
|
|
32b3f82010 | ||
|
|
b23279d7a2 | ||
|
|
0acbf5ae66 | ||
|
|
ecac591cce | ||
|
|
a79925a0a8 | ||
|
|
752fc692ac | ||
|
|
d62d87d8f3 | ||
|
|
d1510ee946 | ||
|
|
cef1270dec | ||
|
|
0ea0440865 | ||
|
|
014f698cb6 | ||
|
|
d93a7fc1a9 | ||
|
|
82c38fe508 | ||
|
|
bb0956fc65 | ||
|
|
5f63938447 | ||
|
|
6797782127 | ||
|
|
2ef951dd31 | ||
|
|
e5a2dc87fd | ||
|
|
5afd081cd3 | ||
|
|
cec77d4530 | ||
|
|
fefa6c347e | ||
|
|
b0d8182fa3 | ||
|
|
31a201a04a | ||
|
|
e68b02a1c4 | ||
|
|
339c1bdbdf | ||
|
|
a11919fa44 | ||
|
|
9d19e4f4ba | ||
|
|
508b5618ec | ||
|
|
66c50c5653 | ||
|
|
9281c6cae4 | ||
|
|
a72514945b | ||
|
|
7e6a515ed1 | ||
|
|
02faa944c6 | ||
|
|
2f91e2f8da | ||
|
|
628c102d12 | ||
|
|
aa210a3aec | ||
|
|
3e0107ea16 | ||
|
|
38a434f7ba | ||
|
|
edc10b541b | ||
|
|
3862ea3f62 | ||
|
|
c368957b19 | ||
|
|
e7a73e0762 | ||
|
|
b8ba9b9197 | ||
|
|
5178b1b02f | ||
|
|
69f7050ceb | ||
|
|
a8b8af19e4 | ||
|
|
d5ea8f08f7 | ||
|
|
5efe0e5d16 | ||
|
|
a387083b2f | ||
|
|
beef4eeda5 | ||
|
|
2949cfdbe4 | ||
|
|
adc8e44645 | ||
|
|
1779ff4842 | ||
|
|
dd1f426bd6 | ||
|
|
ca2f7e7af3 | ||
|
|
6b55377303 | ||
|
|
a04d447d3a | ||
|
|
de4f95b041 | ||
|
|
2a5c61a019 | ||
|
|
2808da39f9 | ||
|
|
467676d468 | ||
|
|
4d8c96d466 | ||
|
|
285b15fce1 | ||
|
|
89015a6759 | ||
|
|
4012d26207 | ||
|
|
8242ebbdba | ||
|
|
864a28b6a6 | ||
|
|
41a834d1e3 | ||
|
|
dcc58e031d | ||
|
|
9b8d62267f | ||
|
|
ed1e4c9a70 | ||
|
|
746670604a | ||
|
|
dace9f785f | ||
|
|
3e112acc22 | ||
|
|
17793ef23a | ||
|
|
9618a25b9c | ||
|
|
e4862a0fe6 | ||
|
|
179eb567b1 | ||
|
|
39cb2dab18 | ||
|
|
4389f9cd00 | ||
|
|
e462f52db3 | ||
|
|
7e3ee7823f | ||
|
|
a629495530 | ||
|
|
07a65d26e7 | ||
|
|
cdc40c43f1 | ||
|
|
2b32700dab | ||
|
|
b0ac4ea5e1 | ||
|
|
e5730bdcea | ||
|
|
7e3682068b | ||
|
|
fc0e8f5c3e | ||
|
|
20a762987e | ||
|
|
6e2c2c50ba | ||
|
|
56ce9ea3ea | ||
|
|
f8103f274e | ||
|
|
7cfcd0c99c | ||
|
|
c754b4cc98 | ||
|
|
b2f9e0e2c5 | ||
|
|
3868f59466 | ||
|
|
9e68c32563 | ||
|
|
4aab88d919 | ||
|
|
38455a9213 | ||
|
|
0261a1aeeb | ||
|
|
c139aa8a2b | ||
|
|
b04ddb5b04 | ||
|
|
b54f1202b3 | ||
|
|
4941b5effd | ||
|
|
6dd41b1d57 | ||
|
|
65c4415276 | ||
|
|
b34f337472 | ||
|
|
16204962c7 | ||
|
|
bd318559cf | ||
|
|
27bf7af9d0 | ||
|
|
b3c8b1d254 | ||
|
|
23999d799c | ||
|
|
4072ba571b | ||
|
|
9f63a65f22 | ||
|
|
abcbb0e9ad | ||
|
|
1dcf55d4f1 | ||
|
|
89b474dd4f | ||
|
|
3bdc90b7df | ||
|
|
e5492609b3 | ||
|
|
58a52f215a | ||
|
|
077a42318c | ||
|
|
032a2d050b | ||
|
|
cd45ed03bf | ||
|
|
07761a3b96 | ||
|
|
5b3d1bb0f5 | ||
|
|
c882e4d169 | ||
|
|
1cfb9bb5c0 | ||
|
|
9a963377b4 | ||
|
|
60f63100b9 | ||
|
|
f4e2099e39 | ||
|
|
a3d10a508c | ||
|
|
6f17a3f023 | ||
|
|
4f5e397756 | ||
|
|
2e2f52a4a0 | ||
|
|
ef2dff52de | ||
|
|
6a78f32844 | ||
|
|
9aff970204 | ||
|
|
8c9d98a8af | ||
|
|
52c124d330 | ||
|
|
5082471f91 | ||
|
|
61e07b2394 | ||
|
|
f112f30a82 | ||
|
|
090728ad4d | ||
|
|
d24602f43c | ||
|
|
d88dc4d4e9 | ||
|
|
d0a1dee3f1 | ||
|
|
8f22f5c3aa | ||
|
|
17f700ac8b | ||
|
|
13656f02e4 | ||
|
|
03290b8444 | ||
|
|
1f33e0a7c4 | ||
|
|
8e7d6223f6 | ||
|
|
3beaf9cd8e | ||
|
|
6e562fcc07 | ||
|
|
9aed729fe9 | ||
|
|
b5b77378bc | ||
|
|
18f69229c5 | ||
|
|
0353f56ddb | ||
|
|
b125b535bb | ||
|
|
8dd46e72cf | ||
|
|
a79a8944da | ||
|
|
8ea05de6aa | ||
|
|
4c5bdb99ad | ||
|
|
1c0aa97827 | ||
|
|
530bed993e | ||
|
|
9987fb0b4b | ||
|
|
399ea8108c | ||
|
|
025cb1ca86 | ||
|
|
ec792290eb | ||
|
|
fffdf4754f | ||
|
|
8143a53c53 | ||
|
|
2a3cd3af45 | ||
|
|
acbae18df5 | ||
|
|
b5b9480ee9 | ||
|
|
e498429087 | ||
|
|
c530852315 | ||
|
|
93f82cbee5 | ||
|
|
57f799e6a4 | ||
|
|
2a9d5d386b | ||
|
|
3ae50c775c | ||
|
|
709664cca0 | ||
|
|
cc2335896b | ||
|
|
0ea7421ae6 | ||
|
|
100118c73a | ||
|
|
1b884a0053 | ||
|
|
70249ee831 | ||
|
|
0e12140550 | ||
|
|
8f1bf2ef78 | ||
|
|
08597875b2 | ||
|
|
d356fc65d2 | ||
|
|
9ec7026f24 | ||
|
|
a7a691cc14 | ||
|
|
730677a0da | ||
|
|
7988a6f0e9 | ||
|
|
f46bf5204c | ||
|
|
7bb4e74c38 | ||
|
|
2c78a772fd | ||
|
|
7257af477b | ||
|
|
61265b4000 | ||
|
|
1b3e0727ce | ||
|
|
ac665c24c9 | ||
|
|
023fd5d213 | ||
|
|
8e1cbb55c3 | ||
|
|
8a3da6a368 | ||
|
|
083966f671 | ||
|
|
8ff16e0183 | ||
|
|
b237ae7b83 | ||
|
|
7b130b9738 | ||
|
|
d5a986f460 | ||
|
|
41d6196e30 | ||
|
|
5402175815 | ||
|
|
8bb0f5472c | ||
|
|
67322bf74a | ||
|
|
918a424917 | ||
|
|
08cf0c0d82 | ||
|
|
56602ba153 | ||
|
|
f665e97ffa | ||
|
|
4029cabbe7 | ||
|
|
d0fe620cbb | ||
|
|
c0913d023b | ||
|
|
2d870f8d9e | ||
|
|
29d2f45c88 | ||
|
|
c5e6a7179d | ||
|
|
6cd42db9dc | ||
|
|
f6c177ab3a | ||
|
|
21e51221f2 | ||
|
|
476268c387 | ||
|
|
c0d670ce16 | ||
|
|
0684e36a7e | ||
|
|
af0df47a76 | ||
|
|
e0de171ecd | ||
|
|
7f76494aac | ||
|
|
ea87069d78 | ||
|
|
38bd8de551 | ||
|
|
1cbfc9914d | ||
|
|
a452b808b4 | ||
|
|
c478ee3d83 | ||
|
|
57cf4973a2 | ||
|
|
4324d87a44 | ||
|
|
4b8a065145 | ||
|
|
004d9b00ba | ||
|
|
da7c20c953 | ||
|
|
f0068c5154 | ||
|
|
23515b4ef7 | ||
|
|
287153c5d4 | ||
|
|
b46f57e87b | ||
|
|
f5452691ba | ||
|
|
ce2c5444e2 | ||
|
|
f8ca03bf91 | ||
|
|
ebec3e29b8 | ||
|
|
dc234caff2 | ||
|
|
4a44120e3d | ||
|
|
4d05af0a64 | ||
|
|
aeb313f355 | ||
|
|
6ee874d378 | ||
|
|
3482be6a33 | ||
|
|
fccbf068f8 | ||
|
|
ce7be3a0e6 | ||
|
|
2472a74be4 | ||
|
|
d49a35a1c3 | ||
|
|
c2ca935d26 | ||
|
|
47a2abf0bc | ||
|
|
34c54eb6cb | ||
|
|
6bed0dbc85 | ||
|
|
d653293c80 | ||
|
|
3a3b691042 | ||
|
|
36fe7b287e | ||
|
|
5dc4e2f883 | ||
|
|
448465e687 | ||
|
|
5ee0981fb5 | ||
|
|
ff94bd9e47 | ||
|
|
813196784a | ||
|
|
a09bee322e | ||
|
|
c9f8b849b6 | ||
|
|
8e6be34338 | ||
|
|
142f23544c | ||
|
|
60bc8e7244 | ||
|
|
9e40c4b15e | ||
|
|
f637bceb61 | ||
|
|
792f786aad | ||
|
|
6abdcf8285 | ||
|
|
dcbab75db3 | ||
|
|
18dc355395 | ||
|
|
4b2ce1297e | ||
|
|
5546688fb6 | ||
|
|
896ad2c33e | ||
|
|
9681f71392 | ||
|
|
e79cdb69a4 | ||
|
|
4466ad6baa | ||
|
|
2d718267f4 | ||
|
|
d91467f830 | ||
|
|
c71ee829ef |
@@ -3,6 +3,8 @@ env:
|
|||||||
FEATURES: huge
|
FEATURES: huge
|
||||||
|
|
||||||
freebsd_12_task:
|
freebsd_12_task:
|
||||||
|
only_if: $CIRRUS_TAG == ''
|
||||||
|
timeout_in: 20m
|
||||||
freebsd_instance:
|
freebsd_instance:
|
||||||
image: freebsd-12-1-release-amd64
|
image: freebsd-12-1-release-amd64
|
||||||
install_script:
|
install_script:
|
||||||
|
|||||||
6
.codecov.yml
Normal file
6
.codecov.yml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
coverage:
|
||||||
|
range: "80...100"
|
||||||
|
status:
|
||||||
|
project:
|
||||||
|
default:
|
||||||
|
threshold: 0.05%
|
||||||
1
.coveralls.yml
Normal file
1
.coveralls.yml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
service_name: github-actions
|
||||||
88
.github/CODEOWNERS
vendored
88
.github/CODEOWNERS
vendored
@@ -9,9 +9,6 @@
|
|||||||
# So if a pull request only touches javascript files, only these owners
|
# So if a pull request only touches javascript files, only these owners
|
||||||
# will be requested to review.
|
# will be requested to review.
|
||||||
|
|
||||||
src/iscygpty.* @k-takata
|
|
||||||
src/libvterm/ @leonerd
|
|
||||||
|
|
||||||
runtime/autoload/getscript.vim @cecamp
|
runtime/autoload/getscript.vim @cecamp
|
||||||
runtime/autoload/netrw.vim @cecamp
|
runtime/autoload/netrw.vim @cecamp
|
||||||
runtime/autoload/netrwFileHandlers.vim @cecamp
|
runtime/autoload/netrwFileHandlers.vim @cecamp
|
||||||
@@ -19,8 +16,10 @@ runtime/autoload/netrwSettings.vim @cecamp
|
|||||||
runtime/autoload/rubycomplete.vim @segfault @dkearns
|
runtime/autoload/rubycomplete.vim @segfault @dkearns
|
||||||
runtime/autoload/tar.vim @cecamp
|
runtime/autoload/tar.vim @cecamp
|
||||||
runtime/autoload/vimball.vim @cecamp
|
runtime/autoload/vimball.vim @cecamp
|
||||||
|
runtime/autoload/xmlformat.vim @chrisbra
|
||||||
runtime/autoload/zip.vim @cecamp
|
runtime/autoload/zip.vim @cecamp
|
||||||
runtime/compiler/checkstyle.vim @dkearns
|
runtime/compiler/checkstyle.vim @dkearns
|
||||||
|
runtime/compiler/cm3.vim @dkearns
|
||||||
runtime/compiler/cucumber.vim @tpope
|
runtime/compiler/cucumber.vim @tpope
|
||||||
runtime/compiler/dart.vim @dkearns
|
runtime/compiler/dart.vim @dkearns
|
||||||
runtime/compiler/dart2js.vim @dkearns
|
runtime/compiler/dart2js.vim @dkearns
|
||||||
@@ -30,6 +29,7 @@ runtime/compiler/dartdevc.vim @dkearns
|
|||||||
runtime/compiler/dartdoc.vim @dkearns
|
runtime/compiler/dartdoc.vim @dkearns
|
||||||
runtime/compiler/dartfmt.vim @dkearns
|
runtime/compiler/dartfmt.vim @dkearns
|
||||||
runtime/compiler/eruby.vim @dkearns
|
runtime/compiler/eruby.vim @dkearns
|
||||||
|
runtime/compiler/fbc.vim @dkearns
|
||||||
runtime/compiler/gawk.vim @dkearns
|
runtime/compiler/gawk.vim @dkearns
|
||||||
runtime/compiler/gjs.vim @dkearns
|
runtime/compiler/gjs.vim @dkearns
|
||||||
runtime/compiler/haml.vim @tpope
|
runtime/compiler/haml.vim @tpope
|
||||||
@@ -40,6 +40,7 @@ runtime/compiler/jshint.vim @dkearns
|
|||||||
runtime/compiler/jsonlint.vim @dkearns
|
runtime/compiler/jsonlint.vim @dkearns
|
||||||
runtime/compiler/lazbuild.vim @dkearns
|
runtime/compiler/lazbuild.vim @dkearns
|
||||||
runtime/compiler/php.vim @dkearns
|
runtime/compiler/php.vim @dkearns
|
||||||
|
runtime/compiler/powershell.vim @heaths
|
||||||
runtime/compiler/rake.vim @tpope @dkearns
|
runtime/compiler/rake.vim @tpope @dkearns
|
||||||
runtime/compiler/rhino.vim @dkearns
|
runtime/compiler/rhino.vim @dkearns
|
||||||
runtime/compiler/rspec.vim @tpope @dkearns
|
runtime/compiler/rspec.vim @tpope @dkearns
|
||||||
@@ -49,6 +50,7 @@ runtime/compiler/rubyunit.vim @dkearns
|
|||||||
runtime/compiler/sass.vim @tpope
|
runtime/compiler/sass.vim @tpope
|
||||||
runtime/compiler/se.vim @dkearns
|
runtime/compiler/se.vim @dkearns
|
||||||
runtime/compiler/shellcheck.vim @dkearns
|
runtime/compiler/shellcheck.vim @dkearns
|
||||||
|
runtime/compiler/sml.vim @dkearns
|
||||||
runtime/compiler/stylelint.vim @dkearns
|
runtime/compiler/stylelint.vim @dkearns
|
||||||
runtime/compiler/tcl.vim @dkearns
|
runtime/compiler/tcl.vim @dkearns
|
||||||
runtime/compiler/tidy.vim @dkearns
|
runtime/compiler/tidy.vim @dkearns
|
||||||
@@ -57,38 +59,60 @@ runtime/compiler/tsc.vim @dkearns
|
|||||||
runtime/compiler/typedoc.vim @dkearns
|
runtime/compiler/typedoc.vim @dkearns
|
||||||
runtime/compiler/xmllint.vim @dkearns
|
runtime/compiler/xmllint.vim @dkearns
|
||||||
runtime/compiler/xo.vim @dkearns
|
runtime/compiler/xo.vim @dkearns
|
||||||
|
runtime/compiler/zsh.vim @dkearns
|
||||||
runtime/doc/pi_getscript.txt @cecamp
|
runtime/doc/pi_getscript.txt @cecamp
|
||||||
runtime/doc/pi_logipat.txt @cecamp
|
runtime/doc/pi_logipat.txt @cecamp
|
||||||
runtime/doc/pi_netrw.txt @cecamp
|
runtime/doc/pi_netrw.txt @cecamp
|
||||||
runtime/doc/pi_tar.txt @cecamp
|
runtime/doc/pi_tar.txt @cecamp
|
||||||
runtime/doc/pi_vimball.txt @cecamp
|
runtime/doc/pi_vimball.txt @cecamp
|
||||||
runtime/doc/pi_zip.txt @cecamp
|
runtime/doc/pi_zip.txt @cecamp
|
||||||
|
runtime/doc/ps1.txt @heaths
|
||||||
runtime/ftplugin/awk.vim @dkearns
|
runtime/ftplugin/awk.vim @dkearns
|
||||||
|
runtime/ftplugin/basic.vim @dkearns
|
||||||
runtime/ftplugin/bst.vim @tpope
|
runtime/ftplugin/bst.vim @tpope
|
||||||
|
runtime/ftplugin/cfg.vim @chrisbra
|
||||||
runtime/ftplugin/css.vim @dkearns
|
runtime/ftplugin/css.vim @dkearns
|
||||||
runtime/ftplugin/cucumber.vim @tpope
|
runtime/ftplugin/cucumber.vim @tpope
|
||||||
runtime/ftplugin/eiffel.vim @dkearns
|
runtime/ftplugin/eiffel.vim @dkearns
|
||||||
runtime/ftplugin/eruby.vim @tpope @dkearns
|
runtime/ftplugin/eruby.vim @tpope @dkearns
|
||||||
|
runtime/ftplugin/fpcmake.vim @dkearns
|
||||||
|
runtime/ftplugin/freebasic.vim @dkearns
|
||||||
runtime/ftplugin/git.vim @tpope
|
runtime/ftplugin/git.vim @tpope
|
||||||
runtime/ftplugin/gitcommit.vim @tpope
|
runtime/ftplugin/gitcommit.vim @tpope
|
||||||
runtime/ftplugin/gitconfig.vim @tpope
|
runtime/ftplugin/gitconfig.vim @tpope
|
||||||
runtime/ftplugin/gitrebase.vim @tpope
|
runtime/ftplugin/gitrebase.vim @tpope
|
||||||
runtime/ftplugin/gitsendemail.vim @tpope
|
runtime/ftplugin/gitsendemail.vim @tpope
|
||||||
|
runtime/ftplugin/gprof.vim @dpelle
|
||||||
runtime/ftplugin/haml.vim @tpope
|
runtime/ftplugin/haml.vim @tpope
|
||||||
runtime/ftplugin/hgcommit.vim @k-takata
|
runtime/ftplugin/hgcommit.vim @k-takata
|
||||||
runtime/ftplugin/javascript.vim @dkearns
|
runtime/ftplugin/javascript.vim @dkearns
|
||||||
runtime/ftplugin/javascriptreact.vim @dkearns
|
runtime/ftplugin/javascriptreact.vim @dkearns
|
||||||
|
runtime/ftplugin/kconfig.vim @chrisbra
|
||||||
runtime/ftplugin/liquid.vim @tpope
|
runtime/ftplugin/liquid.vim @tpope
|
||||||
|
runtime/ftplugin/m3build.vim @dkearns
|
||||||
|
runtime/ftplugin/m3quake.vim @dkearns
|
||||||
runtime/ftplugin/markdown.vim @tpope
|
runtime/ftplugin/markdown.vim @tpope
|
||||||
runtime/ftplugin/matlab.vim @cecamp
|
runtime/ftplugin/matlab.vim @cecamp
|
||||||
|
runtime/ftplugin/meson.vim @Liambeguin
|
||||||
|
runtime/ftplugin/modula3.vim @dkearns
|
||||||
|
runtime/ftplugin/nroff.vim @a-vrma
|
||||||
runtime/ftplugin/nsis.vim @k-takata
|
runtime/ftplugin/nsis.vim @k-takata
|
||||||
|
runtime/ftplugin/pascal.vim @dkearns
|
||||||
|
runtime/ftplugin/pbtxt.vim @lakshayg
|
||||||
runtime/ftplugin/pdf.vim @tpope
|
runtime/ftplugin/pdf.vim @tpope
|
||||||
|
runtime/ftplugin/ps1.vim @heaths
|
||||||
|
runtime/ftplugin/ps1xml.vim @heaths
|
||||||
runtime/ftplugin/ruby.vim @tpope @dkearns
|
runtime/ftplugin/ruby.vim @tpope @dkearns
|
||||||
runtime/ftplugin/sass.vim @tpope
|
runtime/ftplugin/sass.vim @tpope
|
||||||
runtime/ftplugin/scss.vim @tpope
|
runtime/ftplugin/scss.vim @tpope
|
||||||
|
runtime/ftplugin/spec.vim @ignatenkobrain
|
||||||
|
runtime/ftplugin/systemverilog.vim @Kocha
|
||||||
|
runtime/ftplugin/tidy.vim @dkearns
|
||||||
runtime/ftplugin/tmux.vim @ericpruitt
|
runtime/ftplugin/tmux.vim @ericpruitt
|
||||||
runtime/ftplugin/typescript.vim @dkearns
|
runtime/ftplugin/typescript.vim @dkearns
|
||||||
runtime/ftplugin/typescriptreact.vim @dkearns
|
runtime/ftplugin/typescriptreact.vim @dkearns
|
||||||
|
runtime/ftplugin/xml.vim @chrisbra
|
||||||
|
runtime/ftplugin/zsh.vim @chrisbra
|
||||||
runtime/indent/bst.vim @tpope
|
runtime/indent/bst.vim @tpope
|
||||||
runtime/indent/cucumber.vim @tpope
|
runtime/indent/cucumber.vim @tpope
|
||||||
runtime/indent/dosbatch.vim @k-takata
|
runtime/indent/dosbatch.vim @k-takata
|
||||||
@@ -96,54 +120,99 @@ runtime/indent/eruby.vim @tpope @dkearns
|
|||||||
runtime/indent/gitconfig.vim @tpope
|
runtime/indent/gitconfig.vim @tpope
|
||||||
runtime/indent/haml.vim @tpope
|
runtime/indent/haml.vim @tpope
|
||||||
runtime/indent/liquid.vim @tpope
|
runtime/indent/liquid.vim @tpope
|
||||||
|
runtime/indent/meson.vim @Liambeguin
|
||||||
runtime/indent/nsis.vim @k-takata
|
runtime/indent/nsis.vim @k-takata
|
||||||
|
runtime/indent/ps1.vim @heaths
|
||||||
runtime/indent/ruby.vim @AndrewRadev @dkearns
|
runtime/indent/ruby.vim @AndrewRadev @dkearns
|
||||||
runtime/indent/sass.vim @tpope
|
runtime/indent/sass.vim @tpope
|
||||||
runtime/indent/scss.vim @tpope
|
runtime/indent/scss.vim @tpope
|
||||||
|
runtime/indent/sh.vim @chrisbra
|
||||||
|
runtime/indent/systemverilog.vim @Kocha
|
||||||
runtime/indent/teraterm.vim @k-takata
|
runtime/indent/teraterm.vim @k-takata
|
||||||
|
runtime/indent/xml.vim @chrisbra
|
||||||
|
runtime/indent/zsh.vim @chrisbra
|
||||||
|
runtime/keymap/tamil_tscii.vim @yegappan
|
||||||
|
runtime/pack/dist/opt/cfilter/plugin/cfilter.vim @yegappan
|
||||||
|
runtime/pack/dist/opt/matchit/ @chrisbra
|
||||||
runtime/plugin/getscriptPlugin.vim @cecamp
|
runtime/plugin/getscriptPlugin.vim @cecamp
|
||||||
runtime/plugin/logiPat.vim @cecamp
|
runtime/plugin/logiPat.vim @cecamp
|
||||||
runtime/plugin/netrwPlugin.vim @cecamp
|
runtime/plugin/netrwPlugin.vim @cecamp
|
||||||
runtime/plugin/tarPlugin.vim @cecamp
|
runtime/plugin/tarPlugin.vim @cecamp
|
||||||
runtime/plugin/vimballPlugin.vim @cecamp
|
runtime/plugin/vimballPlugin.vim @cecamp
|
||||||
runtime/plugin/zipPlugin.vim @cecamp
|
runtime/plugin/zipPlugin.vim @cecamp
|
||||||
|
runtime/syntax/aidl.vim @dpelle
|
||||||
runtime/syntax/amiga.vim @cecamp
|
runtime/syntax/amiga.vim @cecamp
|
||||||
runtime/syntax/asm.vim @dkearns
|
runtime/syntax/asm.vim @dkearns
|
||||||
runtime/syntax/asmh8300.vim @dkearns
|
runtime/syntax/asmh8300.vim @dkearns
|
||||||
|
runtime/syntax/asterisk.vim @jaunis
|
||||||
runtime/syntax/awk.vim @dkearns
|
runtime/syntax/awk.vim @dkearns
|
||||||
|
runtime/syntax/basic.vim @dkearns
|
||||||
runtime/syntax/bst.vim @tpope
|
runtime/syntax/bst.vim @tpope
|
||||||
|
runtime/syntax/cabal.vim @coot
|
||||||
|
runtime/syntax/cabalconfig.vim @coot
|
||||||
|
runtime/syntax/cabalproject.vim @coot
|
||||||
|
runtime/syntax/cs.vim @nickspoons
|
||||||
runtime/syntax/csh.vim @cecamp
|
runtime/syntax/csh.vim @cecamp
|
||||||
runtime/syntax/cucumber.vim @tpope
|
runtime/syntax/cucumber.vim @tpope
|
||||||
|
runtime/syntax/datascript.vim @dpelle
|
||||||
runtime/syntax/dcl.vim @cecamp
|
runtime/syntax/dcl.vim @cecamp
|
||||||
|
runtime/syntax/desktop.vim @e-kwsm
|
||||||
|
runtime/syntax/dot.vim @mmottl
|
||||||
|
runtime/syntax/doxygen.vim @frogonwheels
|
||||||
|
runtime/syntax/dtd.vim @chrisbra
|
||||||
|
runtime/syntax/dts.vim @zonque
|
||||||
runtime/syntax/elmfilt.vim @cecamp
|
runtime/syntax/elmfilt.vim @cecamp
|
||||||
runtime/syntax/eruby.vim @tpope @dkearns
|
runtime/syntax/eruby.vim @tpope @dkearns
|
||||||
runtime/syntax/exports.vim @cecamp
|
runtime/syntax/exports.vim @cecamp
|
||||||
|
runtime/syntax/fpcmake.vim @dkearns
|
||||||
runtime/syntax/git.vim @tpope
|
runtime/syntax/git.vim @tpope
|
||||||
runtime/syntax/gitcommit.vim @tpope
|
runtime/syntax/gitcommit.vim @tpope
|
||||||
runtime/syntax/gitconfig.vim @tpope
|
runtime/syntax/gitconfig.vim @tpope
|
||||||
runtime/syntax/gitrebase.vim @tpope
|
runtime/syntax/gitrebase.vim @tpope
|
||||||
|
runtime/syntax/gprof.vim @dpelle
|
||||||
|
runtime/syntax/groff.vim @jmarshall
|
||||||
runtime/syntax/haml.vim @tpope
|
runtime/syntax/haml.vim @tpope
|
||||||
|
runtime/syntax/haskell.vim @coot
|
||||||
runtime/syntax/hgcommit.vim @k-takata
|
runtime/syntax/hgcommit.vim @k-takata
|
||||||
|
runtime/syntax/kconfig.vim @chrisbra
|
||||||
|
runtime/syntax/less.vim @genoma
|
||||||
runtime/syntax/lex.vim @cecamp
|
runtime/syntax/lex.vim @cecamp
|
||||||
runtime/syntax/liquid.vim @tpope
|
runtime/syntax/liquid.vim @tpope
|
||||||
runtime/syntax/lisp.vim @cecamp
|
runtime/syntax/lisp.vim @cecamp
|
||||||
runtime/syntax/lynx.vim @dkearns
|
runtime/syntax/lynx.vim @dkearns
|
||||||
|
runtime/syntax/m3build.vim @dkearns
|
||||||
|
runtime/syntax/m3quake.vim @dkearns
|
||||||
runtime/syntax/mailcap.vim @dkearns
|
runtime/syntax/mailcap.vim @dkearns
|
||||||
runtime/syntax/make.vim @rohieb
|
runtime/syntax/make.vim @rohieb
|
||||||
runtime/syntax/make.vim @rohieb
|
|
||||||
runtime/syntax/maple.vim @cecamp
|
runtime/syntax/maple.vim @cecamp
|
||||||
runtime/syntax/markdown.vim @tpope
|
runtime/syntax/markdown.vim @tpope
|
||||||
|
runtime/syntax/meson.vim @Liambeguin
|
||||||
|
runtime/syntax/modula3.vim @dkearns
|
||||||
runtime/syntax/netrw.vim @cecamp
|
runtime/syntax/netrw.vim @cecamp
|
||||||
|
runtime/syntax/nroff.vim @jmarshall
|
||||||
runtime/syntax/nsis.vim @k-takata
|
runtime/syntax/nsis.vim @k-takata
|
||||||
|
runtime/syntax/pascal.vim @dkearns
|
||||||
|
runtime/syntax/pbtxt.vim @lakshayg
|
||||||
runtime/syntax/pdf.vim @tpope
|
runtime/syntax/pdf.vim @tpope
|
||||||
runtime/syntax/php.vim @TysonAndre
|
runtime/syntax/php.vim @TysonAndre
|
||||||
runtime/syntax/privoxy.vim @dkearns
|
runtime/syntax/privoxy.vim @dkearns
|
||||||
|
runtime/syntax/prolog.vim @XVilka
|
||||||
|
runtime/syntax/ps1.vim @heaths
|
||||||
|
runtime/syntax/ps1xml.vim @heaths
|
||||||
|
runtime/syntax/psl.vim @danielkho
|
||||||
|
runtime/syntax/rc.vim @chrisbra
|
||||||
runtime/syntax/rpcgen.vim @cecamp
|
runtime/syntax/rpcgen.vim @cecamp
|
||||||
runtime/syntax/ruby.vim @dkearns
|
runtime/syntax/ruby.vim @dkearns
|
||||||
runtime/syntax/sass.vim @tpope
|
runtime/syntax/sass.vim @tpope
|
||||||
runtime/syntax/scss.vim @tpope
|
runtime/syntax/scss.vim @tpope
|
||||||
runtime/syntax/sh.vim @cecamp
|
runtime/syntax/sh.vim @cecamp
|
||||||
runtime/syntax/sm.vim @cecamp
|
runtime/syntax/sm.vim @cecamp
|
||||||
|
runtime/syntax/spec.vim @ignatenkobrain
|
||||||
|
runtime/syntax/sqloracle.vim @chrisbra
|
||||||
|
runtime/syntax/sshconfig.vim @Jakuje
|
||||||
|
runtime/syntax/sshdconfig.vim @Jakuje
|
||||||
|
runtime/syntax/sudoers.vim @e-kwsm
|
||||||
|
runtime/syntax/systemverilog.vim @Kocha
|
||||||
runtime/syntax/tags.vim @cecamp
|
runtime/syntax/tags.vim @cecamp
|
||||||
runtime/syntax/teraterm.vim @k-takata
|
runtime/syntax/teraterm.vim @k-takata
|
||||||
runtime/syntax/tex.vim @cecamp
|
runtime/syntax/tex.vim @cecamp
|
||||||
@@ -153,6 +222,17 @@ runtime/syntax/vim.vim @cecamp
|
|||||||
runtime/syntax/wget.vim @dkearns
|
runtime/syntax/wget.vim @dkearns
|
||||||
runtime/syntax/xbl.vim @dkearns
|
runtime/syntax/xbl.vim @dkearns
|
||||||
runtime/syntax/xmath.vim @cecamp
|
runtime/syntax/xmath.vim @cecamp
|
||||||
|
runtime/syntax/xml.vim @chrisbra
|
||||||
runtime/syntax/xslt.vim @Boobies
|
runtime/syntax/xslt.vim @Boobies
|
||||||
runtime/syntax/xxd.vim @cecamp
|
runtime/syntax/xxd.vim @cecamp
|
||||||
runtime/syntax/yacc.vim @cecamp
|
runtime/syntax/yacc.vim @cecamp
|
||||||
|
runtime/syntax/zsh.vim @chrisbra
|
||||||
|
runtime/tutor/tutor.eo @dpelle
|
||||||
|
runtime/tutor/tutor.eo.utf-8 @dpelle
|
||||||
|
runtime/tutor/tutor.fr @dpelle
|
||||||
|
runtime/tutor/tutor.fr.utf-8 @dpelle
|
||||||
|
src/iscygpty.* @k-takata
|
||||||
|
src/libvterm/ @leonerd
|
||||||
|
src/po/de.po @chrisbra
|
||||||
|
src/po/eo.po @dpelle
|
||||||
|
src/po/fr.po @dpelle
|
||||||
|
|||||||
229
.github/workflows/ci-windows.yaml
vendored
229
.github/workflows/ci-windows.yaml
vendored
@@ -1,229 +0,0 @@
|
|||||||
name: GitHub CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- '**'
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
env:
|
|
||||||
VCVARSALL: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat
|
|
||||||
|
|
||||||
# Interfaces
|
|
||||||
# Lua
|
|
||||||
LUA_VER: 54
|
|
||||||
LUA_VER_DOT: '5.4'
|
|
||||||
LUA_RELEASE: 5.4.0
|
|
||||||
LUA32_URL: https://downloads.sourceforge.net/luabinaries/lua-%LUA_RELEASE%_Win32_dllw6_lib.zip
|
|
||||||
LUA64_URL: https://downloads.sourceforge.net/luabinaries/lua-%LUA_RELEASE%_Win64_dllw6_lib.zip
|
|
||||||
LUA_DIR: D:\Lua
|
|
||||||
# Python 2
|
|
||||||
PYTHON_VER: 27
|
|
||||||
PYTHON_VER_DOT: '2.7'
|
|
||||||
# Python 3
|
|
||||||
PYTHON3_VER: 38
|
|
||||||
PYTHON3_VER_DOT: '3.8'
|
|
||||||
|
|
||||||
# Other dependencies
|
|
||||||
# winpty
|
|
||||||
WINPTY_URL: https://github.com/rprichard/winpty/releases/download/0.4.3/winpty-0.4.3-msvc2015.zip
|
|
||||||
|
|
||||||
# Escape sequences
|
|
||||||
COL_RED: "\x1b[31m"
|
|
||||||
COL_GREEN: "\x1b[32m"
|
|
||||||
COL_YELLOW: "\x1b[33m"
|
|
||||||
COL_RESET: "\x1b[m"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: windows-latest
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
toolchain: [msvc, mingw]
|
|
||||||
arch: [x64, x86]
|
|
||||||
features: [HUGE, NORMAL]
|
|
||||||
include:
|
|
||||||
- arch: x64
|
|
||||||
vcarch: amd64
|
|
||||||
warch: x64
|
|
||||||
bits: 64
|
|
||||||
msystem: MINGW64
|
|
||||||
cygreg: registry
|
|
||||||
pyreg: ""
|
|
||||||
- arch: x86
|
|
||||||
vcarch: x86
|
|
||||||
warch: ia32
|
|
||||||
bits: 32
|
|
||||||
msystem: MINGW32
|
|
||||||
cygreg: registry32
|
|
||||||
pyreg: "-32"
|
|
||||||
exclude:
|
|
||||||
- toolchain: msvc
|
|
||||||
arch: x64
|
|
||||||
features: NORMAL
|
|
||||||
- toolchain: mingw
|
|
||||||
arch: x86
|
|
||||||
features: NORMAL
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Initalize
|
|
||||||
id: init
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
git config --global core.autocrlf input
|
|
||||||
python_dir=$(cat "/proc/${{ matrix.cygreg }}/HKEY_LOCAL_MACHINE/SOFTWARE/Python/PythonCore/${PYTHON_VER_DOT}/InstallPath/@")
|
|
||||||
python3_dir=$(cat "/proc/${{ matrix.cygreg }}/HKEY_LOCAL_MACHINE/SOFTWARE/Python/PythonCore/${PYTHON3_VER_DOT}${{ matrix.pyreg }}/InstallPath/@")
|
|
||||||
echo "PYTHON_DIR=$python_dir" >> $GITHUB_ENV
|
|
||||||
echo "PYTHON3_DIR=$python3_dir" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- uses: msys2/setup-msys2@v2
|
|
||||||
if: matrix.toolchain == 'mingw'
|
|
||||||
with:
|
|
||||||
msystem: ${{ matrix.msystem }}
|
|
||||||
release: false
|
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Create a list of download URLs
|
|
||||||
shell: cmd
|
|
||||||
run: |
|
|
||||||
type NUL > urls.txt
|
|
||||||
echo %LUA_RELEASE%>> urls.txt
|
|
||||||
echo %WINPTY_URL%>> urls.txt
|
|
||||||
|
|
||||||
- name: Cache downloaded files
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: downloads
|
|
||||||
key: ${{ runner.os }}-${{ matrix.bits }}-${{ hashFiles('urls.txt') }}
|
|
||||||
|
|
||||||
- name: Download dependencies
|
|
||||||
shell: cmd
|
|
||||||
run: |
|
|
||||||
path C:\Program Files\7-Zip;%path%
|
|
||||||
if not exist downloads mkdir downloads
|
|
||||||
|
|
||||||
echo %COL_GREEN%Download Lua%COL_RESET%
|
|
||||||
call :downloadfile %LUA${{ matrix.bits }}_URL% downloads\lua.zip
|
|
||||||
7z x downloads\lua.zip -o%LUA_DIR% > nul || exit 1
|
|
||||||
|
|
||||||
echo %COL_GREEN%Download winpty%COL_RESET%
|
|
||||||
call :downloadfile %WINPTY_URL% downloads\winpty.zip
|
|
||||||
7z x -y downloads\winpty.zip -oD:\winpty > nul || exit 1
|
|
||||||
copy /Y D:\winpty\${{ matrix.warch }}\bin\winpty.dll src\winpty${{ matrix.bits }}.dll
|
|
||||||
copy /Y D:\winpty\${{ matrix.warch }}\bin\winpty-agent.exe src\
|
|
||||||
|
|
||||||
goto :eof
|
|
||||||
|
|
||||||
:downloadfile
|
|
||||||
:: call :downloadfile <URL> <localfile>
|
|
||||||
if not exist %2 (
|
|
||||||
curl -f -L %1 -o %2
|
|
||||||
)
|
|
||||||
if ERRORLEVEL 1 (
|
|
||||||
rem Retry once.
|
|
||||||
curl -f -L %1 -o %2 || exit 1
|
|
||||||
)
|
|
||||||
goto :eof
|
|
||||||
|
|
||||||
- name: Copy src directory to src2
|
|
||||||
shell: cmd
|
|
||||||
run: |
|
|
||||||
xcopy src src2\ /E > nul
|
|
||||||
|
|
||||||
- name: Build (MSVC)
|
|
||||||
if: matrix.toolchain == 'msvc'
|
|
||||||
shell: cmd
|
|
||||||
run: |
|
|
||||||
call "%VCVARSALL%" ${{ matrix.vcarch }}
|
|
||||||
cd src
|
|
||||||
:: Filter out the progress bar from the build log
|
|
||||||
sed -e "s/@<<$/@<< | sed -e 's#.*\\\\r.*##'/" Make_mvc.mak > Make_mvc2.mak
|
|
||||||
if "${{ matrix.features }}"=="HUGE" (
|
|
||||||
nmake -nologo -f Make_mvc2.mak ^
|
|
||||||
FEATURES=${{ matrix.features }} ^
|
|
||||||
GUI=yes IME=yes ICONV=yes VIMDLL=yes ^
|
|
||||||
DYNAMIC_LUA=yes LUA=%LUA_DIR% ^
|
|
||||||
DYNAMIC_PYTHON=yes PYTHON=%PYTHON_DIR% ^
|
|
||||||
DYNAMIC_PYTHON3=yes PYTHON3=%PYTHON3_DIR%
|
|
||||||
) else (
|
|
||||||
nmake -nologo -f Make_mvc2.mak ^
|
|
||||||
FEATURES=${{ matrix.features }} ^
|
|
||||||
GUI=yes IME=yes ICONV=yes VIMDLL=yes
|
|
||||||
)
|
|
||||||
if not exist vim${{ matrix.bits }}.dll (
|
|
||||||
echo %COL_RED%Build failure.%COL_RESET%
|
|
||||||
exit 1
|
|
||||||
)
|
|
||||||
|
|
||||||
- name: Build (MinGW)
|
|
||||||
if: matrix.toolchain == 'mingw'
|
|
||||||
shell: msys2 {0}
|
|
||||||
run: |
|
|
||||||
cd src
|
|
||||||
if [ "${{ matrix.features }}" = "HUGE" ]; then
|
|
||||||
mingw32-make -f Make_ming.mak -j2 \
|
|
||||||
FEATURES=${{ matrix.features }} \
|
|
||||||
GUI=yes IME=yes ICONV=yes VIMDLL=yes \
|
|
||||||
DYNAMIC_LUA=yes LUA=${LUA_DIR} \
|
|
||||||
DYNAMIC_PYTHON=yes PYTHON=${PYTHON_DIR} \
|
|
||||||
DYNAMIC_PYTHON3=yes PYTHON3=${PYTHON3_DIR} \
|
|
||||||
STATIC_STDCPLUS=yes
|
|
||||||
else
|
|
||||||
mingw32-make -f Make_ming.mak -j2 \
|
|
||||||
FEATURES=${{ matrix.features }} \
|
|
||||||
GUI=yes IME=yes ICONV=yes VIMDLL=yes \
|
|
||||||
STATIC_STDCPLUS=yes
|
|
||||||
fi
|
|
||||||
|
|
||||||
# - name: Prepare Artifact
|
|
||||||
# shell: cmd
|
|
||||||
# run: |
|
|
||||||
# mkdir artifacts
|
|
||||||
# copy src\*vim.exe artifacts
|
|
||||||
# copy src\vim*.dll artifacts
|
|
||||||
#
|
|
||||||
# - name: Upload Artifact
|
|
||||||
# uses: actions/upload-artifact@v1
|
|
||||||
# with:
|
|
||||||
# name: vim${{ matrix.bits }}-${{ matrix.toolchain }}
|
|
||||||
# path: ./artifacts
|
|
||||||
|
|
||||||
- name: Test
|
|
||||||
shell: cmd
|
|
||||||
timeout-minutes: 20
|
|
||||||
run: |
|
|
||||||
PATH %LUA_DIR%;C:\msys64\${{ matrix.msystem }}\bin;%PATH%;%PYTHON3_DIR%
|
|
||||||
call "%VCVARSALL%" ${{ matrix.vcarch }}
|
|
||||||
cd src
|
|
||||||
echo.
|
|
||||||
echo %COL_GREEN%vim version:%COL_RESET%
|
|
||||||
.\vim --version || exit 1
|
|
||||||
|
|
||||||
echo %COL_GREEN%Start testing vim in background.%COL_RESET%
|
|
||||||
start cmd /c "cd ..\src2\testdir & nmake -nologo -f Make_dos.mak VIMPROG=..\..\src\vim > nul & echo done>done.txt"
|
|
||||||
|
|
||||||
echo %COL_GREEN%Test gvim:%COL_RESET%
|
|
||||||
cd testdir
|
|
||||||
nmake -nologo -f Make_dos.mak VIMPROG=..\gvim || exit 1
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
echo %COL_GREEN%Wait for vim tests to finish.%COL_RESET%
|
|
||||||
cd ..\src2\testdir
|
|
||||||
:: Wait about 10 minutes.
|
|
||||||
for /L %%i in (1,1,60) do (
|
|
||||||
if exist done.txt goto exitloop
|
|
||||||
timeout 10
|
|
||||||
)
|
|
||||||
set timeout=1
|
|
||||||
:exitloop
|
|
||||||
|
|
||||||
echo %COL_GREEN%Test results of vim:%COL_RESET%
|
|
||||||
if exist messages type messages
|
|
||||||
nmake -nologo -f Make_dos.mak report VIMPROG=..\..\src\vim || exit 1
|
|
||||||
if "%timeout%"=="1" (
|
|
||||||
echo %COL_RED%Timed out.%COL_RESET%
|
|
||||||
exit 1
|
|
||||||
)
|
|
||||||
527
.github/workflows/ci.yml
vendored
Normal file
527
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,527 @@
|
|||||||
|
name: GitHub CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ['**']
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
linux:
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
|
||||||
|
env:
|
||||||
|
CC: ${{ matrix.compiler }}
|
||||||
|
TEST: test
|
||||||
|
SRCDIR: ./src
|
||||||
|
LEAK_CFLAGS: -DEXITFREE
|
||||||
|
LOG_DIR: ${{ github.workspace }}/logs
|
||||||
|
TERM: xterm
|
||||||
|
DISPLAY: ':99'
|
||||||
|
DEBIAN_FRONTEND: noninteractive
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
features: [tiny, small, normal, huge]
|
||||||
|
compiler: [clang, gcc]
|
||||||
|
extra: [none]
|
||||||
|
include:
|
||||||
|
- features: tiny
|
||||||
|
compiler: clang
|
||||||
|
extra: nogui
|
||||||
|
- features: tiny
|
||||||
|
compiler: gcc
|
||||||
|
extra: nogui
|
||||||
|
- features: normal
|
||||||
|
shadow: ./src/shadow
|
||||||
|
- features: huge
|
||||||
|
coverage: true
|
||||||
|
- features: huge
|
||||||
|
compiler: gcc
|
||||||
|
coverage: true
|
||||||
|
extra: testgui
|
||||||
|
- features: huge
|
||||||
|
compiler: clang
|
||||||
|
extra: asan
|
||||||
|
- features: huge
|
||||||
|
compiler: gcc
|
||||||
|
coverage: true
|
||||||
|
extra: unittests
|
||||||
|
- features: normal
|
||||||
|
compiler: gcc
|
||||||
|
extra: vimtags
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install packages
|
||||||
|
run: |
|
||||||
|
sudo apt-get install -y \
|
||||||
|
autoconf \
|
||||||
|
lcov \
|
||||||
|
gettext \
|
||||||
|
libcanberra-dev \
|
||||||
|
libperl-dev \
|
||||||
|
python-dev \
|
||||||
|
python3-dev \
|
||||||
|
liblua5.3-dev \
|
||||||
|
lua5.3 \
|
||||||
|
ruby-dev \
|
||||||
|
tcl-dev \
|
||||||
|
cscope \
|
||||||
|
libgtk2.0-dev \
|
||||||
|
desktop-file-utils \
|
||||||
|
libtool-bin
|
||||||
|
|
||||||
|
- name: Install clang-11
|
||||||
|
if: matrix.compiler == 'clang'
|
||||||
|
run: |
|
||||||
|
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
||||||
|
. /etc/lsb-release
|
||||||
|
sudo add-apt-repository -y "deb http://apt.llvm.org/${DISTRIB_CODENAME}/ llvm-toolchain-${DISTRIB_CODENAME}-11 main"
|
||||||
|
sudo apt-get install -y clang-11
|
||||||
|
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-11 100
|
||||||
|
sudo update-alternatives --set clang /usr/bin/clang-11
|
||||||
|
sudo update-alternatives --install /usr/bin/llvm-cov llvm-cov /usr/bin/llvm-cov-11 100
|
||||||
|
|
||||||
|
- name: Set up environment
|
||||||
|
run: |
|
||||||
|
mkdir -p "${LOG_DIR}"
|
||||||
|
mkdir -p "${HOME}/bin"
|
||||||
|
echo "${HOME}/bin" >> $GITHUB_PATH
|
||||||
|
(
|
||||||
|
echo "LINUX_VERSION=$(uname -r)"
|
||||||
|
echo "NPROC=$(getconf _NPROCESSORS_ONLN)"
|
||||||
|
echo "SND_DUMMY_DIR=${HOME}/snd-dummy"
|
||||||
|
echo "TMPDIR=${{ runner.temp }}"
|
||||||
|
|
||||||
|
case "${{ matrix.features }}" in
|
||||||
|
tiny|small)
|
||||||
|
echo "TEST=testtiny"
|
||||||
|
if ${{ contains(matrix.extra, 'nogui') }}; then
|
||||||
|
echo "CONFOPT=--disable-gui"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
normal)
|
||||||
|
;;
|
||||||
|
huge)
|
||||||
|
echo "TEST=scripttests test_libvterm"
|
||||||
|
echo "CONFOPT=--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if ${{ matrix.coverage == true }}; then
|
||||||
|
echo "CFLAGS=--coverage -DUSE_GCOV_FLUSH"
|
||||||
|
echo "LDFLAGS=--coverage"
|
||||||
|
fi
|
||||||
|
if ${{ contains(matrix.extra, 'testgui') }}; then
|
||||||
|
echo "TEST=-C src testgui"
|
||||||
|
fi
|
||||||
|
if ${{ contains(matrix.extra, 'unittests') }}; then
|
||||||
|
echo "TEST=unittests"
|
||||||
|
fi
|
||||||
|
if ${{ contains(matrix.extra, 'asan') }}; then
|
||||||
|
echo "SANITIZER_CFLAGS=-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize-recover=all -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer"
|
||||||
|
echo "ASAN_OPTIONS=print_stacktrace=1 log_path=${LOG_DIR}/asan"
|
||||||
|
echo "UBSAN_OPTIONS=print_stacktrace=1 log_path=${LOG_DIR}/ubsan"
|
||||||
|
echo "LSAN_OPTIONS=suppressions=${GITHUB_WORKSPACE}/src/testdir/lsan-suppress.txt"
|
||||||
|
fi
|
||||||
|
if ${{ contains(matrix.extra, 'vimtags') }}; then
|
||||||
|
echo "TEST=-C runtime/doc vimtags VIMEXE=../../${SRCDIR}/vim"
|
||||||
|
fi
|
||||||
|
) >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Set up system
|
||||||
|
run: |
|
||||||
|
if [[ ${CC} = clang ]]; then
|
||||||
|
# Use llvm-cov instead of gcov when compiler is clang.
|
||||||
|
ln -fs /usr/bin/llvm-cov ${HOME}/bin/gcov
|
||||||
|
fi
|
||||||
|
# Setup lua5.3 manually since its package doesn't provide alternative.
|
||||||
|
# https://bugs.launchpad.net/ubuntu/+source/lua5.3/+bug/1707212
|
||||||
|
if [[ ${CONFOPT} =~ luainterp ]]; then
|
||||||
|
sudo update-alternatives --install /usr/bin/lua lua /usr/bin/lua5.3 10
|
||||||
|
fi
|
||||||
|
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=0
|
||||||
|
sudo usermod -a -G audio "${USER}"
|
||||||
|
sudo bash ci/setup-xvfb.sh
|
||||||
|
|
||||||
|
- name: Cache snd-dummy
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: ${{ env.SND_DUMMY_DIR }}
|
||||||
|
key: linux-${{ env.LINUX_VERSION }}-snd-dummy
|
||||||
|
|
||||||
|
- name: Set up snd-dummy
|
||||||
|
run: |
|
||||||
|
if [[ ! -e ${SND_DUMMY_DIR}/snd-dummy.ko ]]; then
|
||||||
|
bash ci/build-snd-dummy.sh
|
||||||
|
fi
|
||||||
|
cd "${SND_DUMMY_DIR}"
|
||||||
|
sudo insmod soundcore.ko
|
||||||
|
sudo insmod snd.ko
|
||||||
|
sudo insmod snd-pcm.ko
|
||||||
|
sudo insmod snd-dummy.ko
|
||||||
|
|
||||||
|
- name: Check autoconf
|
||||||
|
if: contains(matrix.extra, 'unittests')
|
||||||
|
run: |
|
||||||
|
make -C src autoconf
|
||||||
|
|
||||||
|
- name: Set up shadow dir
|
||||||
|
if: matrix.shadow
|
||||||
|
run: |
|
||||||
|
make -C src shadow
|
||||||
|
echo "SRCDIR=${{ matrix.shadow }}" >> $GITHUB_ENV
|
||||||
|
echo "SHADOWOPT=-C ${{ matrix.shadow }}" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Configure
|
||||||
|
run: |
|
||||||
|
./configure --with-features=${{ matrix.features }} ${CONFOPT} --enable-fail-if-missing
|
||||||
|
# Append various warning flags to CFLAGS.
|
||||||
|
sed -i -f ci/config.mk.sed ${SRCDIR}/auto/config.mk
|
||||||
|
sed -i -f ci/config.mk.${CC}.sed ${SRCDIR}/auto/config.mk
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
if: (!contains(matrix.extra, 'unittests'))
|
||||||
|
run: |
|
||||||
|
make ${SHADOWOPT} -j${NPROC}
|
||||||
|
|
||||||
|
- name: Check version
|
||||||
|
if: (!contains(matrix.extra, 'unittests'))
|
||||||
|
run: |
|
||||||
|
"${SRCDIR}"/vim --version
|
||||||
|
"${SRCDIR}"/vim -u NONE -i NONE --not-a-term -esNX -V1 -S ci/if_ver-1.vim -c quit
|
||||||
|
"${SRCDIR}"/vim -u NONE -i NONE --not-a-term -esNX -V1 -S ci/if_ver-2.vim -c quit
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
timeout-minutes: 20
|
||||||
|
run: |
|
||||||
|
do_test() { sg audio "sg $(id -gn) '$*'"; }
|
||||||
|
do_test make ${SHADOWOPT} ${TEST}
|
||||||
|
|
||||||
|
- name: Coveralls
|
||||||
|
if: matrix.coverage && success() && github.event_name != 'pull_request'
|
||||||
|
env:
|
||||||
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||||
|
COVERALLS_PARALLEL: true
|
||||||
|
TRAVIS_JOB_ID: ${{ github.run_id }}
|
||||||
|
run: |
|
||||||
|
sudo apt-get install -y python3-setuptools python3-wheel
|
||||||
|
sudo -H pip3 install pip -U
|
||||||
|
# needed for https support for coveralls building cffi only works with gcc, not with clang
|
||||||
|
CC=gcc pip3 install --user cpp-coveralls pyopenssl ndg-httpsclient pyasn1
|
||||||
|
~/.local/bin/coveralls -b "${SRCDIR}" -x .xs -e "${SRCDIR}"/if_perl.c -e "${SRCDIR}"/xxd -e "${SRCDIR}"/libvterm --encodings utf-8
|
||||||
|
|
||||||
|
- name: Codecov
|
||||||
|
if: matrix.coverage && success()
|
||||||
|
run: |
|
||||||
|
cd "${SRCDIR}"
|
||||||
|
bash <(curl -s https://codecov.io/bash) -F "${{ matrix.features }}-${{ matrix.compiler }}-${{ matrix.extra }}"
|
||||||
|
|
||||||
|
- name: ASan logs
|
||||||
|
if: contains(matrix.extra, 'asan') && !cancelled()
|
||||||
|
run: |
|
||||||
|
for f in $(grep -lR '#[[:digit:]]* *0x[[:digit:]a-fA-F]*' "${LOG_DIR}"); do
|
||||||
|
asan_symbolize-11 -l "$f"
|
||||||
|
false # in order to fail a job
|
||||||
|
done
|
||||||
|
|
||||||
|
coveralls:
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
|
||||||
|
needs: linux
|
||||||
|
if: always() && github.event_name != 'pull_request'
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Parallel finished
|
||||||
|
env:
|
||||||
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||||
|
run: |
|
||||||
|
curl -k "https://coveralls.io/webhook?repo_token=${COVERALLS_REPO_TOKEN}" -d "payload[build_num]=${GITHUB_RUN_ID}&payload[status]=done"
|
||||||
|
|
||||||
|
macos:
|
||||||
|
runs-on: macos-latest
|
||||||
|
|
||||||
|
env:
|
||||||
|
CC: ${{ matrix.compiler }}
|
||||||
|
TEST: test
|
||||||
|
SRCDIR: ./src
|
||||||
|
LEAK_CFLAGS: -DEXITFREE
|
||||||
|
TERM: xterm
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
features: [tiny, huge]
|
||||||
|
compiler: [clang, gcc]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install packages
|
||||||
|
env:
|
||||||
|
HOMEBREW_NO_AUTO_UPDATE: 1
|
||||||
|
run: |
|
||||||
|
brew install lua
|
||||||
|
echo "LUA_PREFIX=/usr/local" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Set up environment
|
||||||
|
run: |
|
||||||
|
(
|
||||||
|
echo "NPROC=$(getconf _NPROCESSORS_ONLN)"
|
||||||
|
case "${{ matrix.features }}" in
|
||||||
|
tiny)
|
||||||
|
echo "TEST=testtiny"
|
||||||
|
echo "CONFOPT=--disable-gui"
|
||||||
|
;;
|
||||||
|
huge)
|
||||||
|
echo "CONFOPT=--enable-perlinterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
) >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Configure
|
||||||
|
run: |
|
||||||
|
./configure --with-features=${{ matrix.features }} ${CONFOPT} --enable-fail-if-missing
|
||||||
|
# Append various warning flags to CFLAGS.
|
||||||
|
# BSD sed needs backup extension specified.
|
||||||
|
sed -i.bak -f ci/config.mk.sed ${SRCDIR}/auto/config.mk
|
||||||
|
# On macOS, the entity of gcc is clang.
|
||||||
|
sed -i.bak -f ci/config.mk.clang.sed ${SRCDIR}/auto/config.mk
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
env:
|
||||||
|
LC_ALL: C
|
||||||
|
run: |
|
||||||
|
make -j${NPROC}
|
||||||
|
|
||||||
|
- name: Check version
|
||||||
|
run: |
|
||||||
|
"${SRCDIR}"/vim --version
|
||||||
|
"${SRCDIR}"/vim -u NONE -i NONE --not-a-term -esNX -V1 -S ci/if_ver-1.vim -c quit
|
||||||
|
"${SRCDIR}"/vim -u NONE -i NONE --not-a-term -esNX -V1 -S ci/if_ver-2.vim -c quit
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
timeout-minutes: 20
|
||||||
|
run: |
|
||||||
|
make ${TEST}
|
||||||
|
|
||||||
|
windows:
|
||||||
|
runs-on: windows-latest
|
||||||
|
|
||||||
|
env:
|
||||||
|
VCVARSALL: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat
|
||||||
|
# Interfaces
|
||||||
|
# Lua
|
||||||
|
LUA_VER: 54
|
||||||
|
LUA_VER_DOT: '5.4'
|
||||||
|
LUA_RELEASE: 5.4.0
|
||||||
|
LUA32_URL: https://downloads.sourceforge.net/luabinaries/lua-%LUA_RELEASE%_Win32_dllw6_lib.zip
|
||||||
|
LUA64_URL: https://downloads.sourceforge.net/luabinaries/lua-%LUA_RELEASE%_Win64_dllw6_lib.zip
|
||||||
|
LUA_DIR: D:\Lua
|
||||||
|
# Python 2
|
||||||
|
PYTHON_VER: 27
|
||||||
|
PYTHON_VER_DOT: '2.7'
|
||||||
|
# Python 3
|
||||||
|
PYTHON3_VER: 38
|
||||||
|
PYTHON3_VER_DOT: '3.8'
|
||||||
|
# Other dependencies
|
||||||
|
# winpty
|
||||||
|
WINPTY_URL: https://github.com/rprichard/winpty/releases/download/0.4.3/winpty-0.4.3-msvc2015.zip
|
||||||
|
# Escape sequences
|
||||||
|
COL_RED: "\x1b[31m"
|
||||||
|
COL_GREEN: "\x1b[32m"
|
||||||
|
COL_YELLOW: "\x1b[33m"
|
||||||
|
COL_RESET: "\x1b[m"
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
toolchain: [msvc, mingw]
|
||||||
|
arch: [x64, x86]
|
||||||
|
features: [HUGE, NORMAL]
|
||||||
|
include:
|
||||||
|
- arch: x64
|
||||||
|
vcarch: amd64
|
||||||
|
warch: x64
|
||||||
|
bits: 64
|
||||||
|
msystem: MINGW64
|
||||||
|
cygreg: registry
|
||||||
|
pyreg: ""
|
||||||
|
- arch: x86
|
||||||
|
vcarch: x86
|
||||||
|
warch: ia32
|
||||||
|
bits: 32
|
||||||
|
msystem: MINGW32
|
||||||
|
cygreg: registry32
|
||||||
|
pyreg: "-32"
|
||||||
|
exclude:
|
||||||
|
- toolchain: msvc
|
||||||
|
arch: x64
|
||||||
|
features: NORMAL
|
||||||
|
- toolchain: mingw
|
||||||
|
arch: x86
|
||||||
|
features: NORMAL
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Initalize
|
||||||
|
id: init
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git config --global core.autocrlf input
|
||||||
|
python_dir=$(cat "/proc/${{ matrix.cygreg }}/HKEY_LOCAL_MACHINE/SOFTWARE/Python/PythonCore/${PYTHON_VER_DOT}/InstallPath/@")
|
||||||
|
python3_dir=$(cat "/proc/${{ matrix.cygreg }}/HKEY_LOCAL_MACHINE/SOFTWARE/Python/PythonCore/${PYTHON3_VER_DOT}${{ matrix.pyreg }}/InstallPath/@")
|
||||||
|
echo "PYTHON_DIR=$python_dir" >> $GITHUB_ENV
|
||||||
|
echo "PYTHON3_DIR=$python3_dir" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- uses: msys2/setup-msys2@v2
|
||||||
|
if: matrix.toolchain == 'mingw'
|
||||||
|
with:
|
||||||
|
msystem: ${{ matrix.msystem }}
|
||||||
|
release: false
|
||||||
|
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Create a list of download URLs
|
||||||
|
shell: cmd
|
||||||
|
run: |
|
||||||
|
type NUL > urls.txt
|
||||||
|
echo %LUA_RELEASE%>> urls.txt
|
||||||
|
echo %WINPTY_URL%>> urls.txt
|
||||||
|
|
||||||
|
- name: Cache downloaded files
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: downloads
|
||||||
|
key: ${{ runner.os }}-${{ matrix.bits }}-${{ hashFiles('urls.txt') }}
|
||||||
|
|
||||||
|
- name: Download dependencies
|
||||||
|
shell: cmd
|
||||||
|
run: |
|
||||||
|
path C:\Program Files\7-Zip;%path%
|
||||||
|
if not exist downloads mkdir downloads
|
||||||
|
|
||||||
|
echo %COL_GREEN%Download Lua%COL_RESET%
|
||||||
|
call :downloadfile %LUA${{ matrix.bits }}_URL% downloads\lua.zip
|
||||||
|
7z x downloads\lua.zip -o%LUA_DIR% > nul || exit 1
|
||||||
|
|
||||||
|
echo %COL_GREEN%Download winpty%COL_RESET%
|
||||||
|
call :downloadfile %WINPTY_URL% downloads\winpty.zip
|
||||||
|
7z x -y downloads\winpty.zip -oD:\winpty > nul || exit 1
|
||||||
|
copy /Y D:\winpty\${{ matrix.warch }}\bin\winpty.dll src\winpty${{ matrix.bits }}.dll
|
||||||
|
copy /Y D:\winpty\${{ matrix.warch }}\bin\winpty-agent.exe src\
|
||||||
|
|
||||||
|
goto :eof
|
||||||
|
|
||||||
|
:downloadfile
|
||||||
|
:: call :downloadfile <URL> <localfile>
|
||||||
|
if not exist %2 (
|
||||||
|
curl -f -L %1 -o %2
|
||||||
|
)
|
||||||
|
if ERRORLEVEL 1 (
|
||||||
|
rem Retry once.
|
||||||
|
curl -f -L %1 -o %2 || exit 1
|
||||||
|
)
|
||||||
|
goto :eof
|
||||||
|
|
||||||
|
- name: Copy src directory to src2
|
||||||
|
shell: cmd
|
||||||
|
run: |
|
||||||
|
xcopy src src2\ /E > nul
|
||||||
|
|
||||||
|
- name: Build (MSVC)
|
||||||
|
if: matrix.toolchain == 'msvc'
|
||||||
|
shell: cmd
|
||||||
|
run: |
|
||||||
|
call "%VCVARSALL%" ${{ matrix.vcarch }}
|
||||||
|
cd src
|
||||||
|
:: Filter out the progress bar from the build log
|
||||||
|
sed -e "s/@<<$/@<< | sed -e 's#.*\\\\r.*##'/" Make_mvc.mak > Make_mvc2.mak
|
||||||
|
if "${{ matrix.features }}"=="HUGE" (
|
||||||
|
nmake -nologo -f Make_mvc2.mak ^
|
||||||
|
FEATURES=${{ matrix.features }} ^
|
||||||
|
GUI=yes IME=yes ICONV=yes VIMDLL=yes ^
|
||||||
|
DYNAMIC_LUA=yes LUA=%LUA_DIR% ^
|
||||||
|
DYNAMIC_PYTHON=yes PYTHON=%PYTHON_DIR% ^
|
||||||
|
DYNAMIC_PYTHON3=yes PYTHON3=%PYTHON3_DIR%
|
||||||
|
) else (
|
||||||
|
nmake -nologo -f Make_mvc2.mak ^
|
||||||
|
FEATURES=${{ matrix.features }} ^
|
||||||
|
GUI=yes IME=yes ICONV=yes VIMDLL=yes
|
||||||
|
)
|
||||||
|
if not exist vim${{ matrix.bits }}.dll (
|
||||||
|
echo %COL_RED%Build failure.%COL_RESET%
|
||||||
|
exit 1
|
||||||
|
)
|
||||||
|
|
||||||
|
- name: Build (MinGW)
|
||||||
|
if: matrix.toolchain == 'mingw'
|
||||||
|
shell: msys2 {0}
|
||||||
|
run: |
|
||||||
|
cd src
|
||||||
|
if [ "${{ matrix.features }}" = "HUGE" ]; then
|
||||||
|
mingw32-make -f Make_ming.mak -j2 \
|
||||||
|
FEATURES=${{ matrix.features }} \
|
||||||
|
GUI=yes IME=yes ICONV=yes VIMDLL=yes \
|
||||||
|
DYNAMIC_LUA=yes LUA=${LUA_DIR} \
|
||||||
|
DYNAMIC_PYTHON=yes PYTHON=${PYTHON_DIR} \
|
||||||
|
DYNAMIC_PYTHON3=yes PYTHON3=${PYTHON3_DIR} \
|
||||||
|
STATIC_STDCPLUS=yes
|
||||||
|
else
|
||||||
|
mingw32-make -f Make_ming.mak -j2 \
|
||||||
|
FEATURES=${{ matrix.features }} \
|
||||||
|
GUI=yes IME=yes ICONV=yes VIMDLL=yes \
|
||||||
|
STATIC_STDCPLUS=yes
|
||||||
|
fi
|
||||||
|
|
||||||
|
#- name: Prepare Artifact
|
||||||
|
# shell: cmd
|
||||||
|
# run: |
|
||||||
|
# mkdir artifacts
|
||||||
|
# copy src\*vim.exe artifacts
|
||||||
|
# copy src\vim*.dll artifacts
|
||||||
|
#
|
||||||
|
#- name: Upload Artifact
|
||||||
|
# uses: actions/upload-artifact@v1
|
||||||
|
# with:
|
||||||
|
# name: vim${{ matrix.bits }}-${{ matrix.toolchain }}
|
||||||
|
# path: ./artifacts
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
shell: cmd
|
||||||
|
timeout-minutes: 20
|
||||||
|
run: |
|
||||||
|
PATH %LUA_DIR%;C:\msys64\${{ matrix.msystem }}\bin;%PATH%;%PYTHON3_DIR%
|
||||||
|
call "%VCVARSALL%" ${{ matrix.vcarch }}
|
||||||
|
cd src
|
||||||
|
echo.
|
||||||
|
echo %COL_GREEN%vim version:%COL_RESET%
|
||||||
|
.\vim --version || exit 1
|
||||||
|
|
||||||
|
echo %COL_GREEN%Start testing vim in background.%COL_RESET%
|
||||||
|
start cmd /c "cd ..\src2\testdir & nmake -nologo -f Make_dos.mak VIMPROG=..\..\src\vim > nul & echo done>done.txt"
|
||||||
|
|
||||||
|
echo %COL_GREEN%Test gvim:%COL_RESET%
|
||||||
|
cd testdir
|
||||||
|
nmake -nologo -f Make_dos.mak VIMPROG=..\gvim || exit 1
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
echo %COL_GREEN%Wait for vim tests to finish.%COL_RESET%
|
||||||
|
cd ..\src2\testdir
|
||||||
|
:: Wait about 10 minutes.
|
||||||
|
for /L %%i in (1,1,60) do (
|
||||||
|
if exist done.txt goto exitloop
|
||||||
|
timeout 10 > NUL 2>&1
|
||||||
|
if ERRORLEVEL 1 ping -n 11 localhost > NUL
|
||||||
|
)
|
||||||
|
set timeout=1
|
||||||
|
:exitloop
|
||||||
|
|
||||||
|
echo %COL_GREEN%Test results of vim:%COL_RESET%
|
||||||
|
if exist messages type messages
|
||||||
|
nmake -nologo -f Make_dos.mak report VIMPROG=..\..\src\vim || exit 1
|
||||||
|
if "%timeout%"=="1" (
|
||||||
|
echo %COL_RED%Timed out.%COL_RESET%
|
||||||
|
exit 1
|
||||||
|
)
|
||||||
9
.github/workflows/codeql-analysis.yml
vendored
9
.github/workflows/codeql-analysis.yml
vendored
@@ -31,15 +31,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
|
||||||
# We must fetch at least the immediate parents so that if this is
|
|
||||||
# a pull request then we can checkout the head.
|
|
||||||
fetch-depth: 2
|
|
||||||
|
|
||||||
# If this run was triggered by a pull request event, then checkout
|
|
||||||
# the head of the pull request instead of the merge commit.
|
|
||||||
- run: git checkout HEAD^2
|
|
||||||
if: ${{ github.event_name == 'pull_request' }}
|
|
||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -25,7 +25,6 @@ src/auto/pathdef.c
|
|||||||
# Windows
|
# Windows
|
||||||
*.exe
|
*.exe
|
||||||
*.idb
|
*.idb
|
||||||
*.manifest
|
|
||||||
*.exp
|
*.exp
|
||||||
*.map
|
*.map
|
||||||
*.obj
|
*.obj
|
||||||
|
|||||||
@@ -26,7 +26,6 @@ src/auto/pathdef.c
|
|||||||
# Windows
|
# Windows
|
||||||
*.exe
|
*.exe
|
||||||
*.idb
|
*.idb
|
||||||
*.manifest
|
|
||||||
*.exp
|
*.exp
|
||||||
*.map
|
*.map
|
||||||
*.obj
|
*.obj
|
||||||
|
|||||||
202
.travis.yml
202
.travis.yml
@@ -172,56 +172,56 @@ script:
|
|||||||
# Linux: 2 compilers on some of the environments + gcc on os390
|
# Linux: 2 compilers on some of the environments + gcc on os390
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- <<: *osx
|
#- <<: *osx
|
||||||
name: tiny-nogui/clang
|
# name: tiny-nogui/clang
|
||||||
compiler: clang
|
# compiler: clang
|
||||||
env: *tiny-nogui
|
# env: *tiny-nogui
|
||||||
- <<: *osx
|
#- <<: *osx
|
||||||
name: tiny-nogui/gcc
|
# name: tiny-nogui/gcc
|
||||||
compiler: gcc
|
# compiler: gcc
|
||||||
env: *tiny-nogui
|
# env: *tiny-nogui
|
||||||
- <<: *osx
|
#- <<: *osx
|
||||||
<<: *osx-homebrew
|
# <<: *osx-homebrew
|
||||||
name: huge/clang
|
# name: huge/clang
|
||||||
compiler: clang
|
# compiler: clang
|
||||||
env: *osx-huge
|
# env: *osx-huge
|
||||||
- <<: *osx
|
#- <<: *osx
|
||||||
<<: *osx-homebrew
|
# <<: *osx-homebrew
|
||||||
name: huge/gcc
|
# name: huge/gcc
|
||||||
compiler: gcc
|
# compiler: gcc
|
||||||
env: *osx-huge
|
# env: *osx-huge
|
||||||
- <<: *linux
|
#- <<: *linux
|
||||||
name: tiny-nogui/clang
|
# name: tiny-nogui/clang
|
||||||
compiler: clang
|
# compiler: clang
|
||||||
env: *tiny-nogui
|
# env: *tiny-nogui
|
||||||
- <<: *linux
|
#- <<: *linux
|
||||||
name: tiny-nogui/gcc
|
# name: tiny-nogui/gcc
|
||||||
compiler: gcc
|
# compiler: gcc
|
||||||
env: *tiny-nogui
|
# env: *tiny-nogui
|
||||||
- <<: *linux
|
#- <<: *linux
|
||||||
name: tiny/clang
|
# name: tiny/clang
|
||||||
compiler: clang
|
# compiler: clang
|
||||||
env: *tiny
|
# env: *tiny
|
||||||
- <<: *linux
|
#- <<: *linux
|
||||||
name: tiny/gcc
|
# name: tiny/gcc
|
||||||
compiler: gcc
|
# compiler: gcc
|
||||||
env: *tiny
|
# env: *tiny
|
||||||
- <<: *linux
|
#- <<: *linux
|
||||||
name: small/gcc
|
# name: small/gcc
|
||||||
compiler: gcc
|
# compiler: gcc
|
||||||
env: *small
|
# env: *small
|
||||||
- <<: *linux
|
#- <<: *linux
|
||||||
name: normal+shadow/clang
|
# name: normal+shadow/clang
|
||||||
compiler: clang
|
# compiler: clang
|
||||||
env:
|
# env:
|
||||||
- *normal
|
# - *normal
|
||||||
- *shadowopt
|
# - *shadowopt
|
||||||
- <<: *linux
|
#- <<: *linux
|
||||||
name: normal+shadow/gcc
|
# name: normal+shadow/gcc
|
||||||
compiler: gcc
|
# compiler: gcc
|
||||||
env:
|
# env:
|
||||||
- *normal
|
# - *normal
|
||||||
- *shadowopt
|
# - *shadowopt
|
||||||
- <<: *linux
|
- <<: *linux
|
||||||
arch: s390x
|
arch: s390x
|
||||||
name: huge/gcc-s390x
|
name: huge/gcc-s390x
|
||||||
@@ -234,57 +234,55 @@ jobs:
|
|||||||
compiler: gcc
|
compiler: gcc
|
||||||
env: *linux-huge
|
env: *linux-huge
|
||||||
services: []
|
services: []
|
||||||
- <<: *linux
|
#- <<: *linux
|
||||||
name: huge+coverage/clang
|
# name: huge+coverage/clang
|
||||||
compiler: clang
|
# compiler: clang
|
||||||
env:
|
# env:
|
||||||
- *linux-huge
|
# - *linux-huge
|
||||||
- *coverage
|
# - *coverage
|
||||||
# Clang cannot compile test_libvterm with "--coverage" flag.
|
# after_success: *eval-coverage
|
||||||
- TEST=scripttests
|
#- <<: *linux
|
||||||
after_success: *eval-coverage
|
# name: huge+coverage/gcc
|
||||||
- <<: *linux
|
# compiler: gcc
|
||||||
name: huge+coverage/gcc
|
# env:
|
||||||
compiler: gcc
|
# - *linux-huge
|
||||||
env:
|
# - *coverage
|
||||||
- *linux-huge
|
# after_success: *eval-coverage
|
||||||
- *coverage
|
#- <<: *linux # ASAN
|
||||||
after_success: *eval-coverage
|
# name: huge+asan/clang
|
||||||
- <<: *linux # ASAN
|
# compiler: clang-11
|
||||||
name: huge+asan/clang
|
# addons:
|
||||||
compiler: clang-11
|
# apt:
|
||||||
addons:
|
# sources:
|
||||||
apt:
|
# - sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main'
|
||||||
sources:
|
# key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
|
||||||
- sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main'
|
# packages:
|
||||||
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
|
# - *apt-packages
|
||||||
packages:
|
# - clang-11
|
||||||
- *apt-packages
|
# env:
|
||||||
- clang-11
|
# - *linux-huge
|
||||||
env:
|
# - *asan
|
||||||
- *linux-huge
|
# after_failure: *asan_symbolize
|
||||||
- *asan
|
#- <<: *linux
|
||||||
after_failure: *asan_symbolize
|
# name: huge-testgui+coverage/gcc
|
||||||
- <<: *linux
|
# compiler: gcc
|
||||||
name: huge-testgui+coverage/gcc
|
# env:
|
||||||
compiler: gcc
|
# - *linux-huge
|
||||||
env:
|
# - *coverage
|
||||||
- *linux-huge
|
# - TEST="-C src testgui"
|
||||||
- *coverage
|
# after_success: *eval-coverage
|
||||||
- TEST="-C src testgui"
|
#- <<: *linux
|
||||||
after_success: *eval-coverage
|
# name: unittests+coverage/gcc
|
||||||
- <<: *linux
|
# compiler: gcc
|
||||||
name: unittests+coverage/gcc
|
# env:
|
||||||
compiler: gcc
|
# - *unittests
|
||||||
env:
|
# - *coverage
|
||||||
- *unittests
|
# after_success: *eval-coverage
|
||||||
- *coverage
|
#- <<: *linux
|
||||||
after_success: *eval-coverage
|
# name: vimtags/gcc
|
||||||
- <<: *linux
|
# compiler: gcc
|
||||||
name: vimtags/gcc
|
# env:
|
||||||
compiler: gcc
|
# - *normal
|
||||||
env:
|
# - TEST="-C runtime/doc vimtags VIMEXE=../../${SRCDIR}/vim"
|
||||||
- *normal
|
|
||||||
- TEST="-C runtime/doc vimtags VIMEXE=../../${SRCDIR}/vim"
|
|
||||||
|
|
||||||
# vim:set sts=2 sw=2 tw=0 et:
|
# vim:set sts=2 sw=2 tw=0 et:
|
||||||
|
|||||||
26
Filelist
26
Filelist
@@ -3,20 +3,24 @@
|
|||||||
|
|
||||||
# source files for all source archives
|
# source files for all source archives
|
||||||
SRC_ALL = \
|
SRC_ALL = \
|
||||||
.gitignore \
|
.cirrus.yml \
|
||||||
|
.coveralls.yml \
|
||||||
.gitattributes \
|
.gitattributes \
|
||||||
|
.github/CODEOWNERS \
|
||||||
|
.github/workflows/ci.yml \
|
||||||
|
.github/workflows/codeql-analysis.yml \
|
||||||
|
.gitignore \
|
||||||
.hgignore \
|
.hgignore \
|
||||||
.lgtm.yml \
|
.lgtm.yml \
|
||||||
.travis.yml \
|
.travis.yml \
|
||||||
.cirrus.yml \
|
.appveyor.yml \
|
||||||
.github/workflows/ci-windows.yaml \
|
.codecov.yml \
|
||||||
.github/workflows/codeql-analysis.yml \
|
|
||||||
.github/CODEOWNERS \
|
|
||||||
appveyor.yml \
|
|
||||||
ci/appveyor.bat \
|
ci/appveyor.bat \
|
||||||
|
ci/build-snd-dummy.sh \
|
||||||
|
ci/config.mk*.sed \
|
||||||
ci/if_ver*.vim \
|
ci/if_ver*.vim \
|
||||||
ci/load-snd-dummy.sh \
|
ci/load-snd-dummy.sh \
|
||||||
ci/config.mk*.sed \
|
ci/setup-xvfb.sh \
|
||||||
src/Make_all.mak \
|
src/Make_all.mak \
|
||||||
src/README.md \
|
src/README.md \
|
||||||
src/alloc.h \
|
src/alloc.h \
|
||||||
@@ -64,6 +68,7 @@ SRC_ALL = \
|
|||||||
src/fileio.c \
|
src/fileio.c \
|
||||||
src/filepath.c \
|
src/filepath.c \
|
||||||
src/findfile.c \
|
src/findfile.c \
|
||||||
|
src/float.c \
|
||||||
src/fold.c \
|
src/fold.c \
|
||||||
src/getchar.c \
|
src/getchar.c \
|
||||||
src/globals.h \
|
src/globals.h \
|
||||||
@@ -242,6 +247,7 @@ SRC_ALL = \
|
|||||||
src/proto/fileio.pro \
|
src/proto/fileio.pro \
|
||||||
src/proto/filepath.pro \
|
src/proto/filepath.pro \
|
||||||
src/proto/findfile.pro \
|
src/proto/findfile.pro \
|
||||||
|
src/proto/float.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 \
|
||||||
@@ -433,7 +439,6 @@ SRC_UNIX = \
|
|||||||
src/gui_gtk_x11.c \
|
src/gui_gtk_x11.c \
|
||||||
src/gui_gtk_res.xml \
|
src/gui_gtk_res.xml \
|
||||||
src/gui_motif.c \
|
src/gui_motif.c \
|
||||||
src/gui_xim.c \
|
|
||||||
src/gui_xmdlg.c \
|
src/gui_xmdlg.c \
|
||||||
src/gui_xmebw.c \
|
src/gui_xmebw.c \
|
||||||
src/gui_xmebw.h \
|
src/gui_xmebw.h \
|
||||||
@@ -457,7 +462,6 @@ SRC_UNIX = \
|
|||||||
src/proto/gui_gtk_x11.pro \
|
src/proto/gui_gtk_x11.pro \
|
||||||
src/proto/gui_gtk_gresources.pro \
|
src/proto/gui_gtk_gresources.pro \
|
||||||
src/proto/gui_motif.pro \
|
src/proto/gui_motif.pro \
|
||||||
src/proto/gui_xim.pro \
|
|
||||||
src/proto/gui_xmdlg.pro \
|
src/proto/gui_xmdlg.pro \
|
||||||
src/proto/gui_x11.pro \
|
src/proto/gui_x11.pro \
|
||||||
src/proto/if_xcmdsrv.pro \
|
src/proto/if_xcmdsrv.pro \
|
||||||
@@ -477,6 +481,7 @@ SRC_UNIX = \
|
|||||||
|
|
||||||
# source files for both DOS and Unix
|
# source files for both DOS and Unix
|
||||||
SRC_DOS_UNIX = \
|
SRC_DOS_UNIX = \
|
||||||
|
src/gui_xim.c \
|
||||||
src/if_cscope.c \
|
src/if_cscope.c \
|
||||||
src/if_cscope.h \
|
src/if_cscope.h \
|
||||||
src/if_lua.c \
|
src/if_lua.c \
|
||||||
@@ -489,6 +494,7 @@ SRC_DOS_UNIX = \
|
|||||||
src/if_py_both.h \
|
src/if_py_both.h \
|
||||||
src/if_ruby.c \
|
src/if_ruby.c \
|
||||||
src/if_tcl.c \
|
src/if_tcl.c \
|
||||||
|
src/proto/gui_xim.pro \
|
||||||
src/proto/if_cscope.pro \
|
src/proto/if_cscope.pro \
|
||||||
src/proto/if_lua.pro \
|
src/proto/if_lua.pro \
|
||||||
src/proto/if_mzsch.pro \
|
src/proto/if_mzsch.pro \
|
||||||
@@ -563,7 +569,7 @@ SRC_DOS = \
|
|||||||
src/uninstall.c \
|
src/uninstall.c \
|
||||||
src/vim.def \
|
src/vim.def \
|
||||||
src/vim.rc \
|
src/vim.rc \
|
||||||
src/gvim.exe.mnf \
|
src/vim.manifest \
|
||||||
src/vimrun.c \
|
src/vimrun.c \
|
||||||
src/xpm_w32.c \
|
src/xpm_w32.c \
|
||||||
src/xpm_w32.h \
|
src/xpm_w32.h \
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -94,7 +94,7 @@ MINOR = 2
|
|||||||
# src/Makefile, README.txt, README.md, src/README.md, READMEdir/README*.txt,
|
# src/Makefile, README.txt, README.md, src/README.md, READMEdir/README*.txt,
|
||||||
# runtime/doc/*.txt and make nsis/gvim_version.nsh.
|
# runtime/doc/*.txt and make nsis/gvim_version.nsh.
|
||||||
# For a minor/major version: src/GvimExt/GvimExt.reg, src/vim.def,
|
# For a minor/major version: src/GvimExt/GvimExt.reg, src/vim.def,
|
||||||
# src/gvim.exe.mnf.
|
# src/vim.manifest.
|
||||||
# - Compile Vim with GTK, Perl, Python, Python3, TCL, Ruby, Lua, Cscope and
|
# - Compile Vim with GTK, Perl, Python, Python3, TCL, Ruby, Lua, Cscope and
|
||||||
# "huge" features. Add MZscheme if you can make it work.
|
# "huge" features. Add MZscheme if you can make it work.
|
||||||
# Use "make reconfig" after selecting the configure arguments.
|
# Use "make reconfig" after selecting the configure arguments.
|
||||||
|
|||||||
50
README.md
50
README.md
@@ -1,25 +1,26 @@
|
|||||||

|
[](https://www.vim.org)
|
||||||
|
|
||||||
[](https://travis-ci.org/vim/vim)
|
[](https://github.com/vim/vim/actions?query=workflow%3A%22GitHub+CI%22) [](https://travis-ci.com/github/vim/vim) [](https://ci.appveyor.com/project/chrisbra/vim) [](https://cirrus-ci.com/github/vim/vim) [](https://codecov.io/gh/vim/vim?branch=master) [](https://scan.coverity.com/projects/vim) [](https://lgtm.com/projects/g/vim/vim/context:cpp) [](https://buildd.debian.org/vim) [](https://repology.org/metapackage/vim) [](https://fossies.org/linux/test/vim-master.tar.gz/codespell.html)
|
||||||
[](https://ci.appveyor.com/project/chrisbra/vim)
|
|
||||||
[](https://github.com/vim/vim/actions?query=workflow%3A%22GitHub+CI%22)
|
<sub>For translations of this README see the end.</sub>
|
||||||
[](https://cirrus-ci.com/github/vim/vim)
|
|
||||||
[](https://codecov.io/gh/vim/vim?branch=master)
|
If you find a bug or want to discuss the best way to add a new feature, please
|
||||||
[](https://scan.coverity.com/projects/vim)
|
open an [issue](https://github.com/vim/vim/issues).
|
||||||
[](https://lgtm.com/projects/g/vim/vim/context:cpp)
|
If you have a question or want to discuss the best way to do something with
|
||||||
[](https://buildd.debian.org/vim)
|
Vim, you can use [StackExchange](https://vi.stackexchange.com/)
|
||||||
[](https://repology.org/metapackage/vim)
|
or one of the [Maillists](https://www.vim.org/community.php).
|
||||||
For translations of this README see the end.
|
|
||||||
|
|
||||||
|
|
||||||
## What is Vim? ##
|
## What is Vim? ##
|
||||||
|
|
||||||
Vim is a greatly improved version of the good old UNIX editor Vi. Many new
|
Vim is a greatly improved version of the good old UNIX editor
|
||||||
|
[Vi](https://en.wikipedia.org/wiki/Vi). Many new
|
||||||
features have been added: multi-level undo, syntax highlighting, command line
|
features have been added: multi-level undo, syntax highlighting, command line
|
||||||
history, on-line help, spell checking, filename completion, block operations,
|
history, on-line help, spell checking, filename completion, block operations,
|
||||||
script language, etc. There is also a Graphical User Interface (GUI)
|
script language, etc. There is also a Graphical User Interface (GUI)
|
||||||
available. Still, Vi compatibility is maintained, those who have Vi "in the
|
available. Still, Vi compatibility is maintained, those who have Vi "in the
|
||||||
fingers" will feel at home. See `runtime/doc/vi_diff.txt` for differences with
|
fingers" will feel at home.
|
||||||
|
See [`runtime/doc/vi_diff.txt`](runtime/doc/vi_diff.txt) for differences with
|
||||||
Vi.
|
Vi.
|
||||||
|
|
||||||
This editor is very useful for editing programs and other plain text files.
|
This editor is very useful for editing programs and other plain text files.
|
||||||
@@ -49,7 +50,7 @@ want or must compile it yourself. Check http://www.vim.org/download.php for
|
|||||||
an overview of currently available distributions.
|
an overview of currently available distributions.
|
||||||
|
|
||||||
Some popular places to get the latest Vim:
|
Some popular places to get the latest Vim:
|
||||||
* Check out the git repository from [github](https://github.com/vim/vim).
|
* Check out the git repository from [GitHub](https://github.com/vim/vim).
|
||||||
* Get the source code as an [archive](https://github.com/vim/vim/releases).
|
* Get the source code as an [archive](https://github.com/vim/vim/releases).
|
||||||
* Get a Windows executable from the
|
* Get a Windows executable from the
|
||||||
[vim-win32-installer](https://github.com/vim/vim-win32-installer/releases) repository.
|
[vim-win32-installer](https://github.com/vim/vim-win32-installer/releases) repository.
|
||||||
@@ -60,14 +61,14 @@ Some popular places to get the latest Vim:
|
|||||||
|
|
||||||
If you obtained a binary distribution you don't need to compile Vim. If you
|
If you obtained a binary distribution you don't need to compile Vim. If you
|
||||||
obtained a source distribution, all the stuff for compiling Vim is in the
|
obtained a source distribution, all the stuff for compiling Vim is in the
|
||||||
`src` directory. See `src/INSTALL` for instructions.
|
[`src`](/src) directory. See [`src/INSTALL`](src/INSTALL) for instructions.
|
||||||
|
|
||||||
|
|
||||||
## Installation ##
|
## Installation ##
|
||||||
|
|
||||||
See one of these files for system-specific instructions. Either in the
|
See one of these files for system-specific instructions. Either in the
|
||||||
READMEdir directory (in the repository) or the top directory (if you unpack an
|
[READMEdir directory](./READMEdir/) (in the repository) or
|
||||||
archive):
|
the top directory (if you unpack an archive):
|
||||||
|
|
||||||
README_ami.txt Amiga
|
README_ami.txt Amiga
|
||||||
README_unix.txt Unix
|
README_unix.txt Unix
|
||||||
@@ -85,8 +86,9 @@ The Vim tutor is a one hour training course for beginners. Often it can be
|
|||||||
started as `vimtutor`. See `:help tutor` for more information.
|
started as `vimtutor`. See `:help tutor` for more information.
|
||||||
|
|
||||||
The best is to use `:help` in Vim. If you don't have an executable yet, read
|
The best is to use `:help` in Vim. If you don't have an executable yet, read
|
||||||
`runtime/doc/help.txt`. It contains pointers to the other documentation
|
[`runtime/doc/help.txt`](/runtime/doc/help.txt).
|
||||||
files. The User Manual reads like a book and is recommended to learn to use
|
It contains pointers to the other documentation files.
|
||||||
|
The User Manual reads like a book and is recommended to learn to use
|
||||||
Vim. See `:help user-manual`.
|
Vim. See `:help user-manual`.
|
||||||
|
|
||||||
|
|
||||||
@@ -94,7 +96,8 @@ Vim. See `:help user-manual`.
|
|||||||
|
|
||||||
Vim is Charityware. You can use and copy it as much as you like, but you are
|
Vim is Charityware. You can use and copy it as much as you like, but you are
|
||||||
encouraged to make a donation to help orphans in Uganda. Please read the file
|
encouraged to make a donation to help orphans in Uganda. Please read the file
|
||||||
`runtime/doc/uganda.txt` for details (do `:help uganda` inside Vim).
|
[`runtime/doc/uganda.txt`](runtime/doc/uganda.txt)
|
||||||
|
for details (do `:help uganda` inside Vim).
|
||||||
|
|
||||||
Summary of the license: There are no restrictions on using or distributing an
|
Summary of the license: There are no restrictions on using or distributing an
|
||||||
unmodified copy of Vim. Parts of Vim may also be distributed, but the license
|
unmodified copy of Vim. Parts of Vim may also be distributed, but the license
|
||||||
@@ -110,8 +113,8 @@ your appreciation for the work and motivate Bram and others to continue
|
|||||||
working on Vim please send a donation.
|
working on Vim please send a donation.
|
||||||
|
|
||||||
Since Bram is back to a paid job the money will now be used to help children
|
Since Bram is back to a paid job the money will now be used to help children
|
||||||
in Uganda. See `runtime/doc/uganda.txt`. But at the same time donations
|
in Uganda. See [`runtime/doc/uganda.txt`](runtime/doc/uganda.txt). But
|
||||||
increase Bram's motivation to keep working on Vim!
|
at the same time donations increase Bram's motivation to keep working on Vim!
|
||||||
|
|
||||||
For the most recent information about sponsoring look on the Vim web site:
|
For the most recent information about sponsoring look on the Vim web site:
|
||||||
http://www.vim.org/sponsor/
|
http://www.vim.org/sponsor/
|
||||||
@@ -119,7 +122,8 @@ For the most recent information about sponsoring look on the Vim web site:
|
|||||||
|
|
||||||
## Contributing ##
|
## Contributing ##
|
||||||
|
|
||||||
If you would like to help making Vim better, see the [CONTRIBUTING.md](https://github.com/vim/vim/blob/master/CONTRIBUTING.md) file.
|
If you would like to help making Vim better, see the
|
||||||
|
[CONTRIBUTING.md](/CONTRIBUTING.md) file.
|
||||||
|
|
||||||
|
|
||||||
## Information ##
|
## Information ##
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ the text. For example, reindent all the lines:
|
|||||||
| Vim new | 0.190276 |
|
| Vim new | 0.190276 |
|
||||||
|
|
||||||
The differences are smaller, but Vim 9 script is clearly the fastest.
|
The differences are smaller, but Vim 9 script is clearly the fastest.
|
||||||
|
Using LuaJIT gives 0.25, only a little bit faster than plain Lua.
|
||||||
|
|
||||||
How does Vim9 script work? The function is first compiled into a sequence of
|
How does Vim9 script work? The function is first compiled into a sequence of
|
||||||
instructions. Each instruction has one or two parameters and a stack is
|
instructions. Each instruction has one or two parameters and a stack is
|
||||||
@@ -159,18 +160,18 @@ thing I have been thinking of is assignments without ":let". I often
|
|||||||
make that mistake (after writing JavaScript especially). I think it is
|
make that mistake (after writing JavaScript especially). I think it is
|
||||||
possible, if we make local variables shadow commands. That should be OK,
|
possible, if we make local variables shadow commands. That should be OK,
|
||||||
if you shadow a command you want to use, just rename the variable.
|
if you shadow a command you want to use, just rename the variable.
|
||||||
Using "let" and "const" to declare a variable, like in JavaScript and
|
Using "var" and "const" to declare a variable, like in JavaScript and
|
||||||
TypeScript, can work:
|
TypeScript, can work:
|
||||||
|
|
||||||
|
|
||||||
``` vim
|
``` vim
|
||||||
def MyFunction(arg: number): number
|
def MyFunction(arg: number): number
|
||||||
let local = 1
|
var local = 1
|
||||||
let todo = arg
|
var todo = arg
|
||||||
const ADD = 88
|
const ADD = 88
|
||||||
while todo > 0
|
while todo > 0
|
||||||
local += ADD
|
local += ADD
|
||||||
--todo
|
todo -= 1
|
||||||
endwhile
|
endwhile
|
||||||
return local
|
return local
|
||||||
enddef
|
enddef
|
||||||
@@ -192,7 +193,7 @@ function and export it:
|
|||||||
``` vim
|
``` vim
|
||||||
vim9script " Vim9 script syntax used here
|
vim9script " Vim9 script syntax used here
|
||||||
|
|
||||||
let local = 'local variable is not exported, script-local'
|
var local = 'local variable is not exported, script-local'
|
||||||
|
|
||||||
export def MyFunction() " exported function
|
export def MyFunction() " exported function
|
||||||
...
|
...
|
||||||
@@ -248,10 +249,10 @@ END
|
|||||||
return luaeval('sum')
|
return luaeval('sum')
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
def VimNew()
|
def VimNew(): number
|
||||||
let sum = 0
|
var sum = 0
|
||||||
for i in range(1, 2999999)
|
for i in range(1, 2999999)
|
||||||
let sum += i
|
sum += i
|
||||||
endfor
|
endfor
|
||||||
return sum
|
return sum
|
||||||
enddef
|
enddef
|
||||||
@@ -277,7 +278,7 @@ echo 'Vim new: ' .. reltimestr(reltime(start))
|
|||||||
|
|
||||||
``` vim
|
``` vim
|
||||||
def VimNew(): number
|
def VimNew(): number
|
||||||
let totallen = 0
|
var totallen = 0
|
||||||
for i in range(1, 100000)
|
for i in range(1, 100000)
|
||||||
setline(i, ' ' .. getline(i))
|
setline(i, ' ' .. getline(i))
|
||||||
totallen += len(getline(i))
|
totallen += len(getline(i))
|
||||||
|
|||||||
@@ -1,28 +1,12 @@
|
|||||||
README_mac.txt for version 8.2 of Vim: Vi IMproved.
|
README_mac.txt for version 8.2 of Vim: Vi IMproved.
|
||||||
|
|
||||||
This file explains the installation of Vim on Macintosh systems.
|
This file explains the installation of Vim on MacOS systems.
|
||||||
See "README.txt" for general information about Vim.
|
See "README.txt" for general information about Vim.
|
||||||
|
|
||||||
|
To build from source get the files with git from https://github.com/vim/vim.
|
||||||
|
The find the instructions in src/INSTALLmac.txt.
|
||||||
|
|
||||||
To build from sources, like on Unix
|
Installing Vim using Homebrew:
|
||||||
|
|
||||||
1. Get the build tools: "clang" and "make". These can be installed with the
|
|
||||||
"CommandLineTools" package. If you don't have one, do
|
|
||||||
xcode-select --install
|
|
||||||
Just like for any software development with OS X.
|
|
||||||
|
|
||||||
2. Get the source code. Best is to use git (which you need to install first),
|
|
||||||
see http://www.vim.org/git.php
|
|
||||||
Or you can download and unpack the Unix tar archive, see
|
|
||||||
http://www.vim.org/download.php
|
|
||||||
|
|
||||||
3. Go to the top directory of the source tree, do
|
|
||||||
make
|
|
||||||
sudo make install
|
|
||||||
A newly built vim will be installed under "/usr/local".
|
|
||||||
|
|
||||||
|
|
||||||
If you can't manage to make this work, there is a fallback using Homebrew:
|
|
||||||
|
|
||||||
1. Install Homebrew from http://brew.sh/
|
1. Install Homebrew from http://brew.sh/
|
||||||
2. Install latest Vim with: brew install vim
|
2. Install the latest Vim with:
|
||||||
|
brew install vim
|
||||||
|
|||||||
@@ -11,7 +11,11 @@ sed -e "s/@<<$/@<< | sed -e 's#.*\\\\r.*##'/" Make_mvc.mak > Make_mvc2.mak
|
|||||||
echo "Building MSVC 64bit console Version"
|
echo "Building MSVC 64bit console Version"
|
||||||
nmake -f Make_mvc2.mak CPU=AMD64 ^
|
nmake -f Make_mvc2.mak CPU=AMD64 ^
|
||||||
OLE=no GUI=no IME=yes ICONV=yes DEBUG=no ^
|
OLE=no GUI=no IME=yes ICONV=yes DEBUG=no ^
|
||||||
FEATURES=%FEATURE% || exit 1
|
FEATURES=%FEATURE%
|
||||||
|
if not exist vim.exe (
|
||||||
|
echo Build failure.
|
||||||
|
exit 1
|
||||||
|
)
|
||||||
|
|
||||||
:: 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
|
||||||
@@ -21,16 +25,20 @@ if "%FEATURE%" == "HUGE" (
|
|||||||
OLE=no GUI=yes IME=yes ICONV=yes DEBUG=no POSTSCRIPT=yes ^
|
OLE=no GUI=yes IME=yes ICONV=yes DEBUG=no POSTSCRIPT=yes ^
|
||||||
PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27-x64 ^
|
PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27-x64 ^
|
||||||
PYTHON3_VER=35 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python35-x64 ^
|
PYTHON3_VER=35 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python35-x64 ^
|
||||||
FEATURES=%FEATURE% || exit 1
|
FEATURES=%FEATURE%
|
||||||
) ELSE (
|
) ELSE (
|
||||||
nmake -f Make_mvc2.mak CPU=AMD64 ^
|
nmake -f Make_mvc2.mak CPU=AMD64 ^
|
||||||
OLE=no GUI=yes IME=yes ICONV=yes DEBUG=no ^
|
OLE=no GUI=yes IME=yes ICONV=yes DEBUG=no ^
|
||||||
FEATURES=%FEATURE% || exit 1
|
FEATURES=%FEATURE%
|
||||||
)
|
)
|
||||||
.\gvim -u NONE -c "redir @a | ver |0put a | wq" ver_msvc.txt
|
if not exist gvim.exe (
|
||||||
|
echo Build failure.
|
||||||
|
exit 1
|
||||||
|
)
|
||||||
|
.\gvim -u NONE -c "redir @a | ver |0put a | wq" ver_msvc.txt || exit 1
|
||||||
|
|
||||||
echo "version output MSVC console"
|
echo "version output MSVC console"
|
||||||
.\vim --version
|
.\vim --version || exit 1
|
||||||
echo "version output MSVC GUI"
|
echo "version output MSVC GUI"
|
||||||
type ver_msvc.txt
|
type ver_msvc.txt || exit 1
|
||||||
cd ..
|
cd ..
|
||||||
|
|||||||
19
ci/build-snd-dummy.sh
Normal file
19
ci/build-snd-dummy.sh
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
LINUX_VERSION=$(uname -r | cut -d. -f1-2)
|
||||||
|
LINUX_ARCHIVE_FILE=v${LINUX_VERSION}.tar.gz
|
||||||
|
LINUX_SOURCE_DIR=linux-${LINUX_VERSION}
|
||||||
|
|
||||||
|
mkdir -p "${TMPDIR}"
|
||||||
|
cd "${TMPDIR}"
|
||||||
|
|
||||||
|
wget -q "https://github.com/torvalds/linux/archive/${LINUX_ARCHIVE_FILE}"
|
||||||
|
|
||||||
|
tar -xf "${LINUX_ARCHIVE_FILE}" "${LINUX_SOURCE_DIR}/sound"
|
||||||
|
cd "${LINUX_SOURCE_DIR}/sound"
|
||||||
|
|
||||||
|
CC=gcc make -C "/lib/modules/$(uname -r)/build" M="${PWD}" CONFIG_SOUND=m CONFIG_SND=m CONFIG_SND_PCM=m CONFIG_SND_DUMMY=m modules
|
||||||
|
|
||||||
|
mkdir -p "${SND_DUMMY_DIR}"
|
||||||
|
cp soundcore.ko core/snd.ko core/snd-pcm.ko drivers/snd-dummy.ko "${SND_DUMMY_DIR}"
|
||||||
@@ -6,7 +6,7 @@ if 1
|
|||||||
echo "*** Interface versions ***\n"
|
echo "*** Interface versions ***\n"
|
||||||
|
|
||||||
echo 'Lua:'
|
echo 'Lua:'
|
||||||
PrintVer lua print(_VERSION)
|
PrintVer lua print(vim.lua_version, jit and "(LuaJIT)" or "")
|
||||||
|
|
||||||
echo 'MzScheme:'
|
echo 'MzScheme:'
|
||||||
PrintVer mzscheme (display (version))
|
PrintVer mzscheme (display (version))
|
||||||
|
|||||||
17
ci/setup-xvfb.sh
Normal file
17
ci/setup-xvfb.sh
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
apt-get install -y xvfb
|
||||||
|
|
||||||
|
cat <<EOT >/etc/systemd/system/xvfb.service
|
||||||
|
[Unit]
|
||||||
|
Description=X Virtual Frame Buffer Service
|
||||||
|
After=network.target
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/Xvfb :99 -screen 0 1024x768x24
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOT
|
||||||
|
|
||||||
|
systemctl enable xvfb.service
|
||||||
|
systemctl start xvfb.service
|
||||||
@@ -66,6 +66,9 @@ 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.
|
||||||
|
Download and include the ShellExecAsUser.dll Unicode version which can be
|
||||||
|
sourced from: https://nsis.sourceforge.io/ShellExecAsUser_plug-in
|
||||||
|
|
||||||
|
|
||||||
Unpack the images:
|
Unpack the images:
|
||||||
cd nsis
|
cd nsis
|
||||||
|
|||||||
@@ -119,9 +119,9 @@ RequestExecutionLevel highest
|
|||||||
|
|
||||||
!define MUI_COMPONENTSPAGE_SMALLDESC
|
!define MUI_COMPONENTSPAGE_SMALLDESC
|
||||||
!define MUI_LICENSEPAGE_CHECKBOX
|
!define MUI_LICENSEPAGE_CHECKBOX
|
||||||
!define MUI_FINISHPAGE_RUN "$0\gvim.exe"
|
!define MUI_FINISHPAGE_RUN
|
||||||
|
!define MUI_FINISHPAGE_RUN_FUNCTION LaunchApplication
|
||||||
!define MUI_FINISHPAGE_RUN_TEXT $(str_show_readme)
|
!define MUI_FINISHPAGE_RUN_TEXT $(str_show_readme)
|
||||||
!define MUI_FINISHPAGE_RUN_PARAMETERS "-R $\"$0\README.txt$\""
|
|
||||||
|
|
||||||
# This adds '\Vim' to the user choice automagically. The actual value is
|
# This adds '\Vim' to the user choice automagically. The actual value is
|
||||||
# obtained below with CheckOldVim.
|
# obtained below with CheckOldVim.
|
||||||
@@ -300,6 +300,11 @@ Function CheckOldVim
|
|||||||
Exch $0 # put $0 on top of stack, restore $0 to original value
|
Exch $0 # put $0 on top of stack, restore $0 to original value
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
|
Function LaunchApplication
|
||||||
|
SetOutPath $0
|
||||||
|
ShellExecAsUser::ShellExecAsUser "" "$0\gvim.exe" '-R "$0\README.txt"'
|
||||||
|
FunctionEnd
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
Section "$(str_section_old_ver)" id_section_old_ver
|
Section "$(str_section_old_ver)" id_section_old_ver
|
||||||
SectionIn 1 2 3 RO
|
SectionIn 1 2 3 RO
|
||||||
@@ -359,6 +364,8 @@ Section "$(str_section_exe)" id_section_exe
|
|||||||
|
|
||||||
SetOutPath $0\colors
|
SetOutPath $0\colors
|
||||||
File ${VIMRT}\colors\*.*
|
File ${VIMRT}\colors\*.*
|
||||||
|
SetOutPath $0\colors\tools
|
||||||
|
File ${VIMRT}\colors\tools\*.*
|
||||||
|
|
||||||
SetOutPath $0\compiler
|
SetOutPath $0\compiler
|
||||||
File ${VIMRT}\compiler\*.*
|
File ${VIMRT}\compiler\*.*
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ LangString ^UninstallCaption ${LANG_ENGLISH} \
|
|||||||
# "Destination Folder (Must end with $\"vim$\")"
|
# "Destination Folder (Must end with $\"vim$\")"
|
||||||
|
|
||||||
LangString str_show_readme ${LANG_ENGLISH} \
|
LangString str_show_readme ${LANG_ENGLISH} \
|
||||||
"Show README after installation finish"
|
"Show README after installation finished"
|
||||||
|
|
||||||
# Install types:
|
# Install types:
|
||||||
LangString str_type_typical ${LANG_ENGLISH} \
|
LangString str_type_typical ${LANG_ENGLISH} \
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
" Vim completion script
|
" Vim completion script
|
||||||
" Language: C
|
" Language: C
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2020 Apr 08
|
" Last Change: 2020 Nov 14
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|
||||||
" This function is used for the 'omnifunc' option.
|
" This function is used for the 'omnifunc' option.
|
||||||
function! ccomplete#Complete(findstart, base)
|
func ccomplete#Complete(findstart, base)
|
||||||
if a:findstart
|
if a:findstart
|
||||||
" Locate the start of the item, including ".", "->" and "[...]".
|
" Locate the start of the item, including ".", "->" and "[...]".
|
||||||
let line = getline('.')
|
let line = getline('.')
|
||||||
@@ -244,7 +244,7 @@ function! ccomplete#Complete(findstart, base)
|
|||||||
return map(res, 's:Tagline2item(v:val, brackets)')
|
return map(res, 's:Tagline2item(v:val, brackets)')
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
function! s:GetAddition(line, match, memarg, bracket)
|
func s:GetAddition(line, match, memarg, bracket)
|
||||||
" Guess if the item is an array.
|
" Guess if the item is an array.
|
||||||
if a:bracket && match(a:line, a:match . '\s*\[') > 0
|
if a:bracket && match(a:line, a:match . '\s*\[') > 0
|
||||||
return '['
|
return '['
|
||||||
@@ -260,13 +260,13 @@ function! s:GetAddition(line, match, memarg, bracket)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
return ''
|
return ''
|
||||||
endfunction
|
endfunc
|
||||||
|
|
||||||
" Turn the tag info "val" into an item for completion.
|
" Turn the tag info "val" into an item for completion.
|
||||||
" "val" is is an item in the list returned by taglist().
|
" "val" is is an item in the list returned by taglist().
|
||||||
" If it is a variable we may add "." or "->". Don't do it for other types,
|
" If it is a variable we may add "." or "->". Don't do it for other types,
|
||||||
" such as a typedef, by not including the info that s:GetAddition() uses.
|
" such as a typedef, by not including the info that s:GetAddition() uses.
|
||||||
function! s:Tag2item(val)
|
func s:Tag2item(val)
|
||||||
let res = {'match': a:val['name']}
|
let res = {'match': a:val['name']}
|
||||||
|
|
||||||
let res['extra'] = s:Tagcmd2extra(a:val['cmd'], a:val['name'], a:val['filename'])
|
let res['extra'] = s:Tagcmd2extra(a:val['cmd'], a:val['name'], a:val['filename'])
|
||||||
@@ -289,10 +289,10 @@ function! s:Tag2item(val)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
return res
|
return res
|
||||||
endfunction
|
endfunc
|
||||||
|
|
||||||
" Use all the items in dictionary for the "info" entry.
|
" Use all the items in dictionary for the "info" entry.
|
||||||
function! s:Dict2info(dict)
|
func s:Dict2info(dict)
|
||||||
let info = ''
|
let info = ''
|
||||||
for k in sort(keys(a:dict))
|
for k in sort(keys(a:dict))
|
||||||
let info .= k . repeat(' ', 10 - len(k))
|
let info .= k . repeat(' ', 10 - len(k))
|
||||||
@@ -307,7 +307,7 @@ function! s:Dict2info(dict)
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" Parse a tag line and return a dictionary with items like taglist()
|
" Parse a tag line and return a dictionary with items like taglist()
|
||||||
function! s:ParseTagline(line)
|
func s:ParseTagline(line)
|
||||||
let l = split(a:line, "\t")
|
let l = split(a:line, "\t")
|
||||||
let d = {}
|
let d = {}
|
||||||
if len(l) >= 3
|
if len(l) >= 3
|
||||||
@@ -334,12 +334,12 @@ function! s:ParseTagline(line)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
return d
|
return d
|
||||||
endfunction
|
endfunc
|
||||||
|
|
||||||
" Turn a match item "val" into an item for completion.
|
" Turn a match item "val" into an item for completion.
|
||||||
" "val['match']" is the matching item.
|
" "val['match']" is the matching item.
|
||||||
" "val['tagline']" is the tagline in which the last part was found.
|
" "val['tagline']" is the tagline in which the last part was found.
|
||||||
function! s:Tagline2item(val, brackets)
|
func s:Tagline2item(val, brackets)
|
||||||
let line = a:val['tagline']
|
let line = a:val['tagline']
|
||||||
let add = s:GetAddition(line, a:val['match'], [a:val], a:brackets == '')
|
let add = s:GetAddition(line, a:val['match'], [a:val], a:brackets == '')
|
||||||
let res = {'word': a:val['match'] . a:brackets . add }
|
let res = {'word': a:val['match'] . a:brackets . add }
|
||||||
@@ -377,10 +377,10 @@ function! s:Tagline2item(val, brackets)
|
|||||||
let res['menu'] = s:Tagcmd2extra(s, a:val['match'], matchstr(line, '[^\t]*\t\zs[^\t]*\ze\t'))
|
let res['menu'] = s:Tagcmd2extra(s, a:val['match'], matchstr(line, '[^\t]*\t\zs[^\t]*\ze\t'))
|
||||||
endif
|
endif
|
||||||
return res
|
return res
|
||||||
endfunction
|
endfunc
|
||||||
|
|
||||||
" Turn a command from a tag line to something that is useful in the menu
|
" Turn a command from a tag line to something that is useful in the menu
|
||||||
function! s:Tagcmd2extra(cmd, name, fname)
|
func s:Tagcmd2extra(cmd, name, fname)
|
||||||
if a:cmd =~ '^/^'
|
if a:cmd =~ '^/^'
|
||||||
" The command is a search command, useful to see what it is.
|
" The command is a search command, useful to see what it is.
|
||||||
let x = matchstr(a:cmd, '^/^\s*\zs.*\ze$/')
|
let x = matchstr(a:cmd, '^/^\s*\zs.*\ze$/')
|
||||||
@@ -395,13 +395,13 @@ function! s:Tagcmd2extra(cmd, name, fname)
|
|||||||
let x = a:cmd . ' - ' . a:fname
|
let x = a:cmd . ' - ' . a:fname
|
||||||
endif
|
endif
|
||||||
return x
|
return x
|
||||||
endfunction
|
endfunc
|
||||||
|
|
||||||
" Find composing type in "lead" and match items[0] with it.
|
" Find composing type in "lead" and match items[0] with it.
|
||||||
" Repeat this recursively for items[1], if it's there.
|
" Repeat this recursively for items[1], if it's there.
|
||||||
" When resolving typedefs "depth" is used to avoid infinite recursion.
|
" When resolving typedefs "depth" is used to avoid infinite recursion.
|
||||||
" Return the list of matches.
|
" Return the list of matches.
|
||||||
function! s:Nextitem(lead, items, depth, all)
|
func s:Nextitem(lead, items, depth, all)
|
||||||
|
|
||||||
" Use the text up to the variable name and split it in tokens.
|
" Use the text up to the variable name and split it in tokens.
|
||||||
let tokens = split(a:lead, '\s\+\|\<')
|
let tokens = split(a:lead, '\s\+\|\<')
|
||||||
@@ -485,7 +485,7 @@ function! s:Nextitem(lead, items, depth, all)
|
|||||||
endfor
|
endfor
|
||||||
|
|
||||||
return res
|
return res
|
||||||
endfunction
|
endfunc
|
||||||
|
|
||||||
|
|
||||||
" Search for members of structure "typename" in tags files.
|
" Search for members of structure "typename" in tags files.
|
||||||
@@ -493,7 +493,7 @@ endfunction
|
|||||||
" Each match is a dictionary with "match" and "tagline" entries.
|
" Each match is a dictionary with "match" and "tagline" entries.
|
||||||
" When "all" is non-zero find all, otherwise just return 1 if there is any
|
" When "all" is non-zero find all, otherwise just return 1 if there is any
|
||||||
" member.
|
" member.
|
||||||
function! s:StructMembers(typename, items, all)
|
func s:StructMembers(typename, items, all)
|
||||||
" Todo: What about local structures?
|
" Todo: What about local structures?
|
||||||
let fnames = join(map(tagfiles(), 'escape(v:val, " \\#%")'))
|
let fnames = join(map(tagfiles(), 'escape(v:val, " \\#%")'))
|
||||||
if fnames == ''
|
if fnames == ''
|
||||||
@@ -586,12 +586,12 @@ function! s:StructMembers(typename, items, all)
|
|||||||
|
|
||||||
" Failed to find anything.
|
" Failed to find anything.
|
||||||
return []
|
return []
|
||||||
endfunction
|
endfunc
|
||||||
|
|
||||||
" For matching members, find matches for following items.
|
" For matching members, find matches for following items.
|
||||||
" When "all" is non-zero find all, otherwise just return 1 if there is any
|
" When "all" is non-zero find all, otherwise just return 1 if there is any
|
||||||
" member.
|
" member.
|
||||||
function! s:SearchMembers(matches, items, all)
|
func s:SearchMembers(matches, items, all)
|
||||||
let res = []
|
let res = []
|
||||||
for i in range(len(a:matches))
|
for i in range(len(a:matches))
|
||||||
let typename = ''
|
let typename = ''
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
23
runtime/autoload/dist/ft.vim
vendored
23
runtime/autoload/dist/ft.vim
vendored
@@ -362,6 +362,10 @@ func dist#ft#FTinc()
|
|||||||
setf aspvbs
|
setf aspvbs
|
||||||
elseif lines =~ "<?"
|
elseif lines =~ "<?"
|
||||||
setf php
|
setf php
|
||||||
|
" Pascal supports // comments but they're vary rarely used for file
|
||||||
|
" headers so assume POV-Ray
|
||||||
|
elseif lines =~ '^\s*\%({\|(\*\)' || lines =~? s:ft_pascal_keywords
|
||||||
|
setf pascal
|
||||||
else
|
else
|
||||||
call dist#ft#FTasmsyntax()
|
call dist#ft#FTasmsyntax()
|
||||||
if exists("b:asmsyntax")
|
if exists("b:asmsyntax")
|
||||||
@@ -408,6 +412,9 @@ func dist#ft#FTprogress_asm()
|
|||||||
setf progress
|
setf progress
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
let s:ft_pascal_comments = '^\s*\%({\|(\*\|//\)'
|
||||||
|
let s:ft_pascal_keywords = '^\s*\%(program\|unit\|library\|uses\|begin\|procedure\|function\|const\|type\|var\)\>'
|
||||||
|
|
||||||
func dist#ft#FTprogress_pascal()
|
func dist#ft#FTprogress_pascal()
|
||||||
if exists("g:filetype_p")
|
if exists("g:filetype_p")
|
||||||
exe "setf " . g:filetype_p
|
exe "setf " . g:filetype_p
|
||||||
@@ -419,8 +426,7 @@ func dist#ft#FTprogress_pascal()
|
|||||||
let lnum = 1
|
let lnum = 1
|
||||||
while lnum <= 10 && lnum < line('$')
|
while lnum <= 10 && lnum < line('$')
|
||||||
let line = getline(lnum)
|
let line = getline(lnum)
|
||||||
if line =~ '^\s*\(program\|unit\|procedure\|function\|const\|type\|var\)\>'
|
if line =~ s:ft_pascal_comments || line =~? s:ft_pascal_keywords
|
||||||
\ || line =~ '^\s*{' || line =~ '^\s*(\*'
|
|
||||||
setf pascal
|
setf pascal
|
||||||
return
|
return
|
||||||
elseif line !~ '^\s*$' || line =~ '^/\*'
|
elseif line !~ '^\s*$' || line =~ '^/\*'
|
||||||
@@ -433,6 +439,19 @@ func dist#ft#FTprogress_pascal()
|
|||||||
setf progress
|
setf progress
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
func dist#ft#FTpp()
|
||||||
|
if exists("g:filetype_pp")
|
||||||
|
exe "setf " . g:filetype_pp
|
||||||
|
else
|
||||||
|
let line = getline(nextnonblank(1))
|
||||||
|
if line =~ s:ft_pascal_comments || line =~? s:ft_pascal_keywords
|
||||||
|
setf pascal
|
||||||
|
else
|
||||||
|
setf puppet
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
endfunc
|
||||||
|
|
||||||
func dist#ft#FTr()
|
func dist#ft#FTr()
|
||||||
let max = line("$") > 50 ? 50 : line("$")
|
let max = line("$") > 50 ? 50 : line("$")
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
" Maintainer: Dávid Szabó ( complex857 AT gmail DOT com )
|
" Maintainer: Dávid Szabó ( complex857 AT gmail DOT com )
|
||||||
" Previous Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
|
" Previous Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
|
||||||
" URL: https://github.com/shawncplus/phpcomplete.vim
|
" URL: https://github.com/shawncplus/phpcomplete.vim
|
||||||
" Last Change: 2018 Oct 10
|
" Last Change: 2021 Feb 08
|
||||||
"
|
"
|
||||||
" OPTIONS:
|
" OPTIONS:
|
||||||
"
|
"
|
||||||
@@ -122,7 +122,6 @@ function! phpcomplete#CompletePHP(findstart, base) " {{{
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
" If exists b:php_menu it means completion was already constructed we
|
" If exists b:php_menu it means completion was already constructed we
|
||||||
" don't need to do anything more
|
" don't need to do anything more
|
||||||
if exists("b:php_menu")
|
if exists("b:php_menu")
|
||||||
@@ -148,8 +147,6 @@ function! phpcomplete#CompletePHP(findstart, base) " {{{
|
|||||||
try
|
try
|
||||||
let eventignore = &eventignore
|
let eventignore = &eventignore
|
||||||
let &eventignore = 'all'
|
let &eventignore = 'all'
|
||||||
let winheight = winheight(0)
|
|
||||||
let winnr = winnr()
|
|
||||||
|
|
||||||
let [current_namespace, imports] = phpcomplete#GetCurrentNameSpace(getline(0, line('.')))
|
let [current_namespace, imports] = phpcomplete#GetCurrentNameSpace(getline(0, line('.')))
|
||||||
|
|
||||||
@@ -183,7 +180,6 @@ function! phpcomplete#CompletePHP(findstart, base) " {{{
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if filereadable(classlocation)
|
if filereadable(classlocation)
|
||||||
let classfile = readfile(classlocation)
|
|
||||||
let classcontent = ''
|
let classcontent = ''
|
||||||
let classcontent .= "\n".phpcomplete#GetClassContents(classlocation, classname)
|
let classcontent .= "\n".phpcomplete#GetClassContents(classlocation, classname)
|
||||||
let sccontent = split(classcontent, "\n")
|
let sccontent = split(classcontent, "\n")
|
||||||
@@ -217,7 +213,6 @@ function! phpcomplete#CompletePHP(findstart, base) " {{{
|
|||||||
return phpcomplete#CompleteGeneral(a:base, current_namespace, imports)
|
return phpcomplete#CompleteGeneral(a:base, current_namespace, imports)
|
||||||
endif
|
endif
|
||||||
finally
|
finally
|
||||||
silent! exec winnr.'resize '.winheight
|
|
||||||
let &eventignore = eventignore
|
let &eventignore = eventignore
|
||||||
endtry
|
endtry
|
||||||
endfunction
|
endfunction
|
||||||
@@ -1025,7 +1020,7 @@ function! phpcomplete#CompleteUserClass(context, base, sccontent, visibility) "
|
|||||||
let c_var = '$'.c_var
|
let c_var = '$'.c_var
|
||||||
endif
|
endif
|
||||||
let c_variables[c_var] = ''
|
let c_variables[c_var] = ''
|
||||||
if g:phpcomplete_parse_docblock_comments && len(get(variables, var_index)) > 0
|
if g:phpcomplete_parse_docblock_comments && len(get(variables, var_index, '')) > 0
|
||||||
let c_doc[c_var] = phpcomplete#GetDocBlock(a:sccontent, variables[var_index])
|
let c_doc[c_var] = phpcomplete#GetDocBlock(a:sccontent, variables[var_index])
|
||||||
endif
|
endif
|
||||||
let var_index += 1
|
let var_index += 1
|
||||||
@@ -2082,26 +2077,17 @@ function! phpcomplete#GetClassContentsStructure(file_path, file_lines, class_nam
|
|||||||
" ...
|
" ...
|
||||||
" ]
|
" ]
|
||||||
"
|
"
|
||||||
let full_file_path = fnamemodify(a:file_path, ':p')
|
|
||||||
let class_name_pattern = '[a-zA-Z_\x7f-\xff\\][a-zA-Z_0-9\x7f-\xff\\]*'
|
let class_name_pattern = '[a-zA-Z_\x7f-\xff\\][a-zA-Z_0-9\x7f-\xff\\]*'
|
||||||
let cfile = join(a:file_lines, "\n")
|
let full_file_path = fnamemodify(a:file_path, ':p')
|
||||||
let result = []
|
let result = []
|
||||||
" We use new buffer and (later) normal! because
|
let popup_id = popup_create(a:file_lines, {'hidden': v:true})
|
||||||
" this is the most efficient way. The other way
|
|
||||||
" is to go through the looong string looking for
|
|
||||||
" matching {}
|
|
||||||
|
|
||||||
" remember the window we started at
|
call win_execute(popup_id, 'call search(''\c\(class\|interface\|trait\)\_s\+'.a:class_name.'\(\>\|$\)'')')
|
||||||
let phpcomplete_original_window = winnr()
|
call win_execute(popup_id, "let cfline = line('.')")
|
||||||
|
call win_execute(popup_id, "call search('{')")
|
||||||
|
call win_execute(popup_id, "let endline = line('.')")
|
||||||
|
|
||||||
silent! below 1new
|
call win_execute(popup_id, 'let content = join(getline('.cfline.', '.endline.'), "\n")')
|
||||||
silent! 0put =cfile
|
|
||||||
call search('\c\(class\|interface\|trait\)\_s\+'.a:class_name.'\(\>\|$\)')
|
|
||||||
let cfline = line('.')
|
|
||||||
call search('{')
|
|
||||||
let endline = line('.')
|
|
||||||
|
|
||||||
let content = join(getline(cfline, endline), "\n")
|
|
||||||
" Catch extends
|
" Catch extends
|
||||||
if content =~? 'extends'
|
if content =~? 'extends'
|
||||||
let extends_string = matchstr(content, '\(class\|interface\)\_s\+'.a:class_name.'\_.\+extends\_s\+\zs\('.class_name_pattern.'\(,\|\_s\)*\)\+\ze\(extends\|{\)')
|
let extends_string = matchstr(content, '\(class\|interface\)\_s\+'.a:class_name.'\_.\+extends\_s\+\zs\('.class_name_pattern.'\(,\|\_s\)*\)\+\ze\(extends\|{\)')
|
||||||
@@ -2117,14 +2103,16 @@ function! phpcomplete#GetClassContentsStructure(file_path, file_lines, class_nam
|
|||||||
else
|
else
|
||||||
let implemented_interfaces = []
|
let implemented_interfaces = []
|
||||||
endif
|
endif
|
||||||
call searchpair('{', '', '}', 'W')
|
|
||||||
let class_closing_bracket_line = line('.')
|
call win_execute(popup_id, 'let [class_closing_bracket_line, class_closing_bracket_col] = searchpairpos("{", "", "}", "W")')
|
||||||
|
|
||||||
" Include class docblock
|
" Include class docblock
|
||||||
let doc_line = cfline - 1
|
let doc_line = cfline - 1
|
||||||
if getline(doc_line) =~? '^\s*\*/'
|
call win_execute(popup_id, 'let l = getline('.doc_line.')')
|
||||||
|
if l =~? '^\s*\*/'
|
||||||
while doc_line != 0
|
while doc_line != 0
|
||||||
if getline(doc_line) =~? '^\s*/\*\*'
|
call win_execute(popup_id, 'let l = getline('.doc_line.')')
|
||||||
|
if l =~? '^\s*/\*\*'
|
||||||
let cfline = doc_line
|
let cfline = doc_line
|
||||||
break
|
break
|
||||||
endif
|
endif
|
||||||
@@ -2132,22 +2120,22 @@ function! phpcomplete#GetClassContentsStructure(file_path, file_lines, class_nam
|
|||||||
endwhile
|
endwhile
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let classcontent = join(getline(cfline, class_closing_bracket_line), "\n")
|
call win_execute(popup_id, 'let classcontent = join(getline('.cfline.', '.class_closing_bracket_line.'), "\n")')
|
||||||
|
|
||||||
let used_traits = []
|
let used_traits = []
|
||||||
" move back to the line next to the class's definition
|
" move back to the line next to the class's definition
|
||||||
call cursor(endline + 1, 1)
|
call win_execute(popup_id, 'call cursor('.(endline + 1).', 1)')
|
||||||
let keep_searching = 1
|
let keep_searching = 1
|
||||||
while keep_searching != 0
|
while keep_searching != 0
|
||||||
" try to grab "use..." keywords
|
" try to grab "use..." keywords
|
||||||
let [lnum, col] = searchpos('\c^\s\+use\s\+'.class_name_pattern, 'cW', class_closing_bracket_line)
|
call win_execute(popup_id, 'let [lnum, col] = searchpos(''\c^\s\+use\s\+'.class_name_pattern.''', "cW", '.class_closing_bracket_line.')')
|
||||||
let syn_name = synIDattr(synID(lnum, col, 0), "name")
|
call win_execute(popup_id, 'let syn_name = synIDattr(synID('.lnum.', '.col.', 0), "name")')
|
||||||
if syn_name =~? 'string\|comment'
|
if syn_name =~? 'string\|comment'
|
||||||
call cursor(lnum + 1, 1)
|
call win_execute(popup_id, 'call cursor('.(lnum + 1).', 1)')
|
||||||
continue
|
continue
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let trait_line = getline(lnum)
|
call win_execute(popup_id, 'let trait_line = getline('.lnum.')')
|
||||||
if trait_line !~? ';'
|
if trait_line !~? ';'
|
||||||
" try to find the next line containing ';'
|
" try to find the next line containing ';'
|
||||||
let l = lnum
|
let l = lnum
|
||||||
@@ -2157,25 +2145,23 @@ function! phpcomplete#GetClassContentsStructure(file_path, file_lines, class_nam
|
|||||||
while search_line !~? ';' && l > 0
|
while search_line !~? ';' && l > 0
|
||||||
" file lines are reversed so we need to go backwards
|
" file lines are reversed so we need to go backwards
|
||||||
let l += 1
|
let l += 1
|
||||||
let search_line = getline(l)
|
call win_execute(popup_id, 'let search_line = getline('.l.')')
|
||||||
let trait_line .= ' '.substitute(search_line, '\(^\s\+\|\s\+$\)', '', 'g')
|
let trait_line .= ' '.substitute(search_line, '\(^\s\+\|\s\+$\)', '', 'g')
|
||||||
endwhile
|
endwhile
|
||||||
endif
|
endif
|
||||||
let use_expression = matchstr(trait_line, '^\s*use\s\+\zs.\{-}\ze;')
|
let use_expression = matchstr(trait_line, '^\s*use\s\+\zs.\{-}\ze;')
|
||||||
let use_parts = map(split(use_expression, '\s*,\s*'), 'substitute(v:val, "\\s+", " ", "g")')
|
let use_parts = map(split(use_expression, '\s*,\s*'), 'substitute(v:val, "\\s+", " ", "g")')
|
||||||
let used_traits += map(use_parts, 'substitute(v:val, "\\s", "", "g")')
|
let used_traits += map(use_parts, 'substitute(v:val, "\\s", "", "g")')
|
||||||
call cursor(lnum + 1, 1)
|
call win_execute(popup_id, 'call cursor('.(lnum + 1).', 1)')
|
||||||
|
|
||||||
if [lnum, col] == [0, 0]
|
if [lnum, col] == [0, 0]
|
||||||
let keep_searching = 0
|
let keep_searching = 0
|
||||||
endif
|
endif
|
||||||
endwhile
|
endwhile
|
||||||
|
|
||||||
silent! bw! %
|
call popup_close(popup_id)
|
||||||
|
|
||||||
let [current_namespace, imports] = phpcomplete#GetCurrentNameSpace(a:file_lines[0:cfline])
|
let [current_namespace, imports] = phpcomplete#GetCurrentNameSpace(a:file_lines[0:cfline])
|
||||||
" go back to original window
|
|
||||||
exe phpcomplete_original_window.'wincmd w'
|
|
||||||
call add(result, {
|
call add(result, {
|
||||||
\ 'class': a:class_name,
|
\ 'class': a:class_name,
|
||||||
\ 'content': classcontent,
|
\ 'content': classcontent,
|
||||||
@@ -2532,40 +2518,37 @@ function! phpcomplete#FormatDocBlock(info) " {{{
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
return res
|
return res
|
||||||
endfunction!
|
endfunction
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
function! phpcomplete#GetCurrentNameSpace(file_lines) " {{{
|
function! phpcomplete#GetCurrentNameSpace(file_lines) " {{{
|
||||||
let original_window = winnr()
|
let popup_id = popup_create(a:file_lines, {'hidden': v:true})
|
||||||
|
call win_execute(popup_id, 'normal! G')
|
||||||
silent! below 1new
|
|
||||||
silent! 0put =a:file_lines
|
|
||||||
normal! G
|
|
||||||
|
|
||||||
" clear out classes, functions and other blocks
|
" clear out classes, functions and other blocks
|
||||||
while 1
|
while 1
|
||||||
let block_start_pos = searchpos('\c\(class\|trait\|function\|interface\)\s\+\_.\{-}\zs{', 'Web')
|
call win_execute(popup_id, 'let block_start_pos = searchpos(''\c\(class\|trait\|function\|interface\)\s\+\_.\{-}\zs{'', "Web")')
|
||||||
if block_start_pos == [0, 0]
|
if block_start_pos == [0, 0]
|
||||||
break
|
break
|
||||||
endif
|
endif
|
||||||
let block_end_pos = searchpairpos('{', '', '}\|\%$', 'W', 'synIDattr(synID(line("."), col("."), 0), "name") =~? "string\\|comment"')
|
call win_execute(popup_id, 'let block_end_pos = searchpairpos("{", "", ''}\|\%$'', "W", ''synIDattr(synID(line("."), col("."), 0), "name") =~? "string\\|comment"'')')
|
||||||
|
|
||||||
|
let popup_lines = winbufnr(popup_id)->getbufline(1, '$')
|
||||||
if block_end_pos != [0, 0]
|
if block_end_pos != [0, 0]
|
||||||
" end of the block found, just delete it
|
" end of the block found, just delete it
|
||||||
silent! exec block_start_pos[0].','.block_end_pos[0].'d _'
|
call remove(popup_lines, block_start_pos[0] - 1, block_end_pos[0] - 1)
|
||||||
else
|
else
|
||||||
" block pair not found, use block start as beginning and the end
|
" block pair not found, use block start as beginning and the end
|
||||||
" of the buffer instead
|
" of the buffer instead
|
||||||
silent! exec block_start_pos[0].',$d _'
|
call remove(popup_lines, block_start_pos[0] - 1, -1)
|
||||||
endif
|
endif
|
||||||
|
call popup_settext(popup_id, popup_lines)
|
||||||
endwhile
|
endwhile
|
||||||
normal! G
|
call win_execute(popup_id, 'normal! G', 'silent!')
|
||||||
|
|
||||||
" grab the remains
|
" grab the remains
|
||||||
let file_lines = reverse(getline(1, line('.') - 1))
|
call win_execute(popup_id, "let file_lines = reverse(getline(1, line('.')-1))")
|
||||||
|
call popup_close(popup_id)
|
||||||
silent! bw! %
|
|
||||||
exe original_window.'wincmd w'
|
|
||||||
|
|
||||||
let namespace_name_pattern = '[a-zA-Z_\x7f-\xff\\][a-zA-Z_0-9\x7f-\xff\\]*'
|
let namespace_name_pattern = '[a-zA-Z_\x7f-\xff\\][a-zA-Z_0-9\x7f-\xff\\]*'
|
||||||
let i = 0
|
let i = 0
|
||||||
|
|||||||
@@ -1,12 +1,20 @@
|
|||||||
" Vim completion script
|
" Vim completion script
|
||||||
" Language: All languages, uses existing syntax highlighting rules
|
" Language: All languages, uses existing syntax highlighting rules
|
||||||
" Maintainer: David Fishburn <dfishburn dot vim at gmail dot com>
|
" Maintainer: David Fishburn <dfishburn dot vim at gmail dot com>
|
||||||
" Version: 13.0
|
" Version: 15.0
|
||||||
" Last Change: 2019 Aug 08
|
" Last Change: 2021 Apr 27
|
||||||
" Usage: For detailed help, ":help ft-syntax-omni"
|
" Usage: For detailed help, ":help ft-syntax-omni"
|
||||||
|
|
||||||
" History
|
" History
|
||||||
"
|
"
|
||||||
|
" Version 15.0
|
||||||
|
" - SyntaxComplete ignored all buffer specific overrides, always used global
|
||||||
|
" https://github.com/vim/vim/issues/8153
|
||||||
|
"
|
||||||
|
" Version 14.0
|
||||||
|
" - Fixed issue with single quotes and is_keyword
|
||||||
|
" https://github.com/vim/vim/issues/7463
|
||||||
|
"
|
||||||
" Version 13.0
|
" Version 13.0
|
||||||
" - Extended the option omni_syntax_group_include_{filetype}
|
" - Extended the option omni_syntax_group_include_{filetype}
|
||||||
" to accept a comma separated list of regex's rather than
|
" to accept a comma separated list of regex's rather than
|
||||||
@@ -38,7 +46,7 @@
|
|||||||
" let g:omni_syntax_use_single_byte = 1
|
" let g:omni_syntax_use_single_byte = 1
|
||||||
" - This by default will only allow single byte ASCII
|
" - This by default will only allow single byte ASCII
|
||||||
" characters to be added and an additional check to ensure
|
" characters to be added and an additional check to ensure
|
||||||
" the charater is printable (see documentation for isprint).
|
" the character is printable (see documentation for isprint).
|
||||||
"
|
"
|
||||||
" Version 9.0
|
" Version 9.0
|
||||||
" - Add the check for cpo.
|
" - Add the check for cpo.
|
||||||
@@ -86,7 +94,7 @@ endif
|
|||||||
if exists('g:loaded_syntax_completion')
|
if exists('g:loaded_syntax_completion')
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
let g:loaded_syntax_completion = 130
|
let g:loaded_syntax_completion = 150
|
||||||
|
|
||||||
" Turn on support for line continuations when creating the script
|
" Turn on support for line continuations when creating the script
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
@@ -141,14 +149,10 @@ let s:prepended = ''
|
|||||||
" This function is used for the 'omnifunc' option.
|
" This function is used for the 'omnifunc' option.
|
||||||
function! syntaxcomplete#Complete(findstart, base)
|
function! syntaxcomplete#Complete(findstart, base)
|
||||||
|
|
||||||
" Only display items in the completion window that are at least
|
" Allow user to override ignorecase per buffer
|
||||||
" this many characters in length
|
let l:omni_syntax_ignorecase = g:omni_syntax_ignorecase
|
||||||
if !exists('b:omni_syntax_ignorecase')
|
if exists('b:omni_syntax_ignorecase')
|
||||||
if exists('g:omni_syntax_ignorecase')
|
let l:omni_syntax_ignorecase = b:omni_syntax_ignorecase
|
||||||
let b:omni_syntax_ignorecase = g:omni_syntax_ignorecase
|
|
||||||
else
|
|
||||||
let b:omni_syntax_ignorecase = &ignorecase
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if a:findstart
|
if a:findstart
|
||||||
@@ -179,7 +183,7 @@ function! syntaxcomplete#Complete(findstart, base)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" let base = s:prepended . a:base
|
" let base = s:prepended . a:base
|
||||||
let base = s:prepended
|
let base = substitute(s:prepended, "'", "''", 'g')
|
||||||
|
|
||||||
let filetype = substitute(&filetype, '\.', '_', 'g')
|
let filetype = substitute(&filetype, '\.', '_', 'g')
|
||||||
let list_idx = index(s:cache_name, filetype, 0, &ignorecase)
|
let list_idx = index(s:cache_name, filetype, 0, &ignorecase)
|
||||||
@@ -195,13 +199,13 @@ function! syntaxcomplete#Complete(findstart, base)
|
|||||||
|
|
||||||
if base != ''
|
if base != ''
|
||||||
" let compstr = join(compl_list, ' ')
|
" let compstr = join(compl_list, ' ')
|
||||||
" let expr = (b:omni_syntax_ignorecase==0?'\C':'').'\<\%('.base.'\)\@!\w\+\s*'
|
" let expr = (l:omni_syntax_ignorecase==0?'\C':'').'\<\%('.base.'\)\@!\w\+\s*'
|
||||||
" let compstr = substitute(compstr, expr, '', 'g')
|
" let compstr = substitute(compstr, expr, '', 'g')
|
||||||
" let compl_list = split(compstr, '\s\+')
|
" let compl_list = split(compstr, '\s\+')
|
||||||
|
|
||||||
" Filter the list based on the first few characters the user
|
" Filter the list based on the first few characters the user
|
||||||
" entered
|
" entered
|
||||||
let expr = 'v:val '.(g:omni_syntax_ignorecase==1?'=~?':'=~#')." '^".escape(base, '\\/.*$^~[]').".*'"
|
let expr = 'v:val '.(l:omni_syntax_ignorecase==1?'=~?':'=~#')." '^".escape(base, '\\/.*$^~[]').".*'"
|
||||||
let compl_list = filter(deepcopy(compl_list), expr)
|
let compl_list = filter(deepcopy(compl_list), expr)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -222,6 +226,26 @@ function! syntaxcomplete#OmniSyntaxList(...)
|
|||||||
endif
|
endif
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
function! syntaxcomplete#OmniSyntaxClearCache()
|
||||||
|
let s:cache_name = []
|
||||||
|
let s:cache_list = []
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
" To retrieve all syntax items regardless of syntax group:
|
||||||
|
" echo OmniSyntaxList( [] )
|
||||||
|
"
|
||||||
|
" To retrieve only the syntax items for the sqlOperator syntax group:
|
||||||
|
" echo OmniSyntaxList( ['sqlOperator'] )
|
||||||
|
"
|
||||||
|
" To retrieve all syntax items for both the sqlOperator and sqlType groups:
|
||||||
|
" echo OmniSyntaxList( ['sqlOperator', 'sqlType'] )
|
||||||
|
"
|
||||||
|
" A regular expression can also be used:
|
||||||
|
" echo OmniSyntaxList( ['sql\w\+'] )
|
||||||
|
"
|
||||||
|
" From within a plugin, you would typically assign the output to a List: >
|
||||||
|
" let myKeywords = []
|
||||||
|
" let myKeywords = OmniSyntaxList( ['sqlKeyword'] )
|
||||||
function! OmniSyntaxList(...)
|
function! OmniSyntaxList(...)
|
||||||
let list_parms = []
|
let list_parms = []
|
||||||
if a:0 > 0
|
if a:0 > 0
|
||||||
@@ -239,37 +263,25 @@ function! OmniSyntaxList(...)
|
|||||||
" let use_dictionary = a:1
|
" let use_dictionary = a:1
|
||||||
" endif
|
" endif
|
||||||
|
|
||||||
" Only display items in the completion window that are at least
|
|
||||||
" this many characters in length
|
|
||||||
if !exists('b:omni_syntax_use_iskeyword')
|
|
||||||
if exists('g:omni_syntax_use_iskeyword')
|
|
||||||
let b:omni_syntax_use_iskeyword = g:omni_syntax_use_iskeyword
|
|
||||||
else
|
|
||||||
let b:omni_syntax_use_iskeyword = 1
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Only display items in the completion window that are at least
|
|
||||||
" this many characters in length
|
|
||||||
if !exists('b:omni_syntax_minimum_length')
|
|
||||||
if exists('g:omni_syntax_minimum_length')
|
|
||||||
let b:omni_syntax_minimum_length = g:omni_syntax_minimum_length
|
|
||||||
else
|
|
||||||
let b:omni_syntax_minimum_length = 0
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
let saveL = @l
|
let saveL = @l
|
||||||
let filetype = substitute(&filetype, '\.', '_', 'g')
|
let filetype = substitute(&filetype, '\.', '_', 'g')
|
||||||
|
|
||||||
if empty(list_parms)
|
if empty(list_parms)
|
||||||
|
" Allow user to override per buffer
|
||||||
|
if exists('g:omni_syntax_group_include_'.filetype)
|
||||||
|
let l:omni_syntax_group_include_{filetype} = g:omni_syntax_group_include_{filetype}
|
||||||
|
endif
|
||||||
|
if exists('b:omni_syntax_group_include_'.filetype)
|
||||||
|
let l:omni_syntax_group_include_{filetype} = b:omni_syntax_group_include_{filetype}
|
||||||
|
endif
|
||||||
|
|
||||||
" Default the include group to include the requested syntax group
|
" Default the include group to include the requested syntax group
|
||||||
let syntax_group_include_{filetype} = ''
|
let syntax_group_include_{filetype} = ''
|
||||||
" Check if there are any overrides specified for this filetype
|
" Check if there are any overrides specified for this filetype
|
||||||
if exists('g:omni_syntax_group_include_'.filetype)
|
if exists('l:omni_syntax_group_include_'.filetype)
|
||||||
let syntax_group_include_{filetype} =
|
let syntax_group_include_{filetype} =
|
||||||
\ substitute( g:omni_syntax_group_include_{filetype},'\s\+','','g')
|
\ substitute( l:omni_syntax_group_include_{filetype},'\s\+','','g')
|
||||||
let list_parms = split(g:omni_syntax_group_include_{filetype}, ',')
|
let list_parms = split(l:omni_syntax_group_include_{filetype}, ',')
|
||||||
if syntax_group_include_{filetype} =~ '\w'
|
if syntax_group_include_{filetype} =~ '\w'
|
||||||
let syntax_group_include_{filetype} =
|
let syntax_group_include_{filetype} =
|
||||||
\ substitute( syntax_group_include_{filetype},
|
\ substitute( syntax_group_include_{filetype},
|
||||||
@@ -324,11 +336,20 @@ function! OmniSyntaxList(...)
|
|||||||
else
|
else
|
||||||
" Default the exclude group to nothing
|
" Default the exclude group to nothing
|
||||||
let syntax_group_exclude_{filetype} = ''
|
let syntax_group_exclude_{filetype} = ''
|
||||||
" Check if there are any overrides specified for this filetype
|
|
||||||
|
" Allow user to override per buffer
|
||||||
if exists('g:omni_syntax_group_exclude_'.filetype)
|
if exists('g:omni_syntax_group_exclude_'.filetype)
|
||||||
|
let l:omni_syntax_group_exclude_{filetype} = g:omni_syntax_group_exclude_{filetype}
|
||||||
|
endif
|
||||||
|
if exists('b:omni_syntax_group_exclude_'.filetype)
|
||||||
|
let l:omni_syntax_group_exclude_{filetype} = b:omni_syntax_group_exclude_{filetype}
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Check if there are any overrides specified for this filetype
|
||||||
|
if exists('l:omni_syntax_group_exclude_'.filetype)
|
||||||
let syntax_group_exclude_{filetype} =
|
let syntax_group_exclude_{filetype} =
|
||||||
\ substitute( g:omni_syntax_group_exclude_{filetype},'\s\+','','g')
|
\ substitute( l:omni_syntax_group_exclude_{filetype},'\s\+','','g')
|
||||||
let list_exclude_groups = split(g:omni_syntax_group_exclude_{filetype}, ',')
|
let list_exclude_groups = split(l:omni_syntax_group_exclude_{filetype}, ',')
|
||||||
if syntax_group_exclude_{filetype} =~ '\w'
|
if syntax_group_exclude_{filetype} =~ '\w'
|
||||||
let syntax_group_exclude_{filetype} =
|
let syntax_group_exclude_{filetype} =
|
||||||
\ substitute( syntax_group_exclude_{filetype},
|
\ substitute( syntax_group_exclude_{filetype},
|
||||||
@@ -524,6 +545,30 @@ endfunction
|
|||||||
|
|
||||||
function! s:SyntaxCSyntaxGroupItems( group_name, syntax_full )
|
function! s:SyntaxCSyntaxGroupItems( group_name, syntax_full )
|
||||||
|
|
||||||
|
" Allow user to override iskeyword per buffer
|
||||||
|
let l:omni_syntax_use_iskeyword = g:omni_syntax_use_iskeyword
|
||||||
|
if exists('b:omni_syntax_use_iskeyword')
|
||||||
|
let l:omni_syntax_use_iskeyword = b:omni_syntax_use_iskeyword
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Allow user to override iskeyword_numeric per buffer
|
||||||
|
let l:omni_syntax_use_iskeyword_numeric = g:omni_syntax_use_iskeyword_numeric
|
||||||
|
if exists('b:omni_syntax_use_iskeyword_numeric')
|
||||||
|
let l:omni_syntax_use_iskeyword_numeric = b:omni_syntax_use_iskeyword_numeric
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Allow user to override iskeyword_numeric per buffer
|
||||||
|
let l:omni_syntax_use_single_byte = g:omni_syntax_use_single_byte
|
||||||
|
if exists('b:omni_syntax_use_single_byte')
|
||||||
|
let l:omni_syntax_use_single_byte = b:omni_syntax_use_single_byte
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Allow user to override minimum_length per buffer
|
||||||
|
let l:omni_syntax_minimum_length = g:omni_syntax_minimum_length
|
||||||
|
if exists('b:omni_syntax_minimum_length')
|
||||||
|
let l:omni_syntax_minimum_length = b:omni_syntax_minimum_length
|
||||||
|
endif
|
||||||
|
|
||||||
let syn_list = ""
|
let syn_list = ""
|
||||||
|
|
||||||
" From the full syntax listing, strip out the portion for the
|
" From the full syntax listing, strip out the portion for the
|
||||||
@@ -548,7 +593,7 @@ function! s:SyntaxCSyntaxGroupItems( group_name, syntax_full )
|
|||||||
" let syn_list = substitute( @l, '^.*xxx\s*\%(contained\s*\)\?', "", '' )
|
" let syn_list = substitute( @l, '^.*xxx\s*\%(contained\s*\)\?', "", '' )
|
||||||
" let syn_list = substitute( @l, '^.*xxx\s*', "", '' )
|
" let syn_list = substitute( @l, '^.*xxx\s*', "", '' )
|
||||||
|
|
||||||
" We only want the words for the lines begining with
|
" We only want the words for the lines beginning with
|
||||||
" containedin, but there could be other items.
|
" containedin, but there could be other items.
|
||||||
|
|
||||||
" Tried to remove all lines that do not begin with contained
|
" Tried to remove all lines that do not begin with contained
|
||||||
@@ -642,14 +687,23 @@ function! s:SyntaxCSyntaxGroupItems( group_name, syntax_full )
|
|||||||
\ syn_list, '\%(^\|\n\)\@<=\s*\(@\w\+\)'
|
\ syn_list, '\%(^\|\n\)\@<=\s*\(@\w\+\)'
|
||||||
\ , "", 'g'
|
\ , "", 'g'
|
||||||
\ )
|
\ )
|
||||||
|
|
||||||
if b:omni_syntax_use_iskeyword == 0
|
if l:omni_syntax_use_iskeyword == 0
|
||||||
" There are a number of items which have non-word characters in
|
" There are a number of items which have non-word characters in
|
||||||
" them, *'T_F1'*. vim.vim is one such file.
|
" them, *'T_F1'*. vim.vim is one such file.
|
||||||
" This will replace non-word characters with spaces.
|
" This will replace non-word characters with spaces.
|
||||||
|
" setlocal filetype=forth
|
||||||
|
" let g:omni_syntax_use_iskeyword = 1
|
||||||
|
" let g:omni_syntax_use_iskeyword_numeric = 1
|
||||||
|
" You will see entries like
|
||||||
|
" #>>
|
||||||
|
" (.local)
|
||||||
|
" These were found doing a grep in vim82\syntax
|
||||||
|
" grep iskeyword *
|
||||||
|
" forth.vim:setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255
|
||||||
let syn_list = substitute( syn_list, '[^0-9A-Za-z_ ]', ' ', 'g' )
|
let syn_list = substitute( syn_list, '[^0-9A-Za-z_ ]', ' ', 'g' )
|
||||||
else
|
else
|
||||||
if g:omni_syntax_use_iskeyword_numeric == 1
|
if l:omni_syntax_use_iskeyword_numeric == 1
|
||||||
" iskeyword can contain value like this
|
" iskeyword can contain value like this
|
||||||
" 38,42,43,45,47-58,60-62,64-90,97-122,_,+,-,*,/,%,<,=,>,:,$,?,!,@-@,94
|
" 38,42,43,45,47-58,60-62,64-90,97-122,_,+,-,*,/,%,<,=,>,:,$,?,!,@-@,94
|
||||||
" Numeric values convert to their ASCII equivalent using the
|
" Numeric values convert to their ASCII equivalent using the
|
||||||
@@ -669,7 +723,7 @@ function! s:SyntaxCSyntaxGroupItems( group_name, syntax_full )
|
|||||||
" cycle through each character within the range
|
" cycle through each character within the range
|
||||||
let [b:start, b:end] = split(item, '-')
|
let [b:start, b:end] = split(item, '-')
|
||||||
for range_item in range( b:start, b:end )
|
for range_item in range( b:start, b:end )
|
||||||
if range_item <= 127 || g:omni_syntax_use_single_byte == 0
|
if range_item <= 127 || l:omni_syntax_use_single_byte == 0
|
||||||
if nr2char(range_item) =~ '\p'
|
if nr2char(range_item) =~ '\p'
|
||||||
let accepted_chars = accepted_chars . nr2char(range_item)
|
let accepted_chars = accepted_chars . nr2char(range_item)
|
||||||
endif
|
endif
|
||||||
@@ -677,13 +731,13 @@ function! s:SyntaxCSyntaxGroupItems( group_name, syntax_full )
|
|||||||
endfor
|
endfor
|
||||||
elseif item =~ '^\d\+$'
|
elseif item =~ '^\d\+$'
|
||||||
" Only numeric, translate to a character
|
" Only numeric, translate to a character
|
||||||
if item < 127 || g:omni_syntax_use_single_byte == 0
|
if item < 127 || l:omni_syntax_use_single_byte == 0
|
||||||
if nr2char(item) =~ '\p'
|
if nr2char(item) =~ '\p'
|
||||||
let accepted_chars = accepted_chars . nr2char(item)
|
let accepted_chars = accepted_chars . nr2char(item)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
if char2nr(item) < 127 || g:omni_syntax_use_single_byte == 0
|
if char2nr(item) < 127 || l:omni_syntax_use_single_byte == 0
|
||||||
if item =~ '\p'
|
if item =~ '\p'
|
||||||
let accepted_chars = accepted_chars . item
|
let accepted_chars = accepted_chars . item
|
||||||
endif
|
endif
|
||||||
@@ -719,9 +773,9 @@ function! s:SyntaxCSyntaxGroupItems( group_name, syntax_full )
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if b:omni_syntax_minimum_length > 0
|
if l:omni_syntax_minimum_length > 0
|
||||||
" If the user specified a minimum length, enforce it
|
" If the user specified a minimum length, enforce it
|
||||||
let syn_list = substitute(' '.syn_list.' ', ' \S\{,'.b:omni_syntax_minimum_length.'}\ze ', ' ', 'g')
|
let syn_list = substitute(' '.syn_list.' ', ' \S\{,'.l:omni_syntax_minimum_length.'}\ze ', ' ', 'g')
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
let syn_list = ''
|
let syn_list = ''
|
||||||
@@ -751,5 +805,6 @@ function! OmniSyntaxShowChars(spec)
|
|||||||
endfor
|
endfor
|
||||||
return join(map(result, 'nr2char(v:val)'), ', ')
|
return join(map(result, 'nr2char(v:val)'), ', ')
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
let &cpo = s:cpo_save
|
let &cpo = s:cpo_save
|
||||||
unlet s:cpo_save
|
unlet s:cpo_save
|
||||||
|
|||||||
@@ -163,7 +163,7 @@ fun! tar#Browse(tarfile)
|
|||||||
" call Decho("1: exe silent r! gzip -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - ")
|
" call Decho("1: exe silent r! gzip -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - ")
|
||||||
exe "sil! r! gzip -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
|
exe "sil! r! gzip -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
|
||||||
|
|
||||||
elseif tarfile =~# '\.\(tgz\)$' || tarfile =~# '\.\(tbz\)$' || tarfile =~# '\.\(txz\)$'
|
elseif tarfile =~# '\.\(tgz\)$' || tarfile =~# '\.\(tbz\)$' || tarfile =~# '\.\(txz\)$' || tarfile =~# '\.\(tzs\)$'
|
||||||
if has("unix") && executable("file")
|
if has("unix") && executable("file")
|
||||||
let filekind= system("file ".shellescape(tarfile,1)) =~ "bzip2"
|
let filekind= system("file ".shellescape(tarfile,1)) =~ "bzip2"
|
||||||
else
|
else
|
||||||
@@ -174,6 +174,8 @@ fun! tar#Browse(tarfile)
|
|||||||
exe "sil! r! bzip2 -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
|
exe "sil! r! bzip2 -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
|
||||||
elseif filekind =~ "XZ"
|
elseif filekind =~ "XZ"
|
||||||
exe "sil! r! xz -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
|
exe "sil! r! xz -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
|
||||||
|
elseif filekind =~ "Zstandard"
|
||||||
|
exe "sil! r! zstd --decompress --stdout -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
|
||||||
else
|
else
|
||||||
exe "sil! r! gzip -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
|
exe "sil! r! gzip -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
|
||||||
endif
|
endif
|
||||||
@@ -190,6 +192,8 @@ fun! tar#Browse(tarfile)
|
|||||||
elseif tarfile =~# '\.\(xz\|txz\)$'
|
elseif tarfile =~# '\.\(xz\|txz\)$'
|
||||||
" call Decho("3: exe silent r! xz --decompress --stdout -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - ")
|
" call Decho("3: exe silent r! xz --decompress --stdout -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - ")
|
||||||
exe "sil! r! xz --decompress --stdout -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
|
exe "sil! r! xz --decompress --stdout -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
|
||||||
|
elseif tarfile =~# '\.\(zst\|tzs\)$'
|
||||||
|
exe "sil! r! zstd --decompress --stdout -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
|
||||||
else
|
else
|
||||||
if tarfile =~ '^\s*-'
|
if tarfile =~ '^\s*-'
|
||||||
" A file name starting with a dash is taken as an option. Prepend ./ to avoid that.
|
" A file name starting with a dash is taken as an option. Prepend ./ to avoid that.
|
||||||
@@ -302,6 +306,9 @@ fun! tar#Read(fname,mode)
|
|||||||
elseif fname =~ '\.xz$' && executable("xzcat")
|
elseif fname =~ '\.xz$' && executable("xzcat")
|
||||||
let decmp= "|xzcat"
|
let decmp= "|xzcat"
|
||||||
let doro = 1
|
let doro = 1
|
||||||
|
elseif fname =~ '\.zst$' && executable("zstdcat")
|
||||||
|
let decmp= "|zstdcat"
|
||||||
|
let doro = 1
|
||||||
else
|
else
|
||||||
let decmp=""
|
let decmp=""
|
||||||
let doro = 0
|
let doro = 0
|
||||||
@@ -331,6 +338,8 @@ fun! tar#Read(fname,mode)
|
|||||||
exe "sil! r! bzip2 -d -c -- ".shellescape(tarfile,1)."| ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp
|
exe "sil! r! bzip2 -d -c -- ".shellescape(tarfile,1)."| ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp
|
||||||
elseif filekind =~ "XZ"
|
elseif filekind =~ "XZ"
|
||||||
exe "sil! r! xz -d -c -- ".shellescape(tarfile,1)."| ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp
|
exe "sil! r! xz -d -c -- ".shellescape(tarfile,1)."| ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp
|
||||||
|
elseif filekind =~ "Zstandard"
|
||||||
|
exe "sil! r! zstd --decompress --stdout -- ".shellescape(tarfile,1)."| ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp
|
||||||
else
|
else
|
||||||
exe "sil! r! gzip -d -c -- ".shellescape(tarfile,1)."| ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp
|
exe "sil! r! gzip -d -c -- ".shellescape(tarfile,1)."| ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp
|
||||||
endif
|
endif
|
||||||
@@ -452,6 +461,10 @@ fun! tar#Write(fname)
|
|||||||
let tarfile = substitute(tarfile,'\.xz','','e')
|
let tarfile = substitute(tarfile,'\.xz','','e')
|
||||||
let compress= "xz -- ".shellescape(tarfile,0)
|
let compress= "xz -- ".shellescape(tarfile,0)
|
||||||
" call Decho("compress<".compress.">")
|
" call Decho("compress<".compress.">")
|
||||||
|
elseif tarfile =~# '\.zst'
|
||||||
|
call system("zstd --decompress -- ".shellescape(tarfile,0))
|
||||||
|
let tarfile = substitute(tarfile,'\.zst','','e')
|
||||||
|
let compress= "zstd -- ".shellescape(tarfile,0)
|
||||||
elseif tarfile =~# '\.lzma'
|
elseif tarfile =~# '\.lzma'
|
||||||
call system("lzma -d -- ".shellescape(tarfile,0))
|
call system("lzma -d -- ".shellescape(tarfile,0))
|
||||||
let tarfile = substitute(tarfile,'\.lzma','','e')
|
let tarfile = substitute(tarfile,'\.lzma','','e')
|
||||||
@@ -676,6 +689,28 @@ fun! tar#Extract()
|
|||||||
else
|
else
|
||||||
echo "***note*** successfully extracted ".fname
|
echo "***note*** successfully extracted ".fname
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
elseif filereadable(tarbase.".tzs")
|
||||||
|
let extractcmd= substitute(extractcmd,"-","--zstd","")
|
||||||
|
" call Decho("system(".extractcmd." ".shellescape(tarbase).".tzs ".shellescape(fname).")")
|
||||||
|
call system(extractcmd." ".shellescape(tarbase).".txz ".shellescape(fname))
|
||||||
|
if v:shell_error != 0
|
||||||
|
echohl Error | echo "***error*** ".extractcmd." ".tarbase.".tzs ".fname.": failed!" | echohl NONE
|
||||||
|
" call Decho("***error*** ".extractcmd." ".tarbase.".tzs ".fname.": failed!")
|
||||||
|
else
|
||||||
|
echo "***note*** successfully extracted ".fname
|
||||||
|
endif
|
||||||
|
|
||||||
|
elseif filereadable(tarbase.".tar.zst")
|
||||||
|
let extractcmd= substitute(extractcmd,"-","--zstd","")
|
||||||
|
" call Decho("system(".extractcmd." ".shellescape(tarbase).".tar.zst ".shellescape(fname).")")
|
||||||
|
call system(extractcmd." ".shellescape(tarbase).".tar.xz ".shellescape(fname))
|
||||||
|
if v:shell_error != 0
|
||||||
|
echohl Error | echo "***error*** ".extractcmd." ".tarbase.".tar.zst ".fname.": failed!" | echohl NONE
|
||||||
|
" call Decho("***error*** ".extractcmd." ".tarbase.".tar.zst ".fname.": failed!")
|
||||||
|
else
|
||||||
|
echo "***note*** successfully extracted ".fname
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" restore option
|
" restore option
|
||||||
|
|||||||
26
runtime/compiler/cm3.vim
Normal file
26
runtime/compiler/cm3.vim
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
" Vim compiler file
|
||||||
|
" Compiler: Critical Mass Modula-3 Compiler
|
||||||
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
|
" Last Change: 2021 Apr 08
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
let current_compiler = "cm3"
|
||||||
|
|
||||||
|
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
||||||
|
command -nargs=* CompilerSet setlocal <args>
|
||||||
|
endif
|
||||||
|
|
||||||
|
let s:cpo_save = &cpo
|
||||||
|
set cpo&vim
|
||||||
|
|
||||||
|
" TODO: better handling of Quake errors
|
||||||
|
CompilerSet makeprg=cm3
|
||||||
|
CompilerSet errorformat=%D---\ building\ in\ %f\ ---,
|
||||||
|
\%W\"%f\"\\,\ line\ %l:\ warning:\ %m,
|
||||||
|
\%E\"%f\"\\,\ line\ %l:\ %m,
|
||||||
|
\%-G%.%#
|
||||||
|
|
||||||
|
let &cpo = s:cpo_save
|
||||||
|
unlet s:cpo_save
|
||||||
27
runtime/compiler/fbc.vim
Normal file
27
runtime/compiler/fbc.vim
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
" Vim compiler file
|
||||||
|
" Compiler: FreeBASIC Compiler
|
||||||
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
|
" Last Change: 2015 Jan 10
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
let current_compiler = "fbc"
|
||||||
|
|
||||||
|
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
||||||
|
command -nargs=* CompilerSet setlocal <args>
|
||||||
|
endif
|
||||||
|
|
||||||
|
let s:cpo_save = &cpo
|
||||||
|
set cpo&vim
|
||||||
|
|
||||||
|
CompilerSet makeprg=fbc
|
||||||
|
CompilerSet errorformat=%-G%.%#Too\ many\ errors\\,\ exiting,
|
||||||
|
\%f(%l)\ %tarning\ %n(%\\d%\\+):\ %m,
|
||||||
|
\%E%f(%l)\ error\ %n:\ %m,
|
||||||
|
\%-Z%p^,
|
||||||
|
\%-C%.%#,
|
||||||
|
\%-G%.%#
|
||||||
|
|
||||||
|
let &cpo = s:cpo_save
|
||||||
|
unlet s:cpo_save
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
" Vim Compiler File
|
" Vim Compiler File
|
||||||
" Compiler: ocaml
|
" Compiler: ocaml
|
||||||
" Maintainer: Markus Mottl <markus.mottl@gmail.com>
|
" Maintainer: Markus Mottl <markus.mottl@gmail.com>
|
||||||
" URL: https://github.com/rgrinberg/vim-ocaml
|
" URL: https://github.com/ocaml/vim-ocaml
|
||||||
" Last Change:
|
" Last Change:
|
||||||
|
" 2020 Mar 28 - Improved error format (Thomas Leonard)
|
||||||
" 2017 Nov 26 - Improved error format (Markus Mottl)
|
" 2017 Nov 26 - Improved error format (Markus Mottl)
|
||||||
" 2013 Aug 27 - Added a new OCaml error format (Markus Mottl)
|
" 2013 Aug 27 - Added a new OCaml error format (Markus Mottl)
|
||||||
" 2013 Jun 30 - Initial version (Marc Weber)
|
|
||||||
"
|
"
|
||||||
" Marc Weber's comments:
|
" Marc Weber's comments:
|
||||||
" Setting makeprg doesn't make sense, because there is ocamlc, ocamlopt,
|
" Setting makeprg doesn't make sense, because there is ocamlc, ocamlopt,
|
||||||
@@ -21,6 +21,7 @@
|
|||||||
"
|
"
|
||||||
" So having it here makes people opt-in
|
" So having it here makes people opt-in
|
||||||
|
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
@@ -30,6 +31,7 @@ let s:cpo_save = &cpo
|
|||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|
||||||
CompilerSet errorformat =
|
CompilerSet errorformat =
|
||||||
|
\%EFile\ \"%f\"\\,\ lines\ %*\\d-%l\\,\ characters\ %c-%*\\d:,
|
||||||
\%EFile\ \"%f\"\\,\ line\ %l\\,\ characters\ %c-%*\\d:,
|
\%EFile\ \"%f\"\\,\ line\ %l\\,\ characters\ %c-%*\\d:,
|
||||||
\%EFile\ \"%f\"\\,\ line\ %l\\,\ characters\ %c-%*\\d\ %.%#,
|
\%EFile\ \"%f\"\\,\ line\ %l\\,\ characters\ %c-%*\\d\ %.%#,
|
||||||
\%EFile\ \"%f\"\\,\ line\ %l\\,\ character\ %c:%m,
|
\%EFile\ \"%f\"\\,\ line\ %l\\,\ character\ %c:%m,
|
||||||
|
|||||||
84
runtime/compiler/powershell.vim
Normal file
84
runtime/compiler/powershell.vim
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
" Vim compiler file
|
||||||
|
" Compiler: powershell
|
||||||
|
" URL: https://github.com/PProvost/vim-ps1
|
||||||
|
" Last Change: 2020 Mar 30
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
let current_compiler = "powershell"
|
||||||
|
|
||||||
|
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
||||||
|
command -nargs=* CompilerSet setlocal <args>
|
||||||
|
endif
|
||||||
|
|
||||||
|
let s:cpo_save = &cpo
|
||||||
|
set cpo-=C
|
||||||
|
|
||||||
|
if !exists("g:ps1_makeprg_cmd")
|
||||||
|
if executable('pwsh')
|
||||||
|
" pwsh is the future
|
||||||
|
let g:ps1_makeprg_cmd = 'pwsh'
|
||||||
|
elseif executable('pwsh.exe')
|
||||||
|
let g:ps1_makeprg_cmd = 'pwsh.exe'
|
||||||
|
elseif executable('powershell.exe')
|
||||||
|
let g:ps1_makeprg_cmd = 'powershell.exe'
|
||||||
|
else
|
||||||
|
let g:ps1_makeprg_cmd = ''
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
if !executable(g:ps1_makeprg_cmd)
|
||||||
|
echoerr "To use the powershell compiler, please set g:ps1_makeprg_cmd to the powershell executable!"
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Show CategoryInfo, FullyQualifiedErrorId, etc?
|
||||||
|
let g:ps1_efm_show_error_categories = get(g:, 'ps1_efm_show_error_categories', 0)
|
||||||
|
|
||||||
|
" Use absolute path because powershell requires explicit relative paths
|
||||||
|
" (./file.ps1 is okay, but # expands to file.ps1)
|
||||||
|
let &l:makeprg = g:ps1_makeprg_cmd .' %:p:S'
|
||||||
|
|
||||||
|
" Parse file, line, char from callstacks:
|
||||||
|
" Write-Ouput : The term 'Write-Ouput' is not recognized as the name of a
|
||||||
|
" cmdlet, function, script file, or operable program. Check the spelling
|
||||||
|
" of the name, or if a path was included, verify that the path is correct
|
||||||
|
" and try again.
|
||||||
|
" At C:\script.ps1:11 char:5
|
||||||
|
" + Write-Ouput $content
|
||||||
|
" + ~~~~~~~~~~~
|
||||||
|
" + CategoryInfo : ObjectNotFound: (Write-Ouput:String) [], CommandNotFoundException
|
||||||
|
" + FullyQualifiedErrorId : CommandNotFoundException
|
||||||
|
|
||||||
|
" Showing error in context with underlining.
|
||||||
|
CompilerSet errorformat=%+G+%m
|
||||||
|
" Error summary.
|
||||||
|
CompilerSet errorformat+=%E%*\\S\ :\ %m
|
||||||
|
" Error location.
|
||||||
|
CompilerSet errorformat+=%CAt\ %f:%l\ char:%c
|
||||||
|
" Errors that span multiple lines (may be wrapped to width of terminal).
|
||||||
|
CompilerSet errorformat+=%C%m
|
||||||
|
" Ignore blank/whitespace-only lines.
|
||||||
|
CompilerSet errorformat+=%Z\\s%#
|
||||||
|
|
||||||
|
if g:ps1_efm_show_error_categories
|
||||||
|
CompilerSet errorformat^=%+G\ \ \ \ +\ %.%#\\s%#:\ %m
|
||||||
|
else
|
||||||
|
CompilerSet errorformat^=%-G\ \ \ \ +\ %.%#\\s%#:\ %m
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
" Parse file, line, char from of parse errors:
|
||||||
|
" At C:\script.ps1:22 char:16
|
||||||
|
" + Stop-Process -Name "invalidprocess
|
||||||
|
" + ~~~~~~~~~~~~~~~
|
||||||
|
" The string is missing the terminator: ".
|
||||||
|
" + CategoryInfo : ParserError: (:) [], ParseException
|
||||||
|
" + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString
|
||||||
|
CompilerSet errorformat+=At\ %f:%l\ char:%c
|
||||||
|
|
||||||
|
|
||||||
|
let &cpo = s:cpo_save
|
||||||
|
unlet s:cpo_save
|
||||||
|
|
||||||
|
" vim:set sw=2 sts=2:
|
||||||
28
runtime/compiler/sml.vim
Normal file
28
runtime/compiler/sml.vim
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
" Vim compiler file
|
||||||
|
" Compiler: SML/NJ Compiler
|
||||||
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
|
" Last Change: 2020 Feb 10
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
let current_compiler = "sml"
|
||||||
|
|
||||||
|
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
||||||
|
command -nargs=* CompilerSet setlocal <args>
|
||||||
|
endif
|
||||||
|
|
||||||
|
let s:cpo_save = &cpo
|
||||||
|
set cpo&vim
|
||||||
|
|
||||||
|
CompilerSet makeprg=sml
|
||||||
|
CompilerSet errorformat=%f:%l.%c-%\\d%\\+.%\\d%\\+\ %trror:\ %m,
|
||||||
|
\%f:%l.%c\ %trror:\ %m,
|
||||||
|
\%trror:\ %m
|
||||||
|
\%f:%l.%c-%\\d%\\+.%\\d%\\+\ %tarning:\ %m,
|
||||||
|
\%f:%l.%c\ %tarning:\ %m,
|
||||||
|
\%tarning:\ %m,
|
||||||
|
\%-G%.%#
|
||||||
|
|
||||||
|
let &cpo = s:cpo_save
|
||||||
|
unlet s:cpo_save
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Compiler: HTML Tidy
|
" Compiler: HTML Tidy
|
||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2016 Apr 21
|
" Last Change: 2020 Sep 4
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
@@ -12,8 +12,15 @@ if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
|||||||
command -nargs=* CompilerSet setlocal <args>
|
command -nargs=* CompilerSet setlocal <args>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CompilerSet makeprg=tidy\ -quiet\ -errors\ --gnu-emacs\ yes\ %:S
|
let s:cpo_save = &cpo
|
||||||
|
set cpo&vim
|
||||||
|
|
||||||
" foo.html:8:1: Warning: inserting missing 'foobar' element
|
CompilerSet makeprg=tidy\ -quiet\ -errors\ --gnu-emacs\ yes
|
||||||
" foo.html:9:2: Error: <foobar> is not recognized!
|
CompilerSet errorformat=%f:%l:%c:\ %trror:\ %m,
|
||||||
CompilerSet errorformat=%f:%l:%c:\ %trror:%m,%f:%l:%c:\ %tarning:%m,%-G%.%#
|
\%f:%l:%c:\ %tarning:\ %m,
|
||||||
|
\%f:%l:%c:\ %tnfo:\ %m,
|
||||||
|
\%f:%l:%c:\ %m,
|
||||||
|
\%-G%.%#
|
||||||
|
|
||||||
|
let &cpo = s:cpo_save
|
||||||
|
unlet s:cpo_save
|
||||||
|
|||||||
23
runtime/compiler/zsh.vim
Normal file
23
runtime/compiler/zsh.vim
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
" Vim compiler file
|
||||||
|
" Compiler: Zsh
|
||||||
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
|
" Last Change: 2020 Sep 6
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
let current_compiler = "zsh"
|
||||||
|
|
||||||
|
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
||||||
|
command -nargs=* CompilerSet setlocal <args>
|
||||||
|
endif
|
||||||
|
|
||||||
|
let s:cpo_save = &cpo
|
||||||
|
set cpo&vim
|
||||||
|
|
||||||
|
CompilerSet makeprg=zsh\ -n\ --\ %:S
|
||||||
|
CompilerSet errorformat=%f:\ line\ %l:\ %m,
|
||||||
|
\%-G%.%#
|
||||||
|
|
||||||
|
let &cpo = s:cpo_save
|
||||||
|
unlet s:cpo_save
|
||||||
@@ -30,6 +30,8 @@ DOCS = \
|
|||||||
filetype.txt \
|
filetype.txt \
|
||||||
fold.txt \
|
fold.txt \
|
||||||
ft_ada.txt \
|
ft_ada.txt \
|
||||||
|
ft_ps1.txt \
|
||||||
|
ft_raku.txt \
|
||||||
ft_rust.txt \
|
ft_rust.txt \
|
||||||
ft_sql.txt \
|
ft_sql.txt \
|
||||||
gui.txt \
|
gui.txt \
|
||||||
@@ -173,6 +175,8 @@ HTMLS = \
|
|||||||
filetype.html \
|
filetype.html \
|
||||||
fold.html \
|
fold.html \
|
||||||
ft_ada.html \
|
ft_ada.html \
|
||||||
|
ft_ps1.html \
|
||||||
|
ft_raku.html \
|
||||||
ft_rust.html \
|
ft_rust.html \
|
||||||
ft_sql.html \
|
ft_sql.html \
|
||||||
gui.html \
|
gui.html \
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*autocmd.txt* For Vim version 8.2. Last change: 2020 Oct 26
|
*autocmd.txt* For Vim version 8.2. Last change: 2021 May 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -55,6 +55,7 @@ effects. Be careful not to destroy your text.
|
|||||||
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|.
|
||||||
|
Here {event} cannot be "*". *E1155*
|
||||||
Note: A quote character is seen as argument to the
|
Note: A quote character is seen as argument to the
|
||||||
: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,
|
||||||
@@ -70,6 +71,11 @@ effects. Be careful not to destroy your text.
|
|||||||
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|.
|
||||||
|
|
||||||
|
If the `:autocmd` is in Vim9 script (a script that starts with `:vim9script`
|
||||||
|
and in a `:def` function) then {cmd} will be executed as in Vim9
|
||||||
|
script. Thus this depends on where the autocmd is defined, not where it is
|
||||||
|
triggered.
|
||||||
|
|
||||||
Note: The ":autocmd" command can only be followed by another command when the
|
Note: The ":autocmd" command can only be followed by another command when the
|
||||||
'|' appears before {cmd}. This works: >
|
'|' appears before {cmd}. This works: >
|
||||||
:augroup mine | au! BufRead | augroup END
|
:augroup mine | au! BufRead | augroup END
|
||||||
@@ -301,6 +307,9 @@ Name triggered by ~
|
|||||||
|VimLeavePre| before exiting Vim, before writing the viminfo file
|
|VimLeavePre| before exiting Vim, before writing the viminfo file
|
||||||
|VimLeave| before exiting Vim, after writing the viminfo file
|
|VimLeave| before exiting Vim, after writing the viminfo file
|
||||||
|
|
||||||
|
|VimSuspend| when suspending Vim
|
||||||
|
|VimResume| when Vim is resumed after being suspended
|
||||||
|
|
||||||
Terminal
|
Terminal
|
||||||
|TerminalOpen| after a terminal buffer was created
|
|TerminalOpen| after a terminal buffer was created
|
||||||
|TerminalWinOpen| after a terminal buffer was created in a new window
|
|TerminalWinOpen| after a terminal buffer was created in a new window
|
||||||
@@ -843,6 +852,8 @@ FuncUndefined When a user function is used but it isn't
|
|||||||
when it's used. The pattern is matched
|
when it's used. The pattern is matched
|
||||||
against the function name. Both <amatch> and
|
against the function name. Both <amatch> and
|
||||||
<afile> are set to the name of the function.
|
<afile> are set to the name of the function.
|
||||||
|
Not triggered when compiling a |Vim9|
|
||||||
|
function.
|
||||||
NOTE: When writing Vim scripts a better
|
NOTE: When writing Vim scripts a better
|
||||||
alternative is to use an autoloaded function.
|
alternative is to use an autoloaded function.
|
||||||
See |autoload-functions|.
|
See |autoload-functions|.
|
||||||
@@ -974,9 +985,10 @@ QuickFixCmdPost Like QuickFixCmdPre, but after a quickfix
|
|||||||
*QuitPre*
|
*QuitPre*
|
||||||
QuitPre When using `:quit`, `:wq` or `:qall`, before
|
QuitPre When using `:quit`, `:wq` or `:qall`, before
|
||||||
deciding whether it closes the current window
|
deciding whether it closes the current window
|
||||||
or quits Vim. Can be used to close any
|
or quits Vim. For `:wq` the buffer is written
|
||||||
non-essential window if the current window is
|
before QuitPre is triggered. Can be used to
|
||||||
the last ordinary window.
|
close any non-essential window if the current
|
||||||
|
window is the last ordinary window.
|
||||||
Also see |ExitPre|.
|
Also see |ExitPre|.
|
||||||
*RemoteReply*
|
*RemoteReply*
|
||||||
RemoteReply When a reply from a Vim that functions as
|
RemoteReply When a reply from a Vim that functions as
|
||||||
@@ -1210,6 +1222,7 @@ VimLeave Before exiting Vim, just after writing the
|
|||||||
To detect an abnormal exit use |v:dying|.
|
To detect an abnormal exit use |v:dying|.
|
||||||
When v:dying is 2 or more this event is not
|
When v:dying is 2 or more this event is not
|
||||||
triggered.
|
triggered.
|
||||||
|
To get the exit code use |v:exiting|.
|
||||||
*VimLeavePre*
|
*VimLeavePre*
|
||||||
VimLeavePre Before exiting Vim, just before writing the
|
VimLeavePre Before exiting Vim, just before writing the
|
||||||
.viminfo file. This is executed only once,
|
.viminfo file. This is executed only once,
|
||||||
@@ -1220,10 +1233,22 @@ VimLeavePre Before exiting Vim, just before writing the
|
|||||||
< To detect an abnormal exit use |v:dying|.
|
< To detect an abnormal exit use |v:dying|.
|
||||||
When v:dying is 2 or more this event is not
|
When v:dying is 2 or more this event is not
|
||||||
triggered.
|
triggered.
|
||||||
|
To get the exit code use |v:exiting|.
|
||||||
*VimResized*
|
*VimResized*
|
||||||
VimResized After the Vim window was resized, thus 'lines'
|
VimResized After the Vim window was resized, thus 'lines'
|
||||||
and/or 'columns' changed. Not when starting
|
and/or 'columns' changed. Not when starting
|
||||||
up though.
|
up though.
|
||||||
|
*VimResume*
|
||||||
|
VimResume When the Vim instance is resumed after being
|
||||||
|
suspended and |VimSuspend| was triggered.
|
||||||
|
Useful for triggering |:checktime| and ensure
|
||||||
|
the buffers content did not change while Vim
|
||||||
|
was suspended: >
|
||||||
|
:autocmd VimResume * checktime
|
||||||
|
< *VimSuspend*
|
||||||
|
VimSuspend When the Vim instance is suspended. Only when
|
||||||
|
CTRL-Z was typed inside Vim, not when the
|
||||||
|
SIGSTOP or SIGTSTP signal was sent to Vim.
|
||||||
*WinEnter*
|
*WinEnter*
|
||||||
WinEnter After entering another window. Not done for
|
WinEnter After entering another window. Not done for
|
||||||
the first window, when Vim has just started.
|
the first window, when Vim has just started.
|
||||||
@@ -1495,9 +1520,18 @@ option will not cause any commands to be executed.
|
|||||||
*:doautoa* *:doautoall*
|
*:doautoa* *:doautoall*
|
||||||
:doautoa[ll] [<nomodeline>] [group] {event} [fname]
|
:doautoa[ll] [<nomodeline>] [group] {event} [fname]
|
||||||
Like ":doautocmd", but apply the autocommands to each
|
Like ":doautocmd", but apply the autocommands to each
|
||||||
loaded buffer. Note that [fname] is used to select
|
loaded buffer. The current buffer is done last.
|
||||||
the autocommands, not the buffers to which they are
|
|
||||||
applied.
|
Note that [fname] is used to select the autocommands,
|
||||||
|
not the buffers to which they are applied. Example: >
|
||||||
|
augroup mine
|
||||||
|
autocmd!
|
||||||
|
autocmd FileType * echo expand('<amatch>')
|
||||||
|
augroup END
|
||||||
|
doautoall mine FileType Loaded-Buffer
|
||||||
|
< Sourcing this script, you'll see as many
|
||||||
|
"Loaded-Buffer" echoed as there are loaded buffers.
|
||||||
|
|
||||||
Careful: Don't use this for autocommands that delete a
|
Careful: Don't use this for autocommands that delete a
|
||||||
buffer, change to another buffer or change the
|
buffer, change to another buffer or change the
|
||||||
contents of a buffer; the result is unpredictable.
|
contents of a buffer; the result is unpredictable.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*change.txt* For Vim version 8.2. Last change: 2020 Nov 03
|
*change.txt* For Vim version 8.2. Last change: 2021 Jun 10
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -649,6 +649,8 @@ For other systems the tmpnam() library function is used.
|
|||||||
The space between `:substitute` and the 'c', 'g',
|
The space between `:substitute` and the 'c', 'g',
|
||||||
'i', 'I' and 'r' flags isn't required, but in scripts
|
'i', 'I' and 'r' flags isn't required, but in scripts
|
||||||
it's a good idea to keep it to avoid confusion.
|
it's a good idea to keep it to avoid confusion.
|
||||||
|
Also see the two and three letter commands to repeat
|
||||||
|
:substitute below |:substitute-repeat|.
|
||||||
|
|
||||||
:[range]~[&][flags] [count] *:~*
|
:[range]~[&][flags] [count] *:~*
|
||||||
Repeat last substitute with same substitute string
|
Repeat last substitute with same substitute string
|
||||||
@@ -877,20 +879,26 @@ either the first or second pattern in parentheses did not match, so either
|
|||||||
*:sge* *:sgi* *:sgI* *:sgl* *:sgn* *:sgp* *:sgr* *:sI* *:si*
|
*:sge* *:sgi* *:sgI* *:sgl* *:sgn* *:sgp* *:sgr* *:sI* *:si*
|
||||||
*:sic* *:sIc* *:sie* *:sIe* *:sIg* *:sIl* *:sin* *:sIn* *:sIp*
|
*:sic* *:sIc* *:sie* *:sIe* *:sIg* *:sIl* *:sin* *:sIn* *:sIp*
|
||||||
*:sip* *:sIr* *:sir* *:sr* *:src* *:srg* *:sri* *:srI* *:srl*
|
*:sip* *:sIr* *:sir* *:sr* *:src* *:srg* *:sri* *:srI* *:srl*
|
||||||
*:srn* *:srp*
|
*:srn* *:srp* *:substitute-repeat*
|
||||||
2-letter and 3-letter :substitute commands ~
|
2-letter and 3-letter :substitute commands ~
|
||||||
|
|
||||||
|
These commands repeat the previous `:substitute` command with the given flags.
|
||||||
|
The first letter is always "s", followed by one or two of the possible flag
|
||||||
|
characters. For example `:sce` works like `:s///ce`. The table lists the
|
||||||
|
possible combinations, not all flags are possible, because the command is
|
||||||
|
short for another command.
|
||||||
|
|
||||||
List of :substitute commands
|
List of :substitute commands
|
||||||
| c e g i I n p l r
|
| c e g i I n p l r
|
||||||
| c :sc :sce :scg :sci :scI :scn :scp :scl ---
|
| c :sc :sce :scg :sci :scI :scn :scp :scl
|
||||||
| e
|
| e
|
||||||
| g :sgc :sge :sg :sgi :sgI :sgn :sgp :sgl :sgr
|
| g :sgc :sge :sg :sgi :sgI :sgn :sgp :sgl :sgr
|
||||||
| i :sic :sie --- :si :siI :sin :sip --- :sir
|
| i :sic :sie :si :siI :sin :sip :sir
|
||||||
| I :sIc :sIe :sIg :sIi :sI :sIn :sIp :sIl :sIr
|
| I :sIc :sIe :sIg :sIi :sI :sIn :sIp :sIl :sIr
|
||||||
| n
|
| n
|
||||||
| p
|
| p
|
||||||
| l
|
| l
|
||||||
| r :src --- :srg :sri :srI :srn :srp :srl :sr
|
| r :src :srg :sri :srI :srn :srp :srl :sr
|
||||||
|
|
||||||
Exceptions:
|
Exceptions:
|
||||||
:scr is `:scriptnames`
|
:scr is `:scriptnames`
|
||||||
@@ -1034,6 +1042,10 @@ inside of strings can change! Also see 'softtabstop' option. >
|
|||||||
cursor to the end of line (which is more logical,
|
cursor to the end of line (which is more logical,
|
||||||
but not Vi-compatible) use ":map Y y$".
|
but not Vi-compatible) use ":map Y y$".
|
||||||
|
|
||||||
|
*zy*
|
||||||
|
["x]zy{motion} Yank {motion} text [into register x]. Only differs
|
||||||
|
from `y` when selecting a block of text, see |v_zy|.
|
||||||
|
|
||||||
*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|).
|
{Visual} see |Visual-mode|).
|
||||||
@@ -1042,6 +1054,12 @@ inside of strings can change! Also see 'softtabstop' option. >
|
|||||||
{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|).
|
{Visual} see |Visual-mode|).
|
||||||
|
|
||||||
|
*v_zy*
|
||||||
|
{Visual}["x]zy Yank the highlighted text [into register x]. Trailing
|
||||||
|
whitespace at the end of each line of a selected block
|
||||||
|
won't be yanked. Especially useful in combination
|
||||||
|
with `zp`. (for {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
|
||||||
"* or "+ registers is possible only when the
|
"* or "+ registers is possible only when the
|
||||||
@@ -1118,6 +1136,12 @@ inside of strings can change! Also see 'softtabstop' option. >
|
|||||||
Using the mouse only works when 'mouse' contains 'n'
|
Using the mouse only works when 'mouse' contains 'n'
|
||||||
or 'a'.
|
or 'a'.
|
||||||
|
|
||||||
|
["x]zp or *zp* *zP*
|
||||||
|
["x]zP Like "p" and "P", except without adding trailing spaces
|
||||||
|
when pasting a block. Thus the inserted text will not
|
||||||
|
always be a rectangle. Especially useful in
|
||||||
|
combination with |v_zy|.
|
||||||
|
|
||||||
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
|
||||||
command, then inserting the register contents with a put command. You can
|
command, then inserting the register contents with a put command. You can
|
||||||
@@ -1157,6 +1181,9 @@ a register, a paste on a visual selected area will paste that single line on
|
|||||||
each of the selected lines (thus replacing the blockwise selected region by a
|
each of the selected lines (thus replacing the blockwise selected region by a
|
||||||
block of the pasted line).
|
block of the pasted line).
|
||||||
|
|
||||||
|
Use |zP|/|zp| to paste a blockwise yanked register without appending trailing
|
||||||
|
spaces.
|
||||||
|
|
||||||
*blockwise-register*
|
*blockwise-register*
|
||||||
If you use a blockwise Visual mode command to get the text into the register,
|
If you use a blockwise Visual mode command to get the text into the register,
|
||||||
the block of text will be inserted before ("P") or after ("p") the cursor
|
the block of text will be inserted before ("P") or after ("p") the cursor
|
||||||
@@ -1631,24 +1658,31 @@ default setting is "tcq". You can separate the option letters with commas for
|
|||||||
readability.
|
readability.
|
||||||
|
|
||||||
letter meaning when present in 'formatoptions' ~
|
letter meaning when present in 'formatoptions' ~
|
||||||
|
*fo-t*
|
||||||
t Auto-wrap text using textwidth
|
t Auto-wrap text using textwidth
|
||||||
|
*fo-c*
|
||||||
c Auto-wrap comments using textwidth, inserting the current comment
|
c Auto-wrap comments using textwidth, inserting the current comment
|
||||||
leader automatically.
|
leader automatically.
|
||||||
|
*fo-r*
|
||||||
r Automatically insert the current comment leader after hitting
|
r Automatically insert the current comment leader after hitting
|
||||||
<Enter> in Insert mode.
|
<Enter> in Insert mode.
|
||||||
|
*fo-o*
|
||||||
o Automatically insert the current comment leader after hitting 'o' or
|
o Automatically insert the current comment leader after hitting 'o' or
|
||||||
'O' in Normal mode.
|
'O' in Normal mode.
|
||||||
|
*fo-q*
|
||||||
q Allow formatting of comments with "gq".
|
q Allow formatting of comments with "gq".
|
||||||
Note that formatting will not change blank lines or lines containing
|
Note that formatting will not change blank lines or lines containing
|
||||||
only the comment leader. A new paragraph starts after such a line,
|
only the comment leader. A new paragraph starts after such a line,
|
||||||
or when the comment leader changes.
|
or when the comment leader changes.
|
||||||
|
*fo-w*
|
||||||
w Trailing white space indicates a paragraph continues in the next line.
|
w Trailing white space indicates a paragraph continues in the next line.
|
||||||
A line that ends in a non-white character ends a paragraph.
|
A line that ends in a non-white character ends a paragraph.
|
||||||
|
*fo-a*
|
||||||
a Automatic formatting of paragraphs. Every time text is inserted or
|
a Automatic formatting of paragraphs. Every time text is inserted or
|
||||||
deleted the paragraph will be reformatted. See |auto-format|.
|
deleted the paragraph will be reformatted. See |auto-format|.
|
||||||
When the 'c' flag is present this only happens for recognized
|
When the 'c' flag is present this only happens for recognized
|
||||||
comments.
|
comments.
|
||||||
|
*fo-n*
|
||||||
n When formatting text, recognize numbered lists. This actually uses
|
n When formatting text, recognize numbered lists. This actually uses
|
||||||
the 'formatlistpat' option, thus any kind of list can be used. The
|
the 'formatlistpat' option, thus any kind of list can be used. The
|
||||||
indent of the text after the number is used for the next line. The
|
indent of the text after the number is used for the next line. The
|
||||||
@@ -1659,6 +1693,7 @@ n When formatting text, recognize numbered lists. This actually uses
|
|||||||
1. the first item
|
1. the first item
|
||||||
wraps
|
wraps
|
||||||
2. the second item
|
2. the second item
|
||||||
|
< *fo-2*
|
||||||
2 When formatting text, use the indent of the second line of a paragraph
|
2 When formatting text, use the indent of the second line of a paragraph
|
||||||
for the rest of the paragraph, instead of the indent of the first
|
for the rest of the paragraph, instead of the indent of the first
|
||||||
line. This supports paragraphs in which the first line has a
|
line. This supports paragraphs in which the first line has a
|
||||||
@@ -1668,36 +1703,46 @@ n When formatting text, recognize numbered lists. This actually uses
|
|||||||
second line of the same paragraph
|
second line of the same paragraph
|
||||||
third line.
|
third line.
|
||||||
< This also works inside comments, ignoring the comment leader.
|
< This also works inside comments, ignoring the comment leader.
|
||||||
|
*fo-v*
|
||||||
v Vi-compatible auto-wrapping in insert mode: Only break a line at a
|
v Vi-compatible auto-wrapping in insert mode: Only break a line at a
|
||||||
blank that you have entered during the current insert command. (Note:
|
blank that you have entered during the current insert command. (Note:
|
||||||
this is not 100% Vi compatible. Vi has some "unexpected features" or
|
this is not 100% Vi compatible. Vi has some "unexpected features" or
|
||||||
bugs in this area. It uses the screen column instead of the line
|
bugs in this area. It uses the screen column instead of the line
|
||||||
column.)
|
column.)
|
||||||
|
*fo-b*
|
||||||
b Like 'v', but only auto-wrap if you enter a blank at or before
|
b Like 'v', but only auto-wrap if you enter a blank at or before
|
||||||
the wrap margin. If the line was longer than 'textwidth' when you
|
the wrap margin. If the line was longer than 'textwidth' when you
|
||||||
started the insert, or you do not enter a blank in the insert before
|
started the insert, or you do not enter a blank in the insert before
|
||||||
reaching 'textwidth', Vim does not perform auto-wrapping.
|
reaching 'textwidth', Vim does not perform auto-wrapping.
|
||||||
|
*fo-l*
|
||||||
l Long lines are not broken in insert mode: When a line was longer than
|
l Long lines are not broken in insert mode: When a line was longer than
|
||||||
'textwidth' when the insert command started, Vim does not
|
'textwidth' when the insert command started, Vim does not
|
||||||
automatically format it.
|
automatically format it.
|
||||||
|
*fo-m*
|
||||||
m Also break at a multibyte character above 255. This is useful for
|
m Also break at a multibyte character above 255. This is useful for
|
||||||
Asian text where every character is a word on its own.
|
Asian text where every character is a word on its own.
|
||||||
|
*fo-M*
|
||||||
M When joining lines, don't insert a space before or after a multibyte
|
M When joining lines, don't insert a space before or after a multibyte
|
||||||
character. Overrules the 'B' flag.
|
character. Overrules the 'B' flag.
|
||||||
|
*fo-B*
|
||||||
B When joining lines, don't insert a space between two multibyte
|
B When joining lines, don't insert a space between two multibyte
|
||||||
characters. Overruled by the 'M' flag.
|
characters. Overruled by the 'M' flag.
|
||||||
|
*fo-1*
|
||||||
1 Don't break a line after a one-letter word. It's broken before it
|
1 Don't break a line after a one-letter word. It's broken before it
|
||||||
instead (if possible).
|
instead (if possible).
|
||||||
|
*fo-]*
|
||||||
] Respect textwidth rigorously. With this flag set, no line can be
|
] Respect textwidth rigorously. With this flag set, no line can be
|
||||||
longer than textwidth, unless line-break-prohibition rules make this
|
longer than textwidth, unless line-break-prohibition rules make this
|
||||||
impossible. Mainly for CJK scripts and works only if 'encoding' is
|
impossible. Mainly for CJK scripts and works only if 'encoding' is
|
||||||
"utf-8".
|
"utf-8".
|
||||||
|
*fo-j*
|
||||||
j Where it makes sense, remove a comment leader when joining lines. For
|
j Where it makes sense, remove a comment leader when joining lines. For
|
||||||
example, joining:
|
example, joining:
|
||||||
int i; // the index ~
|
int i; // the index ~
|
||||||
// in the list ~
|
// in the list ~
|
||||||
Becomes:
|
Becomes:
|
||||||
int i; // the index in the list ~
|
int i; // the index in the list ~
|
||||||
|
*fo-p*
|
||||||
p Don't break lines at single spaces that follow periods. This is
|
p Don't break lines at single spaces that follow periods. This is
|
||||||
intended to complement 'joinspaces' and |cpo-J|, for prose with
|
intended to complement 'joinspaces' and |cpo-J|, for prose with
|
||||||
sentences separated by two spaces. For example, with 'textwidth' set
|
sentences separated by two spaces. For example, with 'textwidth' set
|
||||||
@@ -1852,6 +1897,8 @@ found here: |sort()|, |uniq()|.
|
|||||||
When /{pattern}/ is specified and there is no [r] flag
|
When /{pattern}/ is specified and there is no [r] flag
|
||||||
the text matched with {pattern} is skipped, so that
|
the text matched with {pattern} is skipped, so that
|
||||||
you sort on what comes after the match.
|
you sort on what comes after the match.
|
||||||
|
'ignorecase' applies to the pattern, but 'smartcase'
|
||||||
|
is not used.
|
||||||
Instead of the slash any non-letter can be used.
|
Instead of the slash any non-letter can be used.
|
||||||
For example, to sort on the second comma-separated
|
For example, to sort on the second comma-separated
|
||||||
field: >
|
field: >
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*cmdline.txt* For Vim version 8.2. Last change: 2020 Sep 14
|
*cmdline.txt* For Vim version 8.2. Last change: 2021 May 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -597,9 +597,11 @@ followed by another Vim command:
|
|||||||
:global
|
:global
|
||||||
:help
|
:help
|
||||||
:helpfind
|
:helpfind
|
||||||
|
:helpgrep
|
||||||
:lcscope
|
:lcscope
|
||||||
:ldo
|
:ldo
|
||||||
:lfdo
|
:lfdo
|
||||||
|
:lhelpgrep
|
||||||
:make
|
:make
|
||||||
:normal
|
:normal
|
||||||
:perl
|
:perl
|
||||||
@@ -796,18 +798,20 @@ three lines: >
|
|||||||
3:d<CR> is translated into: .,.+2d<CR>
|
3:d<CR> is translated into: .,.+2d<CR>
|
||||||
<
|
<
|
||||||
|
|
||||||
Visual Mode and Range *v_:*
|
Visual Mode and Range
|
||||||
*:star-visual-range*
|
*v_:*
|
||||||
{Visual}: Starts a command-line with the Visual selected lines as a
|
{Visual}: Starts a command-line with the Visual selected lines as a
|
||||||
range. The code `:'<,'>` is used for this range, which makes
|
range. The code `:'<,'>` is used for this range, which makes
|
||||||
it possible to select a similar line from the command-line
|
it possible to select a similar line from the command-line
|
||||||
history for repeating a command on different Visually selected
|
history for repeating a command on different Visually selected
|
||||||
lines.
|
lines.
|
||||||
|
|
||||||
|
:* *:star* *:star-visual-range*
|
||||||
When Visual mode was already ended, a short way to use the
|
When Visual mode was already ended, a short way to use the
|
||||||
Visual area for a range is `:*`. This requires that "*" does
|
Visual area for a range is `:*`. This requires that "*" does
|
||||||
not appear in 'cpo', see |cpo-star|. Otherwise you will have
|
not appear in 'cpo', see |cpo-star|. Otherwise you will have
|
||||||
to type `:'<,'>`
|
to type `:'<,'>`
|
||||||
|
For when "*" is in 'cpo' see |:star-compatible|.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
5. Ex command-line flags *ex-flags*
|
5. Ex command-line flags *ex-flags*
|
||||||
@@ -849,6 +853,16 @@ function |expand()|.
|
|||||||
file name n. See |:oldfiles| or |v:oldfiles| to get the
|
file name n. See |:oldfiles| or |v:oldfiles| to get the
|
||||||
number. *E809*
|
number. *E809*
|
||||||
{only when compiled with the |+eval| and |+viminfo| features}
|
{only when compiled with the |+eval| and |+viminfo| features}
|
||||||
|
In |Vim9-script| # is used to start a comment, use %% for the alternate file
|
||||||
|
name:
|
||||||
|
% Is replaced with the current file name.
|
||||||
|
%% Is replaced with the alternate file name. *:_%%* *c_%%*
|
||||||
|
%%n (where n is a number) is replaced with *:_%%0* *:_%%n*
|
||||||
|
the file name of buffer n. "%%0" is the same as "%%". *c_%%n*
|
||||||
|
%%% Is replaced with all names in the argument *:_%%%* *c_%%%#*
|
||||||
|
list concatenated, separated by spaces.
|
||||||
|
%%<n (where n is a number > 0) is replaced with old *:_%%<* *c_%%<*
|
||||||
|
file name n.
|
||||||
|
|
||||||
Note that these, except "#<n", give the file name as it was typed. If an
|
Note that these, except "#<n", give the file name as it was typed. If an
|
||||||
absolute path is needed (when using the file name from a different directory),
|
absolute path is needed (when using the file name from a different directory),
|
||||||
@@ -1086,7 +1100,7 @@ Also see |`=|.
|
|||||||
In the command-line window the command line can be edited just like editing
|
In the command-line window the command line can be edited just like editing
|
||||||
text in any window. It is a special kind of window, because you cannot leave
|
text in any window. It is a special kind of window, because you cannot leave
|
||||||
it in a normal way.
|
it in a normal way.
|
||||||
{not available when compiled without the |+cmdline_hist| feature}
|
{not available when compiled without the |+cmdwin| feature}
|
||||||
|
|
||||||
|
|
||||||
OPEN *c_CTRL-F* *q:* *q/* *q?*
|
OPEN *c_CTRL-F* *q:* *q/* *q?*
|
||||||
@@ -1120,7 +1134,7 @@ in Normal mode and Insert mode.
|
|||||||
It is possible to use ":", "/" and other commands that use the command-line,
|
It is possible to use ":", "/" and other commands that use the command-line,
|
||||||
but it's not possible to open another command-line window then. There is no
|
but it's not possible to open another command-line window then. There is no
|
||||||
nesting.
|
nesting.
|
||||||
*E11*
|
*E11* *E1188*
|
||||||
The command-line window is not a normal window. It is not possible to move to
|
The command-line window is not a normal window. It is not possible to move to
|
||||||
another window or edit another buffer. All commands that would do this are
|
another window or edit another buffer. All commands that would do this are
|
||||||
disabled in the command-line window. Of course it _is_ possible to execute
|
disabled in the command-line window. Of course it _is_ possible to execute
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*diff.txt* For Vim version 8.2. Last change: 2019 Nov 10
|
*diff.txt* For Vim version 8.2. Last change: 2021 May 24
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -59,7 +59,7 @@ In each of the edited files these options are set:
|
|||||||
'scrollbind' on
|
'scrollbind' on
|
||||||
'cursorbind' on
|
'cursorbind' on
|
||||||
'scrollopt' includes "hor"
|
'scrollopt' includes "hor"
|
||||||
'wrap' off
|
'wrap' off, or leave as-is if 'diffopt' includes "followwrap"
|
||||||
'foldmethod' "diff"
|
'foldmethod' "diff"
|
||||||
'foldcolumn' value from 'diffopt', default is 2
|
'foldcolumn' value from 'diffopt', default is 2
|
||||||
|
|
||||||
@@ -144,7 +144,7 @@ Otherwise they are set to their default value:
|
|||||||
'scrollbind' off
|
'scrollbind' off
|
||||||
'cursorbind' off
|
'cursorbind' off
|
||||||
'scrollopt' without "hor"
|
'scrollopt' without "hor"
|
||||||
'wrap' on
|
'wrap' on, or leave as-is if 'diffopt' includes "followwrap"
|
||||||
'foldmethod' "manual"
|
'foldmethod' "manual"
|
||||||
'foldcolumn' 0
|
'foldcolumn' 0
|
||||||
|
|
||||||
@@ -345,9 +345,11 @@ between file1 and file2: >
|
|||||||
|
|
||||||
The ">" is replaced with the value of 'shellredir'.
|
The ">" is replaced with the value of 'shellredir'.
|
||||||
|
|
||||||
The output of "diff" must be a normal "ed" style diff or a unified diff. Do
|
The output of "diff" must be a normal "ed" style diff or a unified diff. A
|
||||||
NOT use a context diff. This example explains the format that Vim expects for
|
context diff will NOT work. For a unified diff no context lines can be used.
|
||||||
the "ed" style diff: >
|
Using "diff -u" will NOT work, use "diff -U0".
|
||||||
|
|
||||||
|
This example explains the format that Vim expects for the "ed" style diff: >
|
||||||
|
|
||||||
1a2
|
1a2
|
||||||
> bbb
|
> bbb
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*editing.txt* For Vim version 8.2. Last change: 2020 Oct 23
|
*editing.txt* For Vim version 8.2. Last change: 2021 May 27
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -1014,7 +1014,7 @@ to write anyway add a '!' to the command.
|
|||||||
|
|
||||||
*write-permissions*
|
*write-permissions*
|
||||||
When writing a new file the permissions are read-write. For unix the mask is
|
When writing a new file the permissions are read-write. For unix the mask is
|
||||||
0666 with additionally umask applied. When writing a file that was read Vim
|
0o666 with additionally umask applied. When writing a file that was read Vim
|
||||||
will preserve the permissions, but clear the s-bit.
|
will preserve the permissions, but clear the s-bit.
|
||||||
|
|
||||||
*write-readonly*
|
*write-readonly*
|
||||||
@@ -1033,7 +1033,7 @@ original file fails, there will be an error message telling you that you
|
|||||||
lost the original file.
|
lost the original file.
|
||||||
|
|
||||||
*DOS-format-write*
|
*DOS-format-write*
|
||||||
If the 'fileformat' is "dos", <CR> <NL> is used for <EOL>. This is default
|
If the 'fileformat' is "dos", <CR><NL> is used for <EOL>. This is default
|
||||||
for Win32. On other systems the message "[dos format]" is shown to remind you
|
for Win32. On other systems the message "[dos format]" is shown to remind you
|
||||||
that an unusual <EOL> was used.
|
that an unusual <EOL> was used.
|
||||||
*Unix-format-write*
|
*Unix-format-write*
|
||||||
@@ -1253,7 +1253,7 @@ For versions of Vim where browsing is not supported, the command is executed
|
|||||||
unmodified.
|
unmodified.
|
||||||
|
|
||||||
*browsefilter*
|
*browsefilter*
|
||||||
For MS Windows and GTK, you can modify the filters that are used in the browse
|
For MS-Windows and GTK, you can modify the filters that are used in the browse
|
||||||
dialog. By setting the g:browsefilter or b:browsefilter variables, you can
|
dialog. By setting the g:browsefilter or b:browsefilter variables, you can
|
||||||
change the filters globally or locally to the buffer. The variable is set to
|
change the filters globally or locally to the buffer. The variable is set to
|
||||||
a string in the format "{filter label}\t{pattern};{pattern}\n" where {filter
|
a string in the format "{filter label}\t{pattern};{pattern}\n" where {filter
|
||||||
@@ -1320,8 +1320,8 @@ present in 'cpoptions' and "!" is not used in the command.
|
|||||||
*:chd* *:chdir*
|
*:chd* *:chdir*
|
||||||
:chd[ir][!] [path] Same as |:cd|.
|
:chd[ir][!] [path] Same as |:cd|.
|
||||||
|
|
||||||
*:tcd*
|
*:tc* *:tcd*
|
||||||
:tcd[!] {path} Like |:cd|, but only set the directory for the current
|
:tc[d][!] {path} Like |:cd|, but only set the directory for the current
|
||||||
tab. The current window will also use this directory.
|
tab. The current window will also use this directory.
|
||||||
The current directory is not changed for windows in
|
The current directory is not changed for windows in
|
||||||
other tabs and for windows in the current tab that
|
other tabs and for windows in the current tab that
|
||||||
@@ -1331,7 +1331,7 @@ present in 'cpoptions' and "!" is not used in the command.
|
|||||||
:tch[dir][!] Same as |:tcd|.
|
:tch[dir][!] Same as |:tcd|.
|
||||||
|
|
||||||
*:tcd-*
|
*:tcd-*
|
||||||
:tcd[!] - Change to the previous current directory, before the
|
:tc[d][!] - Change to the previous current directory, before the
|
||||||
last ":tcd {path}" command.
|
last ":tcd {path}" command.
|
||||||
|
|
||||||
*:lc* *:lcd*
|
*:lc* *:lcd*
|
||||||
@@ -1419,8 +1419,8 @@ There are a few things to remember when editing binary files:
|
|||||||
the file. It is also possible that you get an "out of memory" error when
|
the file. It is also possible that you get an "out of memory" error when
|
||||||
reading the file.
|
reading the file.
|
||||||
- Make sure the 'binary' option is set BEFORE loading the
|
- Make sure the 'binary' option is set BEFORE loading the
|
||||||
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"
|
"CTRL-V CTRL-@" or "CTRL-V 000"
|
||||||
- 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
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
|||||||
*filetype.txt* For Vim version 8.2. Last change: 2020 Sep 28
|
*filetype.txt* For Vim version 8.2. Last change: 2021 Mar 11
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -147,6 +147,7 @@ can be used to overrule the filetype used for certain extensions:
|
|||||||
*.w g:filetype_w |ft-cweb-syntax|
|
*.w g:filetype_w |ft-cweb-syntax|
|
||||||
*.i g:filetype_i |ft-progress-syntax|
|
*.i g:filetype_i |ft-progress-syntax|
|
||||||
*.p g:filetype_p |ft-pascal-syntax|
|
*.p g:filetype_p |ft-pascal-syntax|
|
||||||
|
*.pp g:filetype_pp |ft-pascal-syntax|
|
||||||
*.sh g:bash_is_sh |ft-sh-syntax|
|
*.sh g:bash_is_sh |ft-sh-syntax|
|
||||||
*.tex g:tex_flavor |ft-tex-plugin|
|
*.tex g:tex_flavor |ft-tex-plugin|
|
||||||
|
|
||||||
@@ -563,16 +564,15 @@ Local mappings:
|
|||||||
|
|
||||||
MAN *ft-man-plugin* *:Man* *man.vim*
|
MAN *ft-man-plugin* *:Man* *man.vim*
|
||||||
|
|
||||||
Displays a manual page in a nice way. Also see the user manual
|
This plugin displays a manual page in a nice way. See |find-manpage| in the
|
||||||
|find-manpage|.
|
user manual for more information.
|
||||||
|
|
||||||
To start using the ":Man" command before any manual page was loaded, source
|
|
||||||
this script from your startup vimrc file: >
|
|
||||||
|
|
||||||
|
To start using the |:Man| command before any manual page has been loaded,
|
||||||
|
source this script from your startup |vimrc| file: >
|
||||||
runtime ftplugin/man.vim
|
runtime ftplugin/man.vim
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
'iskeyword' the '.' character is added to be able to use CTRL-] on the
|
'iskeyword' The '.' character is added to support the use of CTRL-] on the
|
||||||
manual page name.
|
manual page name.
|
||||||
|
|
||||||
Commands:
|
Commands:
|
||||||
@@ -582,24 +582,25 @@ Man {number} {name}
|
|||||||
|
|
||||||
Global mapping:
|
Global mapping:
|
||||||
<Leader>K Displays the manual page for the word under the cursor.
|
<Leader>K Displays the manual page for the word under the cursor.
|
||||||
<Plug>ManPreGetPage idem, allows for using a mapping: >
|
<Plug>ManPreGetPage
|
||||||
nmap <F1> <Plug>ManPreGetPage<CR>
|
idem, allows for using a mapping: >
|
||||||
|
nmap <F1> <Plug>ManPreGetPage
|
||||||
|
|
||||||
Local mappings:
|
Local mappings:
|
||||||
CTRL-] Jump to the manual page for the word under the cursor.
|
CTRL-] Jump to the manual page for the word under the cursor.
|
||||||
CTRL-T Jump back to the previous manual page.
|
CTRL-T Jump back to the previous manual page.
|
||||||
q Same as ":quit"
|
q Same as the |:quit| command.
|
||||||
|
|
||||||
To use a vertical split instead of horizontal: >
|
To use a vertical split instead of horizontal: >
|
||||||
let g:ft_man_open_mode = 'vert'
|
let g:ft_man_open_mode = 'vert'
|
||||||
To use a new tab: >
|
To use a new tab: >
|
||||||
let g:ft_man_open_mode = 'tab'
|
let g:ft_man_open_mode = 'tab'
|
||||||
|
|
||||||
To enable folding use this: >
|
To enable |folding|, use this: >
|
||||||
let g:ft_man_folding_enable = 1
|
let g:ft_man_folding_enable = 1
|
||||||
If you do not like the default folding, use an autocommand to add your desired
|
If you do not like the default folding, use an |autocommand| to add your desired
|
||||||
folding style instead. For example: >
|
folding style instead. For example: >
|
||||||
autocmd FileType man setlocal foldmethod=indent foldenable
|
autocmd FileType man setlocal foldmethod=indent foldenable
|
||||||
|
|
||||||
If you would like :Man {number} {name} to behave like man {number} {name} by
|
If you would like :Man {number} {name} to behave like man {number} {name} by
|
||||||
not running man {name} if no page is found, then use this: >
|
not running man {name} if no page is found, then use this: >
|
||||||
@@ -612,7 +613,7 @@ page in a Vim window: >
|
|||||||
|
|
||||||
MANPAGER *manpager.vim*
|
MANPAGER *manpager.vim*
|
||||||
|
|
||||||
The :Man command allows you to turn Vim into a manpager (that syntax highlights
|
The |:Man| command allows you to turn Vim into a manpager (that syntax highlights
|
||||||
manpages and follows linked manpages on hitting CTRL-]).
|
manpages and follows linked manpages on hitting CTRL-]).
|
||||||
|
|
||||||
For bash,zsh,ksh or dash, add to the config file (.bashrc,.zshrc, ...)
|
For bash,zsh,ksh or dash, add to the config file (.bashrc,.zshrc, ...)
|
||||||
@@ -627,6 +628,13 @@ For fish, add to the config file
|
|||||||
|
|
||||||
set -x MANPAGER "vim -M +MANPAGER -"
|
set -x MANPAGER "vim -M +MANPAGER -"
|
||||||
|
|
||||||
|
|
||||||
|
MARKDOWN *ft-markdown-plugin*
|
||||||
|
|
||||||
|
To enable folding use this: >
|
||||||
|
let g:markdown_folding = 1
|
||||||
|
<
|
||||||
|
|
||||||
PDF *ft-pdf-plugin*
|
PDF *ft-pdf-plugin*
|
||||||
|
|
||||||
Two maps, <C-]> and <C-T>, are provided to simulate a tag stack for navigating
|
Two maps, <C-]> and <C-T>, are provided to simulate a tag stack for navigating
|
||||||
|
|||||||
64
runtime/doc/ft_ps1.txt
Normal file
64
runtime/doc/ft_ps1.txt
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
*ps1.txt* A Windows PowerShell syntax plugin for Vim
|
||||||
|
|
||||||
|
Author: Peter Provost <https://www.github.com/PProvost>
|
||||||
|
License: Apache 2.0
|
||||||
|
URL: https://github.com/PProvost/vim-ps1
|
||||||
|
|
||||||
|
INTRODUCTION *ps1-syntax*
|
||||||
|
|
||||||
|
This plugin provides Vim syntax, indent and filetype detection for Windows
|
||||||
|
PowerShell scripts, modules, and XML configuration files.
|
||||||
|
|
||||||
|
|
||||||
|
ABOUT *ps1-about*
|
||||||
|
|
||||||
|
Grab the latest version or report a bug on GitHub:
|
||||||
|
|
||||||
|
https://github.com/PProvost/vim-ps1
|
||||||
|
|
||||||
|
|
||||||
|
FOLDING *ps1-folding*
|
||||||
|
|
||||||
|
The ps1 syntax file provides syntax folding (see |:syn-fold|) for script blocks
|
||||||
|
and digital signatures in scripts.
|
||||||
|
|
||||||
|
When 'foldmethod' is set to "syntax" then function script blocks will be
|
||||||
|
folded unless you use the following in your .vimrc or before opening a script: >
|
||||||
|
|
||||||
|
:let g:ps1_nofold_blocks = 1
|
||||||
|
<
|
||||||
|
Digital signatures in scripts will also be folded unless you use: >
|
||||||
|
|
||||||
|
:let g:ps1_nofold_sig = 1
|
||||||
|
<
|
||||||
|
Note: syntax folding might slow down syntax highlighting significantly,
|
||||||
|
especially for large files.
|
||||||
|
|
||||||
|
|
||||||
|
COMPILER *ps1-compiler*
|
||||||
|
|
||||||
|
The powershell `:compiler` script configures |:make| to execute the script in
|
||||||
|
PowerShell.
|
||||||
|
|
||||||
|
It tries to pick a smart default PowerShell command: `pwsh` if available and
|
||||||
|
`powershell` otherwise, but you can customize the command: >
|
||||||
|
|
||||||
|
:let g:ps1_makeprg_cmd = '/path/to/pwsh'
|
||||||
|
<
|
||||||
|
To configure whether to show the exception type information: >
|
||||||
|
|
||||||
|
:let g:ps1_efm_show_error_categories = 1
|
||||||
|
<
|
||||||
|
|
||||||
|
KEYWORD LOOKUP *ps1-keyword*
|
||||||
|
|
||||||
|
To look up keywords using PowerShell's Get-Help, press the |K| key. For more
|
||||||
|
convenient paging, the pager `less` should be installed, which is included in
|
||||||
|
many Linux distributions and in macOS.
|
||||||
|
|
||||||
|
Many other distributions are available for Windows like
|
||||||
|
https://chocolatey.org/packages/less/. Make sure `less` is in a directory
|
||||||
|
listed in the `PATH` environment variable, which chocolatey above does.
|
||||||
|
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
vim:ft=help:
|
||||||
126
runtime/doc/ft_raku.txt
Normal file
126
runtime/doc/ft_raku.txt
Normal file
@@ -0,0 +1,126 @@
|
|||||||
|
*vim-raku.txt* The Raku programming language filetype
|
||||||
|
|
||||||
|
*vim-raku*
|
||||||
|
|
||||||
|
Vim-raku provides syntax highlighting, indentation, and other support for
|
||||||
|
editing Raku programs.
|
||||||
|
|
||||||
|
1. Using Unicode in your Raku files |raku-unicode|
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
1. Using Unicode in your Raku files *raku-unicode*
|
||||||
|
|
||||||
|
Defining new operators using Unicode symbols is a good way to make your
|
||||||
|
Raku program easy to read. See:
|
||||||
|
https://perl6advent.wordpress.com/2012/12/18/day-18-formulas-resistance-is-futile/
|
||||||
|
|
||||||
|
While Raku does define ASCII alternatives for some common operators (see
|
||||||
|
https://docs.raku.org/language/unicode_ascii), using the full range of
|
||||||
|
Unicode operators is highly desirable. Your operating system provides input
|
||||||
|
facilities, but using the features built in to Vim may be preferable.
|
||||||
|
|
||||||
|
The natural way to produce these symbols in Vim is to use digraph shortcuts
|
||||||
|
(:help |digraphs-use|). Many of them are defined; type `:digraphs` to get
|
||||||
|
the list. A convenient way to read the list of digraphs is to save them in a
|
||||||
|
file. From the shell: >
|
||||||
|
vim +'redir >/tmp/vim-digraphs-listing.txt' +digraphs +'redir END' +q
|
||||||
|
|
||||||
|
Some of them are available with standard Vim digraphs:
|
||||||
|
<< « /0 ∅ !< ≮ ~
|
||||||
|
>> » Ob ∘ !> ≯ ~
|
||||||
|
., … 00 ∞ (C ⊂ ~
|
||||||
|
(U ∩ -: ÷ )C ⊃ ~
|
||||||
|
)U ∪ (_ ⊆ >= ≥ ~
|
||||||
|
?= ≅ )_ ⊇ =< ≤ ~
|
||||||
|
(- ∈ ?= ≅ != ≠ ~
|
||||||
|
-) ∋ ?- ≃ ~
|
||||||
|
|
||||||
|
The Greek alphabet is available with '*' followed by a similar Latin symbol:
|
||||||
|
*p π ~
|
||||||
|
*t τ ~
|
||||||
|
*X × ~
|
||||||
|
|
||||||
|
Numbers, subscripts and superscripts are available with 's' and 'S':
|
||||||
|
0s ₀ 0S ⁰ ~
|
||||||
|
1s ₁ 1S ¹ ~
|
||||||
|
2s ₂ 9S ⁹ ~
|
||||||
|
|
||||||
|
But some don't come defined by default. Those are digraph definitions you can
|
||||||
|
add in your ~/.vimrc file. >
|
||||||
|
exec 'digraph \\ '.char2nr('∖')
|
||||||
|
exec 'digraph \< '.char2nr('≼')
|
||||||
|
exec 'digraph \> '.char2nr('≽')
|
||||||
|
exec 'digraph (L '.char2nr('⊈')
|
||||||
|
exec 'digraph )L '.char2nr('⊉')
|
||||||
|
exec 'digraph (/ '.char2nr('⊄')
|
||||||
|
exec 'digraph )/ '.char2nr('⊅')
|
||||||
|
exec 'digraph )/ '.char2nr('⊅')
|
||||||
|
exec 'digraph U+ '.char2nr('⊎')
|
||||||
|
exec 'digraph 0- '.char2nr('⊖')
|
||||||
|
" Euler's constant
|
||||||
|
exec 'digraph ne '.char2nr('𝑒')
|
||||||
|
" Raku's atomic operations marker
|
||||||
|
exec 'digraph @@ '.char2nr('⚛')
|
||||||
|
|
||||||
|
Alternatively, you can write Insert mode abbreviations that convert ASCII-
|
||||||
|
based operators into their single-character Unicode equivalent. >
|
||||||
|
iabbrev <buffer> !(<) ⊄
|
||||||
|
iabbrev <buffer> !(<=) ⊈
|
||||||
|
iabbrev <buffer> !(>) ⊅
|
||||||
|
iabbrev <buffer> !(>=) ⊉
|
||||||
|
iabbrev <buffer> !(cont) ∌
|
||||||
|
iabbrev <buffer> !(elem) ∉
|
||||||
|
iabbrev <buffer> != ≠
|
||||||
|
iabbrev <buffer> (&) ∩
|
||||||
|
iabbrev <buffer> (+) ⊎
|
||||||
|
iabbrev <buffer> (-) ∖
|
||||||
|
iabbrev <buffer> (.) ⊍
|
||||||
|
iabbrev <buffer> (<) ⊂
|
||||||
|
iabbrev <buffer> (<+) ≼
|
||||||
|
iabbrev <buffer> (<=) ⊆
|
||||||
|
iabbrev <buffer> (>) ⊃
|
||||||
|
iabbrev <buffer> (>+) ≽
|
||||||
|
iabbrev <buffer> (>=) ⊇
|
||||||
|
iabbrev <buffer> (\|) ∪
|
||||||
|
iabbrev <buffer> (^) ⊖
|
||||||
|
iabbrev <buffer> (atomic) ⚛
|
||||||
|
iabbrev <buffer> (cont) ∋
|
||||||
|
iabbrev <buffer> (elem) ∈
|
||||||
|
iabbrev <buffer> * ×
|
||||||
|
iabbrev <buffer> **0 ⁰
|
||||||
|
iabbrev <buffer> **1 ¹
|
||||||
|
iabbrev <buffer> **2 ²
|
||||||
|
iabbrev <buffer> **3 ³
|
||||||
|
iabbrev <buffer> **4 ⁴
|
||||||
|
iabbrev <buffer> **5 ⁵
|
||||||
|
iabbrev <buffer> **6 ⁶
|
||||||
|
iabbrev <buffer> **7 ⁷
|
||||||
|
iabbrev <buffer> **8 ⁸
|
||||||
|
iabbrev <buffer> **9 ⁹
|
||||||
|
iabbrev <buffer> ... …
|
||||||
|
iabbrev <buffer> / ÷
|
||||||
|
iabbrev <buffer> << «
|
||||||
|
iabbrev <buffer> <<[=]<< «=«
|
||||||
|
iabbrev <buffer> <<[=]>> «=»
|
||||||
|
iabbrev <buffer> <= ≤
|
||||||
|
iabbrev <buffer> =~= ≅
|
||||||
|
iabbrev <buffer> >= ≥
|
||||||
|
iabbrev <buffer> >> »
|
||||||
|
iabbrev <buffer> >>[=]<< »=«
|
||||||
|
iabbrev <buffer> >>[=]>> »=»
|
||||||
|
iabbrev <buffer> Inf ∞
|
||||||
|
iabbrev <buffer> atomic-add-fetch ⚛+=
|
||||||
|
iabbrev <buffer> atomic-assign ⚛=
|
||||||
|
iabbrev <buffer> atomic-fetch ⚛
|
||||||
|
iabbrev <buffer> atomic-dec-fetch --⚛
|
||||||
|
iabbrev <buffer> atomic-fetch-dec ⚛--
|
||||||
|
iabbrev <buffer> atomic-fetch-inc ⚛++
|
||||||
|
iabbrev <buffer> atomic-inc-fetch ++⚛
|
||||||
|
iabbrev <buffer> atomic-sub-fetch ⚛−=
|
||||||
|
iabbrev <buffer> e 𝑒
|
||||||
|
iabbrev <buffer> o ∘
|
||||||
|
iabbrev <buffer> pi π
|
||||||
|
iabbrev <buffer> set() ∅
|
||||||
|
iabbrev <buffer> tau τ
|
||||||
|
<
|
||||||
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
@@ -440,7 +440,7 @@ the space bar):
|
|||||||
replace the column list with the list of tables.
|
replace the column list with the list of tables.
|
||||||
- This allows you to quickly drill down into a
|
- This allows you to quickly drill down into a
|
||||||
table to view its columns and back again.
|
table to view its columns and back again.
|
||||||
- <Right> and <Left> can be also be chosen via
|
- <Right> and <Left> can also be chosen via
|
||||||
your |.vimrc| >
|
your |.vimrc| >
|
||||||
let g:ftplugin_sql_omni_key_right = '<Right>'
|
let g:ftplugin_sql_omni_key_right = '<Right>'
|
||||||
let g:ftplugin_sql_omni_key_left = '<Left>'
|
let g:ftplugin_sql_omni_key_left = '<Left>'
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*gui.txt* For Vim version 8.2. Last change: 2020 Sep 28
|
*gui.txt* For Vim version 8.2. Last change: 2021 May 01
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -620,6 +620,11 @@ expression register: >
|
|||||||
|
|
||||||
:amenu Insert.foobar "='foobar'<CR>P
|
:amenu Insert.foobar "='foobar'<CR>P
|
||||||
|
|
||||||
|
The special text <Cmd> begins a "command menu", it executes the command
|
||||||
|
directly without changing modes. Where you might use ":...<CR>" you can
|
||||||
|
instead use "<Cmd>...<CR>". See |<Cmd>| for more info. Example: >
|
||||||
|
anoremenu File.Next <Cmd>next<CR>
|
||||||
|
|
||||||
Note that the '<' and 'k' flags in 'cpoptions' also apply here (when
|
Note that the '<' and 'k' flags in 'cpoptions' also apply here (when
|
||||||
included they make the <> form and raw key codes not being recognized).
|
included they make the <> form and raw key codes not being recognized).
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*gui_w32.txt* For Vim version 8.2. Last change: 2020 Mar 25
|
*gui_w32.txt* For Vim version 8.2. Last change: 2021 Apr 05
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -403,7 +403,7 @@ The "File/Print" menu prints the text with syntax highlighting, see
|
|||||||
printer installed this should also work: >
|
printer installed this should also work: >
|
||||||
:w >>prn
|
:w >>prn
|
||||||
|
|
||||||
Vim supports a number of standard MS Windows features. Some of these are
|
Vim supports a number of standard MS-Windows features. Some of these are
|
||||||
detailed elsewhere: see |'mouse'|, |win32-hidden-menus|.
|
detailed elsewhere: see |'mouse'|, |win32-hidden-menus|.
|
||||||
|
|
||||||
*drag-n-drop-win32*
|
*drag-n-drop-win32*
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ Vim had built-in support for hangul, the Korean language, for users without
|
|||||||
XIM (X Input Method). Since it didn't work well and was not maintained it was
|
XIM (X Input Method). Since it didn't work well and was not maintained it was
|
||||||
removed in Vim 8.1.2327.
|
removed in Vim 8.1.2327.
|
||||||
|
|
||||||
If you want this hangul input mehod you can go back to Vim 8.1.2326 or
|
If you want this hangul input method you can go back to Vim 8.1.2326 or
|
||||||
earlier. If you think this code is still useful and want to maintain it, make
|
earlier. If you think this code is still useful and want to maintain it, make
|
||||||
a patch to add it back. However, making it work with UTF-8 encoding would be
|
a patch to add it back. However, making it work with UTF-8 encoding would be
|
||||||
best.
|
best.
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ Advanced editing ~
|
|||||||
|windows.txt| commands for using multiple windows and buffers
|
|windows.txt| commands for using multiple windows and buffers
|
||||||
|tabpage.txt| commands for using multiple tab pages
|
|tabpage.txt| commands for using multiple tab pages
|
||||||
|spell.txt| spell checking
|
|spell.txt| spell checking
|
||||||
|diff.txt| working with two to four versions of the same file
|
|diff.txt| working with two to eight versions of the same file
|
||||||
|autocmd.txt| automatically executing commands on an event
|
|autocmd.txt| automatically executing commands on an event
|
||||||
|eval.txt| expression evaluation, conditional commands
|
|eval.txt| expression evaluation, conditional commands
|
||||||
|channel.txt| Jobs, Channels, inter-process communication
|
|channel.txt| Jobs, Channels, inter-process communication
|
||||||
@@ -145,6 +145,7 @@ Special issues ~
|
|||||||
|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| popup window support
|
|popup.txt| popup window support
|
||||||
|
|vim9.txt| using Vim9 script
|
||||||
|
|
||||||
Programming language support ~
|
Programming language support ~
|
||||||
|indent.txt| automatic indenting for C and other languages
|
|indent.txt| automatic indenting for C and other languages
|
||||||
@@ -153,6 +154,8 @@ Programming language support ~
|
|||||||
|filetype.txt| settings done specifically for a type of file
|
|filetype.txt| settings done specifically for a type of file
|
||||||
|quickfix.txt| commands for a quick edit-compile-fix cycle
|
|quickfix.txt| commands for a quick edit-compile-fix cycle
|
||||||
|ft_ada.txt| Ada (the programming language) support
|
|ft_ada.txt| Ada (the programming language) support
|
||||||
|
|ft_ps1.txt| Filetype plugin for Windows PowerShell
|
||||||
|
|ft_raku.txt| Filetype plugin for Raku
|
||||||
|ft_rust.txt| Filetype plugin for Rust
|
|ft_rust.txt| Filetype plugin for Rust
|
||||||
|ft_sql.txt| about the SQL filetype plugin
|
|ft_sql.txt| about the SQL filetype plugin
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*helphelp.txt* For Vim version 8.2. Last change: 2020 Jul 27
|
*helphelp.txt* For Vim version 8.2. Last change: 2020 Dec 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -92,9 +92,9 @@ Help on help files *helphelp*
|
|||||||
:help k| only
|
:help k| only
|
||||||
< Note that a space before the '|' is seen as part of
|
< Note that a space before the '|' is seen as part of
|
||||||
the ":help" argument.
|
the ":help" argument.
|
||||||
You can also use <LF> or <CR> to separate the help
|
You can also use <NL> or <CR> to separate the help
|
||||||
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 <NL> or <CR>. Example: >
|
||||||
:help so<C-V><CR>only
|
:help so<C-V><CR>only
|
||||||
|
|
||||||
: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
|
||||||
@@ -158,9 +158,31 @@ 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"
|
||||||
files in the directories specified in the 'runtimepath' option.
|
files in the directories specified in the 'runtimepath' option.
|
||||||
|
|
||||||
|
If you would like to open the help in the current window, see this tip:
|
||||||
|
|help-curwin|.
|
||||||
|
|
||||||
The initial height of the help window can be set with the 'helpheight' option
|
The initial height of the help window can be set with the 'helpheight' option
|
||||||
(default 20).
|
(default 20).
|
||||||
|
|
||||||
|
When the help buffer is created, several local options are set to make sure
|
||||||
|
the help text is displayed as it was intended:
|
||||||
|
'iskeyword' nearly all ASCII chars except ' ', '*', '"' and '|'
|
||||||
|
'foldmethod' "manual"
|
||||||
|
'tabstop' 8
|
||||||
|
'arabic' off
|
||||||
|
'binary' off
|
||||||
|
'buflisted' off
|
||||||
|
'cursorbind' off
|
||||||
|
'diff' off
|
||||||
|
'foldenable' off
|
||||||
|
'list' off
|
||||||
|
'modifiable' off
|
||||||
|
'number' off
|
||||||
|
'relativenumber' off
|
||||||
|
'rightleft' off
|
||||||
|
'scrollbind' off
|
||||||
|
'spell' off
|
||||||
|
|
||||||
Jump to specific subjects by using tags. This can be done in two ways:
|
Jump to specific subjects by using tags. This can be done in two ways:
|
||||||
- Use the "CTRL-]" command while standing on the name of a command or option.
|
- Use the "CTRL-]" command while standing on the name of a command or option.
|
||||||
This only works when the tag is a keyword. "<C-Leftmouse>" and
|
This only works when the tag is a keyword. "<C-Leftmouse>" and
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*if_lua.txt* For Vim version 8.2. Last change: 2020 Jun 28
|
*if_lua.txt* For Vim version 8.2. Last change: 2021 Apr 07
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Luis Carvalho
|
VIM REFERENCE MANUAL by Luis Carvalho
|
||||||
@@ -208,6 +208,8 @@ Vim evaluation and command execution, and others.
|
|||||||
created on demand. Example: >
|
created on demand. Example: >
|
||||||
:lua print(vim.fn.has('timers'))
|
:lua print(vim.fn.has('timers'))
|
||||||
<
|
<
|
||||||
|
vim.lua_version The Lua version Vim was compiled with, in the
|
||||||
|
form {major}.{minor}.{patch}, e.g. "5.1.4".
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
3. List userdata *lua-list*
|
3. List userdata *lua-list*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*if_tcl.txt* For Vim version 8.2. Last change: 2019 Jul 21
|
*if_tcl.txt* For Vim version 8.2. Last change: 2021 May 27
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Ingo Wilken
|
VIM REFERENCE MANUAL by Ingo Wilken
|
||||||
@@ -25,12 +25,12 @@ comments, ideas etc to <Ingo.Wilken@informatik.uni-oldenburg.de>
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
1. Commands *tcl-ex-commands* *E571* *E572*
|
1. Commands *tcl-ex-commands* *E571* *E572*
|
||||||
|
|
||||||
*:tcl* *:tc*
|
*:tcl*
|
||||||
:tc[l] {cmd} Execute Tcl command {cmd}. A simple check if `:tcl`
|
:tcl {cmd} Execute Tcl command {cmd}. A simple check if `:tcl`
|
||||||
is working: >
|
is working: >
|
||||||
:tcl puts "Hello"
|
:tcl puts "Hello"
|
||||||
|
|
||||||
:[range]tc[l] << [trim] [{endmarker}]
|
:[range]tcl << [trim] [{endmarker}]
|
||||||
{script}
|
{script}
|
||||||
{endmarker}
|
{endmarker}
|
||||||
Execute Tcl script {script}.
|
Execute Tcl script {script}.
|
||||||
|
|||||||
@@ -610,14 +610,14 @@ the use of square and curly brackets, and otherwise by community convention.
|
|||||||
These conventions are not universally followed, so the Clojure indent script
|
These conventions are not universally followed, so the Clojure indent script
|
||||||
offers a few configurable options, listed below.
|
offers a few configurable options, listed below.
|
||||||
|
|
||||||
If the current vim does not include |searchpairpos()|, the indent script falls
|
If the current vim does not include searchpairpos(), the indent script falls
|
||||||
back to normal 'lisp' indenting, and the following options are ignored.
|
back to normal 'lisp' indenting, and the following options are ignored.
|
||||||
|
|
||||||
*g:clojure_maxlines*
|
*g:clojure_maxlines*
|
||||||
|
|
||||||
Set maximum scan distance of |searchpairpos()|. Larger values trade
|
Set maximum scan distance of searchpairpos(). Larger values trade performance
|
||||||
performance for correctness when dealing with very long forms. A value of 0
|
for correctness when dealing with very long forms. A value of 0 will scan
|
||||||
will scan without limits.
|
without limits.
|
||||||
>
|
>
|
||||||
" Default
|
" Default
|
||||||
let g:clojure_maxlines = 100
|
let g:clojure_maxlines = 100
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*index.txt* For Vim version 8.2. Last change: 2020 Oct 05
|
*index.txt* For Vim version 8.2. Last change: 2021 May 27
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -864,6 +864,8 @@ tag char note action in Normal mode ~
|
|||||||
|zm| zm subtract one from 'foldlevel'
|
|zm| zm subtract one from 'foldlevel'
|
||||||
|zn| zn reset 'foldenable'
|
|zn| zn reset 'foldenable'
|
||||||
|zo| zo open fold
|
|zo| zo open fold
|
||||||
|
|zp| zp paste in block-mode without trailing spaces
|
||||||
|
|zP| zP paste in block-mode without trailing spaces
|
||||||
|zr| zr add one to 'foldlevel'
|
|zr| zr add one to 'foldlevel'
|
||||||
|zs| zs when 'wrap' off scroll horizontally to
|
|zs| zs when 'wrap' off scroll horizontally to
|
||||||
position the cursor at the start (left
|
position the cursor at the start (left
|
||||||
@@ -876,6 +878,7 @@ tag char note action in Normal mode ~
|
|||||||
|zv| zv open enough folds to view the cursor line
|
|zv| zv open enough folds to view the cursor line
|
||||||
|zw| zw permanently mark word as incorrectly spelled
|
|zw| zw permanently mark word as incorrectly spelled
|
||||||
|zx| zx re-apply 'foldlevel' and do "zv"
|
|zx| zx re-apply 'foldlevel' and do "zv"
|
||||||
|
|zy| zy yank without trailing spaces
|
||||||
|zz| zz redraw, cursor line at center of window
|
|zz| zz redraw, cursor line at center of window
|
||||||
|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"
|
||||||
@@ -1176,6 +1179,7 @@ tag command action ~
|
|||||||
|:bNext| :bN[ext] go to previous buffer in the buffer list
|
|:bNext| :bN[ext] go to previous buffer in the buffer list
|
||||||
|:ball| :ba[ll] open a window for each buffer in the buffer list
|
|:ball| :ba[ll] open a window for each buffer in the buffer list
|
||||||
|:badd| :bad[d] add buffer to the buffer list
|
|:badd| :bad[d] add buffer to the buffer list
|
||||||
|
|:balt| :balt like ":badd" but also set the alternate file
|
||||||
|:bdelete| :bd[elete] remove a buffer from the buffer list
|
|:bdelete| :bd[elete] remove a buffer from the buffer list
|
||||||
|:behave| :be[have] set mouse and selection behavior
|
|:behave| :be[have] set mouse and selection behavior
|
||||||
|:belowright| :bel[owright] make split window appear right or below
|
|:belowright| :bel[owright] make split window appear right or below
|
||||||
@@ -1293,6 +1297,7 @@ tag command action ~
|
|||||||
|:edit| :e[dit] edit a file
|
|:edit| :e[dit] edit a file
|
||||||
|:earlier| :ea[rlier] go to older change, undo
|
|:earlier| :ea[rlier] go to older change, undo
|
||||||
|:echo| :ec[ho] echoes the result of expressions
|
|:echo| :ec[ho] echoes the result of expressions
|
||||||
|
|:echoconsole| :echoc[onsole] like :echomsg but write to stdout
|
||||||
|:echoerr| :echoe[rr] like :echo, show like an error and use history
|
|:echoerr| :echoe[rr] like :echo, show like an error and use history
|
||||||
|:echohl| :echoh[l] set highlighting for echo commands
|
|:echohl| :echoh[l] set highlighting for echo commands
|
||||||
|:echomsg| :echom[sg] same as :echo, put message in history
|
|:echomsg| :echom[sg] same as :echo, put message in history
|
||||||
@@ -1394,6 +1399,7 @@ tag command action ~
|
|||||||
|:lfdo| :lfd[o] execute command in each file in location list
|
|:lfdo| :lfd[o] execute command in each file in location list
|
||||||
|:left| :le[ft] left align lines
|
|:left| :le[ft] left align lines
|
||||||
|:leftabove| :lefta[bove] make split window appear left or above
|
|:leftabove| :lefta[bove] make split window appear left or above
|
||||||
|
|:legacy| :leg[acy] make following command use legacy script syntax
|
||||||
|:let| :let assign a value to a variable or option
|
|:let| :let assign a value to a variable or option
|
||||||
|:lexpr| :lex[pr] read locations from expr and jump to first
|
|:lexpr| :lex[pr] read locations from expr and jump to first
|
||||||
|:lfile| :lf[ile] read file with locations and jump to first
|
|:lfile| :lf[ile] read file with locations and jump to first
|
||||||
@@ -1590,6 +1596,8 @@ tag command action ~
|
|||||||
|:sign| :sig[n] manipulate signs
|
|:sign| :sig[n] manipulate signs
|
||||||
|:silent| :sil[ent] run a command silently
|
|:silent| :sil[ent] run a command silently
|
||||||
|:sleep| :sl[eep] do nothing for a few seconds
|
|:sleep| :sl[eep] do nothing for a few seconds
|
||||||
|
|:sleep!| :sl[eep]! do nothing for a few seconds, without the
|
||||||
|
cursor visible
|
||||||
|:slast| :sla[st] split window and go to last file in the
|
|:slast| :sla[st] split window and go to last file in the
|
||||||
argument list
|
argument list
|
||||||
|:smagic| :sm[agic] :substitute with 'magic'
|
|:smagic| :sm[agic] :substitute with 'magic'
|
||||||
@@ -1652,9 +1660,9 @@ 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
|
|:tcd| :tc[d] change directory for tab page
|
||||||
|:tchdir| :tch[dir] change directory for tab page
|
|:tchdir| :tch[dir] change directory for tab page
|
||||||
|:tcl| :tc[l] execute Tcl command
|
|:tcl| :tcl 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
|
||||||
|:tearoff| :te[aroff] tear-off a menu
|
|:tearoff| :te[aroff] tear-off a menu
|
||||||
@@ -1696,7 +1704,8 @@ tag command action ~
|
|||||||
|:version| :ve[rsion] print version number and other info
|
|:version| :ve[rsion] print version number and other info
|
||||||
|:verbose| :verb[ose] execute command with 'verbose' set
|
|:verbose| :verb[ose] execute command with 'verbose' set
|
||||||
|:vertical| :vert[ical] make following command split vertically
|
|:vertical| :vert[ical] make following command split vertically
|
||||||
|:vim9script| :vim9[script] indicates Vim9 script file
|
|:vim9cmd| :vim9[cmd] make following command use Vim9 script syntax
|
||||||
|
|:vim9script| :vim9s[cript] indicates Vim9 script file
|
||||||
|:vimgrep| :vim[grep] search for pattern in files
|
|:vimgrep| :vim[grep] search for pattern in files
|
||||||
|:vimgrepadd| :vimgrepa[dd] like :vimgrep, but append to current list
|
|:vimgrepadd| :vimgrepa[dd] like :vimgrep, but append to current list
|
||||||
|:visual| :vi[sual] same as ":edit", but turns off "Ex" mode
|
|:visual| :vi[sual] same as ":edit", but turns off "Ex" mode
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*intro.txt* For Vim version 8.2. Last change: 2020 Aug 15
|
*intro.txt* For Vim version 8.2. Last change: 2020 Dec 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -434,7 +434,7 @@ notation meaning equivalent decimal value(s) ~
|
|||||||
<CSI> command sequence intro ALT-Esc 155 *<CSI>*
|
<CSI> command sequence intro ALT-Esc 155 *<CSI>*
|
||||||
<xCSI> CSI when typed in the GUI *<xCSI>*
|
<xCSI> CSI when typed in the GUI *<xCSI>*
|
||||||
|
|
||||||
<EOL> end-of-line (can be <CR>, <LF> or <CR><LF>,
|
<EOL> end-of-line (can be <CR>, <NL> or <CR><NL>,
|
||||||
depends on system and 'fileformat') *<EOL>*
|
depends on system and 'fileformat') *<EOL>*
|
||||||
|
|
||||||
<Up> cursor-up *cursor-up* *cursor_up*
|
<Up> cursor-up *cursor-up* *cursor_up*
|
||||||
@@ -678,8 +678,8 @@ Normal mode from any other mode. This can be used to make sure Vim is in
|
|||||||
Normal mode, without causing a beep like <Esc> would. However, this does not
|
Normal mode, without causing a beep like <Esc> would. However, this does not
|
||||||
work in Ex mode. When used after a command that takes an argument, such as
|
work in Ex mode. When used after a command that takes an argument, such as
|
||||||
|f| or |m|, the timeout set with 'ttimeoutlen' applies.
|
|f| or |m|, the timeout set with 'ttimeoutlen' applies.
|
||||||
When focus is in a terminal window, CTRL-\ CTRL-N goes to Normal mode for only
|
When focus is in a terminal window, CTRL-\ CTRL-N goes to Normal mode until an
|
||||||
one command, see |t_CTRL-\_CTRL-N|.
|
edit command is entered, see |t_CTRL-\_CTRL-N|.
|
||||||
|
|
||||||
*CTRL-\_CTRL-G* *i_CTRL-\_CTRL-G* *c_CTRL-\_CTRL-G* *v_CTRL-\_CTRL-G*
|
*CTRL-\_CTRL-G* *i_CTRL-\_CTRL-G* *c_CTRL-\_CTRL-G* *v_CTRL-\_CTRL-G*
|
||||||
The command CTRL-\ CTRL-G or <C-\><C-G> can be used to go to Insert mode when
|
The command CTRL-\ CTRL-G or <C-\><C-G> can be used to go to Insert mode when
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*map.txt* For Vim version 8.2. Last change: 2020 Nov 12
|
*map.txt* For Vim version 8.2. Last change: 2021 May 16
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -244,9 +244,12 @@ have a look at |maparg()|.
|
|||||||
If the first argument to one of these commands is "<expr>" and it is used to
|
If the first argument to one of these commands is "<expr>" and it is used to
|
||||||
define a new mapping or abbreviation, the argument is an expression. The
|
define a new mapping or abbreviation, the argument is an expression. The
|
||||||
expression is evaluated to obtain the {rhs} that is used. Example: >
|
expression is evaluated to obtain the {rhs} that is used. Example: >
|
||||||
:inoremap <expr> . InsertDot()
|
:inoremap <expr> . <SID>InsertDot()
|
||||||
The result of the InsertDot() function will be inserted. It could check the
|
The result of the s:InsertDot() function will be inserted. It could check the
|
||||||
text before the cursor and start omni completion when some condition is met.
|
text before the cursor and start omni completion when some condition is met.
|
||||||
|
Using a script-local function is preferred, to avoid polluting the global
|
||||||
|
namespace. Use <SID> in the RHS so that the script that the mapping was
|
||||||
|
defined in can be found.
|
||||||
|
|
||||||
For abbreviations |v:char| is set to the character that was typed to trigger
|
For abbreviations |v:char| is set to the character that was typed to trigger
|
||||||
the abbreviation. You can use this to decide how to expand the {lhs}. You
|
the abbreviation. You can use this to decide how to expand the {lhs}. You
|
||||||
@@ -261,7 +264,21 @@ input. Example: >
|
|||||||
call popup_create(... arguments ...)
|
call popup_create(... arguments ...)
|
||||||
return "\<Ignore>"
|
return "\<Ignore>"
|
||||||
endfunc
|
endfunc
|
||||||
nnoremap <expr> <F3> <Sid>OpenPopup()
|
nnoremap <expr> <F3> <SID>OpenPopup()
|
||||||
|
|
||||||
|
Also, keep in mind that the expression may be evaluated when looking for
|
||||||
|
typeahead, before the previous command has been executed. For example: >
|
||||||
|
func StoreColumn()
|
||||||
|
let g:column = col('.')
|
||||||
|
return 'x'
|
||||||
|
endfunc
|
||||||
|
nnoremap <expr> x StoreColumn()
|
||||||
|
nmap ! f!x
|
||||||
|
You will notice that g:column has the value from before executing "f!",
|
||||||
|
because "x" is evaluated before "f!" is executed.
|
||||||
|
This can be solved by inserting <Ignore> before the character that is
|
||||||
|
expression-mapped: >
|
||||||
|
nmap ! f!<Ignore>x
|
||||||
|
|
||||||
Be very careful about side effects! The expression is evaluated while
|
Be very careful about side effects! The expression is evaluated while
|
||||||
obtaining characters, you may very well make the command dysfunctional.
|
obtaining characters, you may very well make the command dysfunctional.
|
||||||
@@ -319,13 +336,16 @@ Example of using <Cmd> halfway Insert mode: >
|
|||||||
nnoremap <F3> aText <Cmd>echo mode(1)<CR> Added<Esc>
|
nnoremap <F3> aText <Cmd>echo mode(1)<CR> Added<Esc>
|
||||||
|
|
||||||
Unlike <expr> mappings, there are no special restrictions on the <Cmd>
|
Unlike <expr> mappings, there are no special restrictions on the <Cmd>
|
||||||
command: it is executed as if an (unrestricted) |autocmd| was invoked.
|
command: it is executed as if an (unrestricted) |autocommand| was invoked.
|
||||||
|
|
||||||
Note:
|
Note:
|
||||||
- Because <Cmd> avoids mode-changes it does not trigger |CmdlineEnter| and
|
- Because <Cmd> avoids mode-changes it does not trigger |CmdlineEnter| and
|
||||||
|CmdlineLeave| events, because no user interaction is expected.
|
|CmdlineLeave| events, because no user interaction is expected.
|
||||||
- For the same reason, |keycodes| like <C-R><C-W> are interpreted as plain,
|
- For the same reason, |keycodes| like <C-R><C-W> are interpreted as plain,
|
||||||
unmapped keys.
|
unmapped keys.
|
||||||
|
- The command is not echo'ed, no need for <silent>.
|
||||||
|
- In Visual mode you can use `line('v')` and `col('v')` to get one end of the
|
||||||
|
Visual area, the cursor is at the other end.
|
||||||
- In Select mode, |:map| and |:vmap| command mappings are executed in
|
- In Select mode, |:map| and |:vmap| command mappings are executed in
|
||||||
Visual mode. Use |:smap| to handle Select mode differently.
|
Visual mode. Use |:smap| to handle Select mode differently.
|
||||||
|
|
||||||
@@ -369,6 +389,22 @@ Overview of which map command works in which mode. More details below.
|
|||||||
:cmap :cnoremap :cunmap Command-line
|
:cmap :cnoremap :cunmap Command-line
|
||||||
:tmap :tnoremap :tunmap Terminal-Job
|
:tmap :tnoremap :tunmap Terminal-Job
|
||||||
|
|
||||||
|
Same information in a table:
|
||||||
|
*map-table*
|
||||||
|
Mode | Norm | Ins | Cmd | Vis | Sel | Opr | Term | Lang | ~
|
||||||
|
Command +------+-----+-----+-----+-----+-----+------+------+ ~
|
||||||
|
[nore]map | yes | - | - | yes | yes | yes | - | - |
|
||||||
|
n[nore]map | yes | - | - | - | - | - | - | - |
|
||||||
|
[nore]map! | - | yes | yes | - | - | - | - | - |
|
||||||
|
i[nore]map | - | yes | - | - | - | - | - | - |
|
||||||
|
c[nore]map | - | - | yes | - | - | - | - | - |
|
||||||
|
v[nore]map | - | - | - | yes | yes | - | - | - |
|
||||||
|
x[nore]map | - | - | - | yes | - | - | - | - |
|
||||||
|
s[nore]map | - | - | - | - | yes | - | - | - |
|
||||||
|
o[nore]map | - | - | - | - | - | yes | - | - |
|
||||||
|
t[nore]map | - | - | - | - | - | - | yes | - |
|
||||||
|
l[nore]map | - | yes | yes | - | - | - | - | yes |
|
||||||
|
|
||||||
|
|
||||||
COMMANDS MODES ~
|
COMMANDS MODES ~
|
||||||
Normal Visual+Select Operator-pending ~
|
Normal Visual+Select Operator-pending ~
|
||||||
@@ -906,7 +942,7 @@ Insert mode to avoid every key with a modifier causing Insert mode to end.
|
|||||||
1.12 MAPPING AN OPERATOR *:map-operator*
|
1.12 MAPPING AN OPERATOR *:map-operator*
|
||||||
|
|
||||||
An operator is used before a {motion} command. To define your own operator
|
An operator is used before a {motion} command. To define your own operator
|
||||||
you must create mapping that first sets the 'operatorfunc' option and then
|
you must create a mapping that first sets the 'operatorfunc' option and then
|
||||||
invoke the |g@| operator. After the user types the {motion} command the
|
invoke the |g@| operator. After the user types the {motion} command the
|
||||||
specified function will be called.
|
specified function will be called.
|
||||||
|
|
||||||
@@ -1238,9 +1274,9 @@ Otherwise, using "<SID>" outside of a script context is an error.
|
|||||||
|
|
||||||
If you need to get the script number to use in a complicated script, you can
|
If you need to get the script number to use in a complicated script, you can
|
||||||
use this function: >
|
use this function: >
|
||||||
function s:SID()
|
func s:ScriptNumber()
|
||||||
return matchstr(expand('<sfile>'), '<SNR>\zs\d\+\ze_SID$')
|
return matchstr(expand('<SID>'), '<SNR>\zs\d\+\ze_')
|
||||||
endfun
|
endfunc
|
||||||
|
|
||||||
The "<SNR>" will be shown when listing functions and mappings. This is useful
|
The "<SNR>" will be shown when listing functions and mappings. This is useful
|
||||||
to find out what they are defined to.
|
to find out what they are defined to.
|
||||||
@@ -1318,15 +1354,15 @@ last defined. Example: >
|
|||||||
See |:verbose-cmd| for more information.
|
See |:verbose-cmd| for more information.
|
||||||
|
|
||||||
*E174* *E182*
|
*E174* *E182*
|
||||||
:com[mand][!] [{attr}...] {cmd} {rep}
|
:com[mand][!] [{attr}...] {cmd} {repl}
|
||||||
Define a user command. The name of the command is
|
Define a user command. The name of the command is
|
||||||
{cmd} and its replacement text is {rep}. The command's
|
{cmd} and its replacement text is {repl}. The
|
||||||
attributes (see below) are {attr}. If the command
|
command's attributes (see below) are {attr}. If the
|
||||||
already exists, an error is reported, unless a ! is
|
command already exists, an error is reported, unless a
|
||||||
specified, in which case the command is redefined.
|
! is specified, in which case the command is
|
||||||
There is one exception: When sourcing a script again,
|
redefined. There is one exception: When sourcing a
|
||||||
a command that was previously defined in that script
|
script again, a command that was previously defined in
|
||||||
will be silently replaced.
|
that script will be silently replaced.
|
||||||
|
|
||||||
|
|
||||||
:delc[ommand] {cmd} *:delc* *:delcommand* *E184*
|
:delc[ommand] {cmd} *:delc* *:delcommand* *E184*
|
||||||
@@ -1536,11 +1572,11 @@ feature. Use the full name for new scripts.
|
|||||||
|
|
||||||
Replacement text ~
|
Replacement text ~
|
||||||
|
|
||||||
The replacement text for a user defined command is scanned for special escape
|
The replacement text {repl} for a user defined command is scanned for special
|
||||||
sequences, using <...> notation. Escape sequences are replaced with values
|
escape sequences, using <...> notation. Escape sequences are replaced with
|
||||||
from the entered command line, and all other text is copied unchanged. The
|
values from the entered command line, and all other text is copied unchanged.
|
||||||
resulting string is executed as an Ex command. To avoid the replacement use
|
The resulting string is executed as an Ex command. To avoid the replacement
|
||||||
<lt> in place of the initial <. Thus to include "<bang>" literally use
|
use <lt> in place of the initial <. Thus to include "<bang>" literally use
|
||||||
"<lt>bang>".
|
"<lt>bang>".
|
||||||
|
|
||||||
The valid escape sequences are
|
The valid escape sequences are
|
||||||
@@ -1666,6 +1702,11 @@ errors and the "update" command to write modified buffers): >
|
|||||||
This will invoke: >
|
This will invoke: >
|
||||||
:call Allargs("%s/foo/bar/ge|update")
|
:call Allargs("%s/foo/bar/ge|update")
|
||||||
<
|
<
|
||||||
|
If the command is defined in Vim9 script (a script that starts with
|
||||||
|
`:vim9script` and in a `:def` function) then {repl} will be executed as in Vim9
|
||||||
|
script. Thus this depends on where the command is defined, not where it is
|
||||||
|
used.
|
||||||
|
|
||||||
When defining a user command in a script, it will be able to call functions
|
When defining a user command in a script, it will be able to call functions
|
||||||
local to the script and use mappings local to the script. When the user
|
local to the script and use mappings local to the script. When the user
|
||||||
invokes the user command, it will run in the context of the script it was
|
invokes the user command, it will run in the context of the script it was
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*mbyte.txt* For Vim version 8.2. Last change: 2020 Aug 15
|
*mbyte.txt* For Vim version 8.2. Last change: 2021 Apr 05
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar et al.
|
VIM REFERENCE MANUAL by Bram Moolenaar et al.
|
||||||
@@ -770,7 +770,7 @@ is suitable for complex input, such as CJK.
|
|||||||
of the two ways: FrontEnd system and BackEnd system. In the FrontEnd
|
of the two ways: FrontEnd system and BackEnd system. In the FrontEnd
|
||||||
system, input events are snatched by the |IM-server| first, then |IM-server|
|
system, input events are snatched by the |IM-server| first, then |IM-server|
|
||||||
give the application the result of input. On the other hand, the BackEnd
|
give the application the result of input. On the other hand, the BackEnd
|
||||||
system works reverse order. MS Windows adopt BackEnd system. In X, most of
|
system works reverse order. MS-Windows adopt BackEnd system. In X, most of
|
||||||
|IM-server|s adopt FrontEnd system. The demerit of BackEnd system is the
|
|IM-server|s adopt FrontEnd system. The demerit of BackEnd system is the
|
||||||
large overhead in communication, but it provides safe synchronization with
|
large overhead in communication, but it provides safe synchronization with
|
||||||
no restrictions on applications.
|
no restrictions on applications.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*message.txt* For Vim version 8.2. Last change: 2020 Sep 07
|
*message.txt* For Vim version 8.2. Last change: 2020 Dec 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -794,6 +794,9 @@ and the screen is about to be redrawn:
|
|||||||
-> Press <Enter> or <Space> to redraw the screen and continue, without that
|
-> Press <Enter> or <Space> to redraw the screen and continue, without that
|
||||||
key being used otherwise.
|
key being used otherwise.
|
||||||
-> Press ':' or any other Normal mode command character to start that command.
|
-> Press ':' or any other Normal mode command character to start that command.
|
||||||
|
Note that after an external command some special keys, such as the cursor
|
||||||
|
keys, may not work normally, because the terminal is still set to a state
|
||||||
|
for executing the external command.
|
||||||
-> Press 'k', <Up>, 'u', 'b' or 'g' to scroll back in the messages. This
|
-> Press 'k', <Up>, 'u', 'b' or 'g' to scroll back in the messages. This
|
||||||
works the same way as at the |more-prompt|. Only works when 'compatible'
|
works the same way as at the |more-prompt|. Only works when 'compatible'
|
||||||
is off and 'more' is on.
|
is off and 'more' is on.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*motion.txt* For Vim version 8.2. Last change: 2020 Oct 18
|
*motion.txt* For Vim version 8.2. Last change: 2021 Jun 13
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -59,9 +59,14 @@ or change text. The following operators are available:
|
|||||||
|<| < shift left
|
|<| < shift left
|
||||||
|zf| zf define a fold
|
|zf| zf define a fold
|
||||||
|g@| g@ call function set with the 'operatorfunc' option
|
|g@| g@ call function set with the 'operatorfunc' option
|
||||||
|
*motion-count-multiplied*
|
||||||
If the motion includes a count and the operator also had a count before it,
|
If the motion includes a count and the operator also had a count before it,
|
||||||
the two counts are multiplied. For example: "2d3w" deletes six words.
|
the two counts are multiplied. For example: "2d3w" deletes six words.
|
||||||
|
*operator-doubled*
|
||||||
|
When doubling the operator it operates on a line. When using a count, before
|
||||||
|
or after the first character, that many lines are operated upon. Thus `3dd`
|
||||||
|
deletes three lines. A count before and after the first character is
|
||||||
|
multiplied, thus `2y3y` yanks six lines.
|
||||||
|
|
||||||
After applying the operator the cursor is mostly left at the start of the text
|
After applying the operator the cursor is mostly left at the start of the text
|
||||||
that was operated upon. For example, "yfe" doesn't move the cursor, but "yFe"
|
that was operated upon. For example, "yfe" doesn't move the cursor, but "yFe"
|
||||||
@@ -942,8 +947,7 @@ These commands are not marks themselves, but jump to a mark:
|
|||||||
line.
|
line.
|
||||||
|
|
||||||
*]`*
|
*]`*
|
||||||
]` [count] times to lowercase mark after the cursor. {not
|
]` [count] times to lowercase mark after the cursor.
|
||||||
in Vi}
|
|
||||||
|
|
||||||
*['*
|
*['*
|
||||||
[' [count] times to previous line with a lowercase mark
|
[' [count] times to previous line with a lowercase mark
|
||||||
@@ -1037,6 +1041,12 @@ CTRL-I Go to [count] newer cursor position in jump list
|
|||||||
(not a motion command).
|
(not a motion command).
|
||||||
{not available without the |+jumplist| feature}
|
{not available without the |+jumplist| feature}
|
||||||
|
|
||||||
|
NOTE: In the GUI and in a terminal supporting
|
||||||
|
|modifyOtherKeys|, CTRL-I can be mapped separately
|
||||||
|
from <Tab>, on the condition that CTRL-I is
|
||||||
|
mapped before <Tab>, otherwise the mapping applies to
|
||||||
|
both.
|
||||||
|
|
||||||
*: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 available without the |+jumplist| feature}
|
{not available without the |+jumplist| feature}
|
||||||
@@ -1054,11 +1064,11 @@ The maximum number of entries is fixed at 100.
|
|||||||
|
|
||||||
For example, after three jump commands you have this jump list:
|
For example, after three jump commands you have this jump list:
|
||||||
|
|
||||||
jump line col file/text ~
|
jump line col file/text ~
|
||||||
3 1 0 some text ~
|
3 1 0 some text ~
|
||||||
2 70 0 another line ~
|
2 70 0 another line ~
|
||||||
1 1154 23 end. ~
|
1 1154 23 end. ~
|
||||||
> ~
|
> ~
|
||||||
|
|
||||||
The "file/text" column shows the file name, or the text at the jump if it is
|
The "file/text" column shows the file name, or the text at the jump if it is
|
||||||
in the current file (an indent is removed and a long line is truncated to fit
|
in the current file (an indent is removed and a long line is truncated to fit
|
||||||
@@ -1067,11 +1077,11 @@ in the window).
|
|||||||
You are currently in line 1167. If you then use the CTRL-O command, the
|
You are currently in line 1167. If you then use the CTRL-O command, the
|
||||||
cursor is put in line 1154. This results in:
|
cursor is put in line 1154. This results in:
|
||||||
|
|
||||||
jump line col file/text ~
|
jump line col file/text ~
|
||||||
2 1 0 some text ~
|
2 1 0 some text ~
|
||||||
1 70 0 another line ~
|
1 70 0 another line ~
|
||||||
> 0 1154 23 end. ~
|
> 0 1154 23 end. ~
|
||||||
1 1167 0 foo bar ~
|
1 1167 0 foo bar ~
|
||||||
|
|
||||||
The pointer will be set at the last used jump position. The next CTRL-O
|
The pointer will be set at the last used jump position. The next CTRL-O
|
||||||
command will use the entry above it, the next CTRL-I command will use the
|
command will use the entry above it, the next CTRL-I command will use the
|
||||||
@@ -1098,12 +1108,12 @@ that calling setpos() does not do this.
|
|||||||
After the CTRL-O command that got you into line 1154 you could give another
|
After the CTRL-O command that got you into line 1154 you could give another
|
||||||
jump command (e.g., "G"). The jump list would then become:
|
jump command (e.g., "G"). The jump list would then become:
|
||||||
|
|
||||||
jump line col file/text ~
|
jump line col file/text ~
|
||||||
4 1 0 some text ~
|
4 1 0 some text ~
|
||||||
3 70 0 another line ~
|
3 70 0 another line ~
|
||||||
2 1167 0 foo bar ~
|
2 1167 0 foo bar ~
|
||||||
1 1154 23 end. ~
|
1 1154 23 end. ~
|
||||||
> ~
|
> ~
|
||||||
|
|
||||||
The line numbers will be adjusted for deleted and inserted lines. This fails
|
The line numbers will be adjusted for deleted and inserted lines. This fails
|
||||||
if you stop editing a file without writing, like with ":n!".
|
if you stop editing a file without writing, like with ":n!".
|
||||||
@@ -1152,7 +1162,7 @@ Note that when text has been inserted or deleted the cursor position might be
|
|||||||
a bit different from the position of the change. Especially when lines have
|
a bit different from the position of the change. Especially when lines have
|
||||||
been deleted.
|
been deleted.
|
||||||
|
|
||||||
When the |:keepjumps| command modifier is used the position of a change is not
|
When the `:keepjumps` command modifier is used the position of a change is not
|
||||||
remembered.
|
remembered.
|
||||||
|
|
||||||
*:changes*
|
*:changes*
|
||||||
@@ -1193,7 +1203,7 @@ remembered.
|
|||||||
#if, #ifdef, #else, #elif, #endif
|
#if, #ifdef, #else, #elif, #endif
|
||||||
C preprocessor conditionals (when the
|
C preprocessor conditionals (when the
|
||||||
cursor is on the # or no ([{
|
cursor is on the # or no ([{
|
||||||
following)
|
is following)
|
||||||
For other items the matchit plugin can be used, see
|
For other items the matchit plugin can be used, see
|
||||||
|matchit-install|. This plugin also helps to skip
|
|matchit-install|. This plugin also helps to skip
|
||||||
matches in comments.
|
matches in comments.
|
||||||
@@ -1222,19 +1232,16 @@ remembered.
|
|||||||
#if/#else/#endif makes the movement linewise.
|
#if/#else/#endif makes the movement linewise.
|
||||||
|
|
||||||
*[(*
|
*[(*
|
||||||
[( go to [count] previous unmatched '('.
|
[( Go to [count] previous unmatched '('.
|
||||||
|exclusive| motion.
|
|exclusive| motion.
|
||||||
|
|
||||||
*[{*
|
*[{*
|
||||||
[{ go to [count] previous unmatched '{'.
|
[{ Go to [count] previous unmatched '{'.
|
||||||
|exclusive| motion.
|
|exclusive| motion.
|
||||||
|
|
||||||
*])*
|
*])*
|
||||||
]) go to [count] next unmatched ')'.
|
]) Go to [count] next unmatched ')'.
|
||||||
|exclusive| motion.
|
|exclusive| motion.
|
||||||
|
|
||||||
*]}*
|
*]}*
|
||||||
]} go to [count] next unmatched '}'.
|
]} Go to [count] next unmatched '}'.
|
||||||
|exclusive| motion.
|
|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
|
||||||
@@ -1268,7 +1275,7 @@ bring you back to the switch statement.
|
|||||||
class. When no '}' is found before the cursor this is
|
class. When no '}' is found before the cursor this is
|
||||||
an error. |exclusive| motion.
|
an error. |exclusive| motion.
|
||||||
|
|
||||||
The above two commands assume that the file contains a class with methods.
|
The above four 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
|
||||||
is also surrounded with '{' and '}'. This applies to the Java language. The
|
is also surrounded with '{' and '}'. This applies to the Java language. The
|
||||||
file looks like this: >
|
file looks like this: >
|
||||||
@@ -1282,17 +1289,21 @@ file looks like this: >
|
|||||||
body_two();
|
body_two();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[To try this out copy the text and put it in a new buffer, the help text above
|
||||||
|
confuses the jump commands]
|
||||||
|
|
||||||
Starting with the cursor on "body_two()", using "[m" will jump to the '{' at
|
Starting with the cursor on "body_two()", using "[m" will jump to the '{' at
|
||||||
the start of "method_two()" (obviously this is much more useful when the
|
the start of "method_two()" (obviously this is much more useful when the
|
||||||
method is long!). Using "2[m" will jump to the start of "method_one()".
|
method is long!). Using "2[m" will jump to the start of "method_one()".
|
||||||
Using "3[m" will jump to the start of the class.
|
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.
|
|exclusive| motion.
|
||||||
|
|
||||||
*]#*
|
*]#*
|
||||||
]# go to [count] next unmatched "#else" or "#endif".
|
]# Go to [count] next unmatched "#else" or "#endif".
|
||||||
|exclusive| motion.
|
|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
|
||||||
@@ -1300,11 +1311,11 @@ constructs. It brings you to the start or end of the #if/#else/#endif where
|
|||||||
the current line is included. You can then use "%" to go to the matching line.
|
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.
|
|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.
|
|exclusive| motion.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*options.txt* For Vim version 8.2. Last change: 2020 Oct 10
|
*options.txt* For Vim version 8.2. Last change: 2021 May 31
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -438,7 +438,7 @@ the system, mostly it is something like 256 or 1024 characters.
|
|||||||
CTRL-? CTRL-H
|
CTRL-? CTRL-H
|
||||||
not CTRL-? CTRL-?
|
not CTRL-? CTRL-?
|
||||||
|
|
||||||
(CTRL-? is 0177 octal, 0x7f hex)
|
(CTRL-? is 0o177 octal, 0x7f hex)
|
||||||
|
|
||||||
If your delete key terminal code is wrong, but the
|
If your delete key terminal code is wrong, but the
|
||||||
code for backspace is alright, you can put this in
|
code for backspace is alright, you can put this in
|
||||||
@@ -749,6 +749,15 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
or selected.
|
or selected.
|
||||||
Note: When this option is on some plugins may not work.
|
Note: When this option is on some plugins may not work.
|
||||||
|
|
||||||
|
*'autoshelldir'* *'asd'* *'noautoshelldir'* *'noasd'*
|
||||||
|
'autoshelldir' 'asd' boolean (default off)
|
||||||
|
global
|
||||||
|
When on, Vim will change the current working directory whenever you
|
||||||
|
change the directory of the shell running in a terminal window. You
|
||||||
|
need proper setting-up, so whenever the shell's pwd changes an OSC 7
|
||||||
|
escape sequence will be emitted. For example, on Linux, you can source
|
||||||
|
/etc/profile.d/vte.sh in your shell profile if you use bash or zsh.
|
||||||
|
|
||||||
*'arabic'* *'arab'* *'noarabic'* *'noarab'*
|
*'arabic'* *'arab'* *'noarabic'* *'noarab'*
|
||||||
'arabic' 'arab' boolean (default off)
|
'arabic' 'arab' boolean (default off)
|
||||||
local to window
|
local to window
|
||||||
@@ -1568,7 +1577,11 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
{only in GUI versions or when the |+xterm_clipboard|
|
{only in GUI versions or when the |+xterm_clipboard|
|
||||||
feature is included}
|
feature is included}
|
||||||
This option is a list of comma separated names.
|
This option is a list of comma separated names.
|
||||||
These names are recognized:
|
Note: if one of the items is "exclude:", then you can't add an item
|
||||||
|
after that. Therefore do append an item with += but use ^= to
|
||||||
|
prepend, e.g.: >
|
||||||
|
set clipboard^=unnamed
|
||||||
|
< These names are recognized:
|
||||||
|
|
||||||
*clipboard-unnamed*
|
*clipboard-unnamed*
|
||||||
unnamed When included, Vim will use the clipboard register '*'
|
unnamed When included, Vim will use the clipboard register '*'
|
||||||
@@ -2677,6 +2690,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
foldcolumn:{n} Set the 'foldcolumn' option to {n} when
|
foldcolumn:{n} Set the 'foldcolumn' option to {n} when
|
||||||
starting diff mode. Without this 2 is used.
|
starting diff mode. Without this 2 is used.
|
||||||
|
|
||||||
|
followwrap Follow the 'wrap' option and leave as it is.
|
||||||
|
|
||||||
internal Use the internal diff library. This is
|
internal Use the internal diff library. This is
|
||||||
ignored when 'diffexpr' is set. *E960*
|
ignored when 'diffexpr' is set. *E960*
|
||||||
When running out of memory when writing a
|
When running out of memory when writing a
|
||||||
@@ -2801,6 +2816,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
toggled each time the flag is given. See |complex-change|. See
|
toggled each time the flag is given. See |complex-change|. See
|
||||||
also 'gdefault' option.
|
also 'gdefault' option.
|
||||||
Switching this option on may break plugins!
|
Switching this option on may break plugins!
|
||||||
|
This option is not used in |Vim9| script.
|
||||||
|
|
||||||
*'emoji'* *'emo'* *'noemoji'* *'noemo'*
|
*'emoji'* *'emo'* *'noemoji'* *'noemo'*
|
||||||
'emoji' 'emo' boolean (default: on)
|
'emoji' 'emo' boolean (default: on)
|
||||||
@@ -2812,7 +2828,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
|setcellwidths()| function to change the behavior.
|
|setcellwidths()| function to change the behavior.
|
||||||
|
|
||||||
*'encoding'* *'enc'* *E543*
|
*'encoding'* *'enc'* *E543*
|
||||||
'encoding' 'enc' string (default: "latin1" or value from $LANG)
|
'encoding' 'enc' string (default for MS-Windows: "utf-8",
|
||||||
|
otherwise: value from $LANG or "latin1")
|
||||||
global
|
global
|
||||||
Sets the character encoding used inside Vim. It applies to text in
|
Sets the character encoding used inside Vim. It applies to text in
|
||||||
the buffers, registers, Strings in expressions, text stored in the
|
the buffers, registers, Strings in expressions, text stored in the
|
||||||
@@ -3099,9 +3116,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
because Vim cannot detect an error, thus the encoding is always
|
because Vim cannot detect an error, thus the encoding is always
|
||||||
accepted.
|
accepted.
|
||||||
The special value "default" can be used for the encoding from the
|
The special value "default" can be used for the encoding from the
|
||||||
environment. This is the default value for 'encoding'. It is useful
|
environment. On MS-Windows this is the system encoding. Otherwise
|
||||||
when 'encoding' is set to "utf-8" and your environment uses a
|
this is the default value for 'encoding'. It is useful when
|
||||||
non-latin1 encoding, such as Russian.
|
'encoding' is set to "utf-8" and your environment uses a non-latin1
|
||||||
|
encoding, such as Russian.
|
||||||
When 'encoding' is "utf-8" and a file contains an illegal byte
|
When 'encoding' is "utf-8" and a file contains an illegal byte
|
||||||
sequence it won't be recognized as UTF-8. You can use the |8g8|
|
sequence it won't be recognized as UTF-8. You can use the |8g8|
|
||||||
command to find the illegal byte sequence.
|
command to find the illegal byte sequence.
|
||||||
@@ -3121,7 +3139,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
local to buffer
|
local to buffer
|
||||||
This gives the <EOL> of the current buffer, which is used for
|
This gives the <EOL> of the current buffer, which is used for
|
||||||
reading/writing the buffer from/to a file:
|
reading/writing the buffer from/to a file:
|
||||||
dos <CR> <NL>
|
dos <CR><NL>
|
||||||
unix <NL>
|
unix <NL>
|
||||||
mac <CR>
|
mac <CR>
|
||||||
When "dos" is used, CTRL-Z at the end of a file is ignored.
|
When "dos" is used, CTRL-Z at the end of a file is ignored.
|
||||||
@@ -3228,7 +3246,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
Only normal file name characters can be used, "/\*?[|<>" are illegal.
|
Only normal file name characters can be used, "/\*?[|<>" are illegal.
|
||||||
|
|
||||||
*'fillchars'* *'fcs'*
|
*'fillchars'* *'fcs'*
|
||||||
'fillchars' 'fcs' string (default "vert:|,fold:-")
|
'fillchars' 'fcs' string (default "vert:|,fold:-,eob:~")
|
||||||
global
|
global
|
||||||
{not available when compiled without the |+folding|
|
{not available when compiled without the |+folding|
|
||||||
feature}
|
feature}
|
||||||
@@ -3240,7 +3258,11 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
stlnc:c ' ' or '=' statusline of the non-current windows
|
stlnc:c ' ' or '=' statusline of the non-current windows
|
||||||
vert:c '|' vertical separators |:vsplit|
|
vert:c '|' vertical separators |:vsplit|
|
||||||
fold:c '-' filling 'foldtext'
|
fold:c '-' filling 'foldtext'
|
||||||
|
foldopen:c '-' mark the beginning of a fold
|
||||||
|
foldclose:c '+' show a closed fold
|
||||||
|
foldsep:c '|' open fold middle character
|
||||||
diff:c '-' deleted lines of the 'diff' option
|
diff:c '-' deleted lines of the 'diff' option
|
||||||
|
eob:c '~' empty lines below the end of a buffer
|
||||||
|
|
||||||
Any one that is omitted will fall back to the default. For "stl" and
|
Any one that is omitted will fall back to the default. For "stl" and
|
||||||
"stlnc" the space will be used when there is highlighting, '^' or '='
|
"stlnc" the space will be used when there is highlighting, '^' or '='
|
||||||
@@ -3251,7 +3273,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
< This is similar to the default, except that these characters will also
|
< This is similar to the default, except that these characters will also
|
||||||
be used when there is highlighting.
|
be used when there is highlighting.
|
||||||
|
|
||||||
for "stl" and "stlnc" only single-byte values are supported.
|
For "stl" and "stlnc" single-byte and multibyte characters are
|
||||||
|
supported. But double-width characters are not supported.
|
||||||
|
|
||||||
The highlighting used for these items:
|
The highlighting used for these items:
|
||||||
item highlight group ~
|
item highlight group ~
|
||||||
@@ -3260,6 +3283,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
vert:c VertSplit |hl-VertSplit|
|
vert:c VertSplit |hl-VertSplit|
|
||||||
fold:c Folded |hl-Folded|
|
fold:c Folded |hl-Folded|
|
||||||
diff:c DiffDelete |hl-DiffDelete|
|
diff:c DiffDelete |hl-DiffDelete|
|
||||||
|
eob:c EndOfBuffer |hl-EndOfBuffer|
|
||||||
|
|
||||||
*'fixendofline'* *'fixeol'* *'nofixendofline'* *'nofixeol'*
|
*'fixendofline'* *'fixeol'* *'nofixendofline'* *'nofixeol'*
|
||||||
'fixendofline' 'fixeol' boolean (default on)
|
'fixendofline' 'fixeol' boolean (default on)
|
||||||
@@ -3272,7 +3296,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
See the 'endofline' option.
|
See the 'endofline' option.
|
||||||
|
|
||||||
*'fkmap'* *'fk'* *'nofkmap'* *'nofk'*
|
*'fkmap'* *'fk'* *'nofkmap'* *'nofk'*
|
||||||
'fkmap' 'fk' boolean (default off) *E198*
|
'fkmap' 'fk' boolean (default off)
|
||||||
global
|
global
|
||||||
{only available when compiled with the |+rightleft|
|
{only available when compiled with the |+rightleft|
|
||||||
feature}
|
feature}
|
||||||
@@ -3570,6 +3594,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
DEPRECATED: Setting this option may break plugins that are not aware
|
DEPRECATED: Setting this option may break plugins that are not aware
|
||||||
of this option. Also, many users get confused that adding the /g flag
|
of this option. Also, many users get confused that adding the /g flag
|
||||||
has the opposite effect of that it normally does.
|
has the opposite effect of that it normally does.
|
||||||
|
This option is not used in |Vim9| script.
|
||||||
|
|
||||||
*'grepformat'* *'gfm'*
|
*'grepformat'* *'gfm'*
|
||||||
'grepformat' 'gfm' string (default "%f:%l:%m,%f:%l%m,%f %l%m")
|
'grepformat' 'gfm' string (default "%f:%l:%m,%f:%l%m,%f %l%m")
|
||||||
@@ -3842,7 +3867,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
*'go-v'*
|
*'go-v'*
|
||||||
'v' Use a vertical button layout for dialogs. When not included,
|
'v' Use a vertical button layout for dialogs. When not included,
|
||||||
a horizontal layout is preferred, but when it doesn't fit a
|
a horizontal layout is preferred, but when it doesn't fit a
|
||||||
vertical layout is used anyway.
|
vertical layout is used anyway. Not supported in GTK 3.
|
||||||
*'go-p'*
|
*'go-p'*
|
||||||
'p' Use Pointer callbacks for X11 GUI. This is required for some
|
'p' Use Pointer callbacks for X11 GUI. This is required for some
|
||||||
window managers. If the cursor is not blinking or hollow at
|
window managers. If the cursor is not blinking or hollow at
|
||||||
@@ -4125,7 +4150,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
the window. This happens only when the 'icon' option is on.
|
the window. This happens only when the 'icon' option is on.
|
||||||
Only works if the terminal supports setting window icon text
|
Only works if the terminal supports setting window icon text
|
||||||
(currently only X11 GUI and terminals with a non-empty 't_IS' option).
|
(currently only X11 GUI and terminals with a non-empty 't_IS' option).
|
||||||
Does not work for MS Windows.
|
Does not work for MS-Windows.
|
||||||
When Vim was compiled with HAVE_X11 defined, the original icon will be
|
When Vim was compiled with HAVE_X11 defined, the original icon will be
|
||||||
restored if possible |X11|.
|
restored if possible |X11|.
|
||||||
When this option contains printf-style '%' items, they will be
|
When this option contains printf-style '%' items, they will be
|
||||||
@@ -4541,7 +4566,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
Keywords are used in searching and recognizing with many commands:
|
Keywords are used in searching and recognizing with many commands:
|
||||||
"w", "*", "[i", etc. It is also used for "\k" in a |pattern|. See
|
"w", "*", "[i", etc. It is also used for "\k" in a |pattern|. See
|
||||||
'isfname' for a description of the format of this option. For '@'
|
'isfname' for a description of the format of this option. For '@'
|
||||||
characters above 255 check the "word" character class.
|
characters above 255 check the "word" character class (any character
|
||||||
|
that is not white space or punctuation).
|
||||||
For C programs you could use "a-z,A-Z,48-57,_,.,-,>".
|
For C programs you could use "a-z,A-Z,48-57,_,.,-,>".
|
||||||
For a help file it is set to all non-blank printable characters except
|
For a help file it is set to all non-blank printable characters except
|
||||||
'*', '"' and '|' (so that CTRL-] on a command finds the help for that
|
'*', '"' and '|' (so that CTRL-] on a command finds the help for that
|
||||||
@@ -4844,7 +4870,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
|
|
||||||
*'listchars'* *'lcs'*
|
*'listchars'* *'lcs'*
|
||||||
'listchars' 'lcs' string (default "eol:$")
|
'listchars' 'lcs' string (default "eol:$")
|
||||||
global
|
global or local to window |global-local|
|
||||||
Strings to use in 'list' mode and for the |:list| command. It is a
|
Strings to use in 'list' mode and for the |:list| command. It is a
|
||||||
comma separated list of string settings.
|
comma separated list of string settings.
|
||||||
*lcs-eol*
|
*lcs-eol*
|
||||||
@@ -4875,7 +4901,13 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
*lcs-space*
|
*lcs-space*
|
||||||
space:c Character to show for a space. When omitted, spaces
|
space:c Character to show for a space. When omitted, spaces
|
||||||
are left blank.
|
are left blank.
|
||||||
*lcs-trail*
|
*lcs-lead*
|
||||||
|
lead:c Character to show for leading spaces. When omitted,
|
||||||
|
leading spaces are blank. Overrides the "space"
|
||||||
|
setting for leading spaces. You can combine it with
|
||||||
|
"tab:", for example: >
|
||||||
|
:set listchars+=tab:>-,lead:.
|
||||||
|
< *lcs-trail*
|
||||||
trail:c Character to show for trailing spaces. When omitted,
|
trail:c Character to show for trailing spaces. When omitted,
|
||||||
trailing spaces are blank. Overrides the "space"
|
trailing spaces are blank. Overrides the "space"
|
||||||
setting for trailing spaces.
|
setting for trailing spaces.
|
||||||
@@ -4943,6 +4975,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
Only switch it off when working with old Vi scripts. In any other
|
Only switch it off when working with old Vi scripts. In any other
|
||||||
situation write patterns that work when 'magic' is on. Include "\M"
|
situation write patterns that work when 'magic' is on. Include "\M"
|
||||||
when you want to |/\M|.
|
when you want to |/\M|.
|
||||||
|
In |Vim9| script the value of 'magic' is ignored, patterns behave like
|
||||||
|
it is always set.
|
||||||
|
|
||||||
*'makeef'* *'mef'*
|
*'makeef'* *'mef'*
|
||||||
'makeef' 'mef' string (default: "")
|
'makeef' 'mef' string (default: "")
|
||||||
@@ -5005,7 +5039,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
jump between two double quotes.
|
jump between two double quotes.
|
||||||
The characters must be separated by a colon.
|
The characters must be separated by a colon.
|
||||||
The pairs must be separated by a comma. Example for including '<' and
|
The pairs must be separated by a comma. Example for including '<' and
|
||||||
'>' (HTML): >
|
'>' (for HTML): >
|
||||||
:set mps+=<:>
|
:set mps+=<:>
|
||||||
|
|
||||||
< A more exotic example, to jump between the '=' and ';' in an
|
< A more exotic example, to jump between the '=' and ';' in an
|
||||||
@@ -5217,7 +5251,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
NOTE: This option is set to the Vi default value when 'compatible' is
|
NOTE: This option is set to the Vi default value when 'compatible' is
|
||||||
set and to the Vim default value when 'compatible' is reset.
|
set and to the Vim default value when 'compatible' is reset.
|
||||||
|
|
||||||
*'mouse'* *E538*
|
*'mouse'*
|
||||||
'mouse' string (default "", "a" for GUI and Win32,
|
'mouse' string (default "", "a" for GUI and Win32,
|
||||||
set to "a" or "nvi" in |defaults.vim|)
|
set to "a" or "nvi" in |defaults.vim|)
|
||||||
global
|
global
|
||||||
@@ -6222,7 +6256,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
<
|
<
|
||||||
*'runtimepath'* *'rtp'* *vimfiles*
|
*'runtimepath'* *'rtp'* *vimfiles*
|
||||||
'runtimepath' 'rtp' string (default:
|
'runtimepath' 'rtp' string (default:
|
||||||
Unix: "$HOME/.vim,
|
Unix: "$HOME/.vim,
|
||||||
$VIM/vimfiles,
|
$VIM/vimfiles,
|
||||||
$VIMRUNTIME,
|
$VIMRUNTIME,
|
||||||
$VIM/vimfiles/after,
|
$VIM/vimfiles/after,
|
||||||
@@ -6232,7 +6266,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
$VIMRUNTIME,
|
$VIMRUNTIME,
|
||||||
$VIM/vimfiles/after,
|
$VIM/vimfiles/after,
|
||||||
home:vimfiles/after"
|
home:vimfiles/after"
|
||||||
PC: "$HOME/vimfiles,
|
MS-Windows: "$HOME/vimfiles,
|
||||||
$VIM/vimfiles,
|
$VIM/vimfiles,
|
||||||
$VIMRUNTIME,
|
$VIMRUNTIME,
|
||||||
$VIM/vimfiles/after,
|
$VIM/vimfiles/after,
|
||||||
@@ -6244,8 +6278,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
$VIM/vimfiles,
|
$VIM/vimfiles,
|
||||||
$VIMRUNTIME,
|
$VIMRUNTIME,
|
||||||
$VIM/vimfiles/after,
|
$VIM/vimfiles/after,
|
||||||
$BE_USER_SETTINGS/vim/after")
|
$BE_USER_SETTINGS/vim/after"
|
||||||
VMS: "sys$login:vimfiles,
|
VMS: "sys$login:vimfiles,
|
||||||
$VIM/vimfiles,
|
$VIM/vimfiles,
|
||||||
$VIMRUNTIME,
|
$VIMRUNTIME,
|
||||||
$VIM/vimfiles/after,
|
$VIM/vimfiles/after,
|
||||||
@@ -6317,7 +6351,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
local to window
|
local to window
|
||||||
Number of lines to scroll with CTRL-U and CTRL-D commands. Will be
|
Number of lines to scroll with CTRL-U and CTRL-D commands. Will be
|
||||||
set to half the number of lines in the window when the window size
|
set to half the number of lines in the window when the window size
|
||||||
changes. If you give a count to the CTRL-U or CTRL-D command it will
|
changes. This may happen when enabling the |status-line| or
|
||||||
|
'tabline' option after setting the 'scroll' option.
|
||||||
|
If you give a count to the CTRL-U or CTRL-D command it will
|
||||||
be used as the new value for 'scroll'. Reset to half the window
|
be used as the new value for 'scroll'. Reset to half the window
|
||||||
height with ":set scroll=0".
|
height with ":set scroll=0".
|
||||||
|
|
||||||
@@ -6478,6 +6514,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
global values for local options)
|
global values for local options)
|
||||||
options all options and mappings (also global values for local
|
options all options and mappings (also global values for local
|
||||||
options)
|
options)
|
||||||
|
skiprtp exclude 'runtimepath' and 'packpath' from the options
|
||||||
resize size of the Vim window: 'lines' and 'columns'
|
resize size of the Vim window: 'lines' and 'columns'
|
||||||
sesdir the directory in which the session file is located
|
sesdir the directory in which the session file is located
|
||||||
will become the current directory (useful with
|
will become the current directory (useful with
|
||||||
@@ -6571,9 +6608,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
in a file and echoed to the screen. If the 'shell' option is "csh" or
|
in a file and echoed to the screen. If the 'shell' option is "csh" or
|
||||||
"tcsh" after initializations, the default becomes "|& tee". If the
|
"tcsh" after initializations, the default becomes "|& tee". If the
|
||||||
'shell' option is "sh", "ksh", "mksh", "pdksh", "zsh", "zsh-beta",
|
'shell' option is "sh", "ksh", "mksh", "pdksh", "zsh", "zsh-beta",
|
||||||
"bash" or "fish" the default becomes "2>&1| tee". This means that
|
"bash", "fish", "ash" or "dash" the default becomes "2>&1| tee". This
|
||||||
stderr is also included. Before using the 'shell' option a path is
|
means that stderr is also included. Before using the 'shell' option a
|
||||||
removed, thus "/bin/sh" uses "sh".
|
path is removed, thus "/bin/sh" uses "sh".
|
||||||
The initialization of this option is done after reading the ".vimrc"
|
The initialization of this option is done after reading the ".vimrc"
|
||||||
and the other initializations, so that when the 'shell' option is set
|
and the other initializations, so that when the 'shell' option is set
|
||||||
there, the 'shellpipe' option changes automatically, unless it was
|
there, the 'shellpipe' option changes automatically, unless it was
|
||||||
@@ -7304,6 +7341,18 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
Note that there is no '%' before the closing '}'. The
|
Note that there is no '%' before the closing '}'. The
|
||||||
expression cannot contain a '}' character, call a function to
|
expression cannot contain a '}' character, call a function to
|
||||||
work around that. See |stl-%{| below.
|
work around that. See |stl-%{| below.
|
||||||
|
{% - This is almost same as { except the result of the expression is
|
||||||
|
re-evaluated as a statusline format string. Thus if the
|
||||||
|
return value of expr contains % items they will get expanded.
|
||||||
|
The expression can contain the } character, the end of
|
||||||
|
expression is denoted by %}.
|
||||||
|
The For example: >
|
||||||
|
func! Stl_filename() abort
|
||||||
|
return "%t"
|
||||||
|
endfunc
|
||||||
|
< `stl=%{Stl_filename()}` results in `"%t"`
|
||||||
|
`stl=%{%Stl_filename()%}` results in `"Name of current file"`
|
||||||
|
} - End of `{%` expression
|
||||||
( - Start of item group. Can be used for setting the width and
|
( - Start of item group. Can be used for setting the width and
|
||||||
alignment of a section. Must be followed by %) somewhere.
|
alignment of a section. Must be followed by %) somewhere.
|
||||||
) - End of item group. No width fields allowed.
|
) - End of item group. No width fields allowed.
|
||||||
@@ -7447,6 +7496,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'switchbuf' 'swb' string (default "")
|
'switchbuf' 'swb' string (default "")
|
||||||
global
|
global
|
||||||
This option controls the behavior when switching between buffers.
|
This option controls the behavior when switching between buffers.
|
||||||
|
Mostly for |quickfix| commands some values are also used for other
|
||||||
|
commands, as mentioned below.
|
||||||
Possible values (comma separated list):
|
Possible values (comma separated list):
|
||||||
useopen If included, jump to the first open window that
|
useopen If included, jump to the first open window that
|
||||||
contains the specified buffer (if there is one).
|
contains the specified buffer (if there is one).
|
||||||
@@ -8757,23 +8808,31 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
part specifies what to do for each consecutive use of 'wildchar'. The
|
part specifies what to do for each consecutive use of 'wildchar'. The
|
||||||
first part specifies the behavior for the first use of 'wildchar',
|
first part specifies the behavior for the first use of 'wildchar',
|
||||||
The second part for the second use, etc.
|
The second part for the second use, etc.
|
||||||
These are the possible values for each part:
|
|
||||||
|
Each part consists of a colon separated list consisting of the
|
||||||
|
following possible values:
|
||||||
"" Complete only the first match.
|
"" Complete only the first match.
|
||||||
"full" Complete the next full match. After the last match,
|
"full" Complete the next full match. After the last match,
|
||||||
the original string is used and then the first match
|
the original string is used and then the first match
|
||||||
again.
|
again. Will also start 'wildmenu' if it is enabled.
|
||||||
"longest" Complete till longest common string. If this doesn't
|
"longest" Complete till longest common string. If this doesn't
|
||||||
result in a longer string, use the next part.
|
result in a longer string, use the next part.
|
||||||
"longest:full" Like "longest", but also start 'wildmenu' if it is
|
|
||||||
enabled.
|
|
||||||
"list" When more than one match, list all matches.
|
"list" When more than one match, list all matches.
|
||||||
|
"lastused" When completing buffer names and more than one buffer
|
||||||
|
matches, sort buffers by time last used (other than
|
||||||
|
the current buffer).
|
||||||
|
When there is only a single match, it is fully completed in all cases.
|
||||||
|
|
||||||
|
Examples of useful colon-separated values:
|
||||||
|
"longest:full" Like "longest", but also start 'wildmenu' if it is
|
||||||
|
enabled. Will not complete to the next full match.
|
||||||
"list:full" When more than one match, list all matches and
|
"list:full" When more than one match, list all matches and
|
||||||
complete first match.
|
complete first match.
|
||||||
"list:longest" When more than one match, list all matches and
|
"list:longest" When more than one match, list all matches and
|
||||||
complete till longest common string.
|
complete till longest common string.
|
||||||
"list:lastused" When more than one buffer matches, sort buffers
|
"list:lastused" When more than one buffer matches, list all matches
|
||||||
by time last used (other than the current buffer).
|
and sort buffers by time last used (other than the
|
||||||
When there is only a single match, it is fully completed in all cases.
|
current buffer).
|
||||||
|
|
||||||
Examples: >
|
Examples: >
|
||||||
:set wildmode=full
|
:set wildmode=full
|
||||||
@@ -8832,15 +8891,15 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
*'window'* *'wi'*
|
*'window'* *'wi'*
|
||||||
'window' 'wi' number (default screen height - 1)
|
'window' 'wi' number (default screen height - 1)
|
||||||
global
|
global
|
||||||
Window height. Do not confuse this with the height of the Vim window,
|
Window height used for |CTRL-F| and |CTRL-B| when there is only one
|
||||||
use 'lines' for that.
|
window and the value is smaller than 'lines' minus one. The screen
|
||||||
Used for |CTRL-F| and |CTRL-B| when there is only one window and the
|
will scroll 'window' minus two lines, with a minimum of one.
|
||||||
value is smaller than 'lines' minus one. The screen will scroll
|
|
||||||
'window' minus two lines, with a minimum of one.
|
|
||||||
When 'window' is equal to 'lines' minus one CTRL-F and CTRL-B scroll
|
When 'window' is equal to 'lines' minus one CTRL-F and CTRL-B scroll
|
||||||
in a much smarter way, taking care of wrapping lines.
|
in a much smarter way, taking care of wrapping lines.
|
||||||
When resizing the Vim window, the value is smaller than 1 or more than
|
When resizing the Vim window, the value is smaller than 1 or more than
|
||||||
or equal to 'lines' it will be set to 'lines' minus 1.
|
or equal to 'lines' it will be set to 'lines' minus 1.
|
||||||
|
Note: Do not confuse this with the height of the Vim window, use
|
||||||
|
'lines' for that.
|
||||||
|
|
||||||
*'winheight'* *'wh'* *E591*
|
*'winheight'* *'wh'* *E591*
|
||||||
'winheight' 'wh' number (default 1)
|
'winheight' 'wh' number (default 1)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*os_vms.txt* For Vim version 8.2. Last change: 2020 Jun 07
|
*os_vms.txt* For Vim version 8.2. Last change: 2021 Jan 04
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL
|
VIM REFERENCE MANUAL
|
||||||
@@ -72,7 +72,7 @@ See the file [.SRC]INSTALLVMS.TXT.
|
|||||||
4. Problems *vms-problems*
|
4. Problems *vms-problems*
|
||||||
|
|
||||||
The code has been tested under Open VMS 6.2 - 8.2 on Alpha, VAX and IA64
|
The code has been tested under Open VMS 6.2 - 8.2 on Alpha, VAX and IA64
|
||||||
platforms with the DEC C compiler. It should work without big problems.
|
platforms with the DEC C compiler. It should work without major problems.
|
||||||
If your system does not have some include libraries you can tune up in
|
If your system does not have some include libraries you can tune up in
|
||||||
OS_VMS_CONF.H file.
|
OS_VMS_CONF.H file.
|
||||||
|
|
||||||
@@ -765,6 +765,15 @@ 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.2
|
||||||
|
- make all changes needed for clean compile build of v8.2 on VMS on all platforms
|
||||||
|
- fix the call mkdir bug (vicente_polo@yahoo.es)
|
||||||
|
- test on VSI OpenVMS Alpha and Itanium platforms
|
||||||
|
- added LUA support
|
||||||
|
- added XPM support - Motif GUI with toolbar on all platforms
|
||||||
|
- XPM v3.4.11 libraries for IA64, AXP and VAX are added
|
||||||
|
- start integrating the new test scripts
|
||||||
|
|
||||||
Version 8.1
|
Version 8.1
|
||||||
- make necessary changes to build v8.1 on VMS
|
- make necessary changes to build v8.1 on VMS
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*os_win32.txt* For Vim version 8.2. Last change: 2017 Mar 21
|
*os_win32.txt* For Vim version 8.2. Last change: 2021 Apr 05
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by George Reilly
|
VIM REFERENCE MANUAL by George Reilly
|
||||||
@@ -83,7 +83,7 @@ executable() returns 1 the executable can actually be executed.
|
|||||||
|
|
||||||
Command line arguments *win32-cmdargs*
|
Command line arguments *win32-cmdargs*
|
||||||
|
|
||||||
Analysis of a command line into parameters is not standardised in MS Windows.
|
Analysis of a command line into parameters is not standardised in MS-Windows.
|
||||||
Vim and gvim used to use different logic to parse it (before 7.4.432), and the
|
Vim and gvim used to use different logic to parse it (before 7.4.432), and the
|
||||||
logic was also depended on what it was compiled with. Now Vim and gvim both
|
logic was also depended on what it was compiled with. Now Vim and gvim both
|
||||||
use the CommandLineToArgvW() Win32 API, so they behave in the same way.
|
use the CommandLineToArgvW() Win32 API, so they behave in the same way.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*pattern.txt* For Vim version 8.2. Last change: 2020 Sep 01
|
*pattern.txt* For Vim version 8.2. Last change: 2021 May 02
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -19,6 +19,7 @@ explanations are in chapter 27 |usr_27.txt|.
|
|||||||
8. Composing characters |patterns-composing|
|
8. Composing characters |patterns-composing|
|
||||||
9. Compare with Perl patterns |perl-patterns|
|
9. Compare with Perl patterns |perl-patterns|
|
||||||
10. Highlighting matches |match-highlight|
|
10. Highlighting matches |match-highlight|
|
||||||
|
11. Fuzzy matching |fuzzy-match|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
1. Search commands *search-commands*
|
1. Search commands *search-commands*
|
||||||
@@ -229,7 +230,7 @@ This is like executing two search commands after each other, except that:
|
|||||||
*last-pattern*
|
*last-pattern*
|
||||||
The last used pattern and offset are remembered. They can be used to repeat
|
The last used pattern and offset are remembered. They can be used to repeat
|
||||||
the search, possibly in another direction or with another count. Note that
|
the search, possibly in another direction or with another count. Note that
|
||||||
two patterns are remembered: One for 'normal' search commands and one for the
|
two patterns are remembered: One for "normal" search commands and one for the
|
||||||
substitute command ":s". Each time an empty pattern is given, the previously
|
substitute command ":s". Each time an empty pattern is given, the previously
|
||||||
used pattern is used. However, if there is no previous search command, a
|
used pattern is used. However, if there is no previous search command, a
|
||||||
previous substitute pattern is used, if possible.
|
previous substitute pattern is used, if possible.
|
||||||
@@ -361,8 +362,8 @@ For starters, read chapter 27 of the user manual |usr_27.txt|.
|
|||||||
*/atom*
|
*/atom*
|
||||||
5. An atom can be one of a long list of items. Many atoms match one character
|
5. An atom can be one of a long list of items. Many atoms match one character
|
||||||
in the text. It is often an ordinary character or a character class.
|
in the text. It is often an ordinary character or a character class.
|
||||||
Braces can be used to make a pattern into an atom. The "\z(\)" construct
|
Parentheses can be used to make a pattern into an atom. The "\z(\)"
|
||||||
is only for syntax highlighting.
|
construct is only for syntax highlighting.
|
||||||
|
|
||||||
atom ::= ordinary-atom |/ordinary-atom|
|
atom ::= ordinary-atom |/ordinary-atom|
|
||||||
or \( pattern \) |/\(|
|
or \( pattern \) |/\(|
|
||||||
@@ -394,15 +395,19 @@ the pattern will not match. This is only useful when debugging Vim.
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
3. Magic */magic*
|
3. Magic */magic*
|
||||||
|
|
||||||
Some characters in the pattern are taken literally. They match with the same
|
Some characters in the pattern, such as letters, are taken literally. They
|
||||||
character in the text. When preceded with a backslash however, these
|
match exactly the same character in the text. When preceded with a backslash
|
||||||
characters get a special meaning.
|
however, these characters may get a special meaning. For example, "a" matches
|
||||||
|
the letter "a", while "\a" matches any alphabetic character.
|
||||||
|
|
||||||
Other characters have a special meaning without a backslash. They need to be
|
Other characters have a special meaning without a backslash. They need to be
|
||||||
preceded with a backslash to match literally.
|
preceded with a backslash to match literally. For example "." matches any
|
||||||
|
character while "\." matches a dot.
|
||||||
|
|
||||||
If a character is taken literally or not depends on the 'magic' option and the
|
If a character is taken literally or not depends on the 'magic' option and the
|
||||||
items mentioned next.
|
items in the pattern mentioned next. The 'magic' option should always be set,
|
||||||
|
but it can be switched off for Vi compatibility. We mention the effect of
|
||||||
|
'nomagic' here for completeness, but we recommend against using that.
|
||||||
*/\m* */\M*
|
*/\m* */\M*
|
||||||
Use of "\m" makes the pattern after it be interpreted as if 'magic' is set,
|
Use of "\m" makes the pattern after it be interpreted as if 'magic' is set,
|
||||||
ignoring the actual value of the 'magic' option.
|
ignoring the actual value of the 'magic' option.
|
||||||
@@ -411,30 +416,28 @@ Use of "\M" makes the pattern after it be interpreted as if 'nomagic' is used.
|
|||||||
Use of "\v" means that after it, all ASCII characters except '0'-'9', 'a'-'z',
|
Use of "\v" means that after it, all ASCII characters except '0'-'9', 'a'-'z',
|
||||||
'A'-'Z' and '_' have special meaning: "very magic"
|
'A'-'Z' and '_' have special meaning: "very magic"
|
||||||
|
|
||||||
Use of "\V" means that after it, only a backslash and terminating character
|
Use of "\V" means that after it, only a backslash and the terminating
|
||||||
(usually / or ?) have special meaning: "very nomagic"
|
character (usually / or ?) have special meaning: "very nomagic"
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
after: \v \m \M \V matches ~
|
after: \v \m \M \V matches ~
|
||||||
'magic' 'nomagic'
|
'magic' 'nomagic'
|
||||||
$ $ $ \$ matches end-of-line
|
a a a a literal 'a'
|
||||||
. . \. \. matches any character
|
\a \a \a \a any alphabetic character
|
||||||
|
. . \. \. any character
|
||||||
|
\. \. . . literal dot
|
||||||
|
$ $ $ \$ end-of-line
|
||||||
* * \* \* any number of the previous atom
|
* * \* \* any number of the previous atom
|
||||||
~ ~ \~ \~ latest substitute string
|
~ ~ \~ \~ latest substitute string
|
||||||
() \(\) \(\) \(\) grouping into an atom
|
() \(\) \(\) \(\) group as an atom
|
||||||
| \| \| \| separating alternatives
|
| \| \| \| nothing: separates alternatives
|
||||||
\a \a \a \a alphabetic character
|
|
||||||
\\ \\ \\ \\ literal backslash
|
\\ \\ \\ \\ literal backslash
|
||||||
\. \. . . literal dot
|
\{ { { { literal curly brace
|
||||||
\{ { { { literal '{'
|
|
||||||
a a a a literal 'a'
|
|
||||||
|
|
||||||
{only Vim supports \m, \M, \v and \V}
|
{only Vim supports \m, \M, \v and \V}
|
||||||
|
|
||||||
It is recommended to always keep the 'magic' option at the default setting,
|
If you want to you can make a pattern immune to the 'magic' option being set
|
||||||
which is 'magic'. This avoids portability problems. To make a pattern immune
|
or not by putting "\m" or "\M" at the start of the pattern.
|
||||||
to the 'magic' option being set or not, put "\m" or "\M" at the start of the
|
|
||||||
pattern.
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
4. Overview of pattern items *pattern-overview*
|
4. Overview of pattern items *pattern-overview*
|
||||||
@@ -676,7 +679,7 @@ overview.
|
|||||||
|
|
||||||
Note that using "\&" works the same as using "\@=": "foo\&.." is the
|
Note that using "\&" works the same as using "\@=": "foo\&.." is the
|
||||||
same as "\(foo\)\@=..". But using "\&" is easier, you don't need the
|
same as "\(foo\)\@=..". But using "\&" is easier, you don't need the
|
||||||
braces.
|
parentheses.
|
||||||
|
|
||||||
|
|
||||||
*/\@!*
|
*/\@!*
|
||||||
@@ -1069,8 +1072,8 @@ x A single character, with no special meaning, matches itself
|
|||||||
|
|
||||||
[] (with 'nomagic': \[]) */[]* */\[]* */\_[]* */collection*
|
[] (with 'nomagic': \[]) */[]* */\[]* */\_[]* */collection*
|
||||||
\_[]
|
\_[]
|
||||||
A collection. This is a sequence of characters enclosed in brackets.
|
A collection. This is a sequence of characters enclosed in square
|
||||||
It matches any single character in the collection.
|
brackets. It matches any single character in the collection.
|
||||||
Example matches ~
|
Example matches ~
|
||||||
[xyz] any 'x', 'y' or 'z'
|
[xyz] any 'x', 'y' or 'z'
|
||||||
[a-zA-Z]$ any alphabetic character at the end of a line
|
[a-zA-Z]$ any alphabetic character at the end of a line
|
||||||
@@ -1129,11 +1132,12 @@ x A single character, with no special meaning, matches itself
|
|||||||
*[:ident:]* [:ident:] identifier character (same as "\i")
|
*[:ident:]* [:ident:] identifier character (same as "\i")
|
||||||
*[:keyword:]* [:keyword:] keyword character (same as "\k")
|
*[:keyword:]* [:keyword:] keyword character (same as "\k")
|
||||||
*[:fname:]* [:fname:] file name character (same as "\f")
|
*[:fname:]* [:fname:] file name character (same as "\f")
|
||||||
The brackets in character class expressions are additional to the
|
The square brackets in character class expressions are additional to
|
||||||
brackets delimiting a collection. For example, the following is a
|
the square brackets delimiting a collection. For example, the
|
||||||
plausible pattern for a UNIX filename: "[-./[:alnum:]_~]\+" That is,
|
following is a plausible pattern for a UNIX filename:
|
||||||
a list of at least one character, each of which is either '-', '.',
|
"[-./[:alnum:]_~]\+". That is, a list of at least one character,
|
||||||
'/', alphabetic, numeric, '_' or '~'.
|
each of which is either '-', '.', '/', alphabetic, numeric, '_' or
|
||||||
|
'~'.
|
||||||
These items only work for 8-bit characters, except [:lower:] and
|
These items only work for 8-bit characters, except [:lower:] and
|
||||||
[:upper:] also work for multibyte characters when using the new
|
[:upper:] also work for multibyte characters when using the new
|
||||||
regexp engine. See |two-engines|. In the future these items may
|
regexp engine. See |two-engines|. In the future these items may
|
||||||
@@ -1176,7 +1180,7 @@ x A single character, with no special meaning, matches itself
|
|||||||
\b <BS>
|
\b <BS>
|
||||||
\n line break, see above |/[\n]|
|
\n line break, see above |/[\n]|
|
||||||
\d123 decimal number of character
|
\d123 decimal number of character
|
||||||
\o40 octal number of character up to 0377
|
\o40 octal number of character up to 0o377
|
||||||
\x20 hexadecimal number of character up to 0xff
|
\x20 hexadecimal number of character up to 0xff
|
||||||
\u20AC hex. number of multibyte character up to 0xffff
|
\u20AC hex. number of multibyte character up to 0xffff
|
||||||
\U1234 hex. number of multibyte character up to 0xffffffff
|
\U1234 hex. number of multibyte character up to 0xffffffff
|
||||||
@@ -1213,8 +1217,9 @@ x A single character, with no special meaning, matches itself
|
|||||||
|
|
||||||
\%d123 Matches the character specified with a decimal number. Must be
|
\%d123 Matches the character specified with a decimal number. Must be
|
||||||
followed by a non-digit.
|
followed by a non-digit.
|
||||||
\%o40 Matches the character specified with an octal number up to 0377.
|
\%o40 Matches the character specified with an octal number up to 0o377.
|
||||||
Numbers below 040 must be followed by a non-octal digit or a non-digit.
|
Numbers below 0o40 must be followed by a non-octal digit or a
|
||||||
|
non-digit.
|
||||||
\%x2a Matches the character specified with up to two hexadecimal characters.
|
\%x2a Matches the character specified with up to two hexadecimal characters.
|
||||||
\%u20AC Matches the character specified with up to four hexadecimal
|
\%u20AC Matches the character specified with up to four hexadecimal
|
||||||
characters.
|
characters.
|
||||||
@@ -1427,5 +1432,38 @@ Finally, these constructs are unique to Perl:
|
|||||||
are suggested to use ":match" for manual matching and
|
are suggested to use ":match" for manual matching and
|
||||||
":2match" for another plugin.
|
":2match" for another plugin.
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
11. Fuzzy matching *fuzzy-match*
|
||||||
|
|
||||||
|
Fuzzy matching refers to matching strings using a non-exact search string.
|
||||||
|
Fuzzy matching will match a string, if all the characters in the search string
|
||||||
|
are present anywhere in the string in the same order. Case is ignored. In a
|
||||||
|
matched string, other characters can be present between two consecutive
|
||||||
|
characters in the search string. If the search string has multiple words, then
|
||||||
|
each word is matched separately. So the words in the search string can be
|
||||||
|
present in any order in a string.
|
||||||
|
|
||||||
|
Fuzzy matching assigns a score for each matched string based on the following
|
||||||
|
criteria:
|
||||||
|
- The number of sequentially matching characters.
|
||||||
|
- The number of characters (distance) between two consecutive matching
|
||||||
|
characters.
|
||||||
|
- Matches at the beginning of a word
|
||||||
|
- Matches after a camel case character or a path separator or a hyphen.
|
||||||
|
- The number of unmatched characters in a string.
|
||||||
|
The matching string with the highest score is returned first.
|
||||||
|
|
||||||
|
For example, when you search for the "get pat" string using fuzzy matching, it
|
||||||
|
will match the strings "GetPattern", "PatternGet", "getPattern", "patGetter",
|
||||||
|
"getSomePattern", "MatchpatternGet" etc.
|
||||||
|
|
||||||
|
The functions |matchfuzzy()| and |matchfuzzypos()| can be used to fuzzy search
|
||||||
|
a string in a List of strings. The matchfuzzy() function returns a List of
|
||||||
|
matching strings. The matchfuzzypos() functions returns the List of matches,
|
||||||
|
the matching positions and the fuzzy match scores.
|
||||||
|
|
||||||
|
The "f" flag of `:vimgrep` enables fuzzy matching.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:noet:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -3809,7 +3809,7 @@ netrw:
|
|||||||
Decho.vim is provided as a "vimball"; see |vimball-intro|. You
|
Decho.vim is provided as a "vimball"; see |vimball-intro|. You
|
||||||
should edit the Decho.vba.gz file and source it in: >
|
should edit the Decho.vba.gz file and source it in: >
|
||||||
|
|
||||||
vim Decho.vba.gz
|
vim Decho.vba.gz
|
||||||
:so %
|
:so %
|
||||||
:q
|
:q
|
||||||
<
|
<
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*popup.txt* For Vim version 8.2. Last change: 2020 Oct 17
|
*popup.txt* For Vim version 8.2. Last change: 2021 Feb 21
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -101,7 +101,7 @@ CLOSING THE POPUP WINDOW *popup-close*
|
|||||||
|
|
||||||
Normally the plugin that created the popup window is also in charge of closing
|
Normally the plugin that created the popup window is also in charge of closing
|
||||||
it. If somehow a popup hangs around, you can close all of them with: >
|
it. If somehow a popup hangs around, you can close all of them with: >
|
||||||
call popup_clear()
|
call popup_clear(1)
|
||||||
Some popups, such as notifications, close after a specified time. This can be
|
Some popups, such as notifications, close after a specified time. This can be
|
||||||
set with the "time" property on `popup_create()`.
|
set with the "time" property on `popup_create()`.
|
||||||
Otherwise, a popup can be closed by clicking on the X in the top-right corner
|
Otherwise, a popup can be closed by clicking on the X in the top-right corner
|
||||||
@@ -309,8 +309,8 @@ popup_dialog({what}, {options}) *popup_dialog()*
|
|||||||
|
|
||||||
popup_filter_menu({id}, {key}) *popup_filter_menu()*
|
popup_filter_menu({id}, {key}) *popup_filter_menu()*
|
||||||
Filter that can be used for a popup. These keys can be used:
|
Filter that can be used for a popup. These keys can be used:
|
||||||
j <Down> select item below
|
j <Down> <C-N> select item below
|
||||||
k <Up> select item above
|
k <Up> <C-P> select item above
|
||||||
<Space> <Enter> accept current selection
|
<Space> <Enter> accept current selection
|
||||||
x Esc CTRL-C cancel the menu
|
x Esc CTRL-C cancel the menu
|
||||||
Other keys are ignored.
|
Other keys are ignored.
|
||||||
@@ -588,8 +588,6 @@ properties. It is in one of four forms:
|
|||||||
|
|
||||||
If you want to create a new buffer yourself use |bufadd()| and pass the buffer
|
If you want to create a new buffer yourself use |bufadd()| and pass the buffer
|
||||||
number to popup_create().
|
number to popup_create().
|
||||||
It is not possible to use the buffer of a terminal window. *E278* You CAN
|
|
||||||
create a hidden terminal buffer and use that one in a popup window.
|
|
||||||
|
|
||||||
The second argument of |popup_create()| is a dictionary with options:
|
The second argument of |popup_create()| is a dictionary with options:
|
||||||
line Screen line where to position the popup. Can use a
|
line Screen line where to position the popup. Can use a
|
||||||
@@ -622,7 +620,8 @@ The second argument of |popup_create()| is a dictionary with options:
|
|||||||
property moves. Use an empty string to remove. See
|
property moves. Use an empty string to remove. See
|
||||||
|popup-textprop-pos|.
|
|popup-textprop-pos|.
|
||||||
textpropwin What window to search for the text property. When
|
textpropwin What window to search for the text property. When
|
||||||
omitted or invalid the current window is used.
|
omitted or invalid the current window is used. Used
|
||||||
|
when "textprop" is present.
|
||||||
textpropid Used to identify the text property when "textprop" is
|
textpropid Used to identify the text property when "textprop" is
|
||||||
present. Use zero to reset.
|
present. Use zero to reset.
|
||||||
fixed When FALSE (the default), and:
|
fixed When FALSE (the default), and:
|
||||||
@@ -694,8 +693,8 @@ The second argument of |popup_create()| is a dictionary with options:
|
|||||||
the left.
|
the left.
|
||||||
border List with numbers, defining the border thickness
|
border List with numbers, defining the border thickness
|
||||||
above/right/below/left of the popup (similar to CSS).
|
above/right/below/left of the popup (similar to CSS).
|
||||||
Only values of zero and non-zero are recognized.
|
Only values of zero and non-zero are currently
|
||||||
An empty list uses a border all around.
|
recognized. An empty list uses a border all around.
|
||||||
borderhighlight List of highlight group names to use for the border.
|
borderhighlight List of highlight group names to use for the border.
|
||||||
When one entry it is used for all borders, otherwise
|
When one entry it is used for all borders, otherwise
|
||||||
the highlight for the top/right/bottom/left border.
|
the highlight for the top/right/bottom/left border.
|
||||||
@@ -743,10 +742,10 @@ The second argument of |popup_create()| is a dictionary with options:
|
|||||||
line or to another window.
|
line or to another window.
|
||||||
mousemoved Like "moved" but referring to the mouse pointer
|
mousemoved Like "moved" but referring to the mouse pointer
|
||||||
position
|
position
|
||||||
cursorline non-zero: Highlight the cursor line. Also scrolls the
|
cursorline TRUE: Highlight the cursor line. Also scrolls the
|
||||||
text to show this line (only works properly
|
text to show this line (only works properly
|
||||||
when 'wrap' is off).
|
when 'wrap' is off).
|
||||||
zero: Do not highlight the cursor line.
|
zero: Do not highlight the cursor line.
|
||||||
Default is zero, except for |popup_menu()|.
|
Default is zero, except for |popup_menu()|.
|
||||||
filter A callback that can filter typed characters, see
|
filter A callback that can filter typed characters, see
|
||||||
|popup-filter|.
|
|popup-filter|.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*quickfix.txt* For Vim version 8.2. Last change: 2020 May 31
|
*quickfix.txt* For Vim version 8.2. Last change: 2021 May 22
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -1008,13 +1008,11 @@ commands can be combined to create a NewGrep command: >
|
|||||||
5.1 using Vim's internal grep
|
5.1 using Vim's internal grep
|
||||||
|
|
||||||
*:vim* *:vimgrep* *E682* *E683*
|
*:vim* *:vimgrep* *E682* *E683*
|
||||||
:vim[grep][!] /{pattern}/[g][j] {file} ...
|
:vim[grep][!] /{pattern}/[g][j][f] {file} ...
|
||||||
Search for {pattern} in the files {file} ... and set
|
Search for {pattern} in the files {file} ... and set
|
||||||
the error list to the matches. Files matching
|
the error list to the matches. Files matching
|
||||||
'wildignore' are ignored; files in 'suffixes' are
|
'wildignore' are ignored; files in 'suffixes' are
|
||||||
searched last.
|
searched last.
|
||||||
Without the 'g' flag each line is added only once.
|
|
||||||
With 'g' every match is added.
|
|
||||||
|
|
||||||
{pattern} is a Vim search pattern. Instead of
|
{pattern} is a Vim search pattern. Instead of
|
||||||
enclosing it in / any non-ID character (see
|
enclosing it in / any non-ID character (see
|
||||||
@@ -1025,6 +1023,28 @@ commands can be combined to create a NewGrep command: >
|
|||||||
'smartcase' is not used.
|
'smartcase' is not used.
|
||||||
If {pattern} is empty (e.g. // is specified), the last
|
If {pattern} is empty (e.g. // is specified), the last
|
||||||
used search pattern is used. |last-pattern|
|
used search pattern is used. |last-pattern|
|
||||||
|
|
||||||
|
Flags:
|
||||||
|
'g' Without the 'g' flag each line is added only
|
||||||
|
once. With 'g' every match is added.
|
||||||
|
|
||||||
|
'j' Without the 'j' flag Vim jumps to the first
|
||||||
|
match. With 'j' only the quickfix list is
|
||||||
|
updated. With the [!] any changes in the current
|
||||||
|
buffer are abandoned.
|
||||||
|
|
||||||
|
'f' When the 'f' flag is specified, fuzzy string
|
||||||
|
matching is used to find matching lines. In this
|
||||||
|
case, {pattern} is treated as a literal string
|
||||||
|
instead of a regular expression. See
|
||||||
|
|fuzzy-match| for more information about fuzzy
|
||||||
|
matching strings.
|
||||||
|
|
||||||
|
|QuickFixCmdPre| and |QuickFixCmdPost| are triggered.
|
||||||
|
A file that is opened for matching may use a buffer
|
||||||
|
number, but it is reused if possible to avoid
|
||||||
|
consuming buffer numbers.
|
||||||
|
|
||||||
:{count}vim[grep] ...
|
:{count}vim[grep] ...
|
||||||
When a number is put before the command this is used
|
When a number is put before the command this is used
|
||||||
as the maximum number of matches to find. Use
|
as the maximum number of matches to find. Use
|
||||||
@@ -1032,11 +1052,6 @@ commands can be combined to create a NewGrep command: >
|
|||||||
Useful if you only want to check if there is a match
|
Useful if you only want to check if there is a match
|
||||||
and quit quickly when it's found.
|
and quit quickly when it's found.
|
||||||
|
|
||||||
Without the 'j' flag Vim jumps to the first match.
|
|
||||||
With 'j' only the quickfix list is updated.
|
|
||||||
With the [!] any changes in the current buffer are
|
|
||||||
abandoned.
|
|
||||||
|
|
||||||
Every second or so the searched file name is displayed
|
Every second or so the searched file name is displayed
|
||||||
to give you an idea of the progress made.
|
to give you an idea of the progress made.
|
||||||
Examples: >
|
Examples: >
|
||||||
@@ -1053,20 +1068,20 @@ commands can be combined to create a NewGrep command: >
|
|||||||
:vimgrep Error *.c
|
:vimgrep Error *.c
|
||||||
<
|
<
|
||||||
*:lv* *:lvimgrep*
|
*:lv* *:lvimgrep*
|
||||||
:lv[imgrep][!] /{pattern}/[g][j] {file} ...
|
:lv[imgrep][!] /{pattern}/[g][j][f] {file} ...
|
||||||
:lv[imgrep][!] {pattern} {file} ...
|
:lv[imgrep][!] {pattern} {file} ...
|
||||||
Same as ":vimgrep", except the location list for the
|
Same as ":vimgrep", except the location list for the
|
||||||
current window is used instead of the quickfix list.
|
current window is used instead of the quickfix list.
|
||||||
|
|
||||||
*:vimgrepa* *:vimgrepadd*
|
*:vimgrepa* *:vimgrepadd*
|
||||||
:vimgrepa[dd][!] /{pattern}/[g][j] {file} ...
|
:vimgrepa[dd][!] /{pattern}/[g][j][f] {file} ...
|
||||||
:vimgrepa[dd][!] {pattern} {file} ...
|
:vimgrepa[dd][!] {pattern} {file} ...
|
||||||
Just like ":vimgrep", but instead of making a new list
|
Just like ":vimgrep", but instead of making a new list
|
||||||
of errors the matches are appended to the current
|
of errors the matches are appended to the current
|
||||||
list.
|
list.
|
||||||
|
|
||||||
*:lvimgrepa* *:lvimgrepadd*
|
*:lvimgrepa* *:lvimgrepadd*
|
||||||
:lvimgrepa[dd][!] /{pattern}/[g][j] {file} ...
|
:lvimgrepa[dd][!] /{pattern}/[g][j][f] {file} ...
|
||||||
:lvimgrepa[dd][!] {pattern} {file} ...
|
:lvimgrepa[dd][!] {pattern} {file} ...
|
||||||
Same as ":vimgrepadd", except the location list for
|
Same as ":vimgrepadd", except the location list for
|
||||||
the current window is used instead of the quickfix
|
the current window is used instead of the quickfix
|
||||||
@@ -1371,7 +1386,8 @@ Basic items
|
|||||||
%o module name (finds a string)
|
%o module name (finds a string)
|
||||||
%l line number (finds a number)
|
%l line number (finds a number)
|
||||||
%c column number (finds a number representing character
|
%c column number (finds a number representing character
|
||||||
column of the error, (1 <tab> == 1 character column))
|
column of the error, byte index, a <tab> is 1
|
||||||
|
character column)
|
||||||
%v virtual column number (finds a number representing
|
%v virtual column number (finds a number representing
|
||||||
screen column of the error (1 <tab> == 8 screen
|
screen column of the error (1 <tab> == 8 screen
|
||||||
columns))
|
columns))
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*quickref.txt* For Vim version 8.2. Last change: 2020 Aug 15
|
*quickref.txt* For Vim version 8.2. Last change: 2021 Mar 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -605,6 +605,7 @@ Short explanation of each option: *option-list*
|
|||||||
'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
|
||||||
|
'autoshelldir' 'asd' change directory to the shell's current directory
|
||||||
'arabic' 'arab' for Arabic as a default second language
|
'arabic' 'arab' for Arabic as a default second language
|
||||||
'arabicshape' 'arshape' do shaping for Arabic characters
|
'arabicshape' 'arshape' do shaping for Arabic characters
|
||||||
'autoindent' 'ai' take indent for new line from previous line
|
'autoindent' 'ai' take indent for new line from previous line
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*repeat.txt* For Vim version 8.2. Last change: 2020 Oct 09
|
*repeat.txt* For Vim version 8.2. Last change: 2021 Jun 11
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -59,6 +59,11 @@ of area is used, see |visual-repeat|.
|
|||||||
:[range]v[global]/{pattern}/[cmd]
|
:[range]v[global]/{pattern}/[cmd]
|
||||||
Same as :g!.
|
Same as :g!.
|
||||||
|
|
||||||
|
Example: >
|
||||||
|
:g/^Obsolete/d _
|
||||||
|
Using the underscore after `:d` avoids clobbering registers or the clipboard.
|
||||||
|
This also makes it faster.
|
||||||
|
|
||||||
Instead of the '/' which surrounds the {pattern}, you can use any other
|
Instead of the '/' which surrounds the {pattern}, you can use any other
|
||||||
single byte character, but not an alphabetic character, '\', '"' or '|'.
|
single byte character, but not an alphabetic character, '\', '"' or '|'.
|
||||||
This is useful if you want to include a '/' in the search pattern or
|
This is useful if you want to include a '/' in the search pattern or
|
||||||
@@ -150,15 +155,12 @@ q Stops recording. (Implementation note: The 'q' that
|
|||||||
*@@* *E748*
|
*@@* *E748*
|
||||||
@@ Repeat the previous @{0-9a-z":*} [count] times.
|
@@ Repeat the previous @{0-9a-z":*} [count] times.
|
||||||
|
|
||||||
:[addr]*{0-9a-z".=+} *:@* *:star*
|
*:@*
|
||||||
:[addr]@{0-9a-z".=*+} Execute the contents of register {0-9a-z".=*+} as an Ex
|
:[addr]@{0-9a-z".=*+} Execute the contents of register {0-9a-z".=*+} as an Ex
|
||||||
command. First set cursor at line [addr] (default is
|
command. First set cursor at line [addr] (default is
|
||||||
current line). When the last line in the register does
|
current line). When the last line in the register does
|
||||||
not have a <CR> it will be added automatically when
|
not have a <CR> it will be added automatically when
|
||||||
the 'e' flag is present in 'cpoptions'.
|
the 'e' flag is present in 'cpoptions'.
|
||||||
Note that the ":*" command is only recognized when the
|
|
||||||
'*' flag is present in 'cpoptions'. This is NOT the
|
|
||||||
default when 'nocompatible' is used.
|
|
||||||
For ":@=" the last used expression is used. The
|
For ":@=" the last used expression is used. The
|
||||||
result of evaluating the expression is executed as an
|
result of evaluating the expression is executed as an
|
||||||
Ex command.
|
Ex command.
|
||||||
@@ -171,6 +173,13 @@ q Stops recording. (Implementation note: The 'q' that
|
|||||||
Future: Will execute the register for each line in the
|
Future: Will execute the register for each line in the
|
||||||
address range.
|
address range.
|
||||||
|
|
||||||
|
:[addr]*{0-9a-z".=+} *:star-compatible*
|
||||||
|
When '*' is present in 'cpoptions' |cpo-star|, use
|
||||||
|
":*" in the same way as ":@". This is NOT the default
|
||||||
|
when 'nocompatible' is used. When the '*' flag is not
|
||||||
|
present in 'cpoptions', ":*" is an alias for ":'<,'>",
|
||||||
|
select the Visual area |:star|.
|
||||||
|
|
||||||
*:@:*
|
*:@:*
|
||||||
:[addr]@: Repeat last command-line. First set cursor at line
|
:[addr]@: Repeat last command-line. First set cursor at line
|
||||||
[addr] (default is current line).
|
[addr] (default is current line).
|
||||||
@@ -270,7 +279,9 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
|
|||||||
ftdetect scripts are loaded, only the matching
|
ftdetect scripts are loaded, only the matching
|
||||||
directories are added to 'runtimepath'. This is
|
directories are added to 'runtimepath'. This is
|
||||||
useful in your .vimrc. The plugins will then be
|
useful in your .vimrc. The plugins will then be
|
||||||
loaded during initialization, see |load-plugins|.
|
loaded during initialization, see |load-plugins| (note
|
||||||
|
that the loading order will be reversed, because each
|
||||||
|
directory is inserted before others).
|
||||||
Note that for ftdetect scripts to be loaded
|
Note that for ftdetect scripts to be loaded
|
||||||
you will need to write `filetype plugin indent on`
|
you will need to write `filetype plugin indent on`
|
||||||
AFTER all `packadd!` commands.
|
AFTER all `packadd!` commands.
|
||||||
@@ -354,6 +365,16 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
|
|||||||
Vim version, or update Vim to a newer version. See
|
Vim version, or update Vim to a newer version. See
|
||||||
|vimscript-version| for what changed between versions.
|
|vimscript-version| for what changed between versions.
|
||||||
|
|
||||||
|
:vim9s[cript] [noclear] *:vim9s* *:vim9script*
|
||||||
|
Marks a script file as containing |Vim9-script|
|
||||||
|
commands. Also see |vim9-namespace|.
|
||||||
|
Must be the first command in the file.
|
||||||
|
For [noclear] see |vim9-reload|.
|
||||||
|
Without the |+eval| feature this changes the syntax
|
||||||
|
for some commands.
|
||||||
|
See |:vim9cmd| for executing one command with Vim9
|
||||||
|
syntax and semantics.
|
||||||
|
|
||||||
*:scr* *:scriptnames*
|
*:scr* *:scriptnames*
|
||||||
:scr[iptnames] List all sourced script names, in the order they were
|
:scr[iptnames] List all sourced script names, in the order they were
|
||||||
first sourced. The number is used for the script ID
|
first sourced. The number is used for the script ID
|
||||||
@@ -667,9 +688,9 @@ Your directory layout would be like this:
|
|||||||
opt/fooextra/doc/tags " help tags
|
opt/fooextra/doc/tags " help tags
|
||||||
|
|
||||||
This allows for the user to do: >
|
This allows for the user to do: >
|
||||||
mkdir ~/.vim/pack/myfoobar
|
mkdir ~/.vim/pack
|
||||||
cd ~/.vim/pack/myfoobar
|
cd ~/.vim/pack
|
||||||
git clone https://github.com/you/foobar.git
|
git clone https://github.com/you/foobar.git myfoobar
|
||||||
|
|
||||||
Here "myfoobar" is a name that the user can choose, the only condition is that
|
Here "myfoobar" is a name that the user can choose, the only condition is that
|
||||||
it differs from other packages.
|
it differs from other packages.
|
||||||
@@ -869,7 +890,7 @@ DEFINING BREAKPOINTS
|
|||||||
valid in the script where it has been defined and if that
|
valid in the script where it has been defined and if that
|
||||||
script is called from several other scripts, this will stop
|
script is called from several other scripts, this will stop
|
||||||
whenever that particular variable will become visible or
|
whenever that particular variable will become visible or
|
||||||
unaccessible again.
|
inaccessible again.
|
||||||
|
|
||||||
The [lnum] is the line number of the breakpoint. Vim will stop at or after
|
The [lnum] is the line number of the breakpoint. Vim will stop at or after
|
||||||
this line. When omitted line 1 is used.
|
this line. When omitted line 1 is used.
|
||||||
@@ -891,8 +912,9 @@ matches ".../plugin/explorer.vim", ".../plugin/iexplorer.vim", etc. >
|
|||||||
matches ".../plugin/explorer.vim" and "explorer.vim" in any other directory.
|
matches ".../plugin/explorer.vim" and "explorer.vim" in any other directory.
|
||||||
|
|
||||||
The match for functions is done against the name as it's shown in the output
|
The match for functions is done against the name as it's shown in the output
|
||||||
of ":function". For local functions this means that something like "<SNR>99_"
|
of ":function". However, for local functions the script-specific prefix such
|
||||||
is prepended.
|
as "<SNR>99_" is ignored to make it easier to match script-local functions
|
||||||
|
without knowing the ID of the script.
|
||||||
|
|
||||||
Note that functions are first loaded and later executed. When they are loaded
|
Note that functions are first loaded and later executed. When they are loaded
|
||||||
the "file" breakpoints are checked, when they are executed the "func"
|
the "file" breakpoints are checked, when they are executed the "func"
|
||||||
@@ -947,10 +969,10 @@ OBSCURE
|
|||||||
|
|
||||||
Profiling means that Vim measures the time that is spent on executing
|
Profiling means that Vim measures the time that is spent on executing
|
||||||
functions and/or scripts. The |+profile| feature is required for this.
|
functions and/or scripts. The |+profile| feature is required for this.
|
||||||
It is only included when Vim was compiled with "huge" features.
|
It is included when Vim was compiled with "huge" features.
|
||||||
|
|
||||||
You can also use the |reltime()| function to measure time. This only requires
|
You can also use the |reltime()| function to measure time. This only requires
|
||||||
the |+reltime| feature, which is present more often.
|
the |+reltime| feature, which is present in more builds.
|
||||||
|
|
||||||
For profiling syntax highlighting see |:syntime|.
|
For profiling syntax highlighting see |:syntime|.
|
||||||
|
|
||||||
@@ -997,7 +1019,12 @@ For example, to profile the one_script.vim script file: >
|
|||||||
|
|
||||||
|
|
||||||
You must always start with a ":profile start fname" command. The resulting
|
You must always start with a ":profile start fname" command. The resulting
|
||||||
file is written when Vim exits. Here is an example of the output, with line
|
file is written when Vim exits. For example, to profile one specific
|
||||||
|
function: >
|
||||||
|
profile start /tmp/vimprofile
|
||||||
|
profile func MyFunc
|
||||||
|
|
||||||
|
Here is an example of the output, with line
|
||||||
numbers prepended for the explanation:
|
numbers prepended for the explanation:
|
||||||
|
|
||||||
1 FUNCTION Test2() ~
|
1 FUNCTION Test2() ~
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*sign.txt* For Vim version 8.2. Last change: 2020 Oct 28
|
*sign.txt* For Vim version 8.2. Last change: 2021 Mar 07
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Gordon Prieur
|
VIM REFERENCE MANUAL by Gordon Prieur
|
||||||
@@ -146,6 +146,9 @@ See |sign_define()| for the equivalent Vim script function.
|
|||||||
texthl={group}
|
texthl={group}
|
||||||
Highlighting group used for the text item.
|
Highlighting group used for the text item.
|
||||||
|
|
||||||
|
Example: >
|
||||||
|
:sign define MySign text=>> texthl=Search linehl=DiffText
|
||||||
|
<
|
||||||
|
|
||||||
DELETING A SIGN *:sign-undefine* *E155*
|
DELETING A SIGN *:sign-undefine* *E155*
|
||||||
|
|
||||||
@@ -155,7 +158,9 @@ See |sign_undefine()| for the equivalent Vim script function.
|
|||||||
Deletes a previously defined sign. If signs with this {name}
|
Deletes a previously defined sign. If signs with this {name}
|
||||||
are still placed this will cause trouble.
|
are still placed this will cause trouble.
|
||||||
|
|
||||||
|
Example: >
|
||||||
|
:sign undefine MySign
|
||||||
|
<
|
||||||
|
|
||||||
LISTING SIGNS *:sign-list* *E156*
|
LISTING SIGNS *:sign-list* *E156*
|
||||||
|
|
||||||
@@ -209,6 +214,10 @@ See |sign_place()| for the equivalent Vim script function.
|
|||||||
Same, but use buffer {nr}. If the buffer argument is not
|
Same, but use buffer {nr}. If the buffer argument is not
|
||||||
given, place the sign in the current buffer.
|
given, place the sign in the current buffer.
|
||||||
|
|
||||||
|
Example: >
|
||||||
|
:sign place 10 line=99 name=sign3
|
||||||
|
:sign place 10 line=99 name=sign3 buffer=3
|
||||||
|
<
|
||||||
*E885*
|
*E885*
|
||||||
:sign place {id} name={name} file={fname}
|
:sign place {id} name={name} file={fname}
|
||||||
Change the placed sign {id} in file {fname} to use the defined
|
Change the placed sign {id} in file {fname} to use the defined
|
||||||
@@ -221,10 +230,17 @@ See |sign_place()| for the equivalent Vim script function.
|
|||||||
"priority={prio}" attribute can be used to change the priority
|
"priority={prio}" attribute can be used to change the priority
|
||||||
of an existing sign.
|
of an existing sign.
|
||||||
|
|
||||||
|
Example: >
|
||||||
|
:sign place 23 name=sign1 file=/path/to/edit.py
|
||||||
|
<
|
||||||
:sign place {id} name={name} [buffer={nr}]
|
:sign place {id} name={name} [buffer={nr}]
|
||||||
Same, but use buffer {nr}. If the buffer argument is not
|
Same, but use buffer {nr}. If the buffer argument is not
|
||||||
given, use the current buffer.
|
given, use the current buffer.
|
||||||
|
|
||||||
|
Example: >
|
||||||
|
:sign place 23 name=sign1
|
||||||
|
:sign place 23 name=sign1 buffer=7
|
||||||
|
<
|
||||||
|
|
||||||
REMOVING SIGNS *:sign-unplace* *E159*
|
REMOVING SIGNS *:sign-unplace* *E159*
|
||||||
|
|
||||||
|
|||||||
@@ -1143,10 +1143,10 @@ flag to avoid lots of errors.
|
|||||||
CIRCUMFIX *spell-CIRCUMFIX*
|
CIRCUMFIX *spell-CIRCUMFIX*
|
||||||
|
|
||||||
The CIRCUMFIX flag means a prefix and suffix must be added at the same time.
|
The CIRCUMFIX flag means a prefix and suffix must be added at the same time.
|
||||||
If a prefix has the CIRCUMFIX flag than only suffixes with the CIRCUMFIX flag
|
If a prefix has the CIRCUMFIX flag then only suffixes with the CIRCUMFIX flag
|
||||||
can be added, and the other way around.
|
can be added, and the other way around.
|
||||||
An alternative is to only specify the suffix, and give the that suffix two
|
An alternative is to only specify the suffix, and give that suffix two flags:
|
||||||
flags: The required prefix and the NEEDAFFIX flag. |spell-NEEDAFFIX|
|
the required prefix and the NEEDAFFIX flag. |spell-NEEDAFFIX|
|
||||||
|
|
||||||
|
|
||||||
PFXPOSTPONE *spell-PFXPOSTPONE*
|
PFXPOSTPONE *spell-PFXPOSTPONE*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*starting.txt* For Vim version 8.2. Last change: 2020 Sep 23
|
*starting.txt* For Vim version 8.2. Last change: 2021 May 08
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -996,7 +996,7 @@ version 5.0) are not recognized.
|
|||||||
|
|
||||||
MS-Windows line separators ~
|
MS-Windows line separators ~
|
||||||
|
|
||||||
On MS-Windows, Vim assumes that all the vimrc files have <CR> <NL> pairs as
|
On MS-Windows, Vim assumes that all the vimrc files have <CR><NL> pairs as
|
||||||
line separators. This will give problems if you have a file with only <NL>s
|
line separators. This will give problems if you have a file with only <NL>s
|
||||||
and have a line like ":map xx yy^M". The trailing ^M will be ignored.
|
and have a line like ":map xx yy^M". The trailing ^M will be ignored.
|
||||||
|
|
||||||
@@ -1036,7 +1036,7 @@ giving the mapping.
|
|||||||
|
|
||||||
|
|
||||||
Defaults without a .vimrc file ~
|
Defaults without a .vimrc file ~
|
||||||
*defaults.vim*
|
*defaults.vim* *E1187*
|
||||||
If Vim is started normally and no user vimrc file is found, the
|
If Vim is started normally and no user vimrc file is found, the
|
||||||
$VIMRUNTIME/defaults.vim script is loaded. This will set 'compatible' off,
|
$VIMRUNTIME/defaults.vim script is loaded. This will set 'compatible' off,
|
||||||
switch on syntax highlighting and a few more things. See the script for
|
switch on syntax highlighting and a few more things. See the script for
|
||||||
@@ -1344,7 +1344,11 @@ resulting file, when executed with a ":source" command:
|
|||||||
"options". Script-local mappings will not be written.
|
"options". Script-local mappings will not be written.
|
||||||
2. Restores global variables that start with an uppercase letter and contain
|
2. Restores global variables that start with an uppercase letter and contain
|
||||||
at least one lowercase letter, if 'sessionoptions' contains "globals".
|
at least one lowercase letter, if 'sessionoptions' contains "globals".
|
||||||
3. Unloads all currently loaded buffers.
|
3. Closes all windows in the current tab page, except the current one; closes
|
||||||
|
all tab pages except the current one (this results in currently loaded
|
||||||
|
buffers to be unloaded, some may become hidden if 'hidden' is set or
|
||||||
|
otherwise specified); wipes out the current buffer, if it is empty
|
||||||
|
and unnamed.
|
||||||
4. Restores the current directory if 'sessionoptions' contains "curdir", or
|
4. Restores the current directory if 'sessionoptions' contains "curdir", or
|
||||||
sets the current directory to where the Session file is if 'sessionoptions'
|
sets the current directory to where the Session file is if 'sessionoptions'
|
||||||
contains "sesdir".
|
contains "sesdir".
|
||||||
@@ -1588,7 +1592,7 @@ VIMINFO FILE NAME *viminfo-file-name*
|
|||||||
file name given is "NONE" (all uppercase), no viminfo file is ever read or
|
file name given is "NONE" (all uppercase), no viminfo file is ever read or
|
||||||
written. Also not for the commands below!
|
written. Also not for the commands below!
|
||||||
- The 'viminfofile' option can be used like the "-i" argument. In fact, the
|
- The 'viminfofile' option can be used like the "-i" argument. In fact, the
|
||||||
value form the "-i" argument is stored in the 'viminfofile' option.
|
value from the "-i" argument is stored in the 'viminfofile' option.
|
||||||
- For the commands below, another file name can be given, overriding the
|
- For the commands below, another file name can be given, overriding the
|
||||||
default and the name given with 'viminfo' or "-i" (unless it's NONE).
|
default and the name given with 'viminfo' or "-i" (unless it's NONE).
|
||||||
|
|
||||||
@@ -1640,13 +1644,17 @@ either have to fix the error, or delete the file (while Vim is running, so
|
|||||||
most of the information will be restored).
|
most of the information will be restored).
|
||||||
|
|
||||||
*:rv* *:rviminfo* *E195*
|
*:rv* *:rviminfo* *E195*
|
||||||
:rv[iminfo][!] [file] Read from viminfo file [file] (default: see above).
|
:rv[iminfo][!] [file] Read from viminfo file [file] (default: see
|
||||||
|
|viminfo-file-name| above).
|
||||||
If [!] is given, then any information that is
|
If [!] is given, then any information that is
|
||||||
already set (registers, marks, |v:oldfiles|, etc.)
|
already set (registers, marks, |v:oldfiles|, etc.)
|
||||||
will be overwritten
|
will be overwritten
|
||||||
|
|
||||||
*:wv* *:wviminfo* *E137* *E138* *E574* *E886* *E929*
|
*:wv* *:wviminfo* *E137* *E138* *E574* *E886* *E929*
|
||||||
:wv[iminfo][!] [file] Write to viminfo file [file] (default: see above).
|
:wv[iminfo][!] [file] Write to viminfo file [file] (default: see
|
||||||
|
|viminfo-file-name| above).
|
||||||
|
This command has no effect when 'viminfofile' has been
|
||||||
|
set to "NONE".
|
||||||
The information in the file is first read in to make
|
The information in the file is first read in to make
|
||||||
a merge between old and new info. When [!] is used,
|
a merge between old and new info. When [!] is used,
|
||||||
the old information is not read first, only the
|
the old information is not read first, only the
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*syntax.txt* For Vim version 8.2. Last change: 2020 Aug 15
|
*syntax.txt* For Vim version 8.2. Last change: 2021 May 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -66,8 +66,8 @@ This command also sources the |menu.vim| script when the GUI is running or
|
|||||||
will start soon. See |'go-M'| about avoiding that.
|
will start soon. See |'go-M'| about avoiding that.
|
||||||
|
|
||||||
*:syn-on* *:syntax-on*
|
*:syn-on* *:syntax-on*
|
||||||
The `:syntax enable` command will keep your current color settings. This
|
The `:syntax enable` command will keep most of your current color settings.
|
||||||
allows using `:highlight` commands to set your preferred colors before or
|
This allows using `:highlight` commands to set your preferred colors before or
|
||||||
after using this command. If you want Vim to overrule your settings with the
|
after using this command. If you want Vim to overrule your settings with the
|
||||||
defaults, use: >
|
defaults, use: >
|
||||||
:syntax on
|
:syntax on
|
||||||
@@ -1741,8 +1741,8 @@ The coloring scheme for tags in the HTML file works as follows.
|
|||||||
|
|
||||||
The <> of opening tags are colored differently than the </> of a closing tag.
|
The <> of opening tags are colored differently than the </> of a closing tag.
|
||||||
This is on purpose! For opening tags the 'Function' color is used, while for
|
This is on purpose! For opening tags the 'Function' color is used, while for
|
||||||
closing tags the 'Type' color is used (See syntax.vim to check how those are
|
closing tags the 'Identifier' color is used (See syntax.vim to check how those
|
||||||
defined for you)
|
are defined for you)
|
||||||
|
|
||||||
Known tag names are colored the same way as statements in C. Unknown tag
|
Known tag names are colored the same way as statements in C. Unknown tag
|
||||||
names are colored with the same color as the <> or </> respectively which
|
names are colored with the same color as the <> or </> respectively which
|
||||||
@@ -2236,9 +2236,10 @@ can use them.
|
|||||||
|
|
||||||
For example, Linux and BSD distributions use groff as their default text
|
For example, Linux and BSD distributions use groff as their default text
|
||||||
processing package. In order to activate the extra syntax highlighting
|
processing package. In order to activate the extra syntax highlighting
|
||||||
features for groff, add the following option to your start-up files: >
|
features for groff, arrange for files to be recognized as groff (see
|
||||||
|
|ft-groff-syntax|) or add the following option to your start-up files: >
|
||||||
|
|
||||||
:let b:nroff_is_groff = 1
|
:let nroff_is_groff = 1
|
||||||
|
|
||||||
Groff is different from the old AT&T n/troff that you may still find in
|
Groff is different from the old AT&T n/troff that you may still find in
|
||||||
Solaris. Groff macro and request names can be longer than 2 characters and
|
Solaris. Groff macro and request names can be longer than 2 characters and
|
||||||
@@ -2335,11 +2336,12 @@ http://papp.plan9.de.
|
|||||||
|
|
||||||
PASCAL *pascal.vim* *ft-pascal-syntax*
|
PASCAL *pascal.vim* *ft-pascal-syntax*
|
||||||
|
|
||||||
Files matching "*.p" could be Progress or Pascal. If the automatic detection
|
Files matching "*.p" could be Progress or Pascal and those matching "*.pp"
|
||||||
doesn't work for you, or you don't edit Progress at all, use this in your
|
could be Puppet or Pascal. If the automatic detection doesn't work for you,
|
||||||
startup vimrc: >
|
or you only edit Pascal files, use this in your startup vimrc: >
|
||||||
|
|
||||||
:let filetype_p = "pascal"
|
:let filetype_p = "pascal"
|
||||||
|
:let filetype_pp = "pascal"
|
||||||
|
|
||||||
The Pascal syntax file has been extended to take into account some extensions
|
The Pascal syntax file has been extended to take into account some extensions
|
||||||
provided by Turbo Pascal, Free Pascal Compiler and GNU Pascal Compiler.
|
provided by Turbo Pascal, Free Pascal Compiler and GNU Pascal Compiler.
|
||||||
@@ -3006,7 +3008,7 @@ vimrc file: >
|
|||||||
(Adapted from the html.vim help text by Claudio Fleiner <claudio@fleiner.com>)
|
(Adapted from the html.vim help text by Claudio Fleiner <claudio@fleiner.com>)
|
||||||
|
|
||||||
|
|
||||||
*ft-posix-synax* *ft-dash-syntax*
|
*ft-posix-syntax* *ft-dash-syntax*
|
||||||
SH *sh.vim* *ft-sh-syntax* *ft-bash-syntax* *ft-ksh-syntax*
|
SH *sh.vim* *ft-sh-syntax* *ft-bash-syntax* *ft-ksh-syntax*
|
||||||
|
|
||||||
This covers syntax highlighting for the older Unix (Bourne) sh, and newer
|
This covers syntax highlighting for the older Unix (Bourne) sh, and newer
|
||||||
@@ -3183,6 +3185,7 @@ redrawing can become slow.
|
|||||||
|
|
||||||
|
|
||||||
TEX *tex.vim* *ft-tex-syntax* *latex-syntax*
|
TEX *tex.vim* *ft-tex-syntax* *latex-syntax*
|
||||||
|
*syntax-tex* *syntax-latex*
|
||||||
|
|
||||||
Tex Contents~
|
Tex Contents~
|
||||||
Tex: Want Syntax Folding? |tex-folding|
|
Tex: Want Syntax Folding? |tex-folding|
|
||||||
@@ -3199,6 +3202,7 @@ TEX *tex.vim* *ft-tex-syntax* *latex-syntax*
|
|||||||
Tex: Selective Conceal Mode |g:tex_conceal|
|
Tex: Selective Conceal Mode |g:tex_conceal|
|
||||||
Tex: Controlling iskeyword |g:tex_isk|
|
Tex: Controlling iskeyword |g:tex_isk|
|
||||||
Tex: Fine Subscript and Superscript Control |tex-supersub|
|
Tex: Fine Subscript and Superscript Control |tex-supersub|
|
||||||
|
Tex: Match Check Control |tex-matchcheck|
|
||||||
|
|
||||||
*tex-folding* *g:tex_fold_enabled*
|
*tex-folding* *g:tex_fold_enabled*
|
||||||
Tex: Want Syntax Folding? ~
|
Tex: Want Syntax Folding? ~
|
||||||
@@ -3422,6 +3426,22 @@ syntax highlighting script handles this with the following logic:
|
|||||||
< in ~/.vim/ftplugin/tex/tex.vim in order to avoid having inscrutable
|
< in ~/.vim/ftplugin/tex/tex.vim in order to avoid having inscrutable
|
||||||
utf-8 glyphs appear.
|
utf-8 glyphs appear.
|
||||||
|
|
||||||
|
*tex-matchcheck* *g:tex_matchcheck*
|
||||||
|
Tex: Match Check Control~
|
||||||
|
|
||||||
|
Sometimes one actually wants mismatched parentheses, square braces,
|
||||||
|
and or curly braces; for example, \text{(1,10]} is a range from but
|
||||||
|
not including 1 to and including 10. This wish, of course, conflicts
|
||||||
|
with the desire to provide delimiter mismatch detection. To
|
||||||
|
accommodate these conflicting goals, syntax/tex.vim provides >
|
||||||
|
g:tex_matchcheck = '[({[]'
|
||||||
|
< which is shown along with its default setting. So, if one doesn't
|
||||||
|
want [] and () to be checked for mismatches, try using >
|
||||||
|
let g:tex_matchcheck= '[{}]'
|
||||||
|
< If you don't want matching to occur inside bold and italicized
|
||||||
|
regions, >
|
||||||
|
let g:tex_excludematcher= 1
|
||||||
|
< will prevent the texMatcher group from being included in those regions.
|
||||||
|
|
||||||
TF *tf.vim* *ft-tf-syntax*
|
TF *tf.vim* *ft-tf-syntax*
|
||||||
|
|
||||||
@@ -4064,7 +4084,7 @@ match in the same position overrules an earlier one). The "transparent"
|
|||||||
argument makes the "myVim" match use the same highlighting as "myString". But
|
argument makes the "myVim" match use the same highlighting as "myString". But
|
||||||
it does not contain anything. If the "contains=NONE" argument would be left
|
it does not contain anything. If the "contains=NONE" argument would be left
|
||||||
out, then "myVim" would use the contains argument from myString and allow
|
out, then "myVim" would use the contains argument from myString and allow
|
||||||
"myWord" to be contained, which will be highlighted as a Constant. This
|
"myWord" to be contained, which will be highlighted as a Comment. This
|
||||||
happens because a contained match doesn't match inside itself in the same
|
happens because a contained match doesn't match inside itself in the same
|
||||||
position, thus the "myVim" match doesn't overrule the "myWord" match here.
|
position, thus the "myVim" match doesn't overrule the "myWord" match here.
|
||||||
|
|
||||||
@@ -4657,7 +4677,7 @@ matches, nextgroup, etc. But there are a few differences:
|
|||||||
- A line continuation pattern can be given. It is used to decide which group
|
- A line continuation pattern can be given. It is used to decide which group
|
||||||
of lines need to be searched like they were one line. This means that the
|
of lines need to be searched like they were one line. This means that the
|
||||||
search for a match with the specified items starts in the first of the
|
search for a match with the specified items starts in the first of the
|
||||||
consecutive that contain the continuation pattern.
|
consecutive lines that contain the continuation pattern.
|
||||||
- When using "nextgroup" or "contains", this only works within one line (or
|
- When using "nextgroup" or "contains", this only works within one line (or
|
||||||
group of continued lines).
|
group of continued lines).
|
||||||
- When using a region, it must start and end in the same line (or group of
|
- When using a region, it must start and end in the same line (or group of
|
||||||
@@ -4947,6 +4967,14 @@ ctermul={color-nr} *highlight-ctermul*
|
|||||||
colors for a color-xterm can be changed from the .Xdefaults file.
|
colors for a color-xterm can be changed from the .Xdefaults file.
|
||||||
Unfortunately this means that it's not possible to get the same colors
|
Unfortunately this means that it's not possible to get the same colors
|
||||||
for each user. See |xterm-color| for info about color xterms.
|
for each user. See |xterm-color| for info about color xterms.
|
||||||
|
*tmux*
|
||||||
|
When using tmux you may want to use this in the tmux config: >
|
||||||
|
# tmux colors
|
||||||
|
set -s default-terminal "tmux-256color"
|
||||||
|
set -as terminal-overrides ",*-256color:Tc"
|
||||||
|
< More info at:
|
||||||
|
https://github.com/tmux/tmux/wiki/FAQ#how-do-i-use-a-256-colour-terminal
|
||||||
|
https://github.com/tmux/tmux/wiki/FAQ#how-do-i-use-rgb-colour
|
||||||
|
|
||||||
The MS-Windows standard colors are fixed (in a console window), so
|
The MS-Windows standard colors are fixed (in a console window), so
|
||||||
these have been used for the names. But the meaning of color names in
|
these have been used for the names. But the meaning of color names in
|
||||||
@@ -5305,6 +5333,12 @@ If you like Question highlighting for C comments, put this in your vimrc file: >
|
|||||||
Without the "default" in the C syntax file, the highlighting would be
|
Without the "default" in the C syntax file, the highlighting would be
|
||||||
overruled when the syntax file is loaded.
|
overruled when the syntax file is loaded.
|
||||||
|
|
||||||
|
To have a link survive `:highlight clear`, which is useful if you have
|
||||||
|
highlighting for a specific filetype and you want to keep it when selecting
|
||||||
|
another color scheme, put a command like this in the
|
||||||
|
"after/syntax/{filetype}.vim" file: >
|
||||||
|
highlight! default link cComment Question
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
15. Cleaning up *:syn-clear* *E391*
|
15. Cleaning up *:syn-clear* *E391*
|
||||||
|
|
||||||
|
|||||||
142
runtime/doc/tags
142
runtime/doc/tags
@@ -57,11 +57,13 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
'ari' options.txt /*'ari'*
|
'ari' options.txt /*'ari'*
|
||||||
'arshape' options.txt /*'arshape'*
|
'arshape' options.txt /*'arshape'*
|
||||||
'as' todo.txt /*'as'*
|
'as' todo.txt /*'as'*
|
||||||
|
'asd' options.txt /*'asd'*
|
||||||
'autochdir' options.txt /*'autochdir'*
|
'autochdir' options.txt /*'autochdir'*
|
||||||
'autoindent' options.txt /*'autoindent'*
|
'autoindent' options.txt /*'autoindent'*
|
||||||
'autoprint' vi_diff.txt /*'autoprint'*
|
'autoprint' vi_diff.txt /*'autoprint'*
|
||||||
'autoread' options.txt /*'autoread'*
|
'autoread' options.txt /*'autoread'*
|
||||||
'autosave' todo.txt /*'autosave'*
|
'autosave' todo.txt /*'autosave'*
|
||||||
|
'autoshelldir' options.txt /*'autoshelldir'*
|
||||||
'autowrite' options.txt /*'autowrite'*
|
'autowrite' options.txt /*'autowrite'*
|
||||||
'autowriteall' options.txt /*'autowriteall'*
|
'autowriteall' options.txt /*'autowriteall'*
|
||||||
'aw' options.txt /*'aw'*
|
'aw' options.txt /*'aw'*
|
||||||
@@ -508,10 +510,12 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
'noari' options.txt /*'noari'*
|
'noari' options.txt /*'noari'*
|
||||||
'noarshape' options.txt /*'noarshape'*
|
'noarshape' options.txt /*'noarshape'*
|
||||||
'noas' todo.txt /*'noas'*
|
'noas' todo.txt /*'noas'*
|
||||||
|
'noasd' options.txt /*'noasd'*
|
||||||
'noautochdir' options.txt /*'noautochdir'*
|
'noautochdir' options.txt /*'noautochdir'*
|
||||||
'noautoindent' options.txt /*'noautoindent'*
|
'noautoindent' options.txt /*'noautoindent'*
|
||||||
'noautoread' options.txt /*'noautoread'*
|
'noautoread' options.txt /*'noautoread'*
|
||||||
'noautosave' todo.txt /*'noautosave'*
|
'noautosave' todo.txt /*'noautosave'*
|
||||||
|
'noautoshelldir' options.txt /*'noautoshelldir'*
|
||||||
'noautowrite' options.txt /*'noautowrite'*
|
'noautowrite' options.txt /*'noautowrite'*
|
||||||
'noautowriteall' options.txt /*'noautowriteall'*
|
'noautowriteall' options.txt /*'noautowriteall'*
|
||||||
'noaw' options.txt /*'noaw'*
|
'noaw' options.txt /*'noaw'*
|
||||||
@@ -1045,6 +1049,8 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
't_da' term.txt /*'t_da'*
|
't_da' term.txt /*'t_da'*
|
||||||
't_db' term.txt /*'t_db'*
|
't_db' term.txt /*'t_db'*
|
||||||
't_dl' term.txt /*'t_dl'*
|
't_dl' term.txt /*'t_dl'*
|
||||||
|
't_fd' term.txt /*'t_fd'*
|
||||||
|
't_fe' term.txt /*'t_fe'*
|
||||||
't_fs' term.txt /*'t_fs'*
|
't_fs' term.txt /*'t_fs'*
|
||||||
't_k1' term.txt /*'t_k1'*
|
't_k1' term.txt /*'t_k1'*
|
||||||
't_k2' term.txt /*'t_k2'*
|
't_k2' term.txt /*'t_k2'*
|
||||||
@@ -1290,6 +1296,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
+cmdline_compl various.txt /*+cmdline_compl*
|
+cmdline_compl various.txt /*+cmdline_compl*
|
||||||
+cmdline_hist various.txt /*+cmdline_hist*
|
+cmdline_hist various.txt /*+cmdline_hist*
|
||||||
+cmdline_info various.txt /*+cmdline_info*
|
+cmdline_info various.txt /*+cmdline_info*
|
||||||
|
+cmdwin various.txt /*+cmdwin*
|
||||||
+comments various.txt /*+comments*
|
+comments various.txt /*+comments*
|
||||||
+conceal various.txt /*+conceal*
|
+conceal various.txt /*+conceal*
|
||||||
+cryptv various.txt /*+cryptv*
|
+cryptv various.txt /*+cryptv*
|
||||||
@@ -1783,6 +1790,8 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
09.2 usr_09.txt /*09.2*
|
09.2 usr_09.txt /*09.2*
|
||||||
09.3 usr_09.txt /*09.3*
|
09.3 usr_09.txt /*09.3*
|
||||||
09.4 usr_09.txt /*09.4*
|
09.4 usr_09.txt /*09.4*
|
||||||
|
0o eval.txt /*0o*
|
||||||
|
0x eval.txt /*0x*
|
||||||
10.1 usr_10.txt /*10.1*
|
10.1 usr_10.txt /*10.1*
|
||||||
10.2 usr_10.txt /*10.2*
|
10.2 usr_10.txt /*10.2*
|
||||||
10.3 usr_10.txt /*10.3*
|
10.3 usr_10.txt /*10.3*
|
||||||
@@ -1994,6 +2003,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
:AdaTagFile ft_ada.txt /*:AdaTagFile*
|
:AdaTagFile ft_ada.txt /*:AdaTagFile*
|
||||||
:AdaTypes ft_ada.txt /*:AdaTypes*
|
:AdaTypes ft_ada.txt /*:AdaTypes*
|
||||||
:Arguments terminal.txt /*:Arguments*
|
:Arguments terminal.txt /*:Arguments*
|
||||||
|
:Asm terminal.txt /*:Asm*
|
||||||
:Break terminal.txt /*:Break*
|
:Break terminal.txt /*:Break*
|
||||||
:Cfilter quickfix.txt /*:Cfilter*
|
:Cfilter quickfix.txt /*:Cfilter*
|
||||||
:Clear terminal.txt /*:Clear*
|
:Clear terminal.txt /*:Clear*
|
||||||
@@ -2072,6 +2082,11 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
:_#< cmdline.txt /*:_#<*
|
:_#< cmdline.txt /*:_#<*
|
||||||
:_#n cmdline.txt /*:_#n*
|
:_#n cmdline.txt /*:_#n*
|
||||||
:_% cmdline.txt /*:_%*
|
:_% cmdline.txt /*:_%*
|
||||||
|
:_%% cmdline.txt /*:_%%*
|
||||||
|
:_%%% cmdline.txt /*:_%%%*
|
||||||
|
:_%%0 cmdline.txt /*:_%%0*
|
||||||
|
:_%%< cmdline.txt /*:_%%<*
|
||||||
|
:_%%n cmdline.txt /*:_%%n*
|
||||||
:_%: cmdline.txt /*:_%:*
|
:_%: cmdline.txt /*:_%:*
|
||||||
:_%< cmdline.txt /*:_%<*
|
:_%< cmdline.txt /*:_%<*
|
||||||
:a insert.txt /*:a*
|
:a insert.txt /*:a*
|
||||||
@@ -2125,6 +2140,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
:bad windows.txt /*:bad*
|
:bad windows.txt /*:bad*
|
||||||
:badd windows.txt /*:badd*
|
:badd windows.txt /*:badd*
|
||||||
:ball windows.txt /*:ball*
|
:ball windows.txt /*:ball*
|
||||||
|
:balt windows.txt /*:balt*
|
||||||
:bar cmdline.txt /*:bar*
|
:bar cmdline.txt /*:bar*
|
||||||
:bd windows.txt /*:bd*
|
:bd windows.txt /*:bd*
|
||||||
:bdel windows.txt /*:bdel*
|
:bdel windows.txt /*:bdel*
|
||||||
@@ -2385,6 +2401,8 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
:ec eval.txt /*:ec*
|
:ec eval.txt /*:ec*
|
||||||
:echo eval.txt /*:echo*
|
:echo eval.txt /*:echo*
|
||||||
:echo-redraw eval.txt /*:echo-redraw*
|
:echo-redraw eval.txt /*:echo-redraw*
|
||||||
|
:echoc eval.txt /*:echoc*
|
||||||
|
:echoconsole eval.txt /*:echoconsole*
|
||||||
:echoe eval.txt /*:echoe*
|
:echoe eval.txt /*:echoe*
|
||||||
:echoerr eval.txt /*:echoerr*
|
:echoerr eval.txt /*:echoerr*
|
||||||
:echoh eval.txt /*:echoh*
|
:echoh eval.txt /*:echoh*
|
||||||
@@ -2612,6 +2630,8 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
:left change.txt /*:left*
|
:left change.txt /*:left*
|
||||||
:lefta windows.txt /*:lefta*
|
:lefta windows.txt /*:lefta*
|
||||||
:leftabove windows.txt /*:leftabove*
|
:leftabove windows.txt /*:leftabove*
|
||||||
|
:leg vim9.txt /*:leg*
|
||||||
|
:legacy vim9.txt /*:legacy*
|
||||||
:let eval.txt /*:let*
|
:let eval.txt /*:let*
|
||||||
:let%= eval.txt /*:let%=*
|
:let%= eval.txt /*:let%=*
|
||||||
:let+= eval.txt /*:let+=*
|
:let+= eval.txt /*:let+=*
|
||||||
@@ -2724,6 +2744,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
:map-<unique> map.txt /*:map-<unique>*
|
:map-<unique> map.txt /*:map-<unique>*
|
||||||
:map-alt-keys map.txt /*:map-alt-keys*
|
:map-alt-keys map.txt /*:map-alt-keys*
|
||||||
:map-arguments map.txt /*:map-arguments*
|
:map-arguments map.txt /*:map-arguments*
|
||||||
|
:map-cmd map.txt /*:map-cmd*
|
||||||
:map-commands map.txt /*:map-commands*
|
:map-commands map.txt /*:map-commands*
|
||||||
:map-expression map.txt /*:map-expression*
|
:map-expression map.txt /*:map-expression*
|
||||||
:map-local map.txt /*:map-local*
|
:map-local map.txt /*:map-local*
|
||||||
@@ -3102,9 +3123,11 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
:sip change.txt /*:sip*
|
:sip change.txt /*:sip*
|
||||||
:sir change.txt /*:sir*
|
:sir change.txt /*:sir*
|
||||||
:sl various.txt /*:sl*
|
:sl various.txt /*:sl*
|
||||||
|
:sl! various.txt /*:sl!*
|
||||||
:sla windows.txt /*:sla*
|
:sla windows.txt /*:sla*
|
||||||
:slast windows.txt /*:slast*
|
:slast windows.txt /*:slast*
|
||||||
:sleep various.txt /*:sleep*
|
:sleep various.txt /*:sleep*
|
||||||
|
:sleep! various.txt /*:sleep!*
|
||||||
:sm change.txt /*:sm*
|
:sm change.txt /*:sm*
|
||||||
:smagic change.txt /*:smagic*
|
:smagic change.txt /*:smagic*
|
||||||
:smap map.txt /*:smap*
|
:smap map.txt /*:smap*
|
||||||
@@ -3161,7 +3184,8 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
:st starting.txt /*:st*
|
:st starting.txt /*:st*
|
||||||
:sta windows.txt /*:sta*
|
:sta windows.txt /*:sta*
|
||||||
:stag windows.txt /*:stag*
|
:stag windows.txt /*:stag*
|
||||||
:star repeat.txt /*:star*
|
:star cmdline.txt /*:star*
|
||||||
|
:star-compatible repeat.txt /*:star-compatible*
|
||||||
:star-visual-range cmdline.txt /*:star-visual-range*
|
:star-visual-range cmdline.txt /*:star-visual-range*
|
||||||
:start insert.txt /*:start*
|
:start insert.txt /*:start*
|
||||||
:startgreplace insert.txt /*:startgreplace*
|
:startgreplace insert.txt /*:startgreplace*
|
||||||
@@ -3176,6 +3200,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
:stselect tagsrch.txt /*:stselect*
|
:stselect tagsrch.txt /*:stselect*
|
||||||
:su change.txt /*:su*
|
:su change.txt /*:su*
|
||||||
:substitute change.txt /*:substitute*
|
:substitute change.txt /*:substitute*
|
||||||
|
:substitute-repeat change.txt /*:substitute-repeat*
|
||||||
:sun windows.txt /*:sun*
|
:sun windows.txt /*:sun*
|
||||||
:sunhide windows.txt /*:sunhide*
|
:sunhide windows.txt /*:sunhide*
|
||||||
:sunm map.txt /*:sunm*
|
:sunm map.txt /*:sunm*
|
||||||
@@ -3292,7 +3317,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
:tabs tabpage.txt /*:tabs*
|
:tabs tabpage.txt /*:tabs*
|
||||||
:tag tagsrch.txt /*:tag*
|
:tag tagsrch.txt /*:tag*
|
||||||
:tags tagsrch.txt /*:tags*
|
:tags tagsrch.txt /*:tags*
|
||||||
:tc if_tcl.txt /*:tc*
|
:tc editing.txt /*:tc*
|
||||||
:tcd editing.txt /*:tcd*
|
:tcd editing.txt /*:tcd*
|
||||||
:tcd- editing.txt /*:tcd-*
|
:tcd- editing.txt /*:tcd-*
|
||||||
:tch editing.txt /*:tch*
|
:tch editing.txt /*:tch*
|
||||||
@@ -3388,7 +3413,9 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
:view editing.txt /*:view*
|
:view editing.txt /*:view*
|
||||||
:vim quickfix.txt /*:vim*
|
:vim quickfix.txt /*:vim*
|
||||||
:vim9 vim9.txt /*:vim9*
|
:vim9 vim9.txt /*:vim9*
|
||||||
:vim9script vim9.txt /*:vim9script*
|
:vim9cmd vim9.txt /*:vim9cmd*
|
||||||
|
:vim9s repeat.txt /*:vim9s*
|
||||||
|
:vim9script repeat.txt /*:vim9script*
|
||||||
:vimgrep quickfix.txt /*:vimgrep*
|
:vimgrep quickfix.txt /*:vimgrep*
|
||||||
:vimgrepa quickfix.txt /*:vimgrepa*
|
:vimgrepa quickfix.txt /*:vimgrepa*
|
||||||
:vimgrepadd quickfix.txt /*:vimgrepadd*
|
:vimgrepadd quickfix.txt /*:vimgrepadd*
|
||||||
@@ -3506,6 +3533,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
<CSI> intro.txt /*<CSI>*
|
<CSI> intro.txt /*<CSI>*
|
||||||
<Char-> map.txt /*<Char->*
|
<Char-> map.txt /*<Char->*
|
||||||
<Char> map.txt /*<Char>*
|
<Char> map.txt /*<Char>*
|
||||||
|
<Cmd> map.txt /*<Cmd>*
|
||||||
<CursorHold> autocmd.txt /*<CursorHold>*
|
<CursorHold> autocmd.txt /*<CursorHold>*
|
||||||
<D- intro.txt /*<D-*
|
<D- intro.txt /*<D-*
|
||||||
<D-c> os_mac.txt /*<D-c>*
|
<D-c> os_mac.txt /*<D-c>*
|
||||||
@@ -3911,6 +3939,7 @@ E1050 vim9.txt /*E1050*
|
|||||||
E107 eval.txt /*E107*
|
E107 eval.txt /*E107*
|
||||||
E108 eval.txt /*E108*
|
E108 eval.txt /*E108*
|
||||||
E109 eval.txt /*E109*
|
E109 eval.txt /*E109*
|
||||||
|
E1091 vim9.txt /*E1091*
|
||||||
E1092 vim9.txt /*E1092*
|
E1092 vim9.txt /*E1092*
|
||||||
E1094 vim9.txt /*E1094*
|
E1094 vim9.txt /*E1094*
|
||||||
E11 cmdline.txt /*E11*
|
E11 cmdline.txt /*E11*
|
||||||
@@ -3923,11 +3952,17 @@ E1112 eval.txt /*E1112*
|
|||||||
E1113 eval.txt /*E1113*
|
E1113 eval.txt /*E1113*
|
||||||
E112 eval.txt /*E112*
|
E112 eval.txt /*E112*
|
||||||
E113 eval.txt /*E113*
|
E113 eval.txt /*E113*
|
||||||
|
E1135 map.txt /*E1135*
|
||||||
|
E1136 map.txt /*E1136*
|
||||||
|
E1137 map.txt /*E1137*
|
||||||
E114 eval.txt /*E114*
|
E114 eval.txt /*E114*
|
||||||
E115 eval.txt /*E115*
|
E115 eval.txt /*E115*
|
||||||
|
E1155 autocmd.txt /*E1155*
|
||||||
E116 eval.txt /*E116*
|
E116 eval.txt /*E116*
|
||||||
E117 eval.txt /*E117*
|
E117 eval.txt /*E117*
|
||||||
E118 eval.txt /*E118*
|
E118 eval.txt /*E118*
|
||||||
|
E1187 starting.txt /*E1187*
|
||||||
|
E1188 cmdline.txt /*E1188*
|
||||||
E119 eval.txt /*E119*
|
E119 eval.txt /*E119*
|
||||||
E12 message.txt /*E12*
|
E12 message.txt /*E12*
|
||||||
E120 eval.txt /*E120*
|
E120 eval.txt /*E120*
|
||||||
@@ -4014,7 +4049,6 @@ E194 message.txt /*E194*
|
|||||||
E195 starting.txt /*E195*
|
E195 starting.txt /*E195*
|
||||||
E196 various.txt /*E196*
|
E196 various.txt /*E196*
|
||||||
E197 mlang.txt /*E197*
|
E197 mlang.txt /*E197*
|
||||||
E198 options.txt /*E198*
|
|
||||||
E199 cmdline.txt /*E199*
|
E199 cmdline.txt /*E199*
|
||||||
E20 motion.txt /*E20*
|
E20 motion.txt /*E20*
|
||||||
E200 autocmd.txt /*E200*
|
E200 autocmd.txt /*E200*
|
||||||
@@ -4100,7 +4134,6 @@ E274 eval.txt /*E274*
|
|||||||
E275 textprop.txt /*E275*
|
E275 textprop.txt /*E275*
|
||||||
E276 eval.txt /*E276*
|
E276 eval.txt /*E276*
|
||||||
E277 remote.txt /*E277*
|
E277 remote.txt /*E277*
|
||||||
E278 popup.txt /*E278*
|
|
||||||
E279 terminal.txt /*E279*
|
E279 terminal.txt /*E279*
|
||||||
E28 syntax.txt /*E28*
|
E28 syntax.txt /*E28*
|
||||||
E280 if_tcl.txt /*E280*
|
E280 if_tcl.txt /*E280*
|
||||||
@@ -4166,7 +4199,6 @@ E337 gui.txt /*E337*
|
|||||||
E338 editing.txt /*E338*
|
E338 editing.txt /*E338*
|
||||||
E339 message.txt /*E339*
|
E339 message.txt /*E339*
|
||||||
E34 various.txt /*E34*
|
E34 various.txt /*E34*
|
||||||
E340 vi_diff.txt /*E340*
|
|
||||||
E341 message.txt /*E341*
|
E341 message.txt /*E341*
|
||||||
E342 message.txt /*E342*
|
E342 message.txt /*E342*
|
||||||
E343 options.txt /*E343*
|
E343 options.txt /*E343*
|
||||||
@@ -4374,7 +4406,6 @@ E534 options.txt /*E534*
|
|||||||
E535 options.txt /*E535*
|
E535 options.txt /*E535*
|
||||||
E536 options.txt /*E536*
|
E536 options.txt /*E536*
|
||||||
E537 options.txt /*E537*
|
E537 options.txt /*E537*
|
||||||
E538 options.txt /*E538*
|
|
||||||
E539 options.txt /*E539*
|
E539 options.txt /*E539*
|
||||||
E54 pattern.txt /*E54*
|
E54 pattern.txt /*E54*
|
||||||
E540 options.txt /*E540*
|
E540 options.txt /*E540*
|
||||||
@@ -5145,10 +5176,14 @@ VIMINIT starting.txt /*VIMINIT*
|
|||||||
VMS os_vms.txt /*VMS*
|
VMS os_vms.txt /*VMS*
|
||||||
Vi intro.txt /*Vi*
|
Vi intro.txt /*Vi*
|
||||||
View starting.txt /*View*
|
View starting.txt /*View*
|
||||||
|
Vim9 vim9.txt /*Vim9*
|
||||||
|
Vim9-script vim9.txt /*Vim9-script*
|
||||||
VimEnter autocmd.txt /*VimEnter*
|
VimEnter autocmd.txt /*VimEnter*
|
||||||
VimLeave autocmd.txt /*VimLeave*
|
VimLeave autocmd.txt /*VimLeave*
|
||||||
VimLeavePre autocmd.txt /*VimLeavePre*
|
VimLeavePre autocmd.txt /*VimLeavePre*
|
||||||
VimResized autocmd.txt /*VimResized*
|
VimResized autocmd.txt /*VimResized*
|
||||||
|
VimResume autocmd.txt /*VimResume*
|
||||||
|
VimSuspend autocmd.txt /*VimSuspend*
|
||||||
Vimball-copyright pi_vimball.txt /*Vimball-copyright*
|
Vimball-copyright pi_vimball.txt /*Vimball-copyright*
|
||||||
Virtual-Replace-mode insert.txt /*Virtual-Replace-mode*
|
Virtual-Replace-mode insert.txt /*Virtual-Replace-mode*
|
||||||
VisVim if_ole.txt /*VisVim*
|
VisVim if_ole.txt /*VisVim*
|
||||||
@@ -5405,6 +5440,7 @@ assert_fails() testing.txt /*assert_fails()*
|
|||||||
assert_false() testing.txt /*assert_false()*
|
assert_false() testing.txt /*assert_false()*
|
||||||
assert_inrange() testing.txt /*assert_inrange()*
|
assert_inrange() testing.txt /*assert_inrange()*
|
||||||
assert_match() testing.txt /*assert_match()*
|
assert_match() testing.txt /*assert_match()*
|
||||||
|
assert_nobeep() testing.txt /*assert_nobeep()*
|
||||||
assert_notequal() testing.txt /*assert_notequal()*
|
assert_notequal() testing.txt /*assert_notequal()*
|
||||||
assert_notmatch() testing.txt /*assert_notmatch()*
|
assert_notmatch() testing.txt /*assert_notmatch()*
|
||||||
assert_report() testing.txt /*assert_report()*
|
assert_report() testing.txt /*assert_report()*
|
||||||
@@ -5554,6 +5590,10 @@ c_## cmdline.txt /*c_##*
|
|||||||
c_#< cmdline.txt /*c_#<*
|
c_#< cmdline.txt /*c_#<*
|
||||||
c_#n cmdline.txt /*c_#n*
|
c_#n cmdline.txt /*c_#n*
|
||||||
c_% cmdline.txt /*c_%*
|
c_% cmdline.txt /*c_%*
|
||||||
|
c_%% cmdline.txt /*c_%%*
|
||||||
|
c_%%%# cmdline.txt /*c_%%%#*
|
||||||
|
c_%%< cmdline.txt /*c_%%<*
|
||||||
|
c_%%n cmdline.txt /*c_%%n*
|
||||||
c_<BS> cmdline.txt /*c_<BS>*
|
c_<BS> cmdline.txt /*c_<BS>*
|
||||||
c_<C-Left> cmdline.txt /*c_<C-Left>*
|
c_<C-Left> cmdline.txt /*c_<C-Left>*
|
||||||
c_<C-R> cmdline.txt /*c_<C-R>*
|
c_<C-R> cmdline.txt /*c_<C-R>*
|
||||||
@@ -5737,8 +5777,10 @@ characterwise motion.txt /*characterwise*
|
|||||||
characterwise-register change.txt /*characterwise-register*
|
characterwise-register change.txt /*characterwise-register*
|
||||||
characterwise-visual visual.txt /*characterwise-visual*
|
characterwise-visual visual.txt /*characterwise-visual*
|
||||||
charclass() eval.txt /*charclass()*
|
charclass() eval.txt /*charclass()*
|
||||||
|
charcol() eval.txt /*charcol()*
|
||||||
charconvert_from-variable eval.txt /*charconvert_from-variable*
|
charconvert_from-variable eval.txt /*charconvert_from-variable*
|
||||||
charconvert_to-variable eval.txt /*charconvert_to-variable*
|
charconvert_to-variable eval.txt /*charconvert_to-variable*
|
||||||
|
charidx() eval.txt /*charidx()*
|
||||||
charity uganda.txt /*charity*
|
charity uganda.txt /*charity*
|
||||||
charset mbyte.txt /*charset*
|
charset mbyte.txt /*charset*
|
||||||
charset-conversion mbyte.txt /*charset-conversion*
|
charset-conversion mbyte.txt /*charset-conversion*
|
||||||
@@ -6249,6 +6291,7 @@ exepath() eval.txt /*exepath()*
|
|||||||
exim starting.txt /*exim*
|
exim starting.txt /*exim*
|
||||||
exists() eval.txt /*exists()*
|
exists() eval.txt /*exists()*
|
||||||
exiting starting.txt /*exiting*
|
exiting starting.txt /*exiting*
|
||||||
|
exiting-variable eval.txt /*exiting-variable*
|
||||||
exp() eval.txt /*exp()*
|
exp() eval.txt /*exp()*
|
||||||
expand() eval.txt /*expand()*
|
expand() eval.txt /*expand()*
|
||||||
expand-env options.txt /*expand-env*
|
expand-env options.txt /*expand-env*
|
||||||
@@ -6326,6 +6369,7 @@ expression-commands eval.txt /*expression-commands*
|
|||||||
expression-syntax eval.txt /*expression-syntax*
|
expression-syntax eval.txt /*expression-syntax*
|
||||||
exrc starting.txt /*exrc*
|
exrc starting.txt /*exrc*
|
||||||
extend() eval.txt /*extend()*
|
extend() eval.txt /*extend()*
|
||||||
|
extendnew() eval.txt /*extendnew()*
|
||||||
extension-removal cmdline.txt /*extension-removal*
|
extension-removal cmdline.txt /*extension-removal*
|
||||||
extensions-improvements todo.txt /*extensions-improvements*
|
extensions-improvements todo.txt /*extensions-improvements*
|
||||||
f motion.txt /*f*
|
f motion.txt /*f*
|
||||||
@@ -6390,6 +6434,7 @@ fixed-7.2 version7.txt /*fixed-7.2*
|
|||||||
fixed-7.3 version7.txt /*fixed-7.3*
|
fixed-7.3 version7.txt /*fixed-7.3*
|
||||||
fixed-7.4 version7.txt /*fixed-7.4*
|
fixed-7.4 version7.txt /*fixed-7.4*
|
||||||
flatten() eval.txt /*flatten()*
|
flatten() eval.txt /*flatten()*
|
||||||
|
flattennew() eval.txt /*flattennew()*
|
||||||
flexwiki.vim syntax.txt /*flexwiki.vim*
|
flexwiki.vim syntax.txt /*flexwiki.vim*
|
||||||
float-e eval.txt /*float-e*
|
float-e eval.txt /*float-e*
|
||||||
float-functions usr_41.txt /*float-functions*
|
float-functions usr_41.txt /*float-functions*
|
||||||
@@ -6399,13 +6444,33 @@ floating-point-format eval.txt /*floating-point-format*
|
|||||||
floating-point-precision eval.txt /*floating-point-precision*
|
floating-point-precision eval.txt /*floating-point-precision*
|
||||||
floor() eval.txt /*floor()*
|
floor() eval.txt /*floor()*
|
||||||
fmod() eval.txt /*fmod()*
|
fmod() eval.txt /*fmod()*
|
||||||
|
fname-variable eval.txt /*fname-variable*
|
||||||
fname_diff-variable eval.txt /*fname_diff-variable*
|
fname_diff-variable eval.txt /*fname_diff-variable*
|
||||||
fname_in-variable eval.txt /*fname_in-variable*
|
fname_in-variable eval.txt /*fname_in-variable*
|
||||||
fname_new-variable eval.txt /*fname_new-variable*
|
fname_new-variable eval.txt /*fname_new-variable*
|
||||||
fname_out-variable eval.txt /*fname_out-variable*
|
fname_out-variable eval.txt /*fname_out-variable*
|
||||||
fnameescape() eval.txt /*fnameescape()*
|
fnameescape() eval.txt /*fnameescape()*
|
||||||
fnamemodify() eval.txt /*fnamemodify()*
|
fnamemodify() eval.txt /*fnamemodify()*
|
||||||
|
fo-1 change.txt /*fo-1*
|
||||||
|
fo-2 change.txt /*fo-2*
|
||||||
|
fo-B change.txt /*fo-B*
|
||||||
|
fo-M change.txt /*fo-M*
|
||||||
|
fo-] change.txt /*fo-]*
|
||||||
|
fo-a change.txt /*fo-a*
|
||||||
|
fo-b change.txt /*fo-b*
|
||||||
|
fo-c change.txt /*fo-c*
|
||||||
|
fo-j change.txt /*fo-j*
|
||||||
|
fo-l change.txt /*fo-l*
|
||||||
|
fo-m change.txt /*fo-m*
|
||||||
|
fo-n change.txt /*fo-n*
|
||||||
|
fo-o change.txt /*fo-o*
|
||||||
|
fo-p change.txt /*fo-p*
|
||||||
|
fo-q change.txt /*fo-q*
|
||||||
|
fo-r change.txt /*fo-r*
|
||||||
|
fo-t change.txt /*fo-t*
|
||||||
fo-table change.txt /*fo-table*
|
fo-table change.txt /*fo-table*
|
||||||
|
fo-v change.txt /*fo-v*
|
||||||
|
fo-w change.txt /*fo-w*
|
||||||
fold-behavior fold.txt /*fold-behavior*
|
fold-behavior fold.txt /*fold-behavior*
|
||||||
fold-colors fold.txt /*fold-colors*
|
fold-colors fold.txt /*fold-colors*
|
||||||
fold-commands fold.txt /*fold-commands*
|
fold-commands fold.txt /*fold-commands*
|
||||||
@@ -6528,6 +6593,7 @@ ft-mail.vim syntax.txt /*ft-mail.vim*
|
|||||||
ft-make-syntax syntax.txt /*ft-make-syntax*
|
ft-make-syntax syntax.txt /*ft-make-syntax*
|
||||||
ft-man-plugin filetype.txt /*ft-man-plugin*
|
ft-man-plugin filetype.txt /*ft-man-plugin*
|
||||||
ft-maple-syntax syntax.txt /*ft-maple-syntax*
|
ft-maple-syntax syntax.txt /*ft-maple-syntax*
|
||||||
|
ft-markdown-plugin filetype.txt /*ft-markdown-plugin*
|
||||||
ft-masm-syntax syntax.txt /*ft-masm-syntax*
|
ft-masm-syntax syntax.txt /*ft-masm-syntax*
|
||||||
ft-mathematica-syntax syntax.txt /*ft-mathematica-syntax*
|
ft-mathematica-syntax syntax.txt /*ft-mathematica-syntax*
|
||||||
ft-matlab-indent indent.txt /*ft-matlab-indent*
|
ft-matlab-indent indent.txt /*ft-matlab-indent*
|
||||||
@@ -6549,7 +6615,7 @@ ft-php-syntax syntax.txt /*ft-php-syntax*
|
|||||||
ft-php3-syntax syntax.txt /*ft-php3-syntax*
|
ft-php3-syntax syntax.txt /*ft-php3-syntax*
|
||||||
ft-phtml-syntax syntax.txt /*ft-phtml-syntax*
|
ft-phtml-syntax syntax.txt /*ft-phtml-syntax*
|
||||||
ft-plaintex-syntax syntax.txt /*ft-plaintex-syntax*
|
ft-plaintex-syntax syntax.txt /*ft-plaintex-syntax*
|
||||||
ft-posix-synax syntax.txt /*ft-posix-synax*
|
ft-posix-syntax syntax.txt /*ft-posix-syntax*
|
||||||
ft-postscr-syntax syntax.txt /*ft-postscr-syntax*
|
ft-postscr-syntax syntax.txt /*ft-postscr-syntax*
|
||||||
ft-ppwiz-syntax syntax.txt /*ft-ppwiz-syntax*
|
ft-ppwiz-syntax syntax.txt /*ft-ppwiz-syntax*
|
||||||
ft-printcap-syntax syntax.txt /*ft-printcap-syntax*
|
ft-printcap-syntax syntax.txt /*ft-printcap-syntax*
|
||||||
@@ -6618,6 +6684,7 @@ ftplugin-name usr_05.txt /*ftplugin-name*
|
|||||||
ftplugin-overrule filetype.txt /*ftplugin-overrule*
|
ftplugin-overrule filetype.txt /*ftplugin-overrule*
|
||||||
ftplugin-special usr_41.txt /*ftplugin-special*
|
ftplugin-special usr_41.txt /*ftplugin-special*
|
||||||
ftplugins usr_05.txt /*ftplugins*
|
ftplugins usr_05.txt /*ftplugins*
|
||||||
|
fullcommand() eval.txt /*fullcommand()*
|
||||||
funcref() eval.txt /*funcref()*
|
funcref() eval.txt /*funcref()*
|
||||||
function() eval.txt /*function()*
|
function() eval.txt /*function()*
|
||||||
function-argument eval.txt /*function-argument*
|
function-argument eval.txt /*function-argument*
|
||||||
@@ -6627,6 +6694,7 @@ function-range-example eval.txt /*function-range-example*
|
|||||||
function-search-undo eval.txt /*function-search-undo*
|
function-search-undo eval.txt /*function-search-undo*
|
||||||
function_key intro.txt /*function_key*
|
function_key intro.txt /*function_key*
|
||||||
functions eval.txt /*functions*
|
functions eval.txt /*functions*
|
||||||
|
fuzzy-match pattern.txt /*fuzzy-match*
|
||||||
fvwm.vim syntax.txt /*fvwm.vim*
|
fvwm.vim syntax.txt /*fvwm.vim*
|
||||||
fvwm2rc syntax.txt /*fvwm2rc*
|
fvwm2rc syntax.txt /*fvwm2rc*
|
||||||
fvwmrc syntax.txt /*fvwmrc*
|
fvwmrc syntax.txt /*fvwmrc*
|
||||||
@@ -6856,6 +6924,7 @@ g:tex_fast syntax.txt /*g:tex_fast*
|
|||||||
g:tex_flavor filetype.txt /*g:tex_flavor*
|
g:tex_flavor filetype.txt /*g:tex_flavor*
|
||||||
g:tex_fold_enabled syntax.txt /*g:tex_fold_enabled*
|
g:tex_fold_enabled syntax.txt /*g:tex_fold_enabled*
|
||||||
g:tex_isk syntax.txt /*g:tex_isk*
|
g:tex_isk syntax.txt /*g:tex_isk*
|
||||||
|
g:tex_matchcheck syntax.txt /*g:tex_matchcheck*
|
||||||
g:tex_no_error syntax.txt /*g:tex_no_error*
|
g:tex_no_error syntax.txt /*g:tex_no_error*
|
||||||
g:tex_nospell syntax.txt /*g:tex_nospell*
|
g:tex_nospell syntax.txt /*g:tex_nospell*
|
||||||
g:tex_stylish syntax.txt /*g:tex_stylish*
|
g:tex_stylish syntax.txt /*g:tex_stylish*
|
||||||
@@ -6929,13 +6998,16 @@ getbufvar() eval.txt /*getbufvar()*
|
|||||||
getchangelist() eval.txt /*getchangelist()*
|
getchangelist() eval.txt /*getchangelist()*
|
||||||
getchar() eval.txt /*getchar()*
|
getchar() eval.txt /*getchar()*
|
||||||
getcharmod() eval.txt /*getcharmod()*
|
getcharmod() eval.txt /*getcharmod()*
|
||||||
|
getcharpos() eval.txt /*getcharpos()*
|
||||||
getcharsearch() eval.txt /*getcharsearch()*
|
getcharsearch() eval.txt /*getcharsearch()*
|
||||||
|
getcharstr() eval.txt /*getcharstr()*
|
||||||
getcmdline() eval.txt /*getcmdline()*
|
getcmdline() eval.txt /*getcmdline()*
|
||||||
getcmdpos() eval.txt /*getcmdpos()*
|
getcmdpos() eval.txt /*getcmdpos()*
|
||||||
getcmdtype() eval.txt /*getcmdtype()*
|
getcmdtype() eval.txt /*getcmdtype()*
|
||||||
getcmdwintype() eval.txt /*getcmdwintype()*
|
getcmdwintype() eval.txt /*getcmdwintype()*
|
||||||
getcompletion() eval.txt /*getcompletion()*
|
getcompletion() eval.txt /*getcompletion()*
|
||||||
getcurpos() eval.txt /*getcurpos()*
|
getcurpos() eval.txt /*getcurpos()*
|
||||||
|
getcursorcharpos() eval.txt /*getcursorcharpos()*
|
||||||
getcwd() eval.txt /*getcwd()*
|
getcwd() eval.txt /*getcwd()*
|
||||||
getenv() eval.txt /*getenv()*
|
getenv() eval.txt /*getenv()*
|
||||||
getfontname() eval.txt /*getfontname()*
|
getfontname() eval.txt /*getfontname()*
|
||||||
@@ -7136,6 +7208,7 @@ hebrew hebrew.txt /*hebrew*
|
|||||||
hebrew.txt hebrew.txt /*hebrew.txt*
|
hebrew.txt hebrew.txt /*hebrew.txt*
|
||||||
help helphelp.txt /*help*
|
help helphelp.txt /*help*
|
||||||
help-context help.txt /*help-context*
|
help-context help.txt /*help-context*
|
||||||
|
help-curwin tips.txt /*help-curwin*
|
||||||
help-summary usr_02.txt /*help-summary*
|
help-summary usr_02.txt /*help-summary*
|
||||||
help-tags tags 1
|
help-tags tags 1
|
||||||
help-translated helphelp.txt /*help-translated*
|
help-translated helphelp.txt /*help-translated*
|
||||||
@@ -7444,6 +7517,7 @@ info-message starting.txt /*info-message*
|
|||||||
inform.vim syntax.txt /*inform.vim*
|
inform.vim syntax.txt /*inform.vim*
|
||||||
informix ft_sql.txt /*informix*
|
informix ft_sql.txt /*informix*
|
||||||
initialization starting.txt /*initialization*
|
initialization starting.txt /*initialization*
|
||||||
|
inline-function vim9.txt /*inline-function*
|
||||||
input() eval.txt /*input()*
|
input() eval.txt /*input()*
|
||||||
inputdialog() eval.txt /*inputdialog()*
|
inputdialog() eval.txt /*inputdialog()*
|
||||||
inputlist() eval.txt /*inputlist()*
|
inputlist() eval.txt /*inputlist()*
|
||||||
@@ -7584,6 +7658,7 @@ lc_time-variable eval.txt /*lc_time-variable*
|
|||||||
lcs-conceal options.txt /*lcs-conceal*
|
lcs-conceal options.txt /*lcs-conceal*
|
||||||
lcs-eol options.txt /*lcs-eol*
|
lcs-eol options.txt /*lcs-eol*
|
||||||
lcs-extends options.txt /*lcs-extends*
|
lcs-extends options.txt /*lcs-extends*
|
||||||
|
lcs-lead options.txt /*lcs-lead*
|
||||||
lcs-nbsp options.txt /*lcs-nbsp*
|
lcs-nbsp options.txt /*lcs-nbsp*
|
||||||
lcs-precedes options.txt /*lcs-precedes*
|
lcs-precedes options.txt /*lcs-precedes*
|
||||||
lcs-space options.txt /*lcs-space*
|
lcs-space options.txt /*lcs-space*
|
||||||
@@ -7612,6 +7687,7 @@ linewise-visual visual.txt /*linewise-visual*
|
|||||||
lisp.vim syntax.txt /*lisp.vim*
|
lisp.vim syntax.txt /*lisp.vim*
|
||||||
lispindent() eval.txt /*lispindent()*
|
lispindent() eval.txt /*lispindent()*
|
||||||
list eval.txt /*list*
|
list eval.txt /*list*
|
||||||
|
list-concatenation eval.txt /*list-concatenation*
|
||||||
list-functions usr_41.txt /*list-functions*
|
list-functions usr_41.txt /*list-functions*
|
||||||
list-identity eval.txt /*list-identity*
|
list-identity eval.txt /*list-identity*
|
||||||
list-index eval.txt /*list-index*
|
list-index eval.txt /*list-index*
|
||||||
@@ -7719,6 +7795,7 @@ map-return map.txt /*map-return*
|
|||||||
map-self-destroy tips.txt /*map-self-destroy*
|
map-self-destroy tips.txt /*map-self-destroy*
|
||||||
map-space_in_lhs map.txt /*map-space_in_lhs*
|
map-space_in_lhs map.txt /*map-space_in_lhs*
|
||||||
map-space_in_rhs map.txt /*map-space_in_rhs*
|
map-space_in_rhs map.txt /*map-space_in_rhs*
|
||||||
|
map-table map.txt /*map-table*
|
||||||
map-typing map.txt /*map-typing*
|
map-typing map.txt /*map-typing*
|
||||||
map-which-keys map.txt /*map-which-keys*
|
map-which-keys map.txt /*map-which-keys*
|
||||||
map.txt map.txt /*map.txt*
|
map.txt map.txt /*map.txt*
|
||||||
@@ -7745,6 +7822,7 @@ mapmode-s map.txt /*mapmode-s*
|
|||||||
mapmode-t map.txt /*mapmode-t*
|
mapmode-t map.txt /*mapmode-t*
|
||||||
mapmode-v map.txt /*mapmode-v*
|
mapmode-v map.txt /*mapmode-v*
|
||||||
mapmode-x map.txt /*mapmode-x*
|
mapmode-x map.txt /*mapmode-x*
|
||||||
|
mapnew() eval.txt /*mapnew()*
|
||||||
mapping map.txt /*mapping*
|
mapping map.txt /*mapping*
|
||||||
mapping-functions usr_41.txt /*mapping-functions*
|
mapping-functions usr_41.txt /*mapping-functions*
|
||||||
mapset() eval.txt /*mapset()*
|
mapset() eval.txt /*mapset()*
|
||||||
@@ -7824,6 +7902,7 @@ moo.vim syntax.txt /*moo.vim*
|
|||||||
more-compatible version5.txt /*more-compatible*
|
more-compatible version5.txt /*more-compatible*
|
||||||
more-prompt message.txt /*more-prompt*
|
more-prompt message.txt /*more-prompt*
|
||||||
more-variables eval.txt /*more-variables*
|
more-variables eval.txt /*more-variables*
|
||||||
|
motion-count-multiplied motion.txt /*motion-count-multiplied*
|
||||||
motion.txt motion.txt /*motion.txt*
|
motion.txt motion.txt /*motion.txt*
|
||||||
mouse-mode-table term.txt /*mouse-mode-table*
|
mouse-mode-table term.txt /*mouse-mode-table*
|
||||||
mouse-overview term.txt /*mouse-overview*
|
mouse-overview term.txt /*mouse-overview*
|
||||||
@@ -8236,9 +8315,12 @@ notation intro.txt /*notation*
|
|||||||
notepad gui_w32.txt /*notepad*
|
notepad gui_w32.txt /*notepad*
|
||||||
nr2char() eval.txt /*nr2char()*
|
nr2char() eval.txt /*nr2char()*
|
||||||
nroff.vim syntax.txt /*nroff.vim*
|
nroff.vim syntax.txt /*nroff.vim*
|
||||||
|
null vim9.txt /*null*
|
||||||
null-variable eval.txt /*null-variable*
|
null-variable eval.txt /*null-variable*
|
||||||
number_relativenumber options.txt /*number_relativenumber*
|
number_relativenumber options.txt /*number_relativenumber*
|
||||||
numbered-function eval.txt /*numbered-function*
|
numbered-function eval.txt /*numbered-function*
|
||||||
|
numbermax-variable eval.txt /*numbermax-variable*
|
||||||
|
numbermin-variable eval.txt /*numbermin-variable*
|
||||||
numbersize-variable eval.txt /*numbersize-variable*
|
numbersize-variable eval.txt /*numbersize-variable*
|
||||||
o insert.txt /*o*
|
o insert.txt /*o*
|
||||||
o_CTRL-V motion.txt /*o_CTRL-V*
|
o_CTRL-V motion.txt /*o_CTRL-V*
|
||||||
@@ -8268,6 +8350,7 @@ omni-sql-completion ft_sql.txt /*omni-sql-completion*
|
|||||||
online-help helphelp.txt /*online-help*
|
online-help helphelp.txt /*online-help*
|
||||||
opening-window windows.txt /*opening-window*
|
opening-window windows.txt /*opening-window*
|
||||||
operator motion.txt /*operator*
|
operator motion.txt /*operator*
|
||||||
|
operator-doubled motion.txt /*operator-doubled*
|
||||||
operator-pending-index index.txt /*operator-pending-index*
|
operator-pending-index index.txt /*operator-pending-index*
|
||||||
operator-variable eval.txt /*operator-variable*
|
operator-variable eval.txt /*operator-variable*
|
||||||
option-backslash options.txt /*option-backslash*
|
option-backslash options.txt /*option-backslash*
|
||||||
@@ -8321,6 +8404,7 @@ page_up intro.txt /*page_up*
|
|||||||
pager message.txt /*pager*
|
pager message.txt /*pager*
|
||||||
papp.vim syntax.txt /*papp.vim*
|
papp.vim syntax.txt /*papp.vim*
|
||||||
paragraph motion.txt /*paragraph*
|
paragraph motion.txt /*paragraph*
|
||||||
|
partial eval.txt /*partial*
|
||||||
pascal.vim syntax.txt /*pascal.vim*
|
pascal.vim syntax.txt /*pascal.vim*
|
||||||
patches-8 version8.txt /*patches-8*
|
patches-8 version8.txt /*patches-8*
|
||||||
patches-8.1 version8.txt /*patches-8.1*
|
patches-8.1 version8.txt /*patches-8.1*
|
||||||
@@ -8513,6 +8597,12 @@ prop_type_change() textprop.txt /*prop_type_change()*
|
|||||||
prop_type_delete() textprop.txt /*prop_type_delete()*
|
prop_type_delete() textprop.txt /*prop_type_delete()*
|
||||||
prop_type_get() textprop.txt /*prop_type_get()*
|
prop_type_get() textprop.txt /*prop_type_get()*
|
||||||
prop_type_list() textprop.txt /*prop_type_list()*
|
prop_type_list() textprop.txt /*prop_type_list()*
|
||||||
|
ps1-about ft_ps1.txt /*ps1-about*
|
||||||
|
ps1-compiler ft_ps1.txt /*ps1-compiler*
|
||||||
|
ps1-folding ft_ps1.txt /*ps1-folding*
|
||||||
|
ps1-keyword ft_ps1.txt /*ps1-keyword*
|
||||||
|
ps1-syntax ft_ps1.txt /*ps1-syntax*
|
||||||
|
ps1.txt ft_ps1.txt /*ps1.txt*
|
||||||
psql ft_sql.txt /*psql*
|
psql ft_sql.txt /*psql*
|
||||||
ptcap.vim syntax.txt /*ptcap.vim*
|
ptcap.vim syntax.txt /*ptcap.vim*
|
||||||
pterm-mouse options.txt /*pterm-mouse*
|
pterm-mouse options.txt /*pterm-mouse*
|
||||||
@@ -8640,6 +8730,7 @@ quotestar gui.txt /*quotestar*
|
|||||||
quote~ change.txt /*quote~*
|
quote~ change.txt /*quote~*
|
||||||
r change.txt /*r*
|
r change.txt /*r*
|
||||||
r.vim syntax.txt /*r.vim*
|
r.vim syntax.txt /*r.vim*
|
||||||
|
raku-unicode ft_raku.txt /*raku-unicode*
|
||||||
rand() eval.txt /*rand()*
|
rand() eval.txt /*rand()*
|
||||||
random eval.txt /*random*
|
random eval.txt /*random*
|
||||||
range() eval.txt /*range()*
|
range() eval.txt /*range()*
|
||||||
@@ -8649,6 +8740,7 @@ read-in-close-cb channel.txt /*read-in-close-cb*
|
|||||||
read-messages insert.txt /*read-messages*
|
read-messages insert.txt /*read-messages*
|
||||||
read-only-share editing.txt /*read-only-share*
|
read-only-share editing.txt /*read-only-share*
|
||||||
read-stdin version5.txt /*read-stdin*
|
read-stdin version5.txt /*read-stdin*
|
||||||
|
readblob() eval.txt /*readblob()*
|
||||||
readdir() eval.txt /*readdir()*
|
readdir() eval.txt /*readdir()*
|
||||||
readdirex() eval.txt /*readdirex()*
|
readdirex() eval.txt /*readdirex()*
|
||||||
readfile() eval.txt /*readfile()*
|
readfile() eval.txt /*readfile()*
|
||||||
@@ -8847,8 +8939,10 @@ set-spc-auto spell.txt /*set-spc-auto*
|
|||||||
setbufline() eval.txt /*setbufline()*
|
setbufline() eval.txt /*setbufline()*
|
||||||
setbufvar() eval.txt /*setbufvar()*
|
setbufvar() eval.txt /*setbufvar()*
|
||||||
setcellwidths() eval.txt /*setcellwidths()*
|
setcellwidths() eval.txt /*setcellwidths()*
|
||||||
|
setcharpos() eval.txt /*setcharpos()*
|
||||||
setcharsearch() eval.txt /*setcharsearch()*
|
setcharsearch() eval.txt /*setcharsearch()*
|
||||||
setcmdpos() eval.txt /*setcmdpos()*
|
setcmdpos() eval.txt /*setcmdpos()*
|
||||||
|
setcursorcharpos() eval.txt /*setcursorcharpos()*
|
||||||
setenv() eval.txt /*setenv()*
|
setenv() eval.txt /*setenv()*
|
||||||
setfperm() eval.txt /*setfperm()*
|
setfperm() eval.txt /*setfperm()*
|
||||||
setline() eval.txt /*setline()*
|
setline() eval.txt /*setline()*
|
||||||
@@ -8912,6 +9006,7 @@ sinh() eval.txt /*sinh()*
|
|||||||
skeleton autocmd.txt /*skeleton*
|
skeleton autocmd.txt /*skeleton*
|
||||||
skip_defaults_vim starting.txt /*skip_defaults_vim*
|
skip_defaults_vim starting.txt /*skip_defaults_vim*
|
||||||
slice eval.txt /*slice*
|
slice eval.txt /*slice*
|
||||||
|
slice() eval.txt /*slice()*
|
||||||
slow-fast-terminal term.txt /*slow-fast-terminal*
|
slow-fast-terminal term.txt /*slow-fast-terminal*
|
||||||
slow-start starting.txt /*slow-start*
|
slow-start starting.txt /*slow-start*
|
||||||
slow-terminal term.txt /*slow-terminal*
|
slow-terminal term.txt /*slow-terminal*
|
||||||
@@ -9097,6 +9192,7 @@ str2float() eval.txt /*str2float()*
|
|||||||
str2list() eval.txt /*str2list()*
|
str2list() eval.txt /*str2list()*
|
||||||
str2nr() eval.txt /*str2nr()*
|
str2nr() eval.txt /*str2nr()*
|
||||||
strcasestr() eval.txt /*strcasestr()*
|
strcasestr() eval.txt /*strcasestr()*
|
||||||
|
strcharlen() eval.txt /*strcharlen()*
|
||||||
strcharpart() eval.txt /*strcharpart()*
|
strcharpart() eval.txt /*strcharpart()*
|
||||||
strchars() eval.txt /*strchars()*
|
strchars() eval.txt /*strchars()*
|
||||||
strchr() eval.txt /*strchr()*
|
strchr() eval.txt /*strchr()*
|
||||||
@@ -9167,8 +9263,10 @@ synstack() eval.txt /*synstack()*
|
|||||||
syntax syntax.txt /*syntax*
|
syntax syntax.txt /*syntax*
|
||||||
syntax-functions usr_41.txt /*syntax-functions*
|
syntax-functions usr_41.txt /*syntax-functions*
|
||||||
syntax-highlighting syntax.txt /*syntax-highlighting*
|
syntax-highlighting syntax.txt /*syntax-highlighting*
|
||||||
|
syntax-latex syntax.txt /*syntax-latex*
|
||||||
syntax-loading syntax.txt /*syntax-loading*
|
syntax-loading syntax.txt /*syntax-loading*
|
||||||
syntax-printing usr_06.txt /*syntax-printing*
|
syntax-printing usr_06.txt /*syntax-printing*
|
||||||
|
syntax-tex syntax.txt /*syntax-tex*
|
||||||
syntax.txt syntax.txt /*syntax.txt*
|
syntax.txt syntax.txt /*syntax.txt*
|
||||||
syntax_cmd syntax.txt /*syntax_cmd*
|
syntax_cmd syntax.txt /*syntax_cmd*
|
||||||
sys-file-list help.txt /*sys-file-list*
|
sys-file-list help.txt /*sys-file-list*
|
||||||
@@ -9305,6 +9403,8 @@ t_f6 version4.txt /*t_f6*
|
|||||||
t_f7 version4.txt /*t_f7*
|
t_f7 version4.txt /*t_f7*
|
||||||
t_f8 version4.txt /*t_f8*
|
t_f8 version4.txt /*t_f8*
|
||||||
t_f9 version4.txt /*t_f9*
|
t_f9 version4.txt /*t_f9*
|
||||||
|
t_fd term.txt /*t_fd*
|
||||||
|
t_fe term.txt /*t_fe*
|
||||||
t_float-variable eval.txt /*t_float-variable*
|
t_float-variable eval.txt /*t_float-variable*
|
||||||
t_fs term.txt /*t_fs*
|
t_fs term.txt /*t_fs*
|
||||||
t_func-variable eval.txt /*t_func-variable*
|
t_func-variable eval.txt /*t_func-variable*
|
||||||
@@ -9527,6 +9627,7 @@ termdebug-prompt terminal.txt /*termdebug-prompt*
|
|||||||
termdebug-starting terminal.txt /*termdebug-starting*
|
termdebug-starting terminal.txt /*termdebug-starting*
|
||||||
termdebug-stepping terminal.txt /*termdebug-stepping*
|
termdebug-stepping terminal.txt /*termdebug-stepping*
|
||||||
termdebug-variables terminal.txt /*termdebug-variables*
|
termdebug-variables terminal.txt /*termdebug-variables*
|
||||||
|
termdebug_disasm_window terminal.txt /*termdebug_disasm_window*
|
||||||
termdebug_map_K terminal.txt /*termdebug_map_K*
|
termdebug_map_K terminal.txt /*termdebug_map_K*
|
||||||
termdebug_popup terminal.txt /*termdebug_popup*
|
termdebug_popup terminal.txt /*termdebug_popup*
|
||||||
termdebug_shortcuts terminal.txt /*termdebug_shortcuts*
|
termdebug_shortcuts terminal.txt /*termdebug_shortcuts*
|
||||||
@@ -9603,6 +9704,7 @@ tex-cole syntax.txt /*tex-cole*
|
|||||||
tex-conceal syntax.txt /*tex-conceal*
|
tex-conceal syntax.txt /*tex-conceal*
|
||||||
tex-error syntax.txt /*tex-error*
|
tex-error syntax.txt /*tex-error*
|
||||||
tex-folding syntax.txt /*tex-folding*
|
tex-folding syntax.txt /*tex-folding*
|
||||||
|
tex-matchcheck syntax.txt /*tex-matchcheck*
|
||||||
tex-math syntax.txt /*tex-math*
|
tex-math syntax.txt /*tex-math*
|
||||||
tex-morecommands syntax.txt /*tex-morecommands*
|
tex-morecommands syntax.txt /*tex-morecommands*
|
||||||
tex-nospell syntax.txt /*tex-nospell*
|
tex-nospell syntax.txt /*tex-nospell*
|
||||||
@@ -9646,6 +9748,7 @@ timestamp editing.txt /*timestamp*
|
|||||||
timestamps editing.txt /*timestamps*
|
timestamps editing.txt /*timestamps*
|
||||||
tips tips.txt /*tips*
|
tips tips.txt /*tips*
|
||||||
tips.txt tips.txt /*tips.txt*
|
tips.txt tips.txt /*tips.txt*
|
||||||
|
tmux syntax.txt /*tmux*
|
||||||
todo todo.txt /*todo*
|
todo todo.txt /*todo*
|
||||||
todo.txt todo.txt /*todo.txt*
|
todo.txt todo.txt /*todo.txt*
|
||||||
toggle options.txt /*toggle*
|
toggle options.txt /*toggle*
|
||||||
@@ -9677,6 +9780,7 @@ type-inference vim9.txt /*type-inference*
|
|||||||
type-mistakes tips.txt /*type-mistakes*
|
type-mistakes tips.txt /*type-mistakes*
|
||||||
typecorr-settings usr_41.txt /*typecorr-settings*
|
typecorr-settings usr_41.txt /*typecorr-settings*
|
||||||
typecorr.txt usr_41.txt /*typecorr.txt*
|
typecorr.txt usr_41.txt /*typecorr.txt*
|
||||||
|
typename() eval.txt /*typename()*
|
||||||
u undo.txt /*u*
|
u undo.txt /*u*
|
||||||
uganda uganda.txt /*uganda*
|
uganda uganda.txt /*uganda*
|
||||||
uganda.txt uganda.txt /*uganda.txt*
|
uganda.txt uganda.txt /*uganda.txt*
|
||||||
@@ -9780,9 +9884,11 @@ v:errmsg eval.txt /*v:errmsg*
|
|||||||
v:errors eval.txt /*v:errors*
|
v:errors eval.txt /*v:errors*
|
||||||
v:event eval.txt /*v:event*
|
v:event eval.txt /*v:event*
|
||||||
v:exception eval.txt /*v:exception*
|
v:exception eval.txt /*v:exception*
|
||||||
|
v:exiting eval.txt /*v:exiting*
|
||||||
v:false eval.txt /*v:false*
|
v:false eval.txt /*v:false*
|
||||||
v:fcs_choice eval.txt /*v:fcs_choice*
|
v:fcs_choice eval.txt /*v:fcs_choice*
|
||||||
v:fcs_reason eval.txt /*v:fcs_reason*
|
v:fcs_reason eval.txt /*v:fcs_reason*
|
||||||
|
v:fname eval.txt /*v:fname*
|
||||||
v:fname_diff eval.txt /*v:fname_diff*
|
v:fname_diff eval.txt /*v:fname_diff*
|
||||||
v:fname_in eval.txt /*v:fname_in*
|
v:fname_in eval.txt /*v:fname_in*
|
||||||
v:fname_new eval.txt /*v:fname_new*
|
v:fname_new eval.txt /*v:fname_new*
|
||||||
@@ -9803,6 +9909,8 @@ v:mouse_win eval.txt /*v:mouse_win*
|
|||||||
v:mouse_winid eval.txt /*v:mouse_winid*
|
v:mouse_winid eval.txt /*v:mouse_winid*
|
||||||
v:none eval.txt /*v:none*
|
v:none eval.txt /*v:none*
|
||||||
v:null eval.txt /*v:null*
|
v:null eval.txt /*v:null*
|
||||||
|
v:numbermax eval.txt /*v:numbermax*
|
||||||
|
v:numbermin eval.txt /*v:numbermin*
|
||||||
v:numbersize eval.txt /*v:numbersize*
|
v:numbersize eval.txt /*v:numbersize*
|
||||||
v:oldfiles eval.txt /*v:oldfiles*
|
v:oldfiles eval.txt /*v:oldfiles*
|
||||||
v:operator eval.txt /*v:operator*
|
v:operator eval.txt /*v:operator*
|
||||||
@@ -9962,6 +10070,7 @@ v_u change.txt /*v_u*
|
|||||||
v_v visual.txt /*v_v*
|
v_v visual.txt /*v_v*
|
||||||
v_x change.txt /*v_x*
|
v_x change.txt /*v_x*
|
||||||
v_y change.txt /*v_y*
|
v_y change.txt /*v_y*
|
||||||
|
v_zy change.txt /*v_zy*
|
||||||
v_~ change.txt /*v_~*
|
v_~ change.txt /*v_~*
|
||||||
vab motion.txt /*vab*
|
vab motion.txt /*vab*
|
||||||
val-variable eval.txt /*val-variable*
|
val-variable eval.txt /*val-variable*
|
||||||
@@ -10036,6 +10145,8 @@ vim-dev intro.txt /*vim-dev*
|
|||||||
vim-mac intro.txt /*vim-mac*
|
vim-mac intro.txt /*vim-mac*
|
||||||
vim-modes intro.txt /*vim-modes*
|
vim-modes intro.txt /*vim-modes*
|
||||||
vim-modes-intro intro.txt /*vim-modes-intro*
|
vim-modes-intro intro.txt /*vim-modes-intro*
|
||||||
|
vim-raku ft_raku.txt /*vim-raku*
|
||||||
|
vim-raku.txt ft_raku.txt /*vim-raku.txt*
|
||||||
vim-script-intro usr_41.txt /*vim-script-intro*
|
vim-script-intro usr_41.txt /*vim-script-intro*
|
||||||
vim-use intro.txt /*vim-use*
|
vim-use intro.txt /*vim-use*
|
||||||
vim-variable eval.txt /*vim-variable*
|
vim-variable eval.txt /*vim-variable*
|
||||||
@@ -10045,18 +10156,27 @@ vim8 version8.txt /*vim8*
|
|||||||
vim9 vim9.txt /*vim9*
|
vim9 vim9.txt /*vim9*
|
||||||
vim9-classes vim9.txt /*vim9-classes*
|
vim9-classes vim9.txt /*vim9-classes*
|
||||||
vim9-const vim9.txt /*vim9-const*
|
vim9-const vim9.txt /*vim9-const*
|
||||||
|
vim9-curly vim9.txt /*vim9-curly*
|
||||||
vim9-declaration vim9.txt /*vim9-declaration*
|
vim9-declaration vim9.txt /*vim9-declaration*
|
||||||
vim9-declarations usr_46.txt /*vim9-declarations*
|
vim9-declarations usr_46.txt /*vim9-declarations*
|
||||||
vim9-differences vim9.txt /*vim9-differences*
|
vim9-differences vim9.txt /*vim9-differences*
|
||||||
vim9-export vim9.txt /*vim9-export*
|
vim9-export vim9.txt /*vim9-export*
|
||||||
vim9-final vim9.txt /*vim9-final*
|
vim9-final vim9.txt /*vim9-final*
|
||||||
vim9-gotchas vim9.txt /*vim9-gotchas*
|
vim9-gotchas vim9.txt /*vim9-gotchas*
|
||||||
|
vim9-ignored-argument vim9.txt /*vim9-ignored-argument*
|
||||||
vim9-import vim9.txt /*vim9-import*
|
vim9-import vim9.txt /*vim9-import*
|
||||||
|
vim9-lambda vim9.txt /*vim9-lambda*
|
||||||
|
vim9-lambda-arguments vim9.txt /*vim9-lambda-arguments*
|
||||||
|
vim9-mix vim9.txt /*vim9-mix*
|
||||||
|
vim9-namespace vim9.txt /*vim9-namespace*
|
||||||
vim9-rationale vim9.txt /*vim9-rationale*
|
vim9-rationale vim9.txt /*vim9-rationale*
|
||||||
|
vim9-reload vim9.txt /*vim9-reload*
|
||||||
vim9-scopes vim9.txt /*vim9-scopes*
|
vim9-scopes vim9.txt /*vim9-scopes*
|
||||||
vim9-script vim9.txt /*vim9-script*
|
|
||||||
vim9-script-intro usr_46.txt /*vim9-script-intro*
|
vim9-script-intro usr_46.txt /*vim9-script-intro*
|
||||||
vim9-types vim9.txt /*vim9-types*
|
vim9-types vim9.txt /*vim9-types*
|
||||||
|
vim9-unpack-ignore vim9.txt /*vim9-unpack-ignore*
|
||||||
|
vim9-user-command vim9.txt /*vim9-user-command*
|
||||||
|
vim9-variable-arguments vim9.txt /*vim9-variable-arguments*
|
||||||
vim9.txt vim9.txt /*vim9.txt*
|
vim9.txt vim9.txt /*vim9.txt*
|
||||||
vim9script vim9.txt /*vim9script*
|
vim9script vim9.txt /*vim9script*
|
||||||
vim: options.txt /*vim:*
|
vim: options.txt /*vim:*
|
||||||
@@ -10274,6 +10394,7 @@ xterm-command-server term.txt /*xterm-command-server*
|
|||||||
xterm-copy-paste term.txt /*xterm-copy-paste*
|
xterm-copy-paste term.txt /*xterm-copy-paste*
|
||||||
xterm-cursor-keys term.txt /*xterm-cursor-keys*
|
xterm-cursor-keys term.txt /*xterm-cursor-keys*
|
||||||
xterm-end-home-keys term.txt /*xterm-end-home-keys*
|
xterm-end-home-keys term.txt /*xterm-end-home-keys*
|
||||||
|
xterm-focus-event term.txt /*xterm-focus-event*
|
||||||
xterm-function-keys term.txt /*xterm-function-keys*
|
xterm-function-keys term.txt /*xterm-function-keys*
|
||||||
xterm-modifier-keys term.txt /*xterm-modifier-keys*
|
xterm-modifier-keys term.txt /*xterm-modifier-keys*
|
||||||
xterm-mouse options.txt /*xterm-mouse*
|
xterm-mouse options.txt /*xterm-mouse*
|
||||||
@@ -10319,6 +10440,7 @@ zOS-PuTTY os_390.txt /*zOS-PuTTY*
|
|||||||
zOS-has-ebcdic os_390.txt /*zOS-has-ebcdic*
|
zOS-has-ebcdic os_390.txt /*zOS-has-ebcdic*
|
||||||
zOS-limitations os_390.txt /*zOS-limitations*
|
zOS-limitations os_390.txt /*zOS-limitations*
|
||||||
zOS-open-source os_390.txt /*zOS-open-source*
|
zOS-open-source os_390.txt /*zOS-open-source*
|
||||||
|
zP change.txt /*zP*
|
||||||
zR fold.txt /*zR*
|
zR fold.txt /*zR*
|
||||||
zW spell.txt /*zW*
|
zW spell.txt /*zW*
|
||||||
zX fold.txt /*zX*
|
zX fold.txt /*zX*
|
||||||
@@ -10346,6 +10468,7 @@ zl scroll.txt /*zl*
|
|||||||
zm fold.txt /*zm*
|
zm fold.txt /*zm*
|
||||||
zn fold.txt /*zn*
|
zn fold.txt /*zn*
|
||||||
zo fold.txt /*zo*
|
zo fold.txt /*zo*
|
||||||
|
zp change.txt /*zp*
|
||||||
zr fold.txt /*zr*
|
zr fold.txt /*zr*
|
||||||
zs scroll.txt /*zs*
|
zs scroll.txt /*zs*
|
||||||
zsh.vim syntax.txt /*zsh.vim*
|
zsh.vim syntax.txt /*zsh.vim*
|
||||||
@@ -10357,6 +10480,7 @@ zuw spell.txt /*zuw*
|
|||||||
zv fold.txt /*zv*
|
zv fold.txt /*zv*
|
||||||
zw spell.txt /*zw*
|
zw spell.txt /*zw*
|
||||||
zx fold.txt /*zx*
|
zx fold.txt /*zx*
|
||||||
|
zy change.txt /*zy*
|
||||||
zz scroll.txt /*zz*
|
zz scroll.txt /*zz*
|
||||||
{ motion.txt /*{*
|
{ motion.txt /*{*
|
||||||
{Visual} intro.txt /*{Visual}*
|
{Visual} intro.txt /*{Visual}*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*tagsrch.txt* For Vim version 8.2. Last change: 2020 Apr 19
|
*tagsrch.txt* For Vim version 8.2. Last change: 2020 Dec 19
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -556,7 +556,7 @@ The first format is a normal tag, which is completely compatible with Vi. It
|
|||||||
is the only format produced by traditional ctags implementations. This is
|
is the only format produced by traditional ctags implementations. This is
|
||||||
often used for functions that are global, also referenced in other files.
|
often used for functions that are global, also referenced in other files.
|
||||||
|
|
||||||
The lines in the tags file can end in <LF> or <CR><LF>. On the Macintosh <CR>
|
The lines in the tags file can end in <NL> or <CR><NL>. On the Macintosh <CR>
|
||||||
also works. The <CR> and <NL> characters can never appear inside a line.
|
also works. The <CR> and <NL> characters can never appear inside a line.
|
||||||
|
|
||||||
The second format is new. It includes additional information in optional
|
The second format is new. It includes additional information in optional
|
||||||
@@ -888,19 +888,25 @@ like |CTRL-]|.
|
|||||||
|
|
||||||
The function used for generating the taglist is specified by setting the
|
The function used for generating the taglist is specified by setting the
|
||||||
'tagfunc' option. The function will be called with three arguments:
|
'tagfunc' option. The function will be called with three arguments:
|
||||||
a:pattern The tag identifier used during the tag search.
|
a:pattern The tag identifier or pattern used during the tag search.
|
||||||
a:flags List of flags to control the function behavior.
|
a:flags String containing flags to control the function behavior.
|
||||||
a:info Dict containing the following entries:
|
a:info Dict containing the following entries:
|
||||||
buf_ffname Full filename which can be used for priority.
|
buf_ffname Full filename which can be used for priority.
|
||||||
user_data Custom data String, if stored in the tag
|
user_data Custom data String, if stored in the tag
|
||||||
stack previously by tagfunc.
|
stack previously by tagfunc.
|
||||||
|
|
||||||
Currently two flags may be passed to the tag function:
|
Currently up to three flags may be passed to the tag function:
|
||||||
'c' The function was invoked by a normal command being processed
|
'c' The function was invoked by a normal command being processed
|
||||||
(mnemonic: the tag function may use the context around the
|
(mnemonic: the tag function may use the context around the
|
||||||
cursor to perform a better job of generating the tag list.)
|
cursor to perform a better job of generating the tag list.)
|
||||||
'i' In Insert mode, the user was completing a tag (with
|
'i' In Insert mode, the user was completing a tag (with
|
||||||
|i_CTRL-X_CTRL-]|).
|
|i_CTRL-X_CTRL-]| or 'completeopt' contains `t`).
|
||||||
|
'r' The first argument to tagfunc should be interpreted as a
|
||||||
|
|pattern| (see |tag-regexp|), such as when using: >
|
||||||
|
:tag /pat
|
||||||
|
< It is also given when completing in insert mode.
|
||||||
|
If this flag is not present, the argument is usually taken
|
||||||
|
literally as the full tag name.
|
||||||
|
|
||||||
Note that when 'tagfunc' is set, the priority of the tags described in
|
Note that when 'tagfunc' is set, the priority of the tags described in
|
||||||
|tag-priority| does not apply. Instead, the priority is exactly as the
|
|tag-priority| does not apply. Instead, the priority is exactly as the
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*term.txt* For Vim version 8.2. Last change: 2020 Apr 12
|
*term.txt* For Vim version 8.2. Last change: 2021 Jan 14
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -217,6 +217,10 @@ it's different from Alt). They can be combined. Examples: >
|
|||||||
Another speciality about these codes is that they are not overwritten by
|
Another speciality about these codes is that they are not overwritten by
|
||||||
another code. That is to avoid that the codes obtained from xterm directly
|
another code. That is to avoid that the codes obtained from xterm directly
|
||||||
|t_RV| overwrite them.
|
|t_RV| overwrite them.
|
||||||
|
|
||||||
|
Another special value is a termcap entry ending in "@;*X". This is for cursor
|
||||||
|
keys, which either use "CSI X" or "CSI 1 ; modifier X". Thus the "@"
|
||||||
|
stands for either "1" if a modifier follows, or nothing.
|
||||||
*xterm-scroll-region*
|
*xterm-scroll-region*
|
||||||
The default termcap entry for xterm on Sun and other platforms does not
|
The default termcap entry for xterm on Sun and other platforms does not
|
||||||
contain the entry for scroll regions. Add ":cs=\E[%i%d;%dr:" to the xterm
|
contain the entry for scroll regions. Add ":cs=\E[%i%d;%dr:" to the xterm
|
||||||
@@ -369,6 +373,10 @@ Added by Vim (there are no standard codes for these):
|
|||||||
t_Ri restore icon text from stack *t_Ri* *'t_Ri'*
|
t_Ri restore icon text from stack *t_Ri* *'t_Ri'*
|
||||||
t_TE end of "raw" mode *t_TE* *'t_TE'*
|
t_TE end of "raw" mode *t_TE* *'t_TE'*
|
||||||
t_TI put terminal into "raw" mode *t_TI* *'t_TI'*
|
t_TI put terminal into "raw" mode *t_TI* *'t_TI'*
|
||||||
|
t_fe enable focus-event tracking *t_fe* *'t_fe'*
|
||||||
|
|xterm-focus-event|
|
||||||
|
t_fd disable focus-event tracking *t_fd* *'t_fd'*
|
||||||
|
|xterm-focus-event|
|
||||||
|
|
||||||
Some codes have a start, middle and end part. The start and end are defined
|
Some codes have a start, middle and end part. The start and end are defined
|
||||||
by the termcap option, the middle part is text.
|
by the termcap option, the middle part is text.
|
||||||
@@ -542,6 +550,16 @@ And run "xrdb -merge .Xresources" to make it effective. You can check the
|
|||||||
value with the context menu (right mouse button while CTRL key is pressed),
|
value with the context menu (right mouse button while CTRL key is pressed),
|
||||||
there should be a tick at allow-window-ops.
|
there should be a tick at allow-window-ops.
|
||||||
|
|
||||||
|
*xterm-focus-event*
|
||||||
|
Some terminals including xterm support the focus event tracking feature.
|
||||||
|
If this feature is enabled by the 't_fe' sequence, special key sequences are
|
||||||
|
sent from the terminal to Vim every time the terminal gains or loses focus.
|
||||||
|
Vim fires focus events (|FocusGained|/|FocusLost|) by handling them accordingly.
|
||||||
|
Focus event tracking is disabled by a 't_fd' sequence when exiting "raw" mode.
|
||||||
|
If you would like to disable this feature, add the following to your .vimrc:
|
||||||
|
`set t_fd=`
|
||||||
|
`set t_fe=`
|
||||||
|
|
||||||
*termcap-colors*
|
*termcap-colors*
|
||||||
Note about colors: The 't_Co' option tells Vim the number of colors available.
|
Note about colors: The 't_Co' option tells Vim the number of colors available.
|
||||||
When it is non-zero, the 't_AB' and 't_AF' options are used to set the color.
|
When it is non-zero, the 't_AB' and 't_AF' options are used to set the color.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*terminal.txt* For Vim version 8.2. Last change: 2020 Sep 04
|
*terminal.txt* For Vim version 8.2. Last change: 2021 Feb 13
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -123,12 +123,31 @@ use |:tlmenu| instead of |:tmenu|.
|
|||||||
|
|
||||||
*options-in-terminal*
|
*options-in-terminal*
|
||||||
After opening the terminal window and setting 'buftype' to "terminal" the
|
After opening the terminal window and setting 'buftype' to "terminal" the
|
||||||
TerminalOpen autocommand event is triggered. This makes it possible to set
|
|TerminalWinOpen| autocommand event is triggered. This makes it possible to set
|
||||||
options specifically for the window and buffer. Example: >
|
options specifically for the terminal window and buffer. Example: >
|
||||||
au TerminalOpen * if &buftype == 'terminal' | setlocal bufhidden=hide | endif
|
au TerminalWinOpen * setlocal bufhidden=hide
|
||||||
The <abuf> is set to the terminal buffer, but if there is no window (hidden
|
This only works properly if the terminal is not hidden.
|
||||||
terminal) then setting options will happen in the wrong buffer, therefore the
|
|
||||||
check for &buftype in the example.
|
For both hidden and non-hidden terminals this works, both for buffer-local and
|
||||||
|
window-local options: >
|
||||||
|
au TerminalWinOpen,BufWinEnter * if &buftype == 'terminal'
|
||||||
|
\ | setlocal bufhidden=hide colorcolumn=123
|
||||||
|
\ | endif
|
||||||
|
Note that for a hidden terminal the options are not set until the terminal is
|
||||||
|
no longer hidden.
|
||||||
|
|
||||||
|
There is also the |TerminalOpen| event. Keep in mind this may be triggered
|
||||||
|
for a hidden terminal, then the current window and buffer are not that of the
|
||||||
|
new terminal.
|
||||||
|
You need to use <abuf>, which is set to the terminal buffer. Example: >
|
||||||
|
au TerminalOpen * call setbufvar(expand('<abuf>')->str2nr(),
|
||||||
|
\ '&termwinscroll', 1000)
|
||||||
|
For a window-local option, you need to delay setting the option until the
|
||||||
|
terminal window has been created (this only works for a hidden terminal): >
|
||||||
|
au TerminalOpen * exe printf(
|
||||||
|
\ 'au BufWinEnter <buffer=%d> ++once setlocal colorcolumn=%d',
|
||||||
|
\ expand('<abuf>')->str2nr(), 123)
|
||||||
|
For a non-hidden terminal use |TerminalWinOpen|.
|
||||||
|
|
||||||
Mouse events (click and drag) are passed to the terminal. Mouse move events
|
Mouse events (click and drag) are passed to the terminal. Mouse move events
|
||||||
are only passed when Vim itself is receiving them. For a terminal that is
|
are only passed when Vim itself is receiving them. For a terminal that is
|
||||||
@@ -503,6 +522,8 @@ term_dumpdiff({filename}, {filename} [, {options}])
|
|||||||
a different attribute
|
a different attribute
|
||||||
+ missing position in first file
|
+ missing position in first file
|
||||||
- missing position in second file
|
- missing position in second file
|
||||||
|
> cursor position in first file, not in second
|
||||||
|
< cursor position in second file, not in first
|
||||||
|
|
||||||
Using the "s" key the top and bottom parts are swapped. This
|
Using the "s" key the top and bottom parts are swapped. This
|
||||||
makes it easy to spot a difference.
|
makes it easy to spot a difference.
|
||||||
@@ -713,6 +734,8 @@ term_scrape({buf}, {row}) *term_scrape()*
|
|||||||
"attr" attributes of the cell, use |term_getattr()|
|
"attr" attributes of the cell, use |term_getattr()|
|
||||||
to get the individual flags
|
to get the individual flags
|
||||||
"width" cell width: 1 or 2
|
"width" cell width: 1 or 2
|
||||||
|
For a double-width cell there is one item, thus the list can
|
||||||
|
be shorter than the width of the terminal.
|
||||||
|
|
||||||
Can also be used as a |method|: >
|
Can also be used as a |method|: >
|
||||||
GetBufnr()->term_scrape(row)
|
GetBufnr()->term_scrape(row)
|
||||||
@@ -738,6 +761,9 @@ term_setapi({buf}, {expr}) *term_setapi()*
|
|||||||
The default is "Tapi_". When {expr} is an empty string then
|
The default is "Tapi_". When {expr} is an empty string then
|
||||||
no |terminal-api| function can be used for {buf}.
|
no |terminal-api| function can be used for {buf}.
|
||||||
|
|
||||||
|
When used as a method the base is used for {buf}: >
|
||||||
|
GetBufnr()->term_setapi({expr})
|
||||||
|
|
||||||
term_setansicolors({buf}, {colors}) *term_setansicolors()*
|
term_setansicolors({buf}, {colors}) *term_setansicolors()*
|
||||||
Set the ANSI color palette used by terminal {buf}.
|
Set the ANSI color palette used by terminal {buf}.
|
||||||
{colors} must be a List of 16 valid color names or hexadecimal
|
{colors} must be a List of 16 valid color names or hexadecimal
|
||||||
@@ -1323,6 +1349,8 @@ Other commands ~
|
|||||||
*:Program* jump to the window with the running program
|
*:Program* jump to the window with the running program
|
||||||
*:Source* jump to the window with the source code, create it if there
|
*:Source* jump to the window with the source code, create it if there
|
||||||
isn't one
|
isn't one
|
||||||
|
*:Asm* jump to the window with the disassembly, create it if there
|
||||||
|
isn't one
|
||||||
|
|
||||||
|
|
||||||
Prompt mode ~
|
Prompt mode ~
|
||||||
@@ -1345,6 +1373,12 @@ Prompt mode can be used even when the |+terminal| feature is present with: >
|
|||||||
The K key is normally mapped to :Evaluate. If you do not want this use: >
|
The K key is normally mapped to :Evaluate. If you do not want this use: >
|
||||||
let g:termdebug_map_K = 0
|
let g:termdebug_map_K = 0
|
||||||
|
|
||||||
|
<
|
||||||
|
*termdebug_disasm_window*
|
||||||
|
If you want the Asm window shown by default, set this to 1. Setting to
|
||||||
|
any value greater than 1 will set the Asm window height to that value: >
|
||||||
|
let g:termdebug_disasm_window = 15
|
||||||
|
<
|
||||||
|
|
||||||
Communication ~
|
Communication ~
|
||||||
*termdebug-communication*
|
*termdebug-communication*
|
||||||
@@ -1411,16 +1445,18 @@ If you don't want this then disable it with: >
|
|||||||
|
|
||||||
Vim window width *termdebug_wide*
|
Vim window width *termdebug_wide*
|
||||||
|
|
||||||
To change the width of the Vim window when debugging starts, and use a
|
To change the width of the Vim window when debugging starts and use a vertical
|
||||||
vertical split: >
|
split: >
|
||||||
let g:termdebug_wide = 163
|
let g:termdebug_wide = 163
|
||||||
This will set &columns to 163 when `:Termdebug` is used. The value is restored
|
|
||||||
when quitting the debugger.
|
|
||||||
If g:termdebug_wide is set and &columns is already larger than
|
|
||||||
g:termdebug_wide then a vertical split will be used without changing &columns.
|
|
||||||
Set it to 1 to get a vertical split without every changing &columns (useful
|
|
||||||
for when the terminal can't be resized by Vim).
|
|
||||||
|
|
||||||
|
This will set 'columns' to 163 when `:Termdebug` is used. The value is
|
||||||
|
restored when quitting the debugger.
|
||||||
|
|
||||||
|
If g:termdebug_wide is set and 'columns' is already a greater value, then a
|
||||||
|
vertical split will be used without modifying 'columns'.
|
||||||
|
|
||||||
|
Set g:termdebug_wide to 1 to use a vertical split without ever changing
|
||||||
|
'columns'. This is useful when the terminal can't be resized by Vim.
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:noet:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*testing.txt* For Vim version 8.2. Last change: 2020 Sep 06
|
*testing.txt* For Vim version 8.2. Last change: 2021 Apr 02
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -168,6 +168,7 @@ test_override({name}, {val}) *test_override()*
|
|||||||
wait time of up to 3 seconds for messages
|
wait time of up to 3 seconds for messages
|
||||||
term_props reset all terminal properties when the version
|
term_props reset all terminal properties when the version
|
||||||
string is detected
|
string is detected
|
||||||
|
uptime overrules sysinfo.uptime
|
||||||
ALL clear all overrides ({val} is not used)
|
ALL clear all overrides ({val} is not used)
|
||||||
|
|
||||||
"starting" is to be used when a test should behave like
|
"starting" is to be used when a test should behave like
|
||||||
@@ -242,7 +243,8 @@ test_srand_seed([seed]) *test_srand_seed()*
|
|||||||
assert_beeps({cmd}) *assert_beeps()*
|
assert_beeps({cmd}) *assert_beeps()*
|
||||||
Run {cmd} and add an error message to |v:errors| if it does
|
Run {cmd} and add an error message to |v:errors| if it does
|
||||||
NOT produce a beep or visual bell.
|
NOT produce a beep or visual bell.
|
||||||
Also see |assert_fails()| and |assert-return|.
|
Also see |assert_fails()|, |assert_nobeep()| and
|
||||||
|
|assert-return|.
|
||||||
|
|
||||||
Can also be used as a |method|: >
|
Can also be used as a |method|: >
|
||||||
GetCmd()->assert_beeps()
|
GetCmd()->assert_beeps()
|
||||||
@@ -308,8 +310,11 @@ assert_fails({cmd} [, {error} [, {msg} [, {lnum} [, {context}]]]])
|
|||||||
first reported error: >
|
first reported error: >
|
||||||
assert_fails('cmd', ['E987:.*expected bool'])
|
assert_fails('cmd', ['E987:.*expected bool'])
|
||||||
< The second pattern, if present, is matched against the last
|
< The second pattern, if present, is matched against the last
|
||||||
reported error. To only match the last error use an empty
|
reported error.
|
||||||
string for the first error: >
|
If there is only one error then both patterns must match. This
|
||||||
|
can be used to check that there is only one error.
|
||||||
|
To only match the last error use an empty string for the first
|
||||||
|
error: >
|
||||||
assert_fails('cmd', ['', 'E987:'])
|
assert_fails('cmd', ['', 'E987:'])
|
||||||
<
|
<
|
||||||
If {msg} is empty then it is not used. Do this to get the
|
If {msg} is empty then it is not used. Do this to get the
|
||||||
@@ -372,6 +377,14 @@ assert_match({pattern}, {actual} [, {msg}])
|
|||||||
|
|
||||||
Can also be used as a |method|: >
|
Can also be used as a |method|: >
|
||||||
getFile()->assert_match('foo.*')
|
getFile()->assert_match('foo.*')
|
||||||
|
<
|
||||||
|
assert_nobeep({cmd}) *assert_nobeep()*
|
||||||
|
Run {cmd} and add an error message to |v:errors| if it
|
||||||
|
produces a beep or visual bell.
|
||||||
|
Also see |assert_beeps()|.
|
||||||
|
|
||||||
|
Can also be used as a |method|: >
|
||||||
|
GetCmd()->assert_nobeep()
|
||||||
<
|
<
|
||||||
*assert_notequal()*
|
*assert_notequal()*
|
||||||
assert_notequal({expected}, {actual} [, {msg}])
|
assert_notequal({expected}, {actual} [, {msg}])
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*textprop.txt* For Vim version 8.2. Last change: 2020 Oct 14
|
*textprop.txt* For Vim version 8.2. Last change: 2021 May 26
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -126,7 +126,7 @@ prop_add({lnum}, {col}, {props})
|
|||||||
length length of text in bytes, can only be used
|
length length of text in bytes, can only be used
|
||||||
for a property that does not continue in
|
for a property that does not continue in
|
||||||
another line; can be zero
|
another line; can be zero
|
||||||
end_lnum line number for the end of text
|
end_lnum line number for the end of text (inclusive)
|
||||||
end_col column just after the text; not used when
|
end_col column just after the text; not used when
|
||||||
"length" is present; when {col} and "end_col"
|
"length" is present; when {col} and "end_col"
|
||||||
are equal, and "end_lnum" is omitted or equal
|
are equal, and "end_lnum" is omitted or equal
|
||||||
@@ -175,6 +175,7 @@ prop_find({props} [, {direction}])
|
|||||||
Search for a text property as specified with {props}:
|
Search for a text property as specified with {props}:
|
||||||
id property with this ID
|
id property with this ID
|
||||||
type property with this type name
|
type property with this type name
|
||||||
|
both "id" and "type" must both match
|
||||||
bufnr buffer to search in; when present a
|
bufnr buffer to search in; when present a
|
||||||
start position with "lnum" and "col"
|
start position with "lnum" and "col"
|
||||||
must be given; when omitted the
|
must be given; when omitted the
|
||||||
@@ -187,6 +188,7 @@ prop_find({props} [, {direction}])
|
|||||||
skipstart do not look for a match at the start
|
skipstart do not look for a match at the start
|
||||||
position
|
position
|
||||||
|
|
||||||
|
A property matches when either "id" or "type" matches.
|
||||||
{direction} can be "f" for forward and "b" for backward. When
|
{direction} can be "f" for forward and "b" for backward. When
|
||||||
omitted forward search is performed.
|
omitted forward search is performed.
|
||||||
|
|
||||||
@@ -226,7 +228,8 @@ prop_remove({props} [, {lnum} [, {lnum-end}]])
|
|||||||
{lnum-end} is given, remove matching text properties from line
|
{lnum-end} is given, remove matching text properties from line
|
||||||
{lnum} to {lnum-end} (inclusive).
|
{lnum} to {lnum-end} (inclusive).
|
||||||
When {lnum} is omitted remove matching text properties from
|
When {lnum} is omitted remove matching text properties from
|
||||||
all lines.
|
all lines (this requires going over all lines, thus will be a
|
||||||
|
bit slow for a buffer with many lines).
|
||||||
|
|
||||||
{props} is a dictionary with these fields:
|
{props} is a dictionary with these fields:
|
||||||
id remove text properties with this ID
|
id remove text properties with this ID
|
||||||
@@ -258,8 +261,8 @@ prop_type_add({name}, {props}) *prop_type_add()* *E969* *E970*
|
|||||||
properties the one with the highest priority
|
properties the one with the highest priority
|
||||||
will be used; negative values can be used, the
|
will be used; negative values can be used, the
|
||||||
default priority is zero
|
default priority is zero
|
||||||
combine when TRUE combine the highlight with any
|
combine when omitted or TRUE combine the highlight
|
||||||
syntax highlight; when omitted or FALSE syntax
|
with any syntax highlight; when FALSE syntax
|
||||||
highlight will not be used
|
highlight will not be used
|
||||||
start_incl when TRUE inserts at the start position will
|
start_incl when TRUE inserts at the start position will
|
||||||
be included in the text property
|
be included in the text property
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*tips.txt* For Vim version 8.2. Last change: 2009 Nov 07
|
*tips.txt* For Vim version 8.2. Last change: 2020 Dec 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -30,6 +30,7 @@ Executing shell commands in a window |shell-window|
|
|||||||
Hex editing |hex-editing|
|
Hex editing |hex-editing|
|
||||||
Using <> notation in autocommands |autocmd-<>|
|
Using <> notation in autocommands |autocmd-<>|
|
||||||
Highlighting matching parens |match-parens|
|
Highlighting matching parens |match-parens|
|
||||||
|
Opening help in the current window |help-curwin|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
Editing C programs *C-editing*
|
Editing C programs *C-editing*
|
||||||
@@ -530,4 +531,28 @@ A slightly more advanced version is used in the |matchparen| plugin.
|
|||||||
autocmd InsertEnter * match none
|
autocmd InsertEnter * match none
|
||||||
<
|
<
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
Opening help in the current window *help-curwin*
|
||||||
|
|
||||||
|
By default, help is displayed in a split window. If you prefer it opens in
|
||||||
|
the current window, try this custom `:HelpCurwin` command:
|
||||||
|
>
|
||||||
|
command -bar -nargs=? -complete=help HelpCurwin execute s:HelpCurwin(<q-args>)
|
||||||
|
let s:did_open_help = v:false
|
||||||
|
|
||||||
|
function s:HelpCurwin(subject) abort
|
||||||
|
let mods = 'silent noautocmd keepalt'
|
||||||
|
if !s:did_open_help
|
||||||
|
execute mods .. ' help'
|
||||||
|
execute mods .. ' helpclose'
|
||||||
|
let s:did_open_help = v:true
|
||||||
|
endif
|
||||||
|
if !getcompletion(a:subject, 'help')->empty()
|
||||||
|
execute mods .. ' edit ' .. &helpfile
|
||||||
|
endif
|
||||||
|
return 'help ' .. a:subject
|
||||||
|
endfunction
|
||||||
|
<
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:noet:ft=help:norl:
|
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
|||||||
*undo.txt* For Vim version 8.2. Last change: 2020 Oct 18
|
*undo.txt* For Vim version 8.2. Last change: 2020 Nov 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -65,9 +65,9 @@ with the redo command. If you make a new change after the undo command,
|
|||||||
the redo will not be possible anymore.
|
the redo will not be possible anymore.
|
||||||
|
|
||||||
'u' included, the Vi-compatible way:
|
'u' included, the Vi-compatible way:
|
||||||
The undo command undoes the previous change, and also the previous undo command.
|
The undo command undoes the previous change, and also the previous undo
|
||||||
The redo command repeats the previous undo command. It does NOT repeat a
|
command. The redo command repeats the previous undo command. It does NOT
|
||||||
change command, use "." for that.
|
repeat a change command, use "." for that.
|
||||||
|
|
||||||
Examples Vim way Vi-compatible way ~
|
Examples Vim way Vi-compatible way ~
|
||||||
"uu" two times undo no-op
|
"uu" two times undo no-op
|
||||||
@@ -103,7 +103,7 @@ change again. But you can do something like this: >
|
|||||||
|
|
||||||
:undojoin | delete
|
:undojoin | delete
|
||||||
|
|
||||||
After this an "u" command will undo the delete command and the previous
|
After this a "u" command will undo the delete command and the previous
|
||||||
change.
|
change.
|
||||||
|
|
||||||
To do the opposite, break a change into two undo blocks, in Insert mode use
|
To do the opposite, break a change into two undo blocks, in Insert mode use
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*usr_02.txt* For Vim version 8.2. Last change: 2019 Nov 21
|
*usr_02.txt* For Vim version 8.2. Last change: 2021 Apr 24
|
||||||
|
|
||||||
VIM USER MANUAL - by Bram Moolenaar
|
VIM USER MANUAL - by Bram Moolenaar
|
||||||
|
|
||||||
@@ -43,7 +43,7 @@ like:
|
|||||||
|~ |
|
|~ |
|
||||||
|"file.txt" [New file] |
|
|"file.txt" [New file] |
|
||||||
+---------------------------------------+
|
+---------------------------------------+
|
||||||
('#" is the cursor position.)
|
('#' is the cursor position.)
|
||||||
|
|
||||||
The tilde (~) lines indicate lines not in the file. In other words, when Vim
|
The tilde (~) lines indicate lines not in the file. In other words, when Vim
|
||||||
runs out of file to display, it displays tilde lines. At the bottom of the
|
runs out of file to display, it displays tilde lines. At the bottom of the
|
||||||
@@ -532,7 +532,7 @@ Summary: *help-summary* >
|
|||||||
< for the corresponding flag of the 'cpoptions' settings, substitute <letter>
|
< for the corresponding flag of the 'cpoptions' settings, substitute <letter>
|
||||||
by a specific flag, e.g.: >
|
by a specific flag, e.g.: >
|
||||||
:help cpo-;
|
:help cpo-;
|
||||||
< And for the guioption flags: >
|
< And for the 'guioptions' flags: >
|
||||||
:help go-<letter>
|
:help go-<letter>
|
||||||
|
|
||||||
4) Normal mode commands do not have a prefix. To go to the help page for the
|
4) Normal mode commands do not have a prefix. To go to the help page for the
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ which moves to the previous end of a word:
|
|||||||
|
|
||||||
This is a line with example text ~
|
This is a line with example text ~
|
||||||
<----<----x---->------------>
|
<----<----x---->------------>
|
||||||
2ge ge e we
|
2ge ge e 2e
|
||||||
|
|
||||||
If you are at the last word of a line, the "w" command will take you to the
|
If you are at the last word of a line, the "w" command will take you to the
|
||||||
first word in the next line. Thus you can use this to move through a
|
first word in the next line. Thus you can use this to move through a
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*usr_04.txt* For Vim version 8.2. Last change: 2019 Nov 21
|
*usr_04.txt* For Vim version 8.2. Last change: 2021 Feb 22
|
||||||
|
|
||||||
VIM USER MANUAL - by Bram Moolenaar
|
VIM USER MANUAL - by Bram Moolenaar
|
||||||
|
|
||||||
@@ -464,9 +464,9 @@ of characters to replace. It will not continue on the next line.
|
|||||||
|
|
||||||
You can switch between Insert mode and Replace mode with the <Insert> key.
|
You can switch between Insert mode and Replace mode with the <Insert> key.
|
||||||
|
|
||||||
When you use <BS> (backspace) to make correction, you will notice that the
|
When you use <BS> (backspace) to make a correction, you will notice that the
|
||||||
old text is put back. Thus it works like an undo command for the last typed
|
old text is put back. Thus it works like an undo command for the previously
|
||||||
character.
|
typed character.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
*04.10* Conclusion
|
*04.10* Conclusion
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*usr_08.txt* For Vim version 8.2. Last change: 2017 Aug 11
|
*usr_08.txt* For Vim version 8.2. Last change: 2021 May 20
|
||||||
|
|
||||||
VIM USER MANUAL - by Bram Moolenaar
|
VIM USER MANUAL - by Bram Moolenaar
|
||||||
|
|
||||||
@@ -235,7 +235,7 @@ windows like this:
|
|||||||
+----------------------------------+
|
+----------------------------------+
|
||||||
|
|
||||||
Clearly the last one should be at the top. Go to that window (using CTRL-W w)
|
Clearly the last one should be at the top. Go to that window (using CTRL-W w)
|
||||||
and the type this command: >
|
and then type this command: >
|
||||||
|
|
||||||
CTRL-W K
|
CTRL-W K
|
||||||
|
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ when the 'wrap' option has been reset (more about that later).
|
|||||||
|
|
||||||
When there are vertically split windows, only the windows on the right side
|
When there are vertically split windows, only the windows on the right side
|
||||||
will have a scrollbar. However, when you move the cursor to a window on the
|
will have a scrollbar. However, when you move the cursor to a window on the
|
||||||
left, it will be this one the that scrollbar controls. This takes a bit of
|
left, it will be this one that the scrollbar controls. This takes a bit of
|
||||||
time to get used to.
|
time to get used to.
|
||||||
When you work with vertically split windows, consider adding a scrollbar on
|
When you work with vertically split windows, consider adding a scrollbar on
|
||||||
the left. This can be done with a menu item, or with the 'guioptions' option:
|
the left. This can be done with a menu item, or with the 'guioptions' option:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*usr_12.txt* For Vim version 8.2. Last change: 2017 Aug 11
|
*usr_12.txt* For Vim version 8.2. Last change: 2021 Apr 19
|
||||||
|
|
||||||
VIM USER MANUAL - by Bram Moolenaar
|
VIM USER MANUAL - by Bram Moolenaar
|
||||||
|
|
||||||
@@ -180,14 +180,14 @@ after it. That way you don't have this problem again.
|
|||||||
The |:global| command can be combined with the |:move| command to move all the
|
The |:global| command can be combined with the |:move| command to move all the
|
||||||
lines before the first line, resulting in a reversed file. The command is: >
|
lines before the first line, resulting in a reversed file. The command is: >
|
||||||
|
|
||||||
:global/^/m 0
|
:global/^/move 0
|
||||||
|
|
||||||
Abbreviated: >
|
Abbreviated: >
|
||||||
|
|
||||||
:g/^/m 0
|
:g/^/m 0
|
||||||
|
|
||||||
The "^" regular expression matches the beginning of the line (even if the line
|
The "^" regular expression matches the beginning of the line (even if the line
|
||||||
is blank). The |:move| command moves the matching line to after the mythical
|
is blank). The |:move| command moves the matching line to after the imaginary
|
||||||
zeroth line, so the current matching line becomes the first line of the file.
|
zeroth line, so the current matching line becomes the first line of the file.
|
||||||
As the |:global| command is not confused by the changing line numbering,
|
As the |:global| command is not confused by the changing line numbering,
|
||||||
|:global| proceeds to match all remaining lines of the file and puts each as
|
|:global| proceeds to match all remaining lines of the file and puts each as
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*usr_23.txt* For Vim version 8.2. Last change: 2006 Apr 24
|
*usr_23.txt* For Vim version 8.2. Last change: 2020 Dec 19
|
||||||
|
|
||||||
VIM USER MANUAL - by Bram Moolenaar
|
VIM USER MANUAL - by Bram Moolenaar
|
||||||
|
|
||||||
@@ -28,9 +28,9 @@ start a new line. One to move the carriage back to the first position
|
|||||||
(carriage return, <CR>), another to move the paper up (line feed, <LF>).
|
(carriage return, <CR>), another to move the paper up (line feed, <LF>).
|
||||||
When computers came out, storage was expensive. Some people decided that
|
When computers came out, storage was expensive. Some people decided that
|
||||||
they did not need two characters for end-of-line. The UNIX people decided
|
they did not need two characters for end-of-line. The UNIX people decided
|
||||||
they could use <Line Feed> only for end-of-line. The Apple people
|
they could use <New Line> or <NL> only for end-of-line. The Apple people
|
||||||
standardized on <CR>. The Microsoft Windows folks decided to keep
|
standardized on <CR>. The Microsoft Windows folks decided to keep the old
|
||||||
the old <CR><LF>.
|
<CR><NL> (we use <NL> for line feed in the help text).
|
||||||
This means that if you try to move a file from one system to another, you
|
This means that if you try to move a file from one system to another, you
|
||||||
have line-break problems. The Vim editor automatically recognizes the
|
have line-break problems. The Vim editor automatically recognizes the
|
||||||
different file formats and handles things properly behind your back.
|
different file formats and handles things properly behind your back.
|
||||||
@@ -55,20 +55,20 @@ which format you have, execute the following command: >
|
|||||||
|
|
||||||
The three names that Vim uses are:
|
The three names that Vim uses are:
|
||||||
|
|
||||||
unix <LF>
|
unix <NL>
|
||||||
dos <CR><LF>
|
dos <CR><NL>
|
||||||
mac <CR>
|
mac <CR>
|
||||||
|
|
||||||
|
|
||||||
USING THE MAC FORMAT
|
USING THE MAC FORMAT
|
||||||
|
|
||||||
On Unix, <LF> is used to break a line. It's not unusual to have a <CR>
|
On Unix, <NL> is used to break a line. It's not unusual to have a <CR>
|
||||||
character halfway a line. Incidentally, this happens quite often in Vi (and
|
character halfway a line. Incidentally, this happens quite often in Vi (and
|
||||||
Vim) scripts.
|
Vim) scripts.
|
||||||
On the Macintosh, where <CR> is the line break character, it's possible to
|
On the Macintosh, where <CR> is the line break character, it's possible to
|
||||||
have a <LF> character halfway a line.
|
have a <NL> character halfway a line.
|
||||||
The result is that it's not possible to be 100% sure whether a file
|
The result is that it's not possible to be 100% sure whether a file
|
||||||
containing both <CR> and <LF> characters is a Mac or a Unix file. Therefore,
|
containing both <CR> and <NL> characters is a Mac or a Unix file. Therefore,
|
||||||
Vim assumes that on Unix you probably won't edit a Mac file, and doesn't check
|
Vim assumes that on Unix you probably won't edit a Mac file, and doesn't check
|
||||||
for this type of file. To check for this format anyway, add "mac" to
|
for this type of file. To check for this format anyway, add "mac" to
|
||||||
'fileformats': >
|
'fileformats': >
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*usr_41.txt* For Vim version 8.2. Last change: 2020 Aug 30
|
*usr_41.txt* For Vim version 8.2. Last change: 2021 Jun 07
|
||||||
|
|
||||||
VIM USER MANUAL - by Bram Moolenaar
|
VIM USER MANUAL - by Bram Moolenaar
|
||||||
|
|
||||||
@@ -115,21 +115,29 @@ if you are impatient.
|
|||||||
|
|
||||||
FOUR KINDS OF NUMBERS
|
FOUR KINDS OF NUMBERS
|
||||||
|
|
||||||
Numbers can be decimal, hexadecimal, octal or binary. A hexadecimal number
|
Numbers can be decimal, hexadecimal, octal or binary.
|
||||||
starts with "0x" or "0X". For example "0x1f" is decimal 31. An octal number
|
|
||||||
starts with a zero. "017" is decimal 15. A binary number starts with "0b" or
|
|
||||||
"0B". For example "0b101" is decimal 5. Careful: don't put a zero before a
|
|
||||||
decimal number, it will be interpreted as an octal number!
|
|
||||||
The ":echo" command always prints decimal numbers. Example: >
|
|
||||||
|
|
||||||
:echo 0x7f 036
|
A hexadecimal number starts with "0x" or "0X". For example "0x1f" is decimal
|
||||||
|
31.
|
||||||
|
|
||||||
|
An octal number starts with "0o", "0O" or a zero and another digit. "0o17" is
|
||||||
|
decimal 15. Using just a zero prefix is not supported in Vim9 script.
|
||||||
|
|
||||||
|
A binary number starts with "0b" or "0B". For example "0b101" is decimal 5.
|
||||||
|
|
||||||
|
A decimal number is just digits. Careful: don't put a zero before a decimal
|
||||||
|
number, it will be interpreted as an octal number in legacy script!
|
||||||
|
|
||||||
|
The ":echo" command always prints decimal numbers. Example: >
|
||||||
|
|
||||||
|
:echo 0x7f 0o36
|
||||||
< 127 30 ~
|
< 127 30 ~
|
||||||
|
|
||||||
A number is made negative with a minus sign. This also works for hexadecimal,
|
A number is made negative with a minus sign. This also works for hexadecimal,
|
||||||
octal and binary numbers. A minus sign is also used for subtraction. Compare
|
octal and binary numbers. A minus sign is also used for subtraction. Compare
|
||||||
this with the previous example: >
|
this with the previous example: >
|
||||||
|
|
||||||
:echo 0x7f -036
|
:echo 0x7f -0o36
|
||||||
< 97 ~
|
< 97 ~
|
||||||
|
|
||||||
White space in an expression is ignored. However, it's recommended to use it
|
White space in an expression is ignored. However, it's recommended to use it
|
||||||
@@ -137,7 +145,7 @@ for separating items, to make the expression easier to read. For example, to
|
|||||||
avoid the confusion with a negative number above, put a space between the
|
avoid the confusion with a negative number above, put a space between the
|
||||||
minus sign and the following number: >
|
minus sign and the following number: >
|
||||||
|
|
||||||
:echo 0x7f - 036
|
:echo 0x7f - 0o36
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
*41.2* Variables
|
*41.2* Variables
|
||||||
@@ -611,7 +619,8 @@ String manipulation: *string-functions*
|
|||||||
stridx() first index of a short string in a long string
|
stridx() first index of a short string in a long string
|
||||||
strridx() last index of a short string in a long string
|
strridx() last index of a short string in a long string
|
||||||
strlen() length of a string in bytes
|
strlen() length of a string in bytes
|
||||||
strchars() length of a string in characters
|
strcharlen() length of a string in characters
|
||||||
|
strchars() number of characters in a string
|
||||||
strwidth() size of string when displayed
|
strwidth() size of string when displayed
|
||||||
strdisplaywidth() size of string when displayed, deals with tabs
|
strdisplaywidth() size of string when displayed, deals with tabs
|
||||||
setcellwidths() set character cell width overrides
|
setcellwidths() set character cell width overrides
|
||||||
@@ -619,12 +628,15 @@ String manipulation: *string-functions*
|
|||||||
submatch() get a specific match in ":s" and substitute()
|
submatch() get a specific match in ":s" and substitute()
|
||||||
strpart() get part of a string using byte index
|
strpart() get part of a string using byte index
|
||||||
strcharpart() get part of a string using char index
|
strcharpart() get part of a string using char index
|
||||||
|
slice() take a slice of a string, using char index in
|
||||||
|
Vim9 script
|
||||||
strgetchar() get character from a string using char index
|
strgetchar() get character from a string using char index
|
||||||
expand() expand special keywords
|
expand() expand special keywords
|
||||||
expandcmd() expand a command like done for `:edit`
|
expandcmd() expand a command like done for `:edit`
|
||||||
iconv() convert text from one encoding to another
|
iconv() convert text from one encoding to another
|
||||||
byteidx() byte index of a character in a string
|
byteidx() byte index of a character in a string
|
||||||
byteidxcomp() like byteidx() but count composing characters
|
byteidxcomp() like byteidx() but count composing characters
|
||||||
|
charidx() character index of a byte in a string
|
||||||
repeat() repeat a string multiple times
|
repeat() repeat a string multiple times
|
||||||
eval() evaluate a string expression
|
eval() evaluate a string expression
|
||||||
execute() execute an Ex command and get the output
|
execute() execute an Ex command and get the output
|
||||||
@@ -639,6 +651,7 @@ List manipulation: *list-functions*
|
|||||||
insert() insert an item somewhere in a List
|
insert() insert an item somewhere in a List
|
||||||
add() append an item to a List
|
add() append an item to a List
|
||||||
extend() append a List to a List
|
extend() append a List to a List
|
||||||
|
extendnew() make a new List and append items
|
||||||
remove() remove one or more items from a List
|
remove() remove one or more items from a List
|
||||||
copy() make a shallow copy of a List
|
copy() make a shallow copy of a List
|
||||||
deepcopy() make a full copy of a List
|
deepcopy() make a full copy of a List
|
||||||
@@ -646,6 +659,7 @@ List manipulation: *list-functions*
|
|||||||
map() change each List item
|
map() change each List item
|
||||||
mapnew() make a new List with changed items
|
mapnew() make a new List with changed items
|
||||||
reduce() reduce a List to a value
|
reduce() reduce a List to a value
|
||||||
|
slice() take a slice of a List
|
||||||
sort() sort a List
|
sort() sort a List
|
||||||
reverse() reverse the order of a List
|
reverse() reverse the order of a List
|
||||||
uniq() remove copies of repeated adjacent items
|
uniq() remove copies of repeated adjacent items
|
||||||
@@ -660,6 +674,7 @@ List manipulation: *list-functions*
|
|||||||
count() count number of times a value appears in a List
|
count() count number of times a value appears in a List
|
||||||
repeat() repeat a List multiple times
|
repeat() repeat a List multiple times
|
||||||
flatten() flatten a List
|
flatten() flatten a List
|
||||||
|
flattennew() flatten a copy of a List
|
||||||
|
|
||||||
Dictionary manipulation: *dict-functions*
|
Dictionary manipulation: *dict-functions*
|
||||||
get() get an entry without an error for a wrong key
|
get() get an entry without an error for a wrong key
|
||||||
@@ -668,6 +683,7 @@ Dictionary manipulation: *dict-functions*
|
|||||||
empty() check if Dictionary is empty
|
empty() check if Dictionary is empty
|
||||||
remove() remove an entry from a Dictionary
|
remove() remove an entry from a Dictionary
|
||||||
extend() add entries from one Dictionary to another
|
extend() add entries from one Dictionary to another
|
||||||
|
extendnew() make a new Dictionary and append items
|
||||||
filter() remove selected entries from a Dictionary
|
filter() remove selected entries from a Dictionary
|
||||||
map() change each Dictionary entry
|
map() change each Dictionary entry
|
||||||
mapnew() make a new Dictionary with changed items
|
mapnew() make a new Dictionary with changed items
|
||||||
@@ -717,7 +733,8 @@ Other computation: *bitwise-function*
|
|||||||
srand() initialize seed used by rand()
|
srand() initialize seed used by rand()
|
||||||
|
|
||||||
Variables: *var-functions*
|
Variables: *var-functions*
|
||||||
type() type of a variable
|
type() type of a variable as a number
|
||||||
|
typename() type of a variable as text
|
||||||
islocked() check if a variable is locked
|
islocked() check if a variable is locked
|
||||||
funcref() get a Funcref for a function reference
|
funcref() get a Funcref for a function reference
|
||||||
function() get a Funcref for a function name
|
function() get a Funcref for a function name
|
||||||
@@ -752,6 +769,11 @@ Cursor and mark position: *cursor-functions* *mark-functions*
|
|||||||
screenchar() get character code at a screen line/row
|
screenchar() get character code at a screen line/row
|
||||||
screenchars() get character codes at a screen line/row
|
screenchars() get character codes at a screen line/row
|
||||||
screenstring() get string of characters at a screen line/row
|
screenstring() get string of characters at a screen line/row
|
||||||
|
charcol() character number of the cursor or a mark
|
||||||
|
getcharpos() get character position of cursor, mark, etc.
|
||||||
|
setcharpos() set character position of cursor, mark, etc.
|
||||||
|
getcursorcharpos() get character position of the cursor
|
||||||
|
setcursorcharpos() set character position of the cursor
|
||||||
|
|
||||||
Working with text in the current buffer: *text-functions*
|
Working with text in the current buffer: *text-functions*
|
||||||
getline() get a line or list of lines from the buffer
|
getline() get a line or list of lines from the buffer
|
||||||
@@ -811,6 +833,7 @@ System functions and manipulation of files:
|
|||||||
setenv() set an environment variable
|
setenv() set an environment variable
|
||||||
hostname() name of the system
|
hostname() name of the system
|
||||||
readfile() read a file into a List of lines
|
readfile() read a file into a List of lines
|
||||||
|
readblob() read a file into a Blob
|
||||||
readdir() get a List of file names in a directory
|
readdir() get a List of file names in a directory
|
||||||
readdirex() get a List of file information in a directory
|
readdirex() get a List of file information in a directory
|
||||||
writefile() write a List of lines or Blob into a file
|
writefile() write a List of lines or Blob into a file
|
||||||
@@ -869,6 +892,7 @@ Command line: *command-line-functions*
|
|||||||
getcmdtype() return the current command-line type
|
getcmdtype() return the current command-line type
|
||||||
getcmdwintype() return the current command-line window type
|
getcmdwintype() return the current command-line window type
|
||||||
getcompletion() list of command-line completion matches
|
getcompletion() list of command-line completion matches
|
||||||
|
fullcommand() get full command name
|
||||||
|
|
||||||
Quickfix and location lists: *quickfix-functions*
|
Quickfix and location lists: *quickfix-functions*
|
||||||
getqflist() list of quickfix errors
|
getqflist() list of quickfix errors
|
||||||
@@ -928,6 +952,7 @@ Interactive: *interactive-functions*
|
|||||||
browsedir() put up a directory requester
|
browsedir() put up a directory requester
|
||||||
confirm() let the user make a choice
|
confirm() let the user make a choice
|
||||||
getchar() get a character from the user
|
getchar() get a character from the user
|
||||||
|
getcharstr() get a character from the user as a string
|
||||||
getcharmod() get modifiers for the last typed character
|
getcharmod() get modifiers for the last typed character
|
||||||
getmousepos() get last known mouse position
|
getmousepos() get last known mouse position
|
||||||
echoraw() output characters as-is
|
echoraw() output characters as-is
|
||||||
@@ -987,6 +1012,7 @@ Testing: *test-functions*
|
|||||||
assert_true() assert that an expression is true
|
assert_true() assert that an expression is true
|
||||||
assert_exception() assert that a command throws an exception
|
assert_exception() assert that a command throws an exception
|
||||||
assert_beeps() assert that a command beeps
|
assert_beeps() assert that a command beeps
|
||||||
|
assert_nobeep() assert that a command does not cause a beep
|
||||||
assert_fails() assert that a command fails
|
assert_fails() assert that a command fails
|
||||||
assert_report() report a test failure
|
assert_report() report a test failure
|
||||||
test_alloc_fail() make memory allocation fail
|
test_alloc_fail() make memory allocation fail
|
||||||
@@ -1765,7 +1791,7 @@ Here is a summary of items that apply to Vim scripts. They are also mentioned
|
|||||||
elsewhere, but form a nice checklist.
|
elsewhere, but form a nice checklist.
|
||||||
|
|
||||||
The end-of-line character depends on the system. For Unix a single <NL>
|
The end-of-line character depends on the system. For Unix a single <NL>
|
||||||
character is used. For MS-Windows and the like, <CR><LF> is used. This is
|
character is used. For MS-Windows and the like, <CR><NL> is used. This is
|
||||||
important when using mappings that end in a <CR>. See |:source_crnl|.
|
important when using mappings that end in a <CR>. See |:source_crnl|.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*various.txt* For Vim version 8.2. Last change: 2020 Aug 20
|
*various.txt* For Vim version 8.2. Last change: 2021 Mar 23
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -142,15 +142,17 @@ g8 Print the hex values of the bytes used in the
|
|||||||
quit
|
quit
|
||||||
<
|
<
|
||||||
*:z* *E144*
|
*:z* *E144*
|
||||||
:{range}z[+-^.=]{count} Display several lines of text surrounding the line
|
:[range]z[+-^.=][count] Display several lines of text surrounding the line
|
||||||
specified with {range}, or around the current line
|
specified with [range], or around the current line
|
||||||
if there is no {range}. If there is a {count}, that's
|
if there is no [range].
|
||||||
how many lines you'll see; if there is no {count} and
|
|
||||||
only one window then twice the value of the 'scroll'
|
|
||||||
option is used, otherwise the current window height
|
|
||||||
minus 3 is used.
|
|
||||||
|
|
||||||
If there is a {count} the 'window' option is set to
|
If there is a [count], that's how many lines you'll
|
||||||
|
see; if there is no [count] and only one window then
|
||||||
|
twice the value of the 'scroll' option is used,
|
||||||
|
otherwise the current window height minus 3 is used.
|
||||||
|
This is the value of "scr" in the table below.
|
||||||
|
|
||||||
|
If there is a [count] the 'window' option is set to
|
||||||
its value.
|
its value.
|
||||||
|
|
||||||
:z can be used either alone or followed by any of
|
:z can be used either alone or followed by any of
|
||||||
@@ -168,7 +170,7 @@ g8 Print the hex values of the bytes used in the
|
|||||||
If the mark is "=", a line of dashes is printed
|
If the mark is "=", a line of dashes is printed
|
||||||
around the current line.
|
around the current line.
|
||||||
|
|
||||||
:{range}z#[+-^.=]{count} *:z#*
|
:[range]z#[+-^.=][count] *:z#*
|
||||||
Like ":z", but number the lines.
|
Like ":z", but number the lines.
|
||||||
|
|
||||||
*:=*
|
*:=*
|
||||||
@@ -343,8 +345,9 @@ N *+clientserver* Unix and Win32: Remote invocation |clientserver|
|
|||||||
*+clipboard* |clipboard| support compiled-in
|
*+clipboard* |clipboard| support compiled-in
|
||||||
*+clipboard_working* |clipboard| support compiled-in and working
|
*+clipboard_working* |clipboard| support compiled-in and working
|
||||||
T *+cmdline_compl* command line completion |cmdline-completion|
|
T *+cmdline_compl* command line completion |cmdline-completion|
|
||||||
S *+cmdline_hist* command line history |cmdline-history|
|
T *+cmdline_hist* command line history |cmdline-history|
|
||||||
N *+cmdline_info* |'showcmd'| and |'ruler'|
|
N *+cmdline_info* |'showcmd'| and |'ruler'|
|
||||||
|
S *+cmdwin* |cmdline-window| support
|
||||||
T *+comments* |'comments'| support
|
T *+comments* |'comments'| support
|
||||||
B *+conceal* "conceal" support, see |conceal| |:syn-conceal| etc.
|
B *+conceal* "conceal" support, see |conceal| |:syn-conceal| etc.
|
||||||
N *+cryptv* encryption support |encryption|
|
N *+cryptv* encryption support |encryption|
|
||||||
@@ -409,7 +412,7 @@ N *+mouse_sysmouse* Unix only: *BSD console mouse handling |sysmouse|
|
|||||||
B *+mouse_sgr* Unix only: sgr mouse handling |sgr-mouse|
|
B *+mouse_sgr* Unix only: sgr mouse handling |sgr-mouse|
|
||||||
B *+mouse_urxvt* Unix only: urxvt mouse handling |urxvt-mouse|
|
B *+mouse_urxvt* Unix only: urxvt mouse handling |urxvt-mouse|
|
||||||
N *+mouse_xterm* Unix only: xterm mouse handling |xterm-mouse|
|
N *+mouse_xterm* Unix only: xterm mouse handling |xterm-mouse|
|
||||||
N *+multi_byte* 16 and 32 bit characters |multibyte|
|
T *+multi_byte* Unicode support, 16 and 32 bit characters |multibyte|
|
||||||
*+multi_byte_ime* Win32 input method for multibyte chars |multibyte-ime|
|
*+multi_byte_ime* Win32 input method for multibyte chars |multibyte-ime|
|
||||||
N *+multi_lang* non-English language support |multi-lang|
|
N *+multi_lang* non-English language support |multi-lang|
|
||||||
m *+mzscheme* Mzscheme interface |mzscheme|
|
m *+mzscheme* Mzscheme interface |mzscheme|
|
||||||
@@ -569,7 +572,7 @@ N *+X11* Unix only: can restore window title |X11|
|
|||||||
it in / any non-ID character (see |'isident'|) can be
|
it in / any non-ID character (see |'isident'|) can be
|
||||||
used, so long as it does not appear in {pat}. Without
|
used, so long as it does not appear in {pat}. Without
|
||||||
the enclosing character the pattern cannot include the
|
the enclosing character the pattern cannot include the
|
||||||
bar character.
|
bar character. 'ignorecase' is not used.
|
||||||
|
|
||||||
The pattern is matched against the relevant part of
|
The pattern is matched against the relevant part of
|
||||||
the output, not necessarily the whole line. Only some
|
the output, not necessarily the whole line. Only some
|
||||||
@@ -705,12 +708,12 @@ K Run a program to lookup the keyword under the
|
|||||||
not more than one line.
|
not more than one line.
|
||||||
|
|
||||||
[N]gs *gs* *:sl* *:sleep*
|
[N]gs *gs* *:sl* *:sleep*
|
||||||
:[N]sl[eep] [N] [m] Do nothing for [N] seconds. When [m] is included,
|
:[N]sl[eep] [N][m] Do nothing for [N] seconds. When [m] is included,
|
||||||
sleep for [N] milliseconds. The count for "gs" always
|
sleep for [N] milliseconds. The count for "gs" always
|
||||||
uses seconds. The default is one second. >
|
uses seconds. The default is one second. >
|
||||||
:sleep "sleep for one second
|
:sleep "sleep for one second
|
||||||
:5sleep "sleep for five seconds
|
:5sleep "sleep for five seconds
|
||||||
:sleep 100m "sleep for a hundred milliseconds
|
:sleep 100m "sleep for 100 milliseconds
|
||||||
10gs "sleep for ten seconds
|
10gs "sleep for ten seconds
|
||||||
< Can be interrupted with CTRL-C (CTRL-Break on
|
< Can be interrupted with CTRL-C (CTRL-Break on
|
||||||
MS-Windows). "gs" stands for "goto sleep".
|
MS-Windows). "gs" stands for "goto sleep".
|
||||||
@@ -720,6 +723,9 @@ K Run a program to lookup the keyword under the
|
|||||||
available when compiled with the |+netbeans_intg|
|
available when compiled with the |+netbeans_intg|
|
||||||
feature}
|
feature}
|
||||||
|
|
||||||
|
*:sl!* *:sleep!*
|
||||||
|
:[N]sl[eep]! [N][m] Same as above, but hide the cursor.
|
||||||
|
|
||||||
*:xrestore* *:xr*
|
*:xrestore* *:xr*
|
||||||
:xr[estore] [display] Reinitializes the connection to the X11 server. Useful
|
:xr[estore] [display] Reinitializes the connection to the X11 server. Useful
|
||||||
after the X server restarts, e.g. when running Vim for
|
after the X server restarts, e.g. when running Vim for
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*version5.txt* For Vim version 8.2. Last change: 2020 Sep 02
|
*version5.txt* For Vim version 8.2. Last change: 2021 Apr 05
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -405,7 +405,7 @@ Both of these are only available when enabled at compile time.
|
|||||||
Win32 GUI version *added-win32-GUI*
|
Win32 GUI version *added-win32-GUI*
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
The GUI has been ported to MS Windows 95 and NT. All the features of the X11
|
The GUI has been ported to MS-Windows 95 and NT. All the features of the X11
|
||||||
GUI are available to Windows users now. |gui-w32|
|
GUI are available to Windows users now. |gui-w32|
|
||||||
This also fixes problems with running the Win32 console version under Windows
|
This also fixes problems with running the Win32 console version under Windows
|
||||||
95, where console support has always been bad.
|
95, where console support has always been bad.
|
||||||
@@ -805,7 +805,7 @@ Using "~" for $HOME now works for all systems. |$HOME|
|
|||||||
Unix: Besides using CTRL-C, also use the INTR character from the tty settings.
|
Unix: Besides using CTRL-C, also use the INTR character from the tty settings.
|
||||||
Somebody has INTR set to DEL.
|
Somebody has INTR set to DEL.
|
||||||
|
|
||||||
Allow a <LF> in a ":help" command argument to end the help command, so another
|
Allow a <NL> in a ":help" command argument to end the help command, so another
|
||||||
command can follow.
|
command can follow.
|
||||||
|
|
||||||
Doing "%" on a line that starts with " #if" didn't jump to matching "#else".
|
Doing "%" on a line that starts with " #if" didn't jump to matching "#else".
|
||||||
@@ -4403,7 +4403,7 @@ the last char of the line, "<<" moved an extra line. Also for other operators
|
|||||||
that always work on lines.
|
that always work on lines.
|
||||||
|
|
||||||
link.sh changed "-lnsl_s" to "_s" when looking for "nsl" to be removed.
|
link.sh changed "-lnsl_s" to "_s" when looking for "nsl" to be removed.
|
||||||
Now it only remove whole words.
|
Now it only removes whole words.
|
||||||
|
|
||||||
When jumped to a mark or using "fz", and there is an error, the current column
|
When jumped to a mark or using "fz", and there is an error, the current column
|
||||||
was lost. E.g. when using "$fzj".
|
was lost. E.g. when using "$fzj".
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*version6.txt* For Vim version 8.2. Last change: 2020 Aug 17
|
*version6.txt* For Vim version 8.2. Last change: 2021 Apr 05
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -1025,7 +1025,7 @@ Port to OS/390 Unix (Ralf Schandl)
|
|||||||
Included jsbmouse support. (Darren Garth)
|
Included jsbmouse support. (Darren Garth)
|
||||||
Support for dec mouse in Unix. (Steve Wall)
|
Support for dec mouse in Unix. (Steve Wall)
|
||||||
|
|
||||||
Port to 16-bit MS Windows (Windows 3.1x) (Vince Negri)
|
Port to 16-bit MS-Windows (Windows 3.1x) (Vince Negri)
|
||||||
|
|
||||||
Port to QNX. Supports the Photon GUI, mouse, etc. (Julian Kinraid)
|
Port to QNX. Supports the Photon GUI, mouse, etc. (Julian Kinraid)
|
||||||
|
|
||||||
@@ -1331,7 +1331,7 @@ eventhandler() Returns 1 when inside an event handler and interactive
|
|||||||
executable() Checks if a program or batch script can be executed.
|
executable() Checks if a program or batch script can be executed.
|
||||||
filewritable() Checks if a file can be written. (Ron Aaron)
|
filewritable() Checks if a file can be written. (Ron Aaron)
|
||||||
foldclosed() Find out if there is a closed fold. (Johannes Zellner).
|
foldclosed() Find out if there is a closed fold. (Johannes Zellner).
|
||||||
foldcloseend() Find the end of a closed fold.
|
foldclosedend() Find the end of a closed fold.
|
||||||
foldlevel() Find out the foldlevel. (Johannes Zellner)
|
foldlevel() Find out the foldlevel. (Johannes Zellner)
|
||||||
foreground() Move the GUI window to the foreground.
|
foreground() Move the GUI window to the foreground.
|
||||||
getchar() Get one character from the user. Can be used to define a
|
getchar() Get one character from the user. Can be used to define a
|
||||||
@@ -9649,7 +9649,7 @@ Files: src/Make_cyg.mak, src/Make_ming.mak
|
|||||||
|
|
||||||
Patch 6.2f.016
|
Patch 6.2f.016
|
||||||
Problem: "vim --version > ff" on non-Unix systems results in a file with a
|
Problem: "vim --version > ff" on non-Unix systems results in a file with a
|
||||||
missing line break at the end. (Bill McCArthy)
|
missing line break at the end. (Bill McCarthy)
|
||||||
Solution: Add a line break.
|
Solution: Add a line break.
|
||||||
Files: src/main.c
|
Files: src/main.c
|
||||||
|
|
||||||
@@ -9661,7 +9661,7 @@ Solution: Check for tcsetattr() to return an error, retry when it does.
|
|||||||
Files: src/os_unix.c
|
Files: src/os_unix.c
|
||||||
|
|
||||||
Patch 6.2f.018
|
Patch 6.2f.018
|
||||||
Problem: Mac OS X 10.2: OK is defined to zero in cursus.h while Vim uses
|
Problem: Mac OS X 10.2: OK is defined to zero in curses.h while Vim uses
|
||||||
one. Redefining it causes a warning message.
|
one. Redefining it causes a warning message.
|
||||||
Solution: Undefine OK before defining it to one. (Taro Muraoka)
|
Solution: Undefine OK before defining it to one. (Taro Muraoka)
|
||||||
Files: src/vim.h
|
Files: src/vim.h
|
||||||
@@ -12864,7 +12864,7 @@ Files: src/message.c
|
|||||||
Patch 6.2.444
|
Patch 6.2.444
|
||||||
Problem: When adding the 'c' flag to a ":substitute" command it may replace
|
Problem: When adding the 'c' flag to a ":substitute" command it may replace
|
||||||
more times than without the 'c' flag. Happens for a match that
|
more times than without the 'c' flag. Happens for a match that
|
||||||
starts with "\ze" (Marcel Svitalsk) and when using "\@<=" (Klaus
|
starts with "\ze" (Marcel Svitalsky) and when using "\@<=" (Klaus
|
||||||
Bosau).
|
Bosau).
|
||||||
Solution: Correct "prev_matchcol" when replacing the line. Don't replace
|
Solution: Correct "prev_matchcol" when replacing the line. Don't replace
|
||||||
the line when the pattern uses look-behind matching.
|
the line when the pattern uses look-behind matching.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*version7.txt* For Vim version 8.2. Last change: 2020 Oct 25
|
*version7.txt* For Vim version 8.2. Last change: 2021 May 13
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -2300,7 +2300,7 @@ value didn't fill the whole screen. (SungHyun Nam)
|
|||||||
Win32 installer: The generated _vimrc contained an absolute path to diff.exe.
|
Win32 installer: The generated _vimrc contained an absolute path to diff.exe.
|
||||||
After upgrading it becomes invalid. Now use $VIMRUNTIME instead.
|
After upgrading it becomes invalid. Now use $VIMRUNTIME instead.
|
||||||
|
|
||||||
The command line was cleared to often when 'showmode' was set and ":silent
|
The command line was cleared too often when 'showmode' was set and ":silent
|
||||||
normal vy" was used. Don't clear the command line unless the mode was
|
normal vy" was used. Don't clear the command line unless the mode was
|
||||||
actually displayed. Added the "mode_displayed" variable.
|
actually displayed. Added the "mode_displayed" variable.
|
||||||
|
|
||||||
@@ -9826,7 +9826,7 @@ Solution: Add AC_SYS_LARGEFILE to configure. (James Vega)
|
|||||||
Files: src/configure.in, src/config.h.in, src/auto/configure
|
Files: src/configure.in, src/config.h.in, src/auto/configure
|
||||||
|
|
||||||
Patch 7.2.414
|
Patch 7.2.414
|
||||||
Problem: CTRK-K <space> <space> does not produce 0xa0 as expected. (Tony
|
Problem: CTRL-K <space> <space> does not produce 0xa0 as expected. (Tony
|
||||||
Mechelynck)
|
Mechelynck)
|
||||||
Solution: Remove the Unicode range 0xe000 - 0xefff from digraphs, these are
|
Solution: Remove the Unicode range 0xe000 - 0xefff from digraphs, these are
|
||||||
not valid characters.
|
not valid characters.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*version8.txt* For Vim version 8.2. Last change: 2020 Oct 25
|
*version8.txt* For Vim version 8.2. Last change: 2021 May 13
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -76,7 +76,7 @@ Timers ~
|
|||||||
Also asynchronous are timers. They can fire once or repeatedly and invoke a
|
Also asynchronous are timers. They can fire once or repeatedly and invoke a
|
||||||
function to do any work. For example: >
|
function to do any work. For example: >
|
||||||
let tempTimer = timer_start(4000, 'CheckTemp')
|
let tempTimer = timer_start(4000, 'CheckTemp')
|
||||||
This will call the CheckTemp() function four seconds (4000 milli seconds)
|
This will call the CheckTemp() function four seconds (4000 milliseconds)
|
||||||
later. See |timer_start()|.
|
later. See |timer_start()|.
|
||||||
|
|
||||||
|
|
||||||
@@ -1776,7 +1776,7 @@ Files: runtime/doc/change.txt, runtime/doc/eval.txt,
|
|||||||
|
|
||||||
Patch 7.4.219
|
Patch 7.4.219
|
||||||
Problem: When 'relativenumber' or 'cursorline' are set the window is
|
Problem: When 'relativenumber' or 'cursorline' are set the window is
|
||||||
redrawn much to often. (Patrick Hemmer, Dominique Pelle)
|
redrawn much too often. (Patrick Hemmer, Dominique Pelle)
|
||||||
Solution: Check the VALID_CROW flag instead of VALID_WROW.
|
Solution: Check the VALID_CROW flag instead of VALID_WROW.
|
||||||
Files: src/move.c
|
Files: src/move.c
|
||||||
|
|
||||||
@@ -3282,7 +3282,7 @@ Solution: Convert the printer name from the active codepage to 'encoding'.
|
|||||||
Files: src/os_mswin.c
|
Files: src/os_mswin.c
|
||||||
|
|
||||||
Patch 7.4.472
|
Patch 7.4.472
|
||||||
Problem: The "precedes" entry in 'listchar' will be drawn when 'showbreak'
|
Problem: The "precedes" entry in 'listchars' will be drawn when 'showbreak'
|
||||||
is set and 'list' is not.
|
is set and 'list' is not.
|
||||||
Solution: Only draw this character when 'list' is on. (Christian Brabandt)
|
Solution: Only draw this character when 'list' is on. (Christian Brabandt)
|
||||||
Files: src/screen.c
|
Files: src/screen.c
|
||||||
@@ -15341,7 +15341,7 @@ Solution: Link winpthread statically. (jmmerz, closes #1255, closes #1256)
|
|||||||
Files: src/Make_cyg_ming.mak
|
Files: src/Make_cyg_ming.mak
|
||||||
|
|
||||||
Patch 8.0.0116
|
Patch 8.0.0116
|
||||||
Problem: When reading English help and using CTRl-] the language from
|
Problem: When reading English help and using CTRL-] the language from
|
||||||
'helplang' is used.
|
'helplang' is used.
|
||||||
Solution: Make help tag jumps keep the language. (Tatsuki, test by Hirohito
|
Solution: Make help tag jumps keep the language. (Tatsuki, test by Hirohito
|
||||||
Higashi, closes #1249)
|
Higashi, closes #1249)
|
||||||
@@ -16933,7 +16933,7 @@ Solution: Add #ifdefs.
|
|||||||
Files: src/screen.c
|
Files: src/screen.c
|
||||||
|
|
||||||
Patch 8.0.0383 (after 8.0.0382)
|
Patch 8.0.0383 (after 8.0.0382)
|
||||||
Problem: Misplaced #ifdef. (Christ van Willigen)
|
Problem: Misplaced #ifdef. (Christ van Willegen)
|
||||||
Solution: Split assignment.
|
Solution: Split assignment.
|
||||||
Files: src/screen.c
|
Files: src/screen.c
|
||||||
|
|
||||||
@@ -19612,7 +19612,7 @@ Files: Filelist
|
|||||||
|
|
||||||
Patch 8.0.0815
|
Patch 8.0.0815
|
||||||
Problem: Terminal window not correctly updated when 'statusline' invokes
|
Problem: Terminal window not correctly updated when 'statusline' invokes
|
||||||
":sleep". (NIkolay Pavlov)
|
":sleep". (Nikolay Pavlov)
|
||||||
Solution: Clear got_int. Repeat redrawing when needed.
|
Solution: Clear got_int. Repeat redrawing when needed.
|
||||||
Files: src/terminal.c
|
Files: src/terminal.c
|
||||||
|
|
||||||
@@ -35835,7 +35835,7 @@ Files: src/ex_cmds2.c, src/getchar.c, src/testdir/test_mapping.vim,
|
|||||||
Patch 8.1.1592
|
Patch 8.1.1592
|
||||||
Problem: May start file dialog while exiting.
|
Problem: May start file dialog while exiting.
|
||||||
Solution: Ignore the "browse" modifier when exiting. (Ozaki Kiichi,
|
Solution: Ignore the "browse" modifier when exiting. (Ozaki Kiichi,
|
||||||
closes #4582
|
closes #4582)
|
||||||
Files: src/ex_cmds.c, src/terminal.c
|
Files: src/ex_cmds.c, src/terminal.c
|
||||||
|
|
||||||
Patch 8.1.1593
|
Patch 8.1.1593
|
||||||
@@ -42557,7 +42557,7 @@ Files: src/buffer.c, src/testdir/test_statusline.vim,
|
|||||||
src/testdir/dumps/Test_statusline_1.dump
|
src/testdir/dumps/Test_statusline_1.dump
|
||||||
|
|
||||||
Patch 8.2.0236
|
Patch 8.2.0236
|
||||||
Problem: MS-Windows uninstall doesn't delete vimtutur.bat.
|
Problem: MS-Windows uninstall doesn't delete vimtutor.bat.
|
||||||
Solution: Change directory before deletion. (Ken Takata, closes #5603)
|
Solution: Change directory before deletion. (Ken Takata, closes #5603)
|
||||||
Files: src/uninstall.c
|
Files: src/uninstall.c
|
||||||
|
|
||||||
@@ -46431,7 +46431,7 @@ Files: src/buffer.c, src/change.c, src/diff.c, src/evalbuffer.c,
|
|||||||
|
|
||||||
Patch 8.2.0854
|
Patch 8.2.0854
|
||||||
Problem: Xxd cannot show offset as a decimal number.
|
Problem: Xxd cannot show offset as a decimal number.
|
||||||
Solution: Add the "-d" flag. (Aapo Rantalainen, closes #5616
|
Solution: Add the "-d" flag. (Aapo Rantalainen, closes #5616)
|
||||||
Files: src/testdir/test_xxd.vim, src/xxd/xxd.c
|
Files: src/testdir/test_xxd.vim, src/xxd/xxd.c
|
||||||
|
|
||||||
Patch 8.2.0855
|
Patch 8.2.0855
|
||||||
@@ -46661,7 +46661,7 @@ Solution: Use // comments. (Yegappan Lakshmanan, closes #6190)
|
|||||||
Files: src/gui_xim.c
|
Files: src/gui_xim.c
|
||||||
|
|
||||||
Patch 8.2.0890
|
Patch 8.2.0890
|
||||||
Problem: No color in terminal window when 'termguicolor' is set.
|
Problem: No color in terminal window when 'termguicolors' is set.
|
||||||
Solution: Clear the underline color. (closes #6186)
|
Solution: Clear the underline color. (closes #6186)
|
||||||
Files: src/highlight.c
|
Files: src/highlight.c
|
||||||
|
|
||||||
@@ -46728,7 +46728,7 @@ Files: runtime/doc/change.txt, src/mbyte.c, src/ops.c, src/option.h,
|
|||||||
|
|
||||||
Patch 8.2.0902
|
Patch 8.2.0902
|
||||||
Problem: Using searchcount() in 'statusline' causes an error.
|
Problem: Using searchcount() in 'statusline' causes an error.
|
||||||
Solution: Avoid saving/restoring the search patten recursively.
|
Solution: Avoid saving/restoring the search pattern recursively.
|
||||||
(closes #6194)
|
(closes #6194)
|
||||||
Files: src/search.c, src/testdir/test_search_stat.vim,
|
Files: src/search.c, src/testdir/test_search_stat.vim,
|
||||||
src/testdir/dumps/Test_searchstat_4.dump
|
src/testdir/dumps/Test_searchstat_4.dump
|
||||||
@@ -48832,7 +48832,7 @@ Files: src/buffer.c, src/testdir/test_tabline.vim
|
|||||||
Patch 8.2.1260
|
Patch 8.2.1260
|
||||||
Problem: There is no good test for CursorHold.
|
Problem: There is no good test for CursorHold.
|
||||||
Solution: Add a test. Remove duplicated test. (Yegappan Lakshmanan,
|
Solution: Add a test. Remove duplicated test. (Yegappan Lakshmanan,
|
||||||
closes #6503
|
closes #6503)
|
||||||
Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
|
Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
|
||||||
src/testdir/test_normal.vim
|
src/testdir/test_normal.vim
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*vi_diff.txt* For Vim version 8.2. Last change: 2020 Aug 15
|
*vi_diff.txt* For Vim version 8.2. Last change: 2021 Jan 21
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -73,7 +73,7 @@ edit the termcap entry and try again. Vim has the |terminal-options|.
|
|||||||
Vim has only a few limits for the files that can be edited {Vi: can not handle
|
Vim has only a few limits for the files that can be edited {Vi: can not handle
|
||||||
<Nul> characters and characters above 128, has limited line length, many other
|
<Nul> characters and characters above 128, has limited line length, many other
|
||||||
limits}.
|
limits}.
|
||||||
*E340*
|
|
||||||
Maximum line length 2147483647 characters. Longer lines are split.
|
Maximum line length 2147483647 characters. Longer lines are split.
|
||||||
Maximum number of lines 2147483647 lines.
|
Maximum number of lines 2147483647 lines.
|
||||||
Maximum file size 2147483647 bytes (2 Gbyte) when a long integer is
|
Maximum file size 2147483647 bytes (2 Gbyte) when a long integer is
|
||||||
|
|||||||
@@ -186,7 +186,7 @@ behave mostly like Vi, even though a .vimrc file exists.
|
|||||||
.TP
|
.TP
|
||||||
\-d
|
\-d
|
||||||
Start in diff mode.
|
Start in diff mode.
|
||||||
There should be two, three or four file name arguments.
|
There should between two to eight file name arguments.
|
||||||
.B Vim
|
.B Vim
|
||||||
will open all the files and show differences between them.
|
will open all the files and show differences between them.
|
||||||
Works like vimdiff(1).
|
Works like vimdiff(1).
|
||||||
@@ -416,6 +416,10 @@ Denotes the end of the options.
|
|||||||
Arguments after this will be handled as a file name.
|
Arguments after this will be handled as a file name.
|
||||||
This can be used to edit a filename that starts with a '\-'.
|
This can be used to edit a filename that starts with a '\-'.
|
||||||
.TP
|
.TP
|
||||||
|
\-\-clean
|
||||||
|
Do not use any personal configuration (vimrc, plugins, etc.). Useful to see if
|
||||||
|
a problem reproduces with a clean Vim setup.
|
||||||
|
.TP
|
||||||
\-\-echo\-wid
|
\-\-echo\-wid
|
||||||
GTK GUI only: Echo the Window ID on stdout.
|
GTK GUI only: Echo the Window ID on stdout.
|
||||||
.TP
|
.TP
|
||||||
|
|||||||
@@ -135,9 +135,9 @@ OPTIONS
|
|||||||
Vim behave mostly like Vi, even though a .vimrc file ex‐
|
Vim behave mostly like Vi, even though a .vimrc file ex‐
|
||||||
ists.
|
ists.
|
||||||
|
|
||||||
-d Start in diff mode. There should be two, three or four
|
-d Start in diff mode. There should between two to eight file
|
||||||
file name arguments. Vim will open all the files and show
|
name arguments. Vim will open all the files and show dif‐
|
||||||
differences between them. Works like vimdiff(1).
|
ferences between them. Works like vimdiff(1).
|
||||||
|
|
||||||
-d {device} Open {device} for use as a terminal. Only on the Amiga.
|
-d {device} Open {device} for use as a terminal. Only on the Amiga.
|
||||||
Example: "-d con:20/30/600/150".
|
Example: "-d con:20/30/600/150".
|
||||||
@@ -300,6 +300,10 @@ OPTIONS
|
|||||||
be handled as a file name. This can be used to edit a
|
be handled as a file name. This can be used to edit a
|
||||||
filename that starts with a '-'.
|
filename that starts with a '-'.
|
||||||
|
|
||||||
|
--clean Do not use any personal configuration (vimrc, plugins,
|
||||||
|
etc.). Useful to see if a problem reproduces with a clean
|
||||||
|
Vim setup.
|
||||||
|
|
||||||
--echo-wid GTK GUI only: Echo the Window ID on stdout.
|
--echo-wid GTK GUI only: Echo the Window ID on stdout.
|
||||||
|
|
||||||
--help Give a help message and exit, just like "-h".
|
--help Give a help message and exit, just like "-h".
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user