diff --git a/doc/vim-tips-wiki-1000.txt b/doc/vim-tips-wiki-1000.txt deleted file mode 100644 index a8856f5..0000000 --- a/doc/vim-tips-wiki-1000.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1000.txt* VimTip1000 *vtw-1000* - - - -Previous Tip |vtw-999| • Next Tip |vtw-1001| - -TIP 1000 HAS BEEN REMOVED *vtw-1000-tip-1000-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1000 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1000]. - - - -CATEGORIES *vtw-1000-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1006.txt b/doc/vim-tips-wiki-1006.txt deleted file mode 100644 index 69d2e16..0000000 --- a/doc/vim-tips-wiki-1006.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1006.txt* VimTip1006 *vtw-1006* - - - -Previous Tip |vtw-1005| • Next Tip |vtw-1007| - -TIP 1006 HAS BEEN REMOVED *vtw-1006-tip-1006-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1006 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1006]. - - - -CATEGORIES *vtw-1006-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-101.txt b/doc/vim-tips-wiki-101.txt deleted file mode 100644 index a981c9f..0000000 --- a/doc/vim-tips-wiki-101.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-101.txt* VimTip101 *vtw-101* - - - -Previous Tip |vtw-100| • Next Tip |vtw-102| - -TIP 101 HAS BEEN REMOVED *vtw-101-tip-101-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#101 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=101]. - - - -CATEGORIES *vtw-101-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1013.txt b/doc/vim-tips-wiki-1013.txt deleted file mode 100644 index ed253d9..0000000 --- a/doc/vim-tips-wiki-1013.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1013.txt* VimTip1013 *vtw-1013* - - - -Previous Tip |vtw-1012| • Next Tip |vtw-1014| - -TIP 1013 HAS BEEN REMOVED *vtw-1013-tip-1013-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1013 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1013]. - -Information is in VimTip576 |vtw-576|, VimTip246 |vtw-246|, VimTip51 |vtw-51| - -CATEGORIES *vtw-1013-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1024.txt b/doc/vim-tips-wiki-1024.txt deleted file mode 100644 index 89b574b..0000000 --- a/doc/vim-tips-wiki-1024.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1024.txt* VimTip1024 *vtw-1024* - - - -Previous Tip |vtw-1023| • Next Tip |vtw-1025| - -TIP 1024 HAS BEEN REMOVED *vtw-1024-tip-1024-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1024 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1024]. - - - -CATEGORIES *vtw-1024-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1027.txt b/doc/vim-tips-wiki-1027.txt deleted file mode 100644 index d662205..0000000 --- a/doc/vim-tips-wiki-1027.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1027.txt* VimTip1027 *vtw-1027* - - - -Previous Tip |vtw-1026| • Next Tip |vtw-1028| - -TIP 1027 DOES NOT EXIST *vtw-1027-tip-1027-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1027 [http://www.vim.org/tips/tip.php?tip_id=1027]. - -CATEGORIES *vtw-1027-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1034.txt b/doc/vim-tips-wiki-1034.txt deleted file mode 100644 index 92e7227..0000000 --- a/doc/vim-tips-wiki-1034.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1034.txt* VimTip1034 *vtw-1034* - - - -Previous Tip |vtw-1033| • Next Tip |vtw-1035| - -TIP 1034 HAS BEEN REMOVED *vtw-1034-tip-1034-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1034 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1034]. - - - -CATEGORIES *vtw-1034-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1038.txt b/doc/vim-tips-wiki-1038.txt deleted file mode 100644 index 6248a2d..0000000 --- a/doc/vim-tips-wiki-1038.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1038.txt* VimTip1038 *vtw-1038* - - - -Previous Tip |vtw-1036| • Next Tip |vtw-1041| - -TIP 1038 HAS BEEN REMOVED *vtw-1038-tip-1038-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1038 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1038]. - -Merged to VimTip171 |vtw-171| - -CATEGORIES *vtw-1038-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1040.txt b/doc/vim-tips-wiki-1040.txt deleted file mode 100644 index 89537ca..0000000 --- a/doc/vim-tips-wiki-1040.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1040.txt* VimTip1040 *vtw-1040* - - - -Previous Tip |vtw-1036| • Next Tip |vtw-1041| - -TIP 1040 HAS BEEN REMOVED *vtw-1040-tip-1040-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1040 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1040]. - -Merged to VimTip396 |vtw-396| - -CATEGORIES *vtw-1040-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1044.txt b/doc/vim-tips-wiki-1044.txt deleted file mode 100644 index f880419..0000000 --- a/doc/vim-tips-wiki-1044.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1044.txt* VimTip1044 *vtw-1044* - - - -Previous Tip |vtw-1043| • Next Tip |vtw-1045| - -TIP 1044 DOES NOT EXIST *vtw-1044-tip-1044-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1044 [http://www.vim.org/tips/tip.php?tip_id=1044]. - -CATEGORIES *vtw-1044-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1047.txt b/doc/vim-tips-wiki-1047.txt deleted file mode 100644 index 0bd0fc0..0000000 --- a/doc/vim-tips-wiki-1047.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1047.txt* VimTip1047 *vtw-1047* - - - -Previous Tip |vtw-1046| • Next Tip |vtw-1048| - -TIP 1047 DOES NOT EXIST *vtw-1047-tip-1047-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1047 [http://www.vim.org/tips/tip.php?tip_id=1047]. - -CATEGORIES *vtw-1047-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1049.txt b/doc/vim-tips-wiki-1049.txt deleted file mode 100644 index 7849b58..0000000 --- a/doc/vim-tips-wiki-1049.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1049.txt* VimTip1049 *vtw-1049* - - - -Previous Tip |vtw-1048| • Next Tip |vtw-1050| - -TIP 1049 DOES NOT EXIST *vtw-1049-tip-1049-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1049 [http://www.vim.org/tips/tip.php?tip_id=1049]. - -CATEGORIES *vtw-1049-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1056.txt b/doc/vim-tips-wiki-1056.txt deleted file mode 100644 index ab219ce..0000000 --- a/doc/vim-tips-wiki-1056.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1056.txt* VimTip1056 *vtw-1056* - - - -Previous Tip |vtw-1055| • Next Tip |vtw-1058| - -TIP 1056 DOES NOT EXIST *vtw-1056-tip-1056-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1056 [http://www.vim.org/tips/tip.php?tip_id=1056]. - -CATEGORIES *vtw-1056-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1057.txt b/doc/vim-tips-wiki-1057.txt deleted file mode 100644 index 61a967d..0000000 --- a/doc/vim-tips-wiki-1057.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1057.txt* VimTip1057 *vtw-1057* - - - -Previous Tip |vtw-1055| • Next Tip |vtw-1058| - -TIP 1057 DOES NOT EXIST *vtw-1057-tip-1057-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1057 [http://www.vim.org/tips/tip.php?tip_id=1057]. - -CATEGORIES *vtw-1057-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1060.txt b/doc/vim-tips-wiki-1060.txt deleted file mode 100644 index ffd5692..0000000 --- a/doc/vim-tips-wiki-1060.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1060.txt* VimTip1060 *vtw-1060* - - - -Previous Tip |vtw-1059| • Next Tip |vtw-1061| - -TIP 1060 DOES NOT EXIST *vtw-1060-tip-1060-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1060 [http://www.vim.org/tips/tip.php?tip_id=1060]. - -CATEGORIES *vtw-1060-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1062.txt b/doc/vim-tips-wiki-1062.txt deleted file mode 100644 index 5ed60fa..0000000 --- a/doc/vim-tips-wiki-1062.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1062.txt* VimTip1062 *vtw-1062* - - - -Previous Tip |vtw-1061| • Next Tip |vtw-1063| - -TIP 1062 DOES NOT EXIST *vtw-1062-tip-1062-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1062 [http://www.vim.org/tips/tip.php?tip_id=1062]. - -CATEGORIES *vtw-1062-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1067.txt b/doc/vim-tips-wiki-1067.txt deleted file mode 100644 index e49bb7b..0000000 --- a/doc/vim-tips-wiki-1067.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1067.txt* VimTip1067 *vtw-1067* - - - -Previous Tip |vtw-1066| • Next Tip |vtw-1070| - -TIP 1067 HAS BEEN REMOVED *vtw-1067-tip-1067-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1067 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1067]. - -Obsolete bug report and patch. - -CATEGORIES *vtw-1067-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1069.txt b/doc/vim-tips-wiki-1069.txt deleted file mode 100644 index c25a687..0000000 --- a/doc/vim-tips-wiki-1069.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1069.txt* VimTip1069 *vtw-1069* - - - -Previous Tip |vtw-1066| • Next Tip |vtw-1070| - -TIP 1069 DOES NOT EXIST *vtw-1069-tip-1069-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1069 [http://www.vim.org/tips/tip.php?tip_id=1069]. - -CATEGORIES *vtw-1069-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1075.txt b/doc/vim-tips-wiki-1075.txt deleted file mode 100644 index 1284d4c..0000000 --- a/doc/vim-tips-wiki-1075.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1075.txt* VimTip1075 *vtw-1075* - - - -Previous Tip |vtw-1074| • Next Tip |vtw-1077| - -TIP 1075 HAS BEEN REMOVED *vtw-1075-tip-1075-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1075 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1075]. - -Merged to VimTip299 |vtw-299| - -CATEGORIES *vtw-1075-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1078.txt b/doc/vim-tips-wiki-1078.txt deleted file mode 100644 index a8309b0..0000000 --- a/doc/vim-tips-wiki-1078.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1078.txt* VimTip1078 *vtw-1078* - - - -Previous Tip |vtw-1077| • Next Tip |vtw-1084| - -TIP 1078 HAS BEEN REMOVED *vtw-1078-tip-1078-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1078 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1078]. - - - -CATEGORIES *vtw-1078-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1079.txt b/doc/vim-tips-wiki-1079.txt deleted file mode 100644 index 076ace8..0000000 --- a/doc/vim-tips-wiki-1079.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1079.txt* VimTip1079 *vtw-1079* - - - -Previous Tip |vtw-1077| • Next Tip |vtw-1084| - -TIP 1079 HAS BEEN REMOVED *vtw-1079-tip-1079-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1079 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1079]. - - - -CATEGORIES *vtw-1079-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1080.txt b/doc/vim-tips-wiki-1080.txt deleted file mode 100644 index f154953..0000000 --- a/doc/vim-tips-wiki-1080.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1080.txt* VimTip1080 *vtw-1080* - - - -Previous Tip |vtw-1077| • Next Tip |vtw-1084| - -TIP 1080 DOES NOT EXIST *vtw-1080-tip-1080-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1080 [http://www.vim.org/tips/tip.php?tip_id=1080]. - -CATEGORIES *vtw-1080-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1081.txt b/doc/vim-tips-wiki-1081.txt deleted file mode 100644 index b481301..0000000 --- a/doc/vim-tips-wiki-1081.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1081.txt* VimTip1081 *vtw-1081* - - - -Previous Tip |vtw-1077| • Next Tip |vtw-1084| - -TIP 1081 DOES NOT EXIST *vtw-1081-tip-1081-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1081 [http://www.vim.org/tips/tip.php?tip_id=1081]. - -CATEGORIES *vtw-1081-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1082.txt b/doc/vim-tips-wiki-1082.txt deleted file mode 100644 index fdf6e3c..0000000 --- a/doc/vim-tips-wiki-1082.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1082.txt* VimTip1082 *vtw-1082* - - - -Previous Tip |vtw-1077| • Next Tip |vtw-1084| - -TIP 1082 DOES NOT EXIST *vtw-1082-tip-1082-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1082 [http://www.vim.org/tips/tip.php?tip_id=1082]. - -CATEGORIES *vtw-1082-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1085.txt b/doc/vim-tips-wiki-1085.txt deleted file mode 100644 index 737a82b..0000000 --- a/doc/vim-tips-wiki-1085.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1085.txt* VimTip1085 *vtw-1085* - - - -Previous Tip |vtw-1084| • Next Tip |vtw-1087| - -TIP 1085 DOES NOT EXIST *vtw-1085-tip-1085-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1085 [http://www.vim.org/tips/tip.php?tip_id=1085]. - -CATEGORIES *vtw-1085-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1086.txt b/doc/vim-tips-wiki-1086.txt deleted file mode 100644 index 17b1770..0000000 --- a/doc/vim-tips-wiki-1086.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1086.txt* VimTip1086 *vtw-1086* - - - -Previous Tip |vtw-1084| • Next Tip |vtw-1087| - -TIP 1086 DOES NOT EXIST *vtw-1086-tip-1086-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1086 [http://www.vim.org/tips/tip.php?tip_id=1086]. - -CATEGORIES *vtw-1086-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1089.txt b/doc/vim-tips-wiki-1089.txt deleted file mode 100644 index ef0cdc5..0000000 --- a/doc/vim-tips-wiki-1089.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1089.txt* VimTip1089 *vtw-1089* - - - -Previous Tip |vtw-1088| • Next Tip |vtw-1090| - -TIP 1089 DOES NOT EXIST *vtw-1089-tip-1089-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1089 [http://www.vim.org/tips/tip.php?tip_id=1089]. - -CATEGORIES *vtw-1089-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-109.txt b/doc/vim-tips-wiki-109.txt deleted file mode 100644 index 66a54e2..0000000 --- a/doc/vim-tips-wiki-109.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-109.txt* VimTip109 *vtw-109* - - - -Previous Tip |vtw-108| • Next Tip |vtw-111| - -TIP 109 HAS BEEN REMOVED *vtw-109-tip-109-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#109 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=109]. - -Merged to VimTip686 |vtw-686| - -CATEGORIES *vtw-109-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1094.txt b/doc/vim-tips-wiki-1094.txt deleted file mode 100644 index c70f609..0000000 --- a/doc/vim-tips-wiki-1094.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1094.txt* VimTip1094 *vtw-1094* - - - -Previous Tip |vtw-1092| • Next Tip |vtw-1103| - -TIP 1094 DOES NOT EXIST *vtw-1094-tip-1094-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1094 [http://www.vim.org/tips/tip.php?tip_id=1094]. - -CATEGORIES *vtw-1094-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1095.txt b/doc/vim-tips-wiki-1095.txt deleted file mode 100644 index 533a6e3..0000000 --- a/doc/vim-tips-wiki-1095.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1095.txt* VimTip1095 *vtw-1095* - - - -Previous Tip |vtw-1092| • Next Tip |vtw-1103| - -TIP 1095 DOES NOT EXIST *vtw-1095-tip-1095-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1095 [http://www.vim.org/tips/tip.php?tip_id=1095]. - -CATEGORIES *vtw-1095-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1096.txt b/doc/vim-tips-wiki-1096.txt deleted file mode 100644 index a1e94c4..0000000 --- a/doc/vim-tips-wiki-1096.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1096.txt* VimTip1096 *vtw-1096* - - - -Previous Tip |vtw-1092| • Next Tip |vtw-1103| - -TIP 1096 DOES NOT EXIST *vtw-1096-tip-1096-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1096 [http://www.vim.org/tips/tip.php?tip_id=1096]. - -CATEGORIES *vtw-1096-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1097.txt b/doc/vim-tips-wiki-1097.txt deleted file mode 100644 index 1ce0677..0000000 --- a/doc/vim-tips-wiki-1097.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1097.txt* VimTip1097 *vtw-1097* - - - -Previous Tip |vtw-1092| • Next Tip |vtw-1103| - -TIP 1097 DOES NOT EXIST *vtw-1097-tip-1097-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1097 [http://www.vim.org/tips/tip.php?tip_id=1097]. - -CATEGORIES *vtw-1097-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1098.txt b/doc/vim-tips-wiki-1098.txt deleted file mode 100644 index 95b2b3a..0000000 --- a/doc/vim-tips-wiki-1098.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1098.txt* VimTip1098 *vtw-1098* - - - -Previous Tip |vtw-1092| • Next Tip |vtw-1103| - -TIP 1098 DOES NOT EXIST *vtw-1098-tip-1098-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1098 [http://www.vim.org/tips/tip.php?tip_id=1098]. - -CATEGORIES *vtw-1098-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1099.txt b/doc/vim-tips-wiki-1099.txt deleted file mode 100644 index 52b02b1..0000000 --- a/doc/vim-tips-wiki-1099.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1099.txt* VimTip1099 *vtw-1099* - - - -Previous Tip |vtw-1092| • Next Tip |vtw-1103| - -TIP 1099 DOES NOT EXIST *vtw-1099-tip-1099-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1099 [http://www.vim.org/tips/tip.php?tip_id=1099]. - -CATEGORIES *vtw-1099-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-110.txt b/doc/vim-tips-wiki-110.txt deleted file mode 100644 index 5edf9db..0000000 --- a/doc/vim-tips-wiki-110.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-110.txt* VimTip110 *vtw-110* - - - -Previous Tip |vtw-108| • Next Tip |vtw-111| - -TIP 110 HAS BEEN REMOVED *vtw-110-tip-110-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#110 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=110]. - - - -CATEGORIES *vtw-110-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1100.txt b/doc/vim-tips-wiki-1100.txt deleted file mode 100644 index 66c78e3..0000000 --- a/doc/vim-tips-wiki-1100.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1100.txt* VimTip1100 *vtw-1100* - - - -Previous Tip |vtw-1092| • Next Tip |vtw-1103| - -TIP 1100 DOES NOT EXIST *vtw-1100-tip-1100-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1100 [http://www.vim.org/tips/tip.php?tip_id=1100]. - -CATEGORIES *vtw-1100-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1101.txt b/doc/vim-tips-wiki-1101.txt deleted file mode 100644 index 737ef98..0000000 --- a/doc/vim-tips-wiki-1101.txt +++ /dev/null @@ -1,25 +0,0 @@ -*vim-tips-wiki-1101.txt* VimTip1101 *vtw-1101* - - - -Previous Tip |vtw-1092| • Next Tip |vtw-1103| - -TIP 1101 HAS BEEN REMOVED *vtw-1101-tip-1101-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1101 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1101]. - -Unhelpful plugin problem report (confusing if not familiar with scripts 39 -and 301) - -CATEGORIES *vtw-1101-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1102.txt b/doc/vim-tips-wiki-1102.txt deleted file mode 100644 index 296d357..0000000 --- a/doc/vim-tips-wiki-1102.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1102.txt* VimTip1102 *vtw-1102* - - - -Previous Tip |vtw-1092| • Next Tip |vtw-1103| - -TIP 1102 DOES NOT EXIST *vtw-1102-tip-1102-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1102 [http://www.vim.org/tips/tip.php?tip_id=1102]. - -CATEGORIES *vtw-1102-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1104.txt b/doc/vim-tips-wiki-1104.txt deleted file mode 100644 index 061d2e1..0000000 --- a/doc/vim-tips-wiki-1104.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1104.txt* VimTip1104 *vtw-1104* - - - -Previous Tip |vtw-1103| • Next Tip |vtw-1107| - -TIP 1104 DOES NOT EXIST *vtw-1104-tip-1104-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1104 [http://www.vim.org/tips/tip.php?tip_id=1104]. - -CATEGORIES *vtw-1104-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1105.txt b/doc/vim-tips-wiki-1105.txt deleted file mode 100644 index 644d70e..0000000 --- a/doc/vim-tips-wiki-1105.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1105.txt* VimTip1105 *vtw-1105* - - - -Previous Tip |vtw-1103| • Next Tip |vtw-1107| - -TIP 1105 DOES NOT EXIST *vtw-1105-tip-1105-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1105 [http://www.vim.org/tips/tip.php?tip_id=1105]. - -CATEGORIES *vtw-1105-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1106.txt b/doc/vim-tips-wiki-1106.txt deleted file mode 100644 index 65b42b3..0000000 --- a/doc/vim-tips-wiki-1106.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1106.txt* VimTip1106 *vtw-1106* - - - -Previous Tip |vtw-1103| • Next Tip |vtw-1107| - -TIP 1106 DOES NOT EXIST *vtw-1106-tip-1106-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1106 [http://www.vim.org/tips/tip.php?tip_id=1106]. - -CATEGORIES *vtw-1106-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1113.txt b/doc/vim-tips-wiki-1113.txt deleted file mode 100644 index 80ec0ad..0000000 --- a/doc/vim-tips-wiki-1113.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1113.txt* VimTip1113 *vtw-1113* - - - -Previous Tip |vtw-1112| • Next Tip |vtw-1114| - -TIP 1113 DOES NOT EXIST *vtw-1113-tip-1113-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1113 [http://www.vim.org/tips/tip.php?tip_id=1113]. - -CATEGORIES *vtw-1113-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1115.txt b/doc/vim-tips-wiki-1115.txt deleted file mode 100644 index d40a57a..0000000 --- a/doc/vim-tips-wiki-1115.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1115.txt* VimTip1115 *vtw-1115* - - - -Previous Tip |vtw-1114| • Next Tip |vtw-1118| - -TIP 1115 DOES NOT EXIST *vtw-1115-tip-1115-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1115 [http://www.vim.org/tips/tip.php?tip_id=1115]. - -CATEGORIES *vtw-1115-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1116.txt b/doc/vim-tips-wiki-1116.txt deleted file mode 100644 index c728fcb..0000000 --- a/doc/vim-tips-wiki-1116.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1116.txt* VimTip1116 *vtw-1116* - - - -Previous Tip |vtw-1114| • Next Tip |vtw-1118| - -TIP 1116 DOES NOT EXIST *vtw-1116-tip-1116-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1116 [http://www.vim.org/tips/tip.php?tip_id=1116]. - -CATEGORIES *vtw-1116-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1121.txt b/doc/vim-tips-wiki-1121.txt deleted file mode 100644 index 52ef045..0000000 --- a/doc/vim-tips-wiki-1121.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1121.txt* VimTip1121 *vtw-1121* - - - -Previous Tip |vtw-1120| • Next Tip |vtw-1126| - -TIP 1121 DOES NOT EXIST *vtw-1121-tip-1121-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1121 [http://www.vim.org/tips/tip.php?tip_id=1121]. - -CATEGORIES *vtw-1121-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1122.txt b/doc/vim-tips-wiki-1122.txt deleted file mode 100644 index 454b0fd..0000000 --- a/doc/vim-tips-wiki-1122.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1122.txt* VimTip1122 *vtw-1122* - - - -Previous Tip |vtw-1120| • Next Tip |vtw-1126| - -TIP 1122 DOES NOT EXIST *vtw-1122-tip-1122-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1122 [http://www.vim.org/tips/tip.php?tip_id=1122]. - -CATEGORIES *vtw-1122-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1123.txt b/doc/vim-tips-wiki-1123.txt deleted file mode 100644 index 4de1322..0000000 --- a/doc/vim-tips-wiki-1123.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1123.txt* VimTip1123 *vtw-1123* - - - -Previous Tip |vtw-1120| • Next Tip |vtw-1126| - -TIP 1123 HAS BEEN REMOVED *vtw-1123-tip-1123-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1123 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1123]. - -It is not helpful to have an unexplained dump of a large vimrc file. - -CATEGORIES *vtw-1123-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1125.txt b/doc/vim-tips-wiki-1125.txt deleted file mode 100644 index e099676..0000000 --- a/doc/vim-tips-wiki-1125.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1125.txt* VimTip1125 *vtw-1125* - - - -Previous Tip |vtw-1120| • Next Tip |vtw-1126| - -TIP 1125 HAS BEEN REMOVED *vtw-1125-tip-1125-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1125 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1125]. - -Merged to VimTip873 |vtw-873| - -CATEGORIES *vtw-1125-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1135.txt b/doc/vim-tips-wiki-1135.txt deleted file mode 100644 index 755a3de..0000000 --- a/doc/vim-tips-wiki-1135.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1135.txt* VimTip1135 *vtw-1135* - - - -Previous Tip |vtw-1134| • Next Tip |vtw-1141| - -TIP 1135 DOES NOT EXIST *vtw-1135-tip-1135-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1135 [http://www.vim.org/tips/tip.php?tip_id=1135]. - -CATEGORIES *vtw-1135-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1136.txt b/doc/vim-tips-wiki-1136.txt deleted file mode 100644 index f289f4e..0000000 --- a/doc/vim-tips-wiki-1136.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1136.txt* VimTip1136 *vtw-1136* - - - -Previous Tip |vtw-1134| • Next Tip |vtw-1141| - -TIP 1136 DOES NOT EXIST *vtw-1136-tip-1136-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1136 [http://www.vim.org/tips/tip.php?tip_id=1136]. - -CATEGORIES *vtw-1136-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1137.txt b/doc/vim-tips-wiki-1137.txt deleted file mode 100644 index ebcd9e9..0000000 --- a/doc/vim-tips-wiki-1137.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1137.txt* VimTip1137 *vtw-1137* - - - -Previous Tip |vtw-1134| • Next Tip |vtw-1141| - -TIP 1137 DOES NOT EXIST *vtw-1137-tip-1137-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1137 [http://www.vim.org/tips/tip.php?tip_id=1137]. - -CATEGORIES *vtw-1137-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1138.txt b/doc/vim-tips-wiki-1138.txt deleted file mode 100644 index 6374514..0000000 --- a/doc/vim-tips-wiki-1138.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1138.txt* VimTip1138 *vtw-1138* - - - -Previous Tip |vtw-1134| • Next Tip |vtw-1141| - -TIP 1138 DOES NOT EXIST *vtw-1138-tip-1138-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1138 [http://www.vim.org/tips/tip.php?tip_id=1138]. - -CATEGORIES *vtw-1138-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1139.txt b/doc/vim-tips-wiki-1139.txt deleted file mode 100644 index 7abdc60..0000000 --- a/doc/vim-tips-wiki-1139.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1139.txt* VimTip1139 *vtw-1139* - - - -Previous Tip |vtw-1134| • Next Tip |vtw-1141| - -TIP 1139 DOES NOT EXIST *vtw-1139-tip-1139-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1139 [http://www.vim.org/tips/tip.php?tip_id=1139]. - -CATEGORIES *vtw-1139-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-114.txt b/doc/vim-tips-wiki-114.txt deleted file mode 100644 index 5b936d0..0000000 --- a/doc/vim-tips-wiki-114.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-114.txt* VimTip114 *vtw-114* - - - -Previous Tip |vtw-113| • Next Tip |vtw-117| - -TIP 114 HAS BEEN REMOVED *vtw-114-tip-114-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#114 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=114]. - - - -CATEGORIES *vtw-114-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1140.txt b/doc/vim-tips-wiki-1140.txt deleted file mode 100644 index 1efe191..0000000 --- a/doc/vim-tips-wiki-1140.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1140.txt* VimTip1140 *vtw-1140* - - - -Previous Tip |vtw-1134| • Next Tip |vtw-1141| - -TIP 1140 DOES NOT EXIST *vtw-1140-tip-1140-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1140 [http://www.vim.org/tips/tip.php?tip_id=1140]. - -CATEGORIES *vtw-1140-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1143.txt b/doc/vim-tips-wiki-1143.txt deleted file mode 100644 index 666f33e..0000000 --- a/doc/vim-tips-wiki-1143.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1143.txt* VimTip1143 *vtw-1143* - - - -Previous Tip |vtw-1142| • Next Tip |vtw-1146| - -TIP 1143 DOES NOT EXIST *vtw-1143-tip-1143-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1143 [http://www.vim.org/tips/tip.php?tip_id=1143]. - -CATEGORIES *vtw-1143-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1144.txt b/doc/vim-tips-wiki-1144.txt deleted file mode 100644 index 8732a63..0000000 --- a/doc/vim-tips-wiki-1144.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1144.txt* VimTip1144 *vtw-1144* - - - -Previous Tip |vtw-1142| • Next Tip |vtw-1146| - -TIP 1144 DOES NOT EXIST *vtw-1144-tip-1144-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1144 [http://www.vim.org/tips/tip.php?tip_id=1144]. - -CATEGORIES *vtw-1144-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1145.txt b/doc/vim-tips-wiki-1145.txt deleted file mode 100644 index af6ea82..0000000 --- a/doc/vim-tips-wiki-1145.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1145.txt* VimTip1145 *vtw-1145* - - - -Previous Tip |vtw-1142| • Next Tip |vtw-1146| - -TIP 1145 DOES NOT EXIST *vtw-1145-tip-1145-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1145 [http://www.vim.org/tips/tip.php?tip_id=1145]. - -CATEGORIES *vtw-1145-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-115.txt b/doc/vim-tips-wiki-115.txt deleted file mode 100644 index f225818..0000000 --- a/doc/vim-tips-wiki-115.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-115.txt* VimTip115 *vtw-115* - - - -Previous Tip |vtw-113| • Next Tip |vtw-117| - -TIP 115 HAS BEEN REMOVED *vtw-115-tip-115-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#115 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=115]. - - - -CATEGORIES *vtw-115-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1152.txt b/doc/vim-tips-wiki-1152.txt deleted file mode 100644 index 05e5798..0000000 --- a/doc/vim-tips-wiki-1152.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1152.txt* VimTip1152 *vtw-1152* - - - -Previous Tip |vtw-1151| • Next Tip |vtw-1153| - -TIP 1152 HAS BEEN REMOVED *vtw-1152-tip-1152-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1152 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1152]. - -Better to use the matchparen plugin. - -CATEGORIES *vtw-1152-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-116.txt b/doc/vim-tips-wiki-116.txt deleted file mode 100644 index 578b260..0000000 --- a/doc/vim-tips-wiki-116.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-116.txt* VimTip116 *vtw-116* - - - -Previous Tip |vtw-113| • Next Tip |vtw-117| - -TIP 116 HAS BEEN REMOVED *vtw-116-tip-116-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#116 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=116]. - -Tip is incorrect. VimTip9 |vtw-9| covers topic. - -CATEGORIES *vtw-116-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1162.txt b/doc/vim-tips-wiki-1162.txt deleted file mode 100644 index 29a308d..0000000 --- a/doc/vim-tips-wiki-1162.txt +++ /dev/null @@ -1,306 +0,0 @@ -*vim-tips-wiki-1162.txt* Automatically append closing characters *vtw-1162* - -Tip 630 [https://vim.fandom.com/wiki/Automatically_append_closing_characters] Previous |vtw-628| Next |vtw-631| - -created 2004 · complexity basic · author Andrzej Cuber · version 6.0 - -============================================================================== - -This tip is deprecated for the following reasons: - -The undo/redo workarounds |vtw-1162-more-on-undo.2fredo.2frepeat| contained -here were broken by Vim version 7.4. A fix has been included as of 7.4.849 -[https://github.com/vim/vim/releases/tag/v7.4.849] to support this without -workarounds; this tip needs updating to reflect the new method. - -This tip discusses methods to automatically add closing characters (such as -adding "`}`" after typing "`{`"). - -A SIMPLE SOLUTION *vtw-1162-a-simple-solution* - -BASIC PAIR COMPLETION *vtw-1162-basic-pair-completion* - -Using the following mappings, when you type an open brace, a closing brace is -automatically inserted on the same line after the cursor. If you quickly press -Enter after the open brace (to begin a code block), the closing brace will be -inserted on the line below the cursor. If you quickly press the open brace key -again after the open brace, nothing extra will be inserted—you will just get a -single open brace. Finally, if you quickly type an open and close brace, Vim -will not do anything special. - -> - inoremap { {} - inoremap { {}O - inoremap {{ { - inoremap {} {} -< - -One thing to be aware of with these mappings is that they will interrupt your -undo sequence, as documented at :help |ins-special-special|. This means that -after using these mappings and inserting more text between the braces, -pressing `u` will only undo the text inserted between the braces. Similarly, -pressing `.` (repeat) will only insert the same text. - -SKIPPING OVER THE CLOSING CHARACTER *vtw-1162-skipping-over-the-closing-character* - -Similar mappings for other "paired" characters can be made from the above -with trivial modifications, but characters like brackets and parentheses which -often require text after them might instead benefit from something like the -following, which automatically closes all groups, and skips over existing -closing characters if another one is typed immediately before: - -> - inoremap ( () - inoremap ) strpart(getline('.'), col('.')-1, 1) == ")" ? "\" : ")" -< - -This solution works by looking at the character just after the cursor (which -is at the byte index given by cursor column - 1), and simply moving the cursor -if it is the closing character. If the character after the cursor is not the -closing character, it inserts the closing character. The mapping is fairly -straightforward, but will not work in versions prior to Vim 7.0 which -introduced mappings. You will need to modify this slightly for older -versions of Vim |vtw-1162-backwards-compatible-closing-brace-skip|. - -In the case of single or double quotes, since the closing character is the -same as the opening one, the mapping is done slightly different: - -> - inoremap ' strpart(getline('.'), col('.')-1, 1) == "\'" ? "\" : "\'\'\" -< - -If the character just after the cursor is not a single quote, we insert two -single quotes instead of only one. - -Note that like the insertion of the closing character, skipping the closing -character in this way will break your undo sequence. - -EXPANDING THE SIMPLE SOLUTION *vtw-1162-expanding-the-simple-solution* - -MORE ON UNDO/REDO/REPEAT *vtw-1162-more-on-undo/redo/repeat* - -Without interrupting the undo/redo/repeat sequence, there is not an easy way -to move the cursor in insert mode or to insert text without moving the cursor. -In Vim 7.4.849 you can move the cursor in insert mode and leave the undo -sequence intact with the `CTRL-G_U` sequence. But, it is possible in Vim 7.3 -and below, using `setpos()` or `setline()` within a function called from an -insertion of the expression register, for example: - -> - " Incomplete example moving the cursor after insertion. - " DO NOT USE, use a plugin instead. - function! MoveLeft() - let newpos = getpos('.') - let newpos[2] -= 1 - if (newpos[2] < 1) - let newpos[2] = 1 - endif - call setpos('.', newpos) - return "" - endfunction - inoremap ( ()=MoveLeft() -< - -or: - -> - " Incomplete example inserting text without moving cursor. - " DO NOT USE, use a plugin instead. - function! InsertClosing(char) - let line = getline('.') - let colm = col('.') - let colmIdx = colm - 1 - call setline('.', line[:colmIdx].a:char.line[colmIdx+1:]) - return "" - endfunction - inoremap ( (=InsertClosing(')') -< - -The expression register is used instead of an mapping, because moving -the cursor or changing text is not allowed within an mapping. - -Unfortunately, even though the undo sequence is unbroken, without a -complicated set of other mappings, the text inserted or cursor movement -accomplished within the expression mapping will not be reflected in the text -inserted by pressing '`.`'. Using the first method (moving the cursor without -breaking undo) you would insert "`abc(def)`" and repeat using `.` to get -"`abc()def`". Using the second method (inserting text without moving the -cursor) you would insert "`abc(def)`" (with the closing ')' added -automatically) and repeat only "`abc(def`" (without the automatic closing -character). - -If you want auto-insertion of closing characters which does not break your -undo sequence, you should consider one of the plugins |vtw-1162-plugins| which -has implemented this already, but you will also need to stick with Vim 7.3 or -earlier. - -ADD THE CLOSING BRACE ONLY AT THE END OF THE LINE *vtw-1162-add-the-closing-brace-only-at-the-end-of-the-line* - -Automatically inserting closing braces can be confusing when editing text. -The following function inserts the closing brace only when the cursor is at -the end of the line. As a consequence, the closing brace doesn't often get in -your way, although that might be a question of personal preference. - -> - function! ConditionalPairMap(open, close) - let line = getline('.') - let col = col('.') - if col < col('$') || stridx(line, a:close, col + 1) != -1 - return a:open - else - return a:open . a:close . repeat("\", len(a:close)) - endif - endf - inoremap ( ConditionalPairMap('(', ')') - inoremap { ConditionalPairMap('{', '}') - inoremap [ ConditionalPairMap('[', ']') -< - -MANAGING PAIRED CHARACTER SEQUENCES *vtw-1162-managing-paired-character-sequences* - -For adding multiple-character pairs such as C-style comments, you may want to -find another way to prevent the mapping from taking effect, such as typing the -mapleader (usually '\' – see :help |mapleader|) character first as below: - -> - inoremap /* /**/ - inoremap /* /**/ - inoremap /* /**/O - inoremap /* /* -< - -Similar mappings might be useful for quotes, but they might get in your way -depending on the type of file you're editing. Some languages use duplicate -single-quotes a lot, and some pair the backtick with the quote. For these -situations, you might want to put similar commands into language-specific -files. For example, this quote-completer for GNU M4 might live in -`~/.vim/after/ftplugin/m4.vim`. :help |after-directory| - -> - inoremap ` `') - inoremap ` `'O - inoremap `` ` - inoremap `' `' -< - -MORE ADVANCED SOLUTIONS *vtw-1162-more-advanced-solutions* - -If you want something more complex and configurable, there are a number of -different scripts that accomplish this task. - -PLUGINS *vtw-1162-plugins* - -The auto-insertion of matching brackets is provided by these plugins: - - delimitMate by Israel Chauca Fuentes - [https://www.vim.org/scripts/script.php?script_id=2754] (configurable, latest - version on GitHub [https://github.com/Raimondi/delimitMate] doesn't break - undo/redo/repeat). - - AutoClose by Karl Guertin - [https://www.vim.org/scripts/script.php?script_id=1849] (auto-closes specific - hard-coded characters, and doesn't break undo/redo/repeat in Vim 7.3 or lower) - - AutoClose by Thiago Alves - [https://www.vim.org/scripts/script.php?script_id=2009] (configurable, but - breaks undo/redo/repeat) - - auto-pairs Auto Pairs by Miao Jiang - [https://www.vim.org/scripts/script.php?script_id=3599] (configurable, latest - version on GitHub [https://github.com/jiangmiao/auto-pairs] doesn't break - undo/redo/repeat) - - ClosePairs by Edoardo Vacchi - [https://www.vim.org/scripts/script.php?script_id=2373] (configurable, but - breaks undo/redo/repeat) - - smartinput by Kana Natsuno [https://github.com/kana/vim-smartinput] - (configurable, but breaks undo/redo/repeat) - - Luc Hermitte [https://vim.fandom.com/wiki/User:Luc_Hermitte] has some very - advanced and smart abbreviations [https://github.com/LucHermitte/lh-brackets]. - Those scripts give advanced brace-handling features like markers support - (placeholders in another terminology), several things can be easily tweaked - (whether we want newlines or not before the curly-brackets, ...), the - abbreviations are buffer-relative (which is necessary to have "{" expand into - different things according to the filetype of the buffer edited), - context-sensitive (the abbreviations are not expanded within comments or - string contexts) and more. lh-brackets also provides surrounding, and a smart - that deletes both characters from an empty pair. See also lh-cpp, the C & - C++ ftplugin suite [https://github.com/LucHermitte/lh-cpp] built on top of it, - where `;` can close all pending `)`. lh-brackets supports redo/repeat on vim - versions >= 7.4-849. - - Srinath Avadhanula's imaps.vim - [https://www.vim.org/scripts/script.php?script_id=244] is used by Latex-Suite - [http://vim-latex.sourceforge.net/] to provide a similar bracketing system. - - Marcn Szamotulski's Automatic LaTeX Plugin - [https://www.vim.org/scripts/script.php?script_id=2945] is closing open - brackets within the omnicompletion mechanism, it also closes opened LaTeX - environments. - - The popular surround.vim - [https://www.vim.org/scripts/script.php?script_id=1697] provides an - insert-mode mapping to insert pairs of any delimiter defined by a text object - together, if you can remember to use it instead of just typing the opening - delimiter. surround.vim integrates with the repeat.vim - [https://www.vim.org/scripts/script.php?script_id=2136] plugin to provide some - support for the repeat command for its normal-mode commands, but the - insert-mode command will still break the undo sequence. - - -REPLACECURLY SCRIPT *vtw-1162-replacecurly-script* - -This script operates only on braces, but is smarter about detecting when it -should act. It will not take effect when editing comments, strings and lines -containing the the word "new." (This is useful for array initialization, e.g. -`string[] myArray = new string[] {"a", "b"}`.) - -> - imap { :call ReplaceCurly()"_cl - function! ReplaceCurly() - imap { { - " only replace outside of comments or strings (which map to constant) - let elesyn = synIDtrans(synID(line("."), col(".") - 1, 0)) - if elesyn != hlID('Comment') && elesyn != hlID('Constant') && match(getline("."), "\\") < 0 - exe "normal a{" - " need to add a spare character (x) to position the cursor afterwards - exe "normal ox" - exe "normal o}" - exe "normal kw" - else - " need to add a spare character (x) to position the cursor afterwards - exe "normal a{x" - endif - imap { :let word= ReplaceCurly()"_cl - endfunction - - "Surround code with braces - nmap {} O{ddj>>ddkP - vmap {} o{ddgv>gvdp -< - -BACKWARDS-COMPATIBLE CLOSING BRACE SKIP *vtw-1162-backwards-compatible-closing-brace-skip* - -If you need a solution for inserting a closing brace automatically in a -pre-7.0 Vim, you can slightly modify the mapping given above -|vtw-1162-skipping-over-the-closing-brace| to use the expression register -instead: - -> - inoremap ) =strpart(getline('.'), col('.')-1, 1) == ")" ? "\Right>" : ")" -< - -Note that we needed to treat the "\" text differently so that it is -expanded when the expression register is evaluated instead of when the mapping -is executed. - -SEE ALSO *vtw-1162-see-also* - - Auto closing an HTML tag - [https://vim.fandom.com/wiki/Auto_closing_an_HTML_tag] using omni completion - to auto complete tags - - -COMMENTS *vtw-1162-comments* - -20150813: Tested on Debian Unstable with Vim 7.4.712 -> Works perfect! - -CATEGORIES *vtw-1162-cats* - -Brackets |vtw-by-category-brackets| -C |vtw-by-category-c| -Deprecated |vtw-by-category-deprecated| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1163.txt b/doc/vim-tips-wiki-1163.txt deleted file mode 100644 index db3cb2a..0000000 --- a/doc/vim-tips-wiki-1163.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1163.txt* VimTip1163 *vtw-1163* - - - -Previous Tip |vtw-1161| • Next Tip |vtw-1164| - -TIP 1163 DOES NOT EXIST *vtw-1163-tip-1163-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1163 [http://www.vim.org/tips/tip.php?tip_id=1163]. - -CATEGORIES *vtw-1163-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1165.txt b/doc/vim-tips-wiki-1165.txt deleted file mode 100644 index 22ae835..0000000 --- a/doc/vim-tips-wiki-1165.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1165.txt* VimTip1165 *vtw-1165* - - - -Previous Tip |vtw-1164| • Next Tip |vtw-1166| - -TIP 1165 DOES NOT EXIST *vtw-1165-tip-1165-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1165 [http://www.vim.org/tips/tip.php?tip_id=1165]. - -CATEGORIES *vtw-1165-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1169.txt b/doc/vim-tips-wiki-1169.txt deleted file mode 100644 index 3e5395e..0000000 --- a/doc/vim-tips-wiki-1169.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1169.txt* VimTip1169 *vtw-1169* - - - -Previous Tip |vtw-1168| • Next Tip |vtw-1171| - -TIP 1169 DOES NOT EXIST *vtw-1169-tip-1169-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1169 [http://www.vim.org/tips/tip.php?tip_id=1169]. - -CATEGORIES *vtw-1169-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1170.txt b/doc/vim-tips-wiki-1170.txt deleted file mode 100644 index cb7395e..0000000 --- a/doc/vim-tips-wiki-1170.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1170.txt* VimTip1170 *vtw-1170* - - - -Previous Tip |vtw-1168| • Next Tip |vtw-1171| - -TIP 1170 DOES NOT EXIST *vtw-1170-tip-1170-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1170 [http://www.vim.org/tips/tip.php?tip_id=1170]. - -CATEGORIES *vtw-1170-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1175.txt b/doc/vim-tips-wiki-1175.txt deleted file mode 100644 index 0f1e8a4..0000000 --- a/doc/vim-tips-wiki-1175.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1175.txt* VimTip1175 *vtw-1175* - - - -Previous Tip |vtw-1173| • Next Tip |vtw-1178| - -TIP 1175 DOES NOT EXIST *vtw-1175-tip-1175-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1175 [http://www.vim.org/tips/tip.php?tip_id=1175]. - -CATEGORIES *vtw-1175-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1176.txt b/doc/vim-tips-wiki-1176.txt deleted file mode 100644 index cff338f..0000000 --- a/doc/vim-tips-wiki-1176.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1176.txt* VimTip1176 *vtw-1176* - - - -Previous Tip |vtw-1173| • Next Tip |vtw-1178| - -TIP 1176 DOES NOT EXIST *vtw-1176-tip-1176-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1176 [http://www.vim.org/tips/tip.php?tip_id=1176]. - -CATEGORIES *vtw-1176-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1177.txt b/doc/vim-tips-wiki-1177.txt deleted file mode 100644 index d834307..0000000 --- a/doc/vim-tips-wiki-1177.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1177.txt* VimTip1177 *vtw-1177* - - - -Previous Tip |vtw-1173| • Next Tip |vtw-1178| - -TIP 1177 HAS BEEN REMOVED *vtw-1177-tip-1177-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1177 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1177]. - -Tip 1177 has been merged to VimTip224 |vtw-224| - -CATEGORIES *vtw-1177-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1179.txt b/doc/vim-tips-wiki-1179.txt deleted file mode 100644 index 5923d41..0000000 --- a/doc/vim-tips-wiki-1179.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1179.txt* VimTip1179 *vtw-1179* - - - -Previous Tip |vtw-1178| • Next Tip |vtw-1180| - -TIP 1179 DOES NOT EXIST *vtw-1179-tip-1179-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1179 [http://www.vim.org/tips/tip.php?tip_id=1179]. - -CATEGORIES *vtw-1179-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1184.txt b/doc/vim-tips-wiki-1184.txt deleted file mode 100644 index 129abb1..0000000 --- a/doc/vim-tips-wiki-1184.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1184.txt* VimTip1184 *vtw-1184* - - - -Previous Tip |vtw-1183| • Next Tip |vtw-1189| - -TIP 1184 DOES NOT EXIST *vtw-1184-tip-1184-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1184 [http://www.vim.org/tips/tip.php?tip_id=1184]. - -CATEGORIES *vtw-1184-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1186.txt b/doc/vim-tips-wiki-1186.txt deleted file mode 100644 index a421c68..0000000 --- a/doc/vim-tips-wiki-1186.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1186.txt* VimTip1186 *vtw-1186* - - - -Previous Tip |vtw-1183| • Next Tip |vtw-1189| - -TIP 1186 DOES NOT EXIST *vtw-1186-tip-1186-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1186 [http://www.vim.org/tips/tip.php?tip_id=1186]. - -CATEGORIES *vtw-1186-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1187.txt b/doc/vim-tips-wiki-1187.txt deleted file mode 100644 index b4e2e44..0000000 --- a/doc/vim-tips-wiki-1187.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1187.txt* VimTip1187 *vtw-1187* - - - -Previous Tip |vtw-1183| • Next Tip |vtw-1189| - -TIP 1187 HAS BEEN REMOVED *vtw-1187-tip-1187-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1187 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1187]. - - - -CATEGORIES *vtw-1187-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1191.txt b/doc/vim-tips-wiki-1191.txt deleted file mode 100644 index 012329d..0000000 --- a/doc/vim-tips-wiki-1191.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1191.txt* VimTip1191 *vtw-1191* - - - -Previous Tip |vtw-1190| • Next Tip |vtw-1193| - -TIP 1191 DOES NOT EXIST *vtw-1191-tip-1191-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1191 [http://www.vim.org/tips/tip.php?tip_id=1191]. - -CATEGORIES *vtw-1191-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1192.txt b/doc/vim-tips-wiki-1192.txt deleted file mode 100644 index 2503595..0000000 --- a/doc/vim-tips-wiki-1192.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1192.txt* VimTip1192 *vtw-1192* - - - -Previous Tip |vtw-1190| • Next Tip |vtw-1193| - -TIP 1192 HAS BEEN REMOVED *vtw-1192-tip-1192-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1192 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1192]. - - - -CATEGORIES *vtw-1192-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1201.txt b/doc/vim-tips-wiki-1201.txt deleted file mode 100644 index 5f99cae..0000000 --- a/doc/vim-tips-wiki-1201.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1201.txt* VimTip1201 *vtw-1201* - - - -Previous Tip |vtw-1200| • Next Tip |vtw-1202| - -TIP 1201 DOES NOT EXIST *vtw-1201-tip-1201-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1201 [http://www.vim.org/tips/tip.php?tip_id=1201]. - -CATEGORIES *vtw-1201-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1205.txt b/doc/vim-tips-wiki-1205.txt deleted file mode 100644 index 12b69d3..0000000 --- a/doc/vim-tips-wiki-1205.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1205.txt* VimTip1205 *vtw-1205* - - - -Previous Tip |vtw-1204| • Next Tip |vtw-1206| - -TIP 1205 DOES NOT EXIST *vtw-1205-tip-1205-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1205 [http://www.vim.org/tips/tip.php?tip_id=1205]. - -CATEGORIES *vtw-1205-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1207.txt b/doc/vim-tips-wiki-1207.txt deleted file mode 100644 index 51f039a..0000000 --- a/doc/vim-tips-wiki-1207.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1207.txt* VimTip1207 *vtw-1207* - - - -Previous Tip |vtw-1206| • Next Tip |vtw-1213| - -TIP 1207 DOES NOT EXIST *vtw-1207-tip-1207-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1207 [http://www.vim.org/tips/tip.php?tip_id=1207]. - -CATEGORIES *vtw-1207-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1208.txt b/doc/vim-tips-wiki-1208.txt deleted file mode 100644 index 3591da7..0000000 --- a/doc/vim-tips-wiki-1208.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1208.txt* VimTip1208 *vtw-1208* - - - -Previous Tip |vtw-1206| • Next Tip |vtw-1213| - -TIP 1208 DOES NOT EXIST *vtw-1208-tip-1208-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1208 [http://www.vim.org/tips/tip.php?tip_id=1208]. - -CATEGORIES *vtw-1208-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1209.txt b/doc/vim-tips-wiki-1209.txt deleted file mode 100644 index e94b004..0000000 --- a/doc/vim-tips-wiki-1209.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1209.txt* VimTip1209 *vtw-1209* - - - -Previous Tip |vtw-1206| • Next Tip |vtw-1213| - -TIP 1209 DOES NOT EXIST *vtw-1209-tip-1209-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1209 [http://www.vim.org/tips/tip.php?tip_id=1209]. - -CATEGORIES *vtw-1209-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1210.txt b/doc/vim-tips-wiki-1210.txt deleted file mode 100644 index 68af9f3..0000000 --- a/doc/vim-tips-wiki-1210.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1210.txt* VimTip1210 *vtw-1210* - - - -Previous Tip |vtw-1206| • Next Tip |vtw-1213| - -TIP 1210 DOES NOT EXIST *vtw-1210-tip-1210-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1210 [http://www.vim.org/tips/tip.php?tip_id=1210]. - -CATEGORIES *vtw-1210-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1211.txt b/doc/vim-tips-wiki-1211.txt deleted file mode 100644 index e9ffa38..0000000 --- a/doc/vim-tips-wiki-1211.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1211.txt* VimTip1211 *vtw-1211* - - - -Previous Tip |vtw-1206| • Next Tip |vtw-1213| - -TIP 1211 DOES NOT EXIST *vtw-1211-tip-1211-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1211 [http://www.vim.org/tips/tip.php?tip_id=1211]. - -CATEGORIES *vtw-1211-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1214.txt b/doc/vim-tips-wiki-1214.txt deleted file mode 100644 index 8efbc1d..0000000 --- a/doc/vim-tips-wiki-1214.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1214.txt* VimTip1214 *vtw-1214* - - - -Previous Tip |vtw-1213| • Next Tip |vtw-1215| - -TIP 1214 HAS BEEN REMOVED *vtw-1214-tip-1214-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1214 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1214]. - -Merged to VimTip1543 |vtw-1543| - -CATEGORIES *vtw-1214-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1216.txt b/doc/vim-tips-wiki-1216.txt deleted file mode 100644 index 563d5fc..0000000 --- a/doc/vim-tips-wiki-1216.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1216.txt* VimTip1216 *vtw-1216* - - - -Previous Tip |vtw-1215| • Next Tip |vtw-1217| - -TIP 1216 HAS BEEN REMOVED *vtw-1216-tip-1216-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1216 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1216]. - - - -CATEGORIES *vtw-1216-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1219.txt b/doc/vim-tips-wiki-1219.txt deleted file mode 100644 index 56bc552..0000000 --- a/doc/vim-tips-wiki-1219.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1219.txt* VimTip1219 *vtw-1219* - - - -Previous Tip |vtw-1218| • Next Tip |vtw-1220| - -TIP 1219 DOES NOT EXIST *vtw-1219-tip-1219-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1219 [http://www.vim.org/tips/tip.php?tip_id=1219]. - -CATEGORIES *vtw-1219-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1222.txt b/doc/vim-tips-wiki-1222.txt deleted file mode 100644 index e77e965..0000000 --- a/doc/vim-tips-wiki-1222.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1222.txt* VimTip1222 *vtw-1222* - - - -Previous Tip |vtw-1221| • Next Tip |vtw-1224| - -TIP 1222 DOES NOT EXIST *vtw-1222-tip-1222-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1222 [http://www.vim.org/tips/tip.php?tip_id=1222]. - -CATEGORIES *vtw-1222-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1223.txt b/doc/vim-tips-wiki-1223.txt deleted file mode 100644 index 6f81209..0000000 --- a/doc/vim-tips-wiki-1223.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1223.txt* VimTip1223 *vtw-1223* - - - -Previous Tip |vtw-1221| • Next Tip |vtw-1224| - -TIP 1223 HAS BEEN REMOVED *vtw-1223-tip-1223-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1223 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1223]. - -Merged to VimTip1347 |vtw-1347| - -CATEGORIES *vtw-1223-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1227.txt b/doc/vim-tips-wiki-1227.txt deleted file mode 100644 index 176c278..0000000 --- a/doc/vim-tips-wiki-1227.txt +++ /dev/null @@ -1,34 +0,0 @@ -*vim-tips-wiki-1227.txt* Vim-Shell embeds a terminal in Vim *vtw-1227* - - - -This tip is deprecated for the following reasons: - -Vim is currently version 7.4 - the patches in this tip are for 7.0.0Tip 1227 [https://vim.fandom.com/wiki/Vim-Shell_embeds_a_terminal_in_Vim] Previous |vtw-1226| Next |vtw-1228| - -created 2006 · complexity intermediate · author Ryan Springer · version 6.0 - -============================================================================== - -If you have ever wanted to drop to a full shell in a window and do things -like run ssh, full-color bash, you should check out Thomas Wana's Vim-Shell -patch: http://www.wana.at/vimshell/ [http://www.wana.at/vimshell/] - -It currently only works on text-mode Vim 7.0. - -COMMENTS *vtw-1227-comments* - -See :help |shell-window|. This feature, while available, is discouraged. - -The ConqueShell [https://www.vim.org/scripts/script.php?script_id=2771] -plugin provides an interactive shell in a buffer, without needing to patch -Vim. - -============================================================================== - -CATEGORIES *vtw-1227-cats* - -Deprecated |vtw-by-category-deprecated| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1234.txt b/doc/vim-tips-wiki-1234.txt deleted file mode 100644 index 6f3568b..0000000 --- a/doc/vim-tips-wiki-1234.txt +++ /dev/null @@ -1,517 +0,0 @@ -*vim-tips-wiki-1234.txt* Find files in subdirectories *vtw-1234* - - - -This tip is deprecated for the following reasons: - -Version 7.3 of Vim supports tab-completion of `:find` command, this is easier -than scripting and should be prominently mentioned.Tip 1234 [https://vim.fandom.com/wiki/Find_files_in_subdirectories] Previous |vtw-1232| Next |vtw-1235| - -created 2006 · complexity intermediate · author Vladimir Marek · version 6.0 - -============================================================================== - -I'm working with big, nested workspaces and often I don't remember the exact -path to the file, only its filename or part of the filename. If I know some of -the text in the file, I could always recursively use 'vimgrep' -[https://vim.fandom.com/wiki/Find_in_files_within_Vim#Recursive_Search], but -for searching on filenames alone I have been using: - -> - :!find . -name ... -< - -to locate the file and then edit it. I was trying to find if there is some -solution directly in Vim, and haven't found one. Closest were `:find` and -`:globpath()`. `:find` works nearly as I need, but unfortunatelly it opens the -first file of a given name without telling me that there are more. For -`globpath()` I was unable to make it work with the '**' construction, so that -it would look into all subdirectories under current directory. - -So I wrote this small function. You can use it like this: - -> - :Find whatever.c - this opens the file "src/core/whatever.c" -< - -If there is more than one match, it will present you a selection: - -> - :Find Makefile - 1 ./src/Makefile - 2 ./src/core/Makefile - 3 ./src/api/Makefile - ... - 89 ./src/deelply/hidden/Makefile - 90 ./Makefile - Which ? (CR=nothing) -< - -You may also use wildchars (whatever find(1) knows). - -> - :Find *stream*.c - 1 ./src/core/i_stream.c - 2 ./src/core/o_stream.c - 3 ./src/core/streamio.c - Which ? (CR=nothing) -< - -The function itself: - -> - " Find file in current directory and edit it. - function! Find(name) - let l:list=system("find . -name '".a:name."' | perl -ne 'print \"$.\\t$_\"'") - " replace above line with below one for gvim on windows - " let l:list=system("find . -name ".a:name." | perl -ne \"print qq{$.\\t$_}\"") - let l:num=strlen(substitute(l:list, "[^\n]", "", "g")) - if l:num < 1 - echo "'".a:name."' not found" - return - endif - if l:num != 1 - echo l:list - let l:input=input("Which ? (CR=nothing)\n") - if strlen(l:input)==0 - return - endif - if strlen(substitute(l:input, "[0-9]", "", "g"))>0 - echo "Not a number" - return - endif - if l:input<1 || l:input>l:num - echo "Out of range" - return - endif - let l:line=matchstr("\n".l:list, "\n".l:input."\t[^\n]*") - else - let l:line=l:list - endif - let l:line=substitute(l:line, "^[^\t]*\t./", "", "") - execute ":e ".l:line - endfunction - command! -nargs=1 Find :call Find("") -< - -RELATED PLUGINS *vtw-1234-related-plugins* - - find-complete: Finds files on path with tab to auto-complete filename - functionality [https://www.vim.org/scripts/script.php?script_id=4426] - - -COMMENTS *vtw-1234-comments* - -You can load an arbitrary list of files with :args , for instance: - -Open all .c or .h files in the directory (and it's subdirectories) two -directories up from the current directory: - -args ../../**/*.[ch] - -The only caveat (and it's a major one) is that it's very slow. - -There's also the `:Explore **/[pattern]` command, available via netrw.vim. -Example: - -> - :Explore **/*.vim -< - -This command will show the current match number out of the total quantity of -matches in the status line, and one may move forwards and backwards in the -matching files list. Hitting the on a matching file opens the file, of -course. - -============================================================================== - -When I try the `:Explore` command it gives error: `E77: Too many file names` - -Adding a quit button is not a bad idea. Vim internal pager has quit bound to -'q' (see :help |more-prompt|), but this will stop my original script. I tried -to use try-catch block around and it seems to work. - -> - if l:num != 1 - try - echo l:list - catch /.*/ - endtry - let l:input=input("Which ? (CR=nothing)\n") -< - -============================================================================== - -I think, it will be better to use vimgrep for find, than it works also under -windows. I don't know how. - -Here is a version the exclude subversion directory: - -> - function! Find(name) - let l:list=system("find . -name '".a:name."' | grep -v \".svn/\" | perl -ne 'print \"$.\\t$_\"'") - let l:num=strlen(substitute(l:list, "[^\n]", "", "g")) - if l:num < 1 - echo "'".a:name."' not found" - return - endif - if l:num != 1 - echo l:list - let l:input=input("Which ? (CR=nothing)\n") - if strlen(l:input)==0 - return - endif - if strlen(substitute(l:input, "[0-9]", "", "g"))>0 - echo "Not a number" - return - endif - if l:input<1 || l:input>l:num - echo "Out of range" - return - endif - let l:line=matchstr("\n".l:list, "\n".l:input."\t[^\n]*") - else - let l:line=l:list - endif - let l:line=substitute(l:line, "^[^\t]*\t./", "", "") - execute ":e ".l:line - endfunction - command! -nargs=1 Find :call Find("") -< - -============================================================================== - -Here is a other nice solution to vimrc - -> - if exists("$PROJECTDIR") - set path=$PROJECTDIR/** - set tags=$PROJECTDIR/tags - endif -< - -well, is on the shell $PROJECTDIR defined the include recursive all -directories. - -with `:find foo.cpp` it's open the file on Vim. - -============================================================================== - -Yes, I have been using construct very similar to yours, the trouble was that -:find opens first file of a given name it finds, without telling you that -there are other two. - -The other thing, :find also does not like wildcard characters, they are -expanded before the :find is executed. I would like to be able to use ':find -blah*.c'. Or maybe I just don't know how to use :find properly ? :) - -============================================================================== - -The tags mechanism is how I jump around files. The Exuberant Ctags tool -allows you to tag the files themselves. - -I have a script that looks like this: - -> - ctags --extra=+f --langdef=file --langmap='file:.xml.jsp.properties.xslt' \ - --exclude=WEB-INF/classes \ - -R src/com src/java testharness/src web/pages sql gen WEB-INF -< - -In your Vim session set the tags file location - -> - :set tags=pathtotags/tags -< - -And then use :tag FileName - -Added bonus, :tag lets you use tab completion! - -============================================================================== - ->> But maybe there is some way to generate two different tag files and use -them in Vim at the same time? - -Sure there is! You can try: - -> - set tags=/tags,,tags -< - -============================================================================== - -Thank you, very useful script. Would it be possible to add an option to open -the found file with another program? For example openoffice in case the found -file is odt? - -============================================================================== - -If the user has no permission for some of the files, they are included in the -listing. I solved it by redirecting stderr to /dev/null. - -Old line: - -> - let l:list=system("find . -name '".a:name."' | grep -v \".svn/\" | perl -ne 'print \"$.\\t$_\"'") -< - -New line: - -> - let l:list=system("find . -name '".a:name."' 2> /dev/null | grep -v \".svn/\" | perl -ne 'print \"$.\\t$_\"'") -< - -============================================================================== - -The find command can be nicely integrated with the quickfix functionality of -vim.Here an implementation based on the python vim module. Put this in you -.vimrc file: - -> - python << EOL - import vim - - def Finder(*args): - ''' Operation is as follows: - - request the starting dir - - find command finds the requested file - - the printf param formats it to accomodate the errorformat '%f:%l:%m' - - line is always 1, message is empty (-) - - the 'cgete' vim command puts it into the quickfix errorlist - - 'botright copen' opens the quickfix list - ''' - start_dir = vim.eval('input("Start from dir: ", getcwd(), "dir")') - find_cmd = (r'find %s -name %s -printf %%p:1:-\\n' % (start_dir, args[0])) - vim.command("cgete system('%s')" % find_cmd) - vim.command('botright copen') - EOL - command! -nargs=1 Find :py Finder("") -< - -============================================================================== - -This is the slightly modified version of the script so it accepts an optional -(second) argument.If given it represents a path to be used in a search. The -result of the search is redirected to a quickfix window. The quickfix window -gets focus after the search is done. - -> - " Find file in current directory and edit it. - function! Find(...) - let path="." - if a:0==2 - let path=a:2 - endif - let l:list=system("find ".path. " -name '".a:1."' | grep -v .svn ") - let l:num=strlen(substitute(l:list, "[^\n]", "", "g")) - if l:num < 1 - echo "'".a:1."' not found" - return - endif - if l:num != 1 - let tmpfile = tempname() - exe "redir! > " . tmpfile - silent echon l:list - redir END - let old_efm = &efm - set efm=%f - - if exists(":cgetfile") - execute "silent! cgetfile " . tmpfile - else - execute "silent! cfile " . tmpfile - endif - - let &efm = old_efm - - " Open the quickfix window below the current window - botright copen - - call delete(tmpfile) - endif - endfunction - command! -nargs=* Find :call Find() -< - -============================================================================== - -One more slight modification. If only one file is found, the script directly -above this comment will not open anything. And since there's no need to open -the quickfix list for one file, it just opens it directly (like find). - -> - " Find file in current directory and edit it. - function! Find(...) - let path="." - if a:0==2 - let path=a:2 - endif - let l:list=system("find ".path. " -name '".a:1."' | grep -v .svn ") - let l:num=strlen(substitute(l:list, "[^\n]", "", "g")) - if l:num < 1 - echo "'".a:1."' not found" - return - endif - if l:num == 1 - exe "open " . substitute(l:list, "\n", "", "g") - else - let tmpfile = tempname() - exe "redir! > " . tmpfile - silent echon l:list - redir END - let old_efm = &efm - set efm=%f - - if exists(":cgetfile") - execute "silent! cgetfile " . tmpfile - else - execute "silent! cfile " . tmpfile - endif - - let &efm = old_efm - - " Open the quickfix window below the current window - botright copen - - call delete(tmpfile) - endif - endfunction - command! -nargs=* Find :call Find() -< - -============================================================================== - -Added configurable inverted grep. Set g:FindIgnore in your .vimrc to a list -of strings: - -> - set g:FindIgnore = ['.swp', '.pyc', '.class', '.git', '.svn'] -< - -> - " Find file in current directory and edit it. - function! Find(...) - if a:0==2 - let path=a:1 - let query=a:2 - else - let path="./" - let query=a:1 - endif - - if !exists("g:FindIgnore") - let ignore = "" - else - let ignore = " | egrep -v '".join(g:FindIgnore, "|")."'" - endif - - let l:list=system("find ".path." -type f -iname '*".query."*'".ignore) - let l:num=strlen(substitute(l:list, "[^\n]", "", "g")) - - if l:num < 1 - echo "'".query."' not found" - return - endif - - if l:num == 1 - exe "open " . substitute(l:list, "\n", "", "g") - else - let tmpfile = tempname() - exe "redir! > " . tmpfile - silent echon l:list - redir END - let old_efm = &efm - set efm=%f - - if exists(":cgetfile") - execute "silent! cgetfile " . tmpfile - else - execute "silent! cfile " . tmpfile - endif - - let &efm = old_efm - - " Open the quickfix window below the current window - botright copen - - call delete(tmpfile) - endif - endfunction - - command! -nargs=* Find :call Find( -< - -============================================================================== - -Modified above function to use the -path parameter instead of -iname, this -allows things like: - -> - :Find 'log*htt*err*' /var -< - -Which would find /var/log/httpd/error_log - -> - Find 'pub*.tpl' -< - -Which would find all .tpl files in public_html - -> - function! Find(...) - if a:0==2 - let path=a:1 - let query=a:2 - else - let path="./" - let query=a:1 - endif - - if !exists("g:FindIgnore") - let ignore = "" - else - let ignore = " | egrep -v '".join(g:FindIgnore, "|")."'" - endif - - let l:list=system("find ".path." -type f -path '".query."'".ignore) - let l:num=strlen(substitute(l:list, "[^\n]", "", "g")) - - if l:num < 1 - echo "'".query."' not found" - return - endif - - if l:num == 1 - exe "open " . substitute(l:list, "\n", "", "g") - else - let tmpfile = tempname() - exe "redir! > " . tmpfile - silent echon l:list - redir END - let old_efm = &efm - set efm=%f - - if exists(":cgetfile") - execute "silent! cgetfile " . tmpfile - else - execute "silent! cfile " . tmpfile - endif - - let &efm = old_efm - - " Open the quickfix window below the current window - botright copen - - call delete(tmpfile) - endif - endfunction - command! -nargs=* Find :call Find() -< - -CATEGORIES *vtw-1234-cats* - -Deprecated |vtw-by-category-deprecated| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1236.txt b/doc/vim-tips-wiki-1236.txt deleted file mode 100644 index 416ab58..0000000 --- a/doc/vim-tips-wiki-1236.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1236.txt* VimTip1236 *vtw-1236* - - - -Previous Tip |vtw-1235| • Next Tip |vtw-1237| - -TIP 1236 DOES NOT EXIST *vtw-1236-tip-1236-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1236 [http://www.vim.org/tips/tip.php?tip_id=1236]. - -CATEGORIES *vtw-1236-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1239.txt b/doc/vim-tips-wiki-1239.txt deleted file mode 100644 index 0b3ee88..0000000 --- a/doc/vim-tips-wiki-1239.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1239.txt* VimTip1239 *vtw-1239* - - - -Previous Tip |vtw-1238| • Next Tip |vtw-1240| - -TIP 1239 DOES NOT EXIST *vtw-1239-tip-1239-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1239 [http://www.vim.org/tips/tip.php?tip_id=1239]. - -CATEGORIES *vtw-1239-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1241.txt b/doc/vim-tips-wiki-1241.txt deleted file mode 100644 index 413dec0..0000000 --- a/doc/vim-tips-wiki-1241.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1241.txt* VimTip1241 *vtw-1241* - - - -Previous Tip |vtw-1240| • Next Tip |vtw-1244| - -TIP 1241 HAS BEEN REMOVED *vtw-1241-tip-1241-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1241 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1241]. - -Better to use gq command - -CATEGORIES *vtw-1241-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1243.txt b/doc/vim-tips-wiki-1243.txt deleted file mode 100644 index a9e89f3..0000000 --- a/doc/vim-tips-wiki-1243.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1243.txt* VimTip1243 *vtw-1243* - - - -Previous Tip |vtw-1240| • Next Tip |vtw-1244| - -TIP 1243 DOES NOT EXIST *vtw-1243-tip-1243-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1243 [http://www.vim.org/tips/tip.php?tip_id=1243]. - -CATEGORIES *vtw-1243-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1246.txt b/doc/vim-tips-wiki-1246.txt deleted file mode 100644 index 89c207d..0000000 --- a/doc/vim-tips-wiki-1246.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1246.txt* VimTip1246 *vtw-1246* - - - -Previous Tip |vtw-1245| • Next Tip |vtw-1247| - -TIP 1246 HAS BEEN REMOVED *vtw-1246-tip-1246-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1246 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1246]. - -Merged to Vim documentation [https://vim.fandom.com/wiki/Vim_documentation] - -CATEGORIES *vtw-1246-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1248.txt b/doc/vim-tips-wiki-1248.txt deleted file mode 100644 index 98d2a28..0000000 --- a/doc/vim-tips-wiki-1248.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1248.txt* VimTip1248 *vtw-1248* - - - -Previous Tip |vtw-1247| • Next Tip |vtw-1249| - -TIP 1248 DOES NOT EXIST *vtw-1248-tip-1248-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1248 [http://www.vim.org/tips/tip.php?tip_id=1248]. - -CATEGORIES *vtw-1248-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1250.txt b/doc/vim-tips-wiki-1250.txt deleted file mode 100644 index 0e9e24e..0000000 --- a/doc/vim-tips-wiki-1250.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1250.txt* VimTip1250 *vtw-1250* - - - -Previous Tip |vtw-1249| • Next Tip |vtw-1251| - -TIP 1250 DOES NOT EXIST *vtw-1250-tip-1250-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1250 [http://www.vim.org/tips/tip.php?tip_id=1250]. - -CATEGORIES *vtw-1250-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1251.txt b/doc/vim-tips-wiki-1251.txt deleted file mode 100644 index e6b6486..0000000 --- a/doc/vim-tips-wiki-1251.txt +++ /dev/null @@ -1,167 +0,0 @@ -*vim-tips-wiki-1251.txt* AES256 encryption in Vim *vtw-1251* - - - -This tip is deprecated for the following reasons: - -Much of this information is still probably useful, however Vim 7.3 has built -in support for Blowfish encryption so this tip is probably not needed by most -people.Tip 1251 [https://vim.fandom.com/wiki/AES256_encryption_in_Vim] Previous |vtw-1249| Next |vtw-1259| - -created 2006 · complexity intermediate · author fomit · version 6.0 - -============================================================================== - -Install base64 (http://www.fourmilab.ch/webtools/base64/ -[http://www.fourmilab.ch/webtools/base64/]) and aespipe -(http://www.fourmilab.ch/webtools/base64/ -[http://www.fourmilab.ch/webtools/base64/]) - -Create a second config file named ~/.cvimrc containing: - -> - set secure - set viminfo= - set noswapfile - set nobackup - set nowritebackup - set history=0 - set noshelltemp - - function Scramble() -  %!base64 -e | aespipe -e aes256 -T | base64 -e - endfunction - - function Unscramble() -  %!base64 -d | aespipe -e aes256 -d | base64 -d - endfunction - - map  :call Scramble() - map  :call Unscramble() -< - -Create a shell script named cvim (copy it to /usr/bin) containing: - -> - #!/bin/sh - vim -S $HOME/.cvimrc "$@" -< - -Make the new script executable (do this as root, or use ~/bin/ instead of -/usr/bin): - -> - $ chmod 750 /usr/bin/cvim -< - -Now you can edit a file with: - -> - $ cvim new_textfile -< - -Type in whatever you like. Press F7 key and type password twice. Then the -contents of the file will be encrypted. - -To decrypt, press F8 and type password again. - -Never save the file while you can see the plain text. Before saving (:w) you -should encrypt it first, otherwise there will be traces of the plaintext file -on your hard disk. - -COMMENTS *vtw-1251-comments* - -Also check out the openssl -[https://www.vim.org/scripts/script.php?script_id=2012] plugin. All you need -is Vim and openssl on your system and you can be editing encrypted files right -now! Files can be encrypted with most ciphers supported by openssl: aes, -blowfish, des3, etc. The cool part is that the plugin transparently handles -decryption when you open a file and encrypting it again before you write it. -Just do your typical ":wq" and it will ask you for an encryption password -before it writes. ... It also has a password safe feature. Now you don't need -to install a separate password safe and your password file is encrypted with -standard OpenSSL supported ciphers that can later be decrypted with just -`openssl` alone -- the original openssl.vim VimScript is not required for -decryption. --Noahspurrier [https://vim.fandom.com/wiki/User:Noahspurrier] -01:30, 26 November 2008 (UTC) - -============================================================================== - -aespipe can be found at http://loop-aes.sourceforge.net -[http://loop-aes.sourceforge.net] - -============================================================================== - -For less secure encryption, see Vim's built-in encryption feature :help -|encryption|. - -============================================================================== - -How about gpg: - -> - $ seq 1 3 > file - $ gpg --cipher-algo aes256 --symmetric file - ... - $ gpg --cipher-algo aes256 --decrypt < file.gpg - gpg: AES256 encrypted data - gpg: encrypted with 1 passphrase - 1 - 2 - 3 -< - -============================================================================== - -How about VimTip1032 |vtw-1032|. - -============================================================================== - -I still prefer script#661 -[https://www.vim.org/scripts/script.php?script_id=661]. - -============================================================================== - -Use the following (-a does to and from base64 conversion). - -> - openssl aes-256-cbc [-d] -a -in file.txt -out file.aes -< - -============================================================================== - -I edited the commands to "set noshelltemp" because otherwise Vim uses a -temporary file to copy the text to the standard input of aespipe. - -I also edited some of the text above to properly use a 'pre' block, and got -rid of some superfluous stuff and incorrect comments. - -Also note that I prefer: - -> - function Scramble() -  %!gpg -q --cipher-algo aes256 --symmetric --armor 2>/dev/null - endfunction - - function Unscramble() -  %!gpg -q --cipher-algo aes256 --decrypt --armor 2>/dev/null - endfunction -< - -which works just fine, and uses a single command (which is almost certainly -installed already). - -Also, use of an alias for cvim might be more suitable than use of a shell -script, since the arguments all come at the end of the line anyways. This -won't require installing a script as root either; it's probably better for a -user that wants to do this to just add the alias to their -.bashrc/.bash_profile. - -============================================================================== - -CATEGORIES *vtw-1251-cats* - -Deprecated |vtw-by-category-deprecated| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1252.txt b/doc/vim-tips-wiki-1252.txt deleted file mode 100644 index 64d056e..0000000 --- a/doc/vim-tips-wiki-1252.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1252.txt* VimTip1252 *vtw-1252* - - - -Previous Tip |vtw-1251| • Next Tip |vtw-1259| - -TIP 1252 DOES NOT EXIST *vtw-1252-tip-1252-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1252 [http://www.vim.org/tips/tip.php?tip_id=1252]. - -CATEGORIES *vtw-1252-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1254.txt b/doc/vim-tips-wiki-1254.txt deleted file mode 100644 index 64d6bff..0000000 --- a/doc/vim-tips-wiki-1254.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1254.txt* VimTip1254 *vtw-1254* - - - -Previous Tip |vtw-1251| • Next Tip |vtw-1259| - -TIP 1254 DOES NOT EXIST *vtw-1254-tip-1254-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1254 [http://www.vim.org/tips/tip.php?tip_id=1254]. - -CATEGORIES *vtw-1254-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1255.txt b/doc/vim-tips-wiki-1255.txt deleted file mode 100644 index 8a2d572..0000000 --- a/doc/vim-tips-wiki-1255.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1255.txt* VimTip1255 *vtw-1255* - - - -Previous Tip |vtw-1251| • Next Tip |vtw-1259| - -TIP 1255 DOES NOT EXIST *vtw-1255-tip-1255-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1255 [http://www.vim.org/tips/tip.php?tip_id=1255]. - -CATEGORIES *vtw-1255-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1256.txt b/doc/vim-tips-wiki-1256.txt deleted file mode 100644 index abbde14..0000000 --- a/doc/vim-tips-wiki-1256.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1256.txt* VimTip1256 *vtw-1256* - - - -Previous Tip |vtw-1251| • Next Tip |vtw-1259| - -TIP 1256 DOES NOT EXIST *vtw-1256-tip-1256-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1256 [http://www.vim.org/tips/tip.php?tip_id=1256]. - -CATEGORIES *vtw-1256-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1258.txt b/doc/vim-tips-wiki-1258.txt deleted file mode 100644 index afa74a0..0000000 --- a/doc/vim-tips-wiki-1258.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1258.txt* VimTip1258 *vtw-1258* - - - -Previous Tip |vtw-1251| • Next Tip |vtw-1259| - -TIP 1258 DOES NOT EXIST *vtw-1258-tip-1258-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1258 [http://www.vim.org/tips/tip.php?tip_id=1258]. - -CATEGORIES *vtw-1258-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1263.txt b/doc/vim-tips-wiki-1263.txt deleted file mode 100644 index 9bdb253..0000000 --- a/doc/vim-tips-wiki-1263.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1263.txt* VimTip1263 *vtw-1263* - - - -Previous Tip |vtw-1262| • Next Tip |vtw-1265| - -TIP 1263 DOES NOT EXIST *vtw-1263-tip-1263-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1263 [http://www.vim.org/tips/tip.php?tip_id=1263]. - -CATEGORIES *vtw-1263-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1264.txt b/doc/vim-tips-wiki-1264.txt deleted file mode 100644 index e308e42..0000000 --- a/doc/vim-tips-wiki-1264.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1264.txt* VimTip1264 *vtw-1264* - - - -Previous Tip |vtw-1262| • Next Tip |vtw-1265| - -TIP 1264 DOES NOT EXIST *vtw-1264-tip-1264-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1264 [http://www.vim.org/tips/tip.php?tip_id=1264]. - -CATEGORIES *vtw-1264-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1270.txt b/doc/vim-tips-wiki-1270.txt deleted file mode 100644 index 5e96c1a..0000000 --- a/doc/vim-tips-wiki-1270.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1270.txt* VimTip1270 *vtw-1270* - - - -Previous Tip |vtw-1269| • Next Tip |vtw-1272| - -TIP 1270 DOES NOT EXIST *vtw-1270-tip-1270-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1270 [http://www.vim.org/tips/tip.php?tip_id=1270]. - -CATEGORIES *vtw-1270-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1271.txt b/doc/vim-tips-wiki-1271.txt deleted file mode 100644 index fcc428e..0000000 --- a/doc/vim-tips-wiki-1271.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1271.txt* VimTip1271 *vtw-1271* - - - -Previous Tip |vtw-1269| • Next Tip |vtw-1272| - -TIP 1271 DOES NOT EXIST *vtw-1271-tip-1271-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1271 [http://www.vim.org/tips/tip.php?tip_id=1271]. - -CATEGORIES *vtw-1271-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1273.txt b/doc/vim-tips-wiki-1273.txt deleted file mode 100644 index c1630a9..0000000 --- a/doc/vim-tips-wiki-1273.txt +++ /dev/null @@ -1,25 +0,0 @@ -*vim-tips-wiki-1273.txt* VimTip1273 *vtw-1273* - - - -Previous Tip |vtw-1272| • Next Tip |vtw-1274| - -TIP 1273 HAS BEEN REMOVED *vtw-1273-tip-1273-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1273 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1273]. - -Tip 1273 has been removed, see Talk:Candidates for deletion/Removed -[https://vim.fandom.com/wiki/Talk:Candidates_for_deletion/Removed] - -CATEGORIES *vtw-1273-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1275.txt b/doc/vim-tips-wiki-1275.txt deleted file mode 100644 index 5aca73b..0000000 --- a/doc/vim-tips-wiki-1275.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1275.txt* VimTip1275 *vtw-1275* - - - -Previous Tip |vtw-1274| • Next Tip |vtw-1280| - -TIP 1275 HAS BEEN REMOVED *vtw-1275-tip-1275-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1275 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1275]. - -One-line tip with unhelpful advice. - -CATEGORIES *vtw-1275-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1276.txt b/doc/vim-tips-wiki-1276.txt deleted file mode 100644 index 7615358..0000000 --- a/doc/vim-tips-wiki-1276.txt +++ /dev/null @@ -1,25 +0,0 @@ -*vim-tips-wiki-1276.txt* VimTip1276 *vtw-1276* - - - -Previous Tip |vtw-1274| • Next Tip |vtw-1280| - -TIP 1276 HAS BEEN REMOVED *vtw-1276-tip-1276-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1276 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1276]. - -No useful content (concerns obsolete version of ctags), and no suitable -target for a redirect. - -CATEGORIES *vtw-1276-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1277.txt b/doc/vim-tips-wiki-1277.txt deleted file mode 100644 index 29f5a9f..0000000 --- a/doc/vim-tips-wiki-1277.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1277.txt* VimTip1277 *vtw-1277* - - - -Previous Tip |vtw-1274| • Next Tip |vtw-1280| - -TIP 1277 DOES NOT EXIST *vtw-1277-tip-1277-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1277 [http://www.vim.org/tips/tip.php?tip_id=1277]. - -CATEGORIES *vtw-1277-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1278.txt b/doc/vim-tips-wiki-1278.txt deleted file mode 100644 index a8feda5..0000000 --- a/doc/vim-tips-wiki-1278.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1278.txt* VimTip1278 *vtw-1278* - - - -Previous Tip |vtw-1274| • Next Tip |vtw-1280| - -TIP 1278 DOES NOT EXIST *vtw-1278-tip-1278-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1278 [http://www.vim.org/tips/tip.php?tip_id=1278]. - -CATEGORIES *vtw-1278-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1281.txt b/doc/vim-tips-wiki-1281.txt deleted file mode 100644 index 8f62817..0000000 --- a/doc/vim-tips-wiki-1281.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1281.txt* VimTip1281 *vtw-1281* - - - -Previous Tip |vtw-1280| • Next Tip |vtw-1282| - -TIP 1281 HAS BEEN REMOVED *vtw-1281-tip-1281-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1281 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1281]. - - - -CATEGORIES *vtw-1281-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1283.txt b/doc/vim-tips-wiki-1283.txt deleted file mode 100644 index e49d804..0000000 --- a/doc/vim-tips-wiki-1283.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1283.txt* VimTip1283 *vtw-1283* - - - -Previous Tip |vtw-1282| • Next Tip |vtw-1285| - -TIP 1283 HAS BEEN REMOVED *vtw-1283-tip-1283-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1283 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1283]. - - - -CATEGORIES *vtw-1283-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-13.txt b/doc/vim-tips-wiki-13.txt deleted file mode 100644 index 3174bf4..0000000 --- a/doc/vim-tips-wiki-13.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-13.txt* VimTip13 *vtw-13* - - - -Previous Tip |vtw-12| • Next Tip |vtw-14| - -TIP 13 HAS BEEN REMOVED *vtw-13-tip-13-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#13 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=13]. - -Merged to VimTip1 |vtw-1| - -CATEGORIES *vtw-13-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1306.txt b/doc/vim-tips-wiki-1306.txt deleted file mode 100644 index 9681d7d..0000000 --- a/doc/vim-tips-wiki-1306.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1306.txt* VimTip1306 *vtw-1306* - - - -Previous Tip |vtw-1305| • Next Tip |vtw-1308| - -TIP 1306 HAS BEEN REMOVED *vtw-1306-tip-1306-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1306 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1306]. - -Merged to VimTip1199 |vtw-1199| - -CATEGORIES *vtw-1306-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1307.txt b/doc/vim-tips-wiki-1307.txt deleted file mode 100644 index f5655c8..0000000 --- a/doc/vim-tips-wiki-1307.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1307.txt* VimTip1307 *vtw-1307* - - - -Previous Tip |vtw-1305| • Next Tip |vtw-1308| - -TIP 1307 DOES NOT EXIST *vtw-1307-tip-1307-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1307 [http://www.vim.org/tips/tip.php?tip_id=1307]. - -CATEGORIES *vtw-1307-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1308.txt b/doc/vim-tips-wiki-1308.txt deleted file mode 100644 index d080975..0000000 --- a/doc/vim-tips-wiki-1308.txt +++ /dev/null @@ -1,809 +0,0 @@ -*vim-tips-wiki-1308.txt* Patch to conceal parts of lines *vtw-1308* - -Tip 1308 [https://vim.fandom.com/wiki/Patch_to_conceal_parts_of_lines] Previous |vtw-1305| Next |vtw-1309| - -created August 16, 2006 · complexity advanced · author Yakov Lerner · version -n/a - -============================================================================== - -This tip is deprecated for the following reasons: - -the functionality in the conceal patch has been included in Vim 7.3 - -INTRODUCTION *vtw-1308-introduction* - -The conceal patch by Vince Negri allows one to "conceal" parts of lines -(in-line folding). One can make those parts completely invisible or replace -them with shorter/alternate characters. Uses for this patch include: - - Creating vertical folds (folding visual blocks or columns). See the - foldcol.vim script - [http://vim.sourceforge.net/scripts/script.php?script_id=1161], which uses the - conceal patch to achieve this. - - Hiding certain "distracting" characters, like ANSI escape sequences. See the - AnsiEsc.vim script - [http://vim.sourceforge.net/scripts/script.php?script_id=302]. (Although it - seems the conceal version of the script has been replaced with one using - "ignore" highlighting.) - - Hiding or altering HTML tags. For example "Text in bold" can appear as - "Text in *bold*", or simply as "Text in bold". - - -When used with color highlighting, conceal can be a very useful feature, -allowing one to see the bare text in an HTML or LaTeX document without the -clutter of markup. - -This is achieved by making/altering a vim syntax file and using the "conceal" -argument to specify which keywords, regions, or patterns can be concealed or -replaced with different characters. Then one sets the "conceallevel" option to -turn the concealing on or off. - -Without the conceal patch, the only way to achieve a similar effect is to use -ignore highlighting to toggle the visibility of certain markup. However, this -is effectively equivalent to making the color of the markup match the -background of the text editor. The markup still takes up space and can be seen -when selected. The conceal patch, on the other hand, brings a whole new level -of control over how Vim displays text. - -The conceal patch also comes with two features useful in situations beyond -concealing text. The ownsyntax option allows for two or more windows of the -same file to use different syntax files. This allows one to view the same -document with different highlighting. The other, related feature, cursorbind, -is similar to scrollbind and allows two or more windows to remain in sync as -one of them scrolls (useful for diff-ing documents). - -WHERE TO GET IT *vtw-1308-where-to-get-it* - -The conceal patch is not officially supported by Vim (to change this, vote -[http://www.vim.org/sponsor/vote_results.php] for the patch). No pre-compiled -binaries of Vim with the patch can easily be found on the web (except for this -experimental binary:Gvim 7.0.17 -[http://vince.negri.googlepages.com/GVIM16.zip], native 16-bit Windows build). -This means that one has to compile Vim from the source code and apply the -patch manually. - -The patch can be downloaded at: http://vince.negri.googlepages.com/ -[http://vince.negri.googlepages.com/] - -Also see Vince Negri's description of the patch -[http://vince.negri.googlepages.com/concealownsyntaxforvim], showing its use -for abbreviating a LaTeX document. - -INSTALLING THE PATCH ON UNIX/LINUX *vtw-1308-installing-the-patch-on-unix/linux* - -Currently, the patch is only available for Vim 6.4.10 and 7.0.35.I personally -have had trouble building 7.0.35 on Ubuntu Gutsy (see Appendix C -|vtw-1308-appendix-c:-compile-errors|), though 6.4.10 compiles fine. If you -have trouble building one of the versions, try the other. - -VIM 6.4.10 SOURCE FILES *vtw-1308-vim-6.4.10-source-files* - -If installing Vim 6.4.10, you will need this source file:[Required] -ftp://ftp.vim.org/pub/vim/unix/vim-6.4.tar.bz2 -[ftp://ftp.vim.org/pub/vim/unix/vim-6.4.tar.bz2]The 'extra' sources are only -necessary for installing on non-UNIX/Linux systems. However, installing the -extras won't hurt and may make patching easier.[Optional] -ftp://ftp.vim.org/pub/vim/extra/vim-6.4-extra.tar.gz -[ftp://ftp.vim.org/pub/vim/extra/vim-6.4-extra.tar.gz]You may also want the -language sources for languages other than English/US:[Optional] -ftp://ftp.vim.org/pub/vim/extra/vim-6.4-lang.tar.gz -[ftp://ftp.vim.org/pub/vim/extra/vim-6.4-lang.tar.gz]You should get patches -6.4.001 through 6.4.010 to patch Vim 6.4 to Vim 6.4.010. However, this doesn't -seem to be necessary as the conceal patch appears to work for Vim 6.4. If -you're not installing the 'extra' sources mentioned above, don't install the -patches marked (extra) in the patches README -[ftp://ftp.vim.org/pub/vim/patches/6.4/README] file.[Semi-Optional] -ftp://ftp.vim.org/pub/vim/patches/6.4/ -[ftp://ftp.vim.org/pub/vim/patches/6.4/]Finally, you will need the 6.4.10 -conceal patch:[Required] -http://vince.negri.googlepages.com/conceal-ownsyntax-v64.diff -[http://vince.negri.googlepages.com/conceal-ownsyntax-v64.diff] - -VIM 7.0.35 SOURCE FILES *vtw-1308-vim-7.0.35-source-files* - -For Vim 7.0.35, here is the source file along with the extras and language -sources:[Required] ftp://ftp.vim.org/pub/vim/unix/vim-7.0.tar.bz2 -[ftp://ftp.vim.org/pub/vim/unix/vim-7.0.tar.bz2][Optional] -ftp://ftp.vim.org/pub/vim/extra/vim-7.0-extra.tar.gz -[ftp://ftp.vim.org/pub/vim/extra/vim-7.0-extra.tar.gz][Optional] -ftp://ftp.vim.org/pub/vim/extra/vim-7.0-lang.tar.gz -[ftp://ftp.vim.org/pub/vim/extra/vim-7.0-lang.tar.gz]You will want patches -7.0.001 through 7.0.035 to patch Vim 7.0 to Vim 7.0.35, but this doesn't seem -to be necessary. If you're not installing the 'extra' sources, don't get the -patches marked (extra) in the patches README -[ftp://ftp.vim.org/pub/vim/patches/7.0/README] file.[Semi-Optional] -ftp://ftp.vim.org/pub/vim/patches/7.0/ -[ftp://ftp.vim.org/pub/vim/patches/7.0/]Finally, you will need the 7.0.35 -conceal patch:[Required] -http://vince.negri.googlepages.com/conceal-ownsyntax.diff -[http://vince.negri.googlepages.com/conceal-ownsyntax.diff] - -PATCHING AND BUILDING *vtw-1308-patching-and-building* - -In order to build Vim, several development packages and libraries will need -to be installed. On Ubuntu systems make sure you at least have the -build-essential and libncurses5-dev packages installed. To compile Vim with -GUI support, you'll also need libgtk2.0-dev, libxaw7-dev, and libx11-dev -(should already be installed). You may also want libgnome2-dev and -libgnomeui-dev, but it seems to compile on GNOME fine without these. - -> - sudo apt-get install build-essential libncurses5-dev libgtk2.0-dev libxaw7-dev libx11-dev -< - -Other packages may also be necessary. If you need other packages, configure -(see below) should warn you about missing packages. - -Next, create a directory for building Vim. - -> - mkdir ~/.build -< - -Move the downloaded source files into ~/.build and unpack them. For example -(if you're building Vim 6.4): - -> - tar xvfj vim-6.4.tar.bz2 - tar xvfz vim-6.4-extra.tar.gz -< - -...and so on.The sources will extract to ~/.build/vim64. - -Create a ~/.build/vim64/patches folder and move the patches there. Now start -patching the sources from the ~/.build/vim64 directory. - -> - patch -p0 patches/6.4.002 - patch -p0 patches/6.4.003 - ... - patch -p0 patches/6.4.009 -< - -Go through the patches one-by-one, in ascending order, skipping the extra -patches if you're not installing the extra sources.This can be a long process, -so you may want to use the code in the script provided in Appendix A -|vtw-1308-appendix-a:-scripts-to-download-sources-and-build-vim|.Now you can -apply the conceal patch. For Vim 6.4: - -> - patch -p0 patches/conceal-ownsyntax-v64.diff -< - -or for Vim 7.0: - -> - patch -p0 patches/conceal-ownsyntax.diff -< - -Watch for any errors. If everything went well, you can now run configure. You -will at minimum need to enable the conceal and huge features: - -> - ./configure --enable-conceal --with-features=huge -< - -However, if you want to be able to use a GUI (i.e. gvim), you will need to -enable a few more features. These options should work on Ubuntu Gutsy: - -> - ./configure --enable-conceal --with-features=huge --with-x --enable-gui=gtk2 --enable-gnome-check --x-includes=/usr/include/X11 --x-libraries=/usr/lib -< - -You may want other options enabled as well (for example --enable-multibyte -for Asian character languages). Type ./configure --help to see what other -features/packages are available. Then search the Vim documentation -|http://vimdoc.sourceforge.net/htmldoc/help.html| for more information on each -feature (in particular see various.txt -|http://vimdoc.sourceforge.net/htmldoc/various.html|).If you get errors, you -are probably missing a required development package. Try to discern the error -to figure out what you need. (Googling the text of the error often helps). - -Now you can compile the code. If you're going to install the compiled Vim -binary into your system, simply run make, then make install, and you're done. - -> - make - make install -< - -However, there are many reasons for not installing this patched version of -Vim directly into your system. You may want to keep a more up-to-date, stabler -version as the default Vim binary. Also, installing the binary directly can -cause problems because it's not packaged specifically for your system (like it -would be with apt-get install vim). You would also need to uninstall your -current Vim package first, but it can be difficult to completely remove Vim on -many systems, like Ubuntu Linux. It is possible to have two versions of Vim -installed on your system [https://vim.fandom.com/wiki/VimTip848], but it's a -bit complicated. - -A simpler solution is to leave the Vim binary in the build directory and then -create a symbolic link to it. This will let you keep your existing version of -Vim, while giving you the option of using your patched version of Vim when you -need to. If you're choosing this route, you'll need to pass the runtime -directory of the build to make (see ~/.build/vim64/src/INSTALL for more -information). For example: - -> - make VIMRUNTIMEDIR=~/.build/vim70/runtime MAKE="make -e" -< - -This is necessary so that your patched Vim doesn't try to look for the -runtime files in /usr/share/vim and instead looks in its own runtime -directory. - -If the make compilation finished without errors, you should now see a Vim -binary in ~/.build/vim64/src/vim. Check to see if it compiled with the conceal -feature. - -> - ~/.build/vim64/src/vim --version -< - -You should see a +conceal feature listed in the output. If it says -conceal -then conceal is not installed and something went wrong. - -You can now start Vim with conceal! Just type ./vim or ./vim -g for GUI mode. - -If you didn't run make install, then you can create a symbolic link to the -built Vim binary for easy access on the command line. You should call the -links something different from vim, gvim, vim.full, etc. - -> - sudo ln -s ~/.build/vim64/src/vim /usr/bin/cvim - sudo ln -s ~/.build/vim64/src/vim /usr/bin/gcvim -< - -Here we made two links to the Vim binary, gcvim and cvim (conceal-Vim). -Because the gcvim link starts with a "g", it will automatically launch Vim in -GUI mode (same as vim -g). - -You can also create symbolic links to your syntax files, so that both Vim -binaries can use it. For example: - -> - sudo ln -s /usr/share/vim/vimcurrent/syntax/my_syntax.vim ~/.build/vim64/runtime/syntax/my_syntax.vim -< - -Since you'll be using the same .vimrc / .gvimrc files for two Vim binaries -with different version numbers, you will get errors when setting newer -features with the older binary. To get around this, check the version number -in your .vimrc file. - -> - if version > 604 - set cursorline - endif -< - -This way, Vim will only run the command cursorline if the version number is -greater than Vim 6.4. - -For more information on patching and building Vim, see: Vim: Compiling How-To -[http://users.skynet.be/antoine.mechelynck/vim/compunix.htm] and Compiling -gVim on Ubuntu/Debian [http://www.blog.deepinit.com/?p=6]. - -USING CONCEAL *vtw-1308-using-conceal* - -Here's a quick look at how to use the features available in the conceal -patch.First, let's make a syntax file. - -> - "chtml.vim: html with conceal - set conc=2 - - syn region inBold concealends matchgroup=bTag start="" end="" - syn match newLine "
" conceal cchar=} - - hi inBold gui=bold - hi bTag guifg=blue - hi newLine guifg=green -< - -Call this file chtml.vim and place it in /usr/share/vim/vimcurrent/syntax/ or -similar syntax directory.Next, create a simple HTML file, hello.chtml: - -Here is some bold HTML!
- -Edit this file with Vim (patched with conceal). Now to apply the syntax file, -you'll need to source it. From Vim run: - -> - :so /path/to/chtml.vim -< - -You can also automatically apply the chtml.vim syntax file to files ending in -.chtml by adding this line to .vimrc: - -> - autocmd BufRead *.chtml set filetype=chtml -< - -You should now see the tags highlighted. - -Here is some bold HTML! - -Now we can conceal the tags by using the conceallevel option: - -> - :set conceallevel=2 -< - -(Or :se conc=2 for short). The HTML will now look like this: - -Here is some HTML! - -Let's look at how this works.Setting the conceallevel option to "2" hides -concealed text or replaces it with another character. In this case the -tags are hidden and the
tags are replaced with the shorter "}" character. - -This is dictated by the syntax file. The conceal argument indicates that the -"
" match is concealable. The cchar argument provides an alternate -character that can be shown in place of "
". The cchar argument is -optional; if it isn't present then the concealed text is simply hidden when -the conceallevel is set to "2". - -The concealends argument allows for the start and end portions of a region to -be concealed, while the inner text remains unconcealed. You need to provide a -matchgroup argument that will create a group name for the start and end -patterns, which can then be highlighted differently. - -You can also set conceallevel to "3", which will hide all the concealable -tags, ignoring the cchar alternate characters. Or you can set conceallevel to -"1", which will replace all the concealable tags with a "-" (dash), aside from -the cchar tags. To go back to unconcealed text, set concellevel to "0". You -can quickly toggle concealed text by mapping :se conc=0 and :se conc=2 to two -different keys. You can also start the file in a concealed mode on opening it -by putting set conc=2 in your syntax file. - -Note that the text of the line on which the cursor is on is never concealed. -There seems to be no way to avoid this, even though it would certainly be -useful in many cases to leave all text concealed while editing around the -concealed portions. However, it is possible to see the full unconcealed text -in a separate window from the one you're working on. To do this, start by -splitting the window. - -> - :split -< - -You can jump from window to window by using "CTRL-W-W". Then simply set the -conceallevel to "0" in one window and "2" in the other. - -One issue you'll quickly notice is that the two windows won't always be in -sync when you start scrolling up and down. To address this, the conceal patch -comes with another option -- cursorbind. Simply enter: - -> - :se cursorbind -< - -Now the two windows will be in sync, both by line and column. Note that -cursorbind (crb) is similar to scrollbind (scb), which comes with Vim. There -are slight differences between the two -- for instance using CTRL-Y and CTRL-E -will scroll both windows with scrollbind, but not with cursorbind. - -Finally, you can use the ownsyntax option that comes with the conceal patch -to use different syntax files for the two windows (normally you can't use two -syntax styles on the same file in Vim). You can use this to create one style -of highlighting for the concealed markup-free version of the document, while -using another for the window with markup. This also lets you keep the conceal -version of your syntax file separate from the standard syntax file. - -For instance, with our sample html document, you can split the windows and -apply two different styles. To use the html.vim syntax file for the first -window, simply enter: - -> - :ownsyntax html -< - -Then switch to the other window and apply the chtml.vim syntax file: - -> - :ownsyntax chtml -< - -Or, alternatively, enter :ownsyntax in both windows and you'll be able to -source a separate syntax file in each window. - -For the complete details, see the conceal documentation in Vim help (Appendix -B |vtw-1308-appendix-b:-vim-help-documentation-for-conceal|). - -APPENDIX A: SCRIPTS TO DOWNLOAD SOURCES AND BUILD VIM *vtw-1308-appendix-a:-scripts-to-download-sources-and-build-vim* - -Here are two sets of scripts that summarize and automate the install process -described above. I don't recommend running these scripts the first time you -build Vim because so many things can go wrong. Rather, once you can patch and -build Vim without problems, you can tweak these scripts and use them to -rebuild Vim when necessary. The one part of the scripts you may want to use -the first time you're building is the loop for downloading/applying the -patches. - -These scripts don't use the 'extra' and 'language' sources, but they can -easily be modified to do so. Also, the scripts don't install Vim, but rather -make a symbolic link to the new Vim binary. - -Copy and paste each script into a text file. Then make it executable and run -it from ~/.build. First run the get script to download the sources; then run -the go script to build. - -> - cd ~/.build - chmod +x get_vim_conceal_64.sh - chmod +x go_vim_conceal_64.sh - ./get_vim_conceal_64.sh - ./go_vim_conceal_64.sh -< - -SCRIPTS FOR VIM 6.4.10 *vtw-1308-scripts-for-vim-6.4.10* - -> - #!/bin/bash - # get_vim_conceal_64.sh - # This script will download the necessary sources and patches for building Vim 6.4.10. - # After it runs your build directory should look like this: - # - # ~/.build/vim6.4.tar.bz2 - # ~/.build/patches/6.4.002 - # ~/.build/patches/6.4.003 - # ... - # ~/.build/patches/6.4.009 - # ~/.build/patches/conceal-ownsyntax-v64.diff - # - # Note that it doesn't download the "extra" patches 6.4.001 and 6.4.010. So really this script builds Vim 6.4.09. - - wget ftp://ftp.vim.org/pub/vim/unix/vim-6.4.tar.bz2 - - mkdir patches - - cnt=2 - - while [ $cnt -lt 10 ]; do - wget -P patches ftp://ftp.vim.org/pub/vim/patches/6.4/6.4.00${cnt} - let cnt+=1 - done - - wget -P patches http://vince.negri.googlepages.com/conceal-ownsyntax-v64.diff -< - -> - #!/bin/bash - # go_vim_conceal_64.sh - # This script extracts the source files and copies the patches folder to the vim64 folder. - # It then patches and builds Vim, with GUI/GNOME support options for Ubuntu Gutsy or similar systems. - # It doesn't install Vim, but rather makes a symbolic link to the built binary. - # After running the script, the binary can be started with the command "cvim". - - tar xvfj vim-6.4.tar.bz2 - - cp -r patches vim64/patches - - cd vim64 - - ls patches/6* | while read file - do - patch -p0 < "${file}" - done - - patch -p0 < patches/conceal-ownsyntax-v64.diff - - ./configure --enable-conceal --with-features=huge --with-x --enable-gui=gtk2 --enable-gnome-check --x-includes=/usr/include/X11 --x-libraries=/usr/lib - make VIMRUNTIMEDIR=~/.build/vim64/runtime MAKE="make -e" - sudo ln -s ~/.build/vim64/src/vim /usr/bin/cvim - sudo ln -s ~/.build/vim64/src/vim /usr/bin/gcvim -< - -SCRIPTS FOR VIM 7.0.35 *vtw-1308-scripts-for-vim-7.0.35* - -> - #!/bin/bash - # get_vim_conceal_70.sh - # This script will download the necessary sources and patches for building Vim 7.0.35. - # After it runs your build directory should look like this: - # - # ~/.build/vim7.0.tar.bz2 - # ~/.build/patches/7.0.001 - # ~/.build/patches/7.0.002 - # ... - # ~/.build/patches/7.0.035 - # ~/.build/patches/conceal-ownsyntax.diff - # - # Note that it doesn't download any "extra" patches. - - wget ftp://ftp.vim.org/pub/vim/unix/vim-7.0.tar.bz2 - - mkdir patches - - cnt=1 - - # Two loops seem necessary to download patches #1-9 and 10-35 (while keeping the script easy to read). - # The "extra" patches #5, 27, 28, and 32 are skipped. - - while [ $cnt -lt 10 ]; do - if [ $cnt -ne 5 ]; then - wget -P patches ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.00${cnt} - fi - let cnt+=1 - done - - while [ $cnt -lt 36 ]; do - if [ $cnt -ne 27 -a $cnt -ne 28 -a $cnt -ne 32 ]; then - wget -P patches ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.0${cnt} - fi - let cnt+=1 - done - - wget -P patches http://vince.negri.googlepages.com/conceal-ownsyntax.diff -< - -> - #!/bin/bash - # go_vim_conceal_70.sh - # This script extracts the source files and copies the patches folder to the vim70 folder. - # It then patches and builds Vim, with GUI/GNOME support options for Ubuntu Gutsy or similar systems. - # It doesn't install Vim, but rather makes a symbolic link to the built binary. - # After running the script, the binary can be started with the command "cvim". - - tar xvfj vim-7.0.tar.bz2 - - cp -r patches vim70/patches - - cd vim70 - - ls patches/7* | while read file - do - patch -p0 < "${file}" - done - - patch -p0 < patches/conceal-ownsyntax.diff - - ./configure --enable-conceal --with-features=huge --with-x --enable-gui=gtk2 --enable-gnome-check --x-includes=/usr/include/X11 --x-libraries=/usr/lib - make VIMRUNTIMEDIR=~/.build/vim70/runtime MAKE="make -e" - sudo ln -s ~/.build/vim70/src/vim /usr/bin/cvim - sudo ln -s ~/.build/vim70/src/vim /usr/bin/gcvim -< - -APPENDIX B: VIM HELP DOCUMENTATION FOR CONCEAL *vtw-1308-appendix-b:-vim-help-documentation-for-conceal* - -Provided here for reference is the documentation that comes with the Vim -6.4.10 conceal patch, taken from the help files. - -OPTIONS.TXT *vtw-1308-options.txt* - -> - 'conceallevel' 'conc' *'conceallevel'* *'conc'* - number (default 0) - local to window - {not in Vi} - {not available when compiled without the |+conceal| - feature} - Determine how text with the "conceal" syntax attribute is shown: - - 'conceallevel' Effect - 0 Text is shown normally - 1 Each block of concealed text is replaced with the - character defined in 'listchars' (default is a dash) - and highlighted with the "Conceal" highlight group. - 2 Concealed text is completely hidden unless it has a - custom replacement character defined (see - |syn-cchar|. - 3 Concealed text is completely hidden. -< - -> - *'cursorbind'* *'crb'* *'nocursorbind'* *'nocrb'* - - 'cursorbind' 'crb' boolean (default off) - local to window - {not in Vi} - {not available when compiled without the |+cursorbind| - feature} - When this option is set, as the cursor in the current - window moves other cursorbound windows (windows that also have - this option set) move their cursors to the corresponding line and - column. This option is useful for viewing the - differences between two versions of a file (see 'diff'); in diff mode, - inserted and deleted lines (though not characters within a line) are - taken into account. -< - -> - *'highlight'* *'hl'* - 'highlight' 'hl' string (default (as a single string): - "8:SpecialKey,@:NonText,d:Directory, - e:ErrorMsg,i:IncSearch,l:Search,m:MoreMsg, - M:ModeMsg,n:LineNr,r:Question, - s:StatusLine,S:StatusLineNC,c:VertSplit - t:Title,v:Visual,w:WarningMsg,W:WildMenu, - f:Folded,F:FoldColumn,A:DiffAdd, - C:DiffChange,D:DiffDelete,T:DiffText, - >:SignColumn,x:Conceal") - global - {not in Vi} - This option can be used to set highlighting mode for various - occasions. It is a comma separated list of character pairs. The - first character in a pair gives the occasion, the second the mode to - use for that occasion. The occasions are: - - <--- cut ---> - - |hl-Conceal| x the placeholders used for concealed characters - (see 'conceallevel') - - <--- cut ---> -< - -> - *'listchars'* *'lcs'* - 'listchars' 'lcs' string (default "eol:$") - global - {not in Vi} - Strings to use in 'list' mode. It is a comma separated list of string - settings. - - <--- cut ---> - - conceal:c Character to show in place of concealed text, when - 'conceallevel' is set to 1. - - <--- cut ---> -< - -SYNTAX.TXT *vtw-1308-syntax.txt* - -> - 16. Window-local syntax *:ownsyntax* - - Normally all windows on a buffer share the same syntax settings. It is - possible, however, to set a particular window on a file to have its own - private syntax setting. A possible example would be to edit LaTeX source - with conventional highlighting in one window, while seeing the same source - highlighted differently (so as to hide control sequences and indicate bold, - italic etc regions) in another. The 'scrollbind' option is useful here. - - To set the current window to have the syntax "foo", separately from all other - windows on the buffer: > -  :ownsyntax foo - - Once a window has its own syntax, syntax commands executed from other windows - on the same buffer (including :syntax clear) have no effect. Conversely, - syntax commands executed from that window do not effect other windows on the - same buffer. - - A window with its own syntax reverts to normal behaviour when another buffer - is loaded into that window. -< - -> - 6. :syntax arguments *:syn-arguments* - - The :syntax commands that define syntax items take a number of arguments. - The common ones are explained here. The arguments may be given in any order - and may be mixed with patterns. - - Not all commands accept all arguments. This table shows which arguments - can not be used for all commands: - *E395* *E396* - contains oneline fold display extend concealends~ - :syntax keyword - - - - - - - :syntax match yes - yes yes yes - - :syntax region yes yes yes yes yes yes - - These arguments can be used for all three commands: - conceal - cchar - contained - containedin - nextgroup - transparent - skipwhite - skipnl - skipempty - - conceal *:syn-conceal* - - When the "conceal" argument is given, the item is marked as concealable. - Whether or not it is actually concealed depends on the setting on the - 'conceallevel' option. - - concealends *:syn-concealends* - - When the "concealends" argument is given, the start and end matches of - the region, but not the contents of the region, are marked as concealable. - Whether or not they are actually concealed depends on the setting on the - 'conceallevel' option. The ends of a region can only be concealed separately - in this way when they have their own highlighting via "matchgroup" - - cchar *:syn-cchar* - - The "cchar" argument defines the character shown in place of the item - when it is concealed (setting "cchar" only makes sense when the conceal - argument is given.) If "cchar" is not set then the default conceal - character defined in the 'listchars' option is used. Example: > -  :syntax match Entity "&" conceal cchar=& -< - -> - IMPLICIT CONCEAL *:syn-conceal-implicit* - - :sy[ntax] conceal [on|off] - This defines if the following ":syntax" commands will define keywords, - matches or regions with the "conceal" flag set. After ":syn conceal - on", all subsequent ":syn keyword", ":syn match" or ":syn region" - defined will have the "conceal" flag set implicitly. ":syn conceal - off" returns to the normal state where the "conceal" flag must be - given explicitly. -< - -> - *highlight-groups* *highlight-default* - These are the default highlighting groups. These groups are used by the - 'highlight' option default. Note that the highlighting depends on the value - of 'background'. You can see the current settings with the ":highlight" - command. - *hl-Conceal* - Conceal placeholder characters substituted for concealed - text (see 'conceallevel') - - <--- cut ---> -< - -EVAL.TXT *vtw-1308-eval.txt* - -> - *window-variable* *w:var* - A variable name that is preceded with "w:" is local to the current window. It - is deleted when the window is closed. - - One local window variable is predefined: - *w:ownsyntax-variable* *ownsyntax* - w:ownsyntax Set to 1 if the window has an independent syntax installed - via the |:ownsyntax| command. The default for a window is - 0. Syntax scripts can use this to determine whether they - should set b:current_syntax or w:current_syntax. -< - -APPENDIX C: COMPILE ERRORS *vtw-1308-appendix-c:-compile-errors* - -I personally have not been able to compile Vim 7.0.35 with the conceal patch -on Ubuntu Gutsy.All the patches work and configure runs fine, but make gives -the following error: - -> - ... - gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -o objects/option.o option.c - option.c:795: error: ‘WV_CONCEAL’ undeclared here (not in a function) - option.c:886: error: ‘WV_CRBIND’ undeclared here (not in a function) - option.c: In function ‘get_varp’: - option.c:9032: error: case label does not reduce to an integer constant - option.c:9035: error: case label does not reduce to an integer constant - make[1]: *** [objects/option.o] Error 1 - make[1]: Leaving directory `/home/user/.build/vim70/src' - make: *** [first] Error 2 -< - -This error doesn't happen when compiling Vim 6.4.10 on the same system. Can -someone resolve the cause of this error?If anyone has success compiling Vim -7.0.35 on Ubuntu Gutsy, please post your findings. - -APPENDIX D: REQUEST FOR MORE INFORMATION *vtw-1308-appendix-d:-request-for-more-information* - -Please post your findings to these issues: - - What development packages are required on other distros besides Ubuntu? - - What is the cause of the error when making Vim 7.0.35 on Ubuntu Gutsy (see - Appendix C |vtw-1308-appendix-c:-compile-errors|)? - - Is there any way (proper solution or hack) to avoid the unconcealment of the - line on which the cursor is on? - - Post any useful syntax files you've made that use conceal on vim.org and link - them here. - - -COMMENTS *vtw-1308-comments* - -CATEGORIES *vtw-1308-cats* - -Deprecated |vtw-by-category-deprecated| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1310.txt b/doc/vim-tips-wiki-1310.txt deleted file mode 100644 index 17526ad..0000000 --- a/doc/vim-tips-wiki-1310.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1310.txt* VimTip1310 *vtw-1310* - - - -Previous Tip |vtw-1309| • Next Tip |vtw-1311| - -TIP 1310 DOES NOT EXIST *vtw-1310-tip-1310-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1310 [http://www.vim.org/tips/tip.php?tip_id=1310]. - -CATEGORIES *vtw-1310-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1313.txt b/doc/vim-tips-wiki-1313.txt deleted file mode 100644 index 2cc3424..0000000 --- a/doc/vim-tips-wiki-1313.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1313.txt* VimTip1313 *vtw-1313* - - - -Previous Tip |vtw-1312| • Next Tip |vtw-1314| - -TIP 1313 HAS BEEN REMOVED *vtw-1313-tip-1313-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1313 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1313]. - -Only useful material is covered in other tips; no explanations. - -CATEGORIES *vtw-1313-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1315.txt b/doc/vim-tips-wiki-1315.txt deleted file mode 100644 index adace95..0000000 --- a/doc/vim-tips-wiki-1315.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1315.txt* VimTip1315 *vtw-1315* - - - -Previous Tip |vtw-1314| • Next Tip |vtw-1317| - -TIP 1315 HAS BEEN REMOVED *vtw-1315-tip-1315-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1315 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1315]. - - - -CATEGORIES *vtw-1315-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1316.txt b/doc/vim-tips-wiki-1316.txt deleted file mode 100644 index c197e56..0000000 --- a/doc/vim-tips-wiki-1316.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1316.txt* VimTip1316 *vtw-1316* - - - -Previous Tip |vtw-1314| • Next Tip |vtw-1317| - -TIP 1316 HAS BEEN REMOVED *vtw-1316-tip-1316-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1316 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1316]. - - - -CATEGORIES *vtw-1316-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1318.txt b/doc/vim-tips-wiki-1318.txt deleted file mode 100644 index 780409c..0000000 --- a/doc/vim-tips-wiki-1318.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1318.txt* VimTip1318 *vtw-1318* - - - -Previous Tip |vtw-1317| • Next Tip |vtw-1319| - -TIP 1318 HAS BEEN REMOVED *vtw-1318-tip-1318-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1318 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1318]. - - - -CATEGORIES *vtw-1318-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1325.txt b/doc/vim-tips-wiki-1325.txt deleted file mode 100644 index 7725fd8..0000000 --- a/doc/vim-tips-wiki-1325.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1325.txt* VimTip1325 *vtw-1325* - - - -Previous Tip |vtw-1323| • Next Tip |vtw-1326| - -TIP 1325 DOES NOT EXIST *vtw-1325-tip-1325-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1325 [http://www.vim.org/tips/tip.php?tip_id=1325]. - -CATEGORIES *vtw-1325-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1328.txt b/doc/vim-tips-wiki-1328.txt deleted file mode 100644 index 18e7233..0000000 --- a/doc/vim-tips-wiki-1328.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1328.txt* VimTip1328 *vtw-1328* - - - -Previous Tip |vtw-1326| • Next Tip |vtw-1332| - -TIP 1328 DOES NOT EXIST *vtw-1328-tip-1328-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1328 [http://www.vim.org/tips/tip.php?tip_id=1328]. - -CATEGORIES *vtw-1328-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1329.txt b/doc/vim-tips-wiki-1329.txt deleted file mode 100644 index 15afa84..0000000 --- a/doc/vim-tips-wiki-1329.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1329.txt* VimTip1329 *vtw-1329* - - - -Previous Tip |vtw-1326| • Next Tip |vtw-1332| - -TIP 1329 DOES NOT EXIST *vtw-1329-tip-1329-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1329 [http://www.vim.org/tips/tip.php?tip_id=1329]. - -CATEGORIES *vtw-1329-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1331.txt b/doc/vim-tips-wiki-1331.txt deleted file mode 100644 index c515a64..0000000 --- a/doc/vim-tips-wiki-1331.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1331.txt* VimTip1331 *vtw-1331* - - - -Previous Tip |vtw-1326| • Next Tip |vtw-1332| - -TIP 1331 DOES NOT EXIST *vtw-1331-tip-1331-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1331 [http://www.vim.org/tips/tip.php?tip_id=1331]. - -CATEGORIES *vtw-1331-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1337.txt b/doc/vim-tips-wiki-1337.txt deleted file mode 100644 index 33cd736..0000000 --- a/doc/vim-tips-wiki-1337.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1337.txt* VimTip1337 *vtw-1337* - - - -Previous Tip |vtw-1336| • Next Tip |vtw-1338| - -TIP 1337 DOES NOT EXIST *vtw-1337-tip-1337-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1337 [http://www.vim.org/tips/tip.php?tip_id=1337]. - -CATEGORIES *vtw-1337-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1339.txt b/doc/vim-tips-wiki-1339.txt deleted file mode 100644 index 2f404b0..0000000 --- a/doc/vim-tips-wiki-1339.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1339.txt* VimTip1339 *vtw-1339* - - - -Previous Tip |vtw-1338| • Next Tip |vtw-1341| - -TIP 1339 DOES NOT EXIST *vtw-1339-tip-1339-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1339 [http://www.vim.org/tips/tip.php?tip_id=1339]. - -CATEGORIES *vtw-1339-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1340.txt b/doc/vim-tips-wiki-1340.txt deleted file mode 100644 index edccf96..0000000 --- a/doc/vim-tips-wiki-1340.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1340.txt* VimTip1340 *vtw-1340* - - - -Previous Tip |vtw-1338| • Next Tip |vtw-1341| - -TIP 1340 DOES NOT EXIST *vtw-1340-tip-1340-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1340 [http://www.vim.org/tips/tip.php?tip_id=1340]. - -CATEGORIES *vtw-1340-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1342.txt b/doc/vim-tips-wiki-1342.txt deleted file mode 100644 index d1ed772..0000000 --- a/doc/vim-tips-wiki-1342.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1342.txt* VimTip1342 *vtw-1342* - - - -Previous Tip |vtw-1341| • Next Tip |vtw-1343| - -TIP 1342 DOES NOT EXIST *vtw-1342-tip-1342-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1342 [http://www.vim.org/tips/tip.php?tip_id=1342]. - -CATEGORIES *vtw-1342-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1343.txt b/doc/vim-tips-wiki-1343.txt deleted file mode 100644 index 6899f3d..0000000 --- a/doc/vim-tips-wiki-1343.txt +++ /dev/null @@ -1,99 +0,0 @@ -*vim-tips-wiki-1343.txt* Diff the current buffer with another file *vtw-1343* - -Tip 1343 [https://vim.fandom.com/wiki/Diff_the_current_buffer_with_another_file] Previous |vtw-1341| Next |vtw-1347| - -created 2006 · complexity intermediate · author Michael Hooreman · version -n/a - -============================================================================== - -This tip is deprecated for the following reasons: - -As suggested in the comments, this functionality is built-in to Vim, with the -:diffthis, :diffsplit, :diffoff, etc. commands - -If you are already in Vim, there are two methods to do a vimdiff: - - Run another Vim with command line vimdiff. - - Open a new window (C-w s) and then enter appropriate commands in the two - buffers. - - -This tip provides a function (SetDiffEnviron) to set the "diff" environment -in buffer. So, if you want to diff the right and the left window, you have to -run :SetDiffEnviron into the right and the left buffer. - -Add the following to your vimrc file: - -> - function! SetDiffEnviron() - set diff - set scrollbind - set scrollopt=ver,jump,hor - set nowrap - set fdm=diff - endfunction - :command! SetDiffEnviron call SetDiffEnviron() -< - -REFERENCES *vtw-1343-references* - - :help |:diffthis| - - :help |:diffoff| - - -COMMENTS *vtw-1343-comments* - -How does this differ from the `:diffthis` command? - -============================================================================== - -Might I suggest the following commands instead: - -> - :sp - :windo diffthis -< - -For variety, you could try `:vs` instead of `:sp` - -============================================================================== - -I think the easiest way to diff a currently open file with another is the -`:diffsplit` command. It loads the file and sets all the right options. -Personally I like to use `:vert diffsplit` - -============================================================================== - -Getting into 'diff' mode is quite easy, as other comments have shown. Turning -off 'diff' mode (without quitting Vim or deleting the buffers) is more -complex. I use the following function: - -> - " Switch off diff-mode of all currently open windows. - command! DiffOff call DiffOff() - function! DiffOff() - windo set nodiff - windo set noscrollbind - " Reset, then restore the 'foldmethod' and 'foldcolumn' settings by - " re-setting the filetype. This triggers the filetype-based folding to be - " reactivated, and ( contrary to a simple :e!) works even on modified - " buffers. - windo set foldmethod=manual - windo set foldcolumn=0 - windo unlet! b:did_ftplugin | let &filetype = &filetype - endfunction -< - -============================================================================== - -As of Vim 7, there is also `:diffoff` which is very similar to the DiffOff -function above. - -============================================================================== - -CATEGORIES *vtw-1343-cats* - -Review |vtw-by-category-review| -Deprecated |vtw-by-category-deprecated| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1344.txt b/doc/vim-tips-wiki-1344.txt deleted file mode 100644 index 218be37..0000000 --- a/doc/vim-tips-wiki-1344.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1344.txt* VimTip1344 *vtw-1344* - - - -Previous Tip |vtw-1343| • Next Tip |vtw-1347| - -TIP 1344 DOES NOT EXIST *vtw-1344-tip-1344-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1344 [http://www.vim.org/tips/tip.php?tip_id=1344]. - -CATEGORIES *vtw-1344-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1345.txt b/doc/vim-tips-wiki-1345.txt deleted file mode 100644 index b8e373c..0000000 --- a/doc/vim-tips-wiki-1345.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1345.txt* VimTip1345 *vtw-1345* - - - -Previous Tip |vtw-1343| • Next Tip |vtw-1347| - -TIP 1345 DOES NOT EXIST *vtw-1345-tip-1345-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1345 [http://www.vim.org/tips/tip.php?tip_id=1345]. - -CATEGORIES *vtw-1345-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1346.txt b/doc/vim-tips-wiki-1346.txt deleted file mode 100644 index a015355..0000000 --- a/doc/vim-tips-wiki-1346.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1346.txt* VimTip1346 *vtw-1346* - - - -Previous Tip |vtw-1343| • Next Tip |vtw-1347| - -TIP 1346 DOES NOT EXIST *vtw-1346-tip-1346-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1346 [http://www.vim.org/tips/tip.php?tip_id=1346]. - -CATEGORIES *vtw-1346-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1350.txt b/doc/vim-tips-wiki-1350.txt deleted file mode 100644 index 1720ab8..0000000 --- a/doc/vim-tips-wiki-1350.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1350.txt* VimTip1350 *vtw-1350* - - - -Previous Tip |vtw-1349| • Next Tip |vtw-1354| - -TIP 1350 DOES NOT EXIST *vtw-1350-tip-1350-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1350 [http://www.vim.org/tips/tip.php?tip_id=1350]. - -CATEGORIES *vtw-1350-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1351.txt b/doc/vim-tips-wiki-1351.txt deleted file mode 100644 index 198c554..0000000 --- a/doc/vim-tips-wiki-1351.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1351.txt* VimTip1351 *vtw-1351* - - - -Previous Tip |vtw-1349| • Next Tip |vtw-1354| - -TIP 1351 DOES NOT EXIST *vtw-1351-tip-1351-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1351 [http://www.vim.org/tips/tip.php?tip_id=1351]. - -CATEGORIES *vtw-1351-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1352.txt b/doc/vim-tips-wiki-1352.txt deleted file mode 100644 index df68f47..0000000 --- a/doc/vim-tips-wiki-1352.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1352.txt* VimTip1352 *vtw-1352* - - - -Previous Tip |vtw-1349| • Next Tip |vtw-1354| - -TIP 1352 DOES NOT EXIST *vtw-1352-tip-1352-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1352 [http://www.vim.org/tips/tip.php?tip_id=1352]. - -CATEGORIES *vtw-1352-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1353.txt b/doc/vim-tips-wiki-1353.txt deleted file mode 100644 index dcf5367..0000000 --- a/doc/vim-tips-wiki-1353.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1353.txt* VimTip1353 *vtw-1353* - - - -Previous Tip |vtw-1349| • Next Tip |vtw-1354| - -TIP 1353 DOES NOT EXIST *vtw-1353-tip-1353-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1353 [http://www.vim.org/tips/tip.php?tip_id=1353]. - -CATEGORIES *vtw-1353-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1355.txt b/doc/vim-tips-wiki-1355.txt deleted file mode 100644 index f7a168d..0000000 --- a/doc/vim-tips-wiki-1355.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1355.txt* VimTip1355 *vtw-1355* - - - -Previous Tip |vtw-1354| • Next Tip |vtw-1356| - -TIP 1355 DOES NOT EXIST *vtw-1355-tip-1355-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1355 [http://www.vim.org/tips/tip.php?tip_id=1355]. - -CATEGORIES *vtw-1355-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1357.txt b/doc/vim-tips-wiki-1357.txt deleted file mode 100644 index 10b213b..0000000 --- a/doc/vim-tips-wiki-1357.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1357.txt* VimTip1357 *vtw-1357* - - - -Previous Tip |vtw-1356| • Next Tip |vtw-1359| - -TIP 1357 DOES NOT EXIST *vtw-1357-tip-1357-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1357 [http://www.vim.org/tips/tip.php?tip_id=1357]. - -CATEGORIES *vtw-1357-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1358.txt b/doc/vim-tips-wiki-1358.txt deleted file mode 100644 index 44aafb7..0000000 --- a/doc/vim-tips-wiki-1358.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1358.txt* VimTip1358 *vtw-1358* - - - -Previous Tip |vtw-1356| • Next Tip |vtw-1359| - -TIP 1358 DOES NOT EXIST *vtw-1358-tip-1358-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1358 [http://www.vim.org/tips/tip.php?tip_id=1358]. - -CATEGORIES *vtw-1358-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-136.txt b/doc/vim-tips-wiki-136.txt deleted file mode 100644 index e3286b8..0000000 --- a/doc/vim-tips-wiki-136.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-136.txt* VimTip136 *vtw-136* - - - -Previous Tip |vtw-135| • Next Tip |vtw-137| - -TIP 136 HAS BEEN REMOVED *vtw-136-tip-136-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#136 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=136]. - -Merged to VimTip75 |vtw-75| - -CATEGORIES *vtw-136-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1360.txt b/doc/vim-tips-wiki-1360.txt deleted file mode 100644 index 3e9ddc6..0000000 --- a/doc/vim-tips-wiki-1360.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1360.txt* VimTip1360 *vtw-1360* - - - -Previous Tip |vtw-1359| • Next Tip |vtw-1361| - -TIP 1360 HAS BEEN REMOVED *vtw-1360-tip-1360-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1360 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1360]. - -Merged to VimTip94 |vtw-94| - -CATEGORIES *vtw-1360-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1362.txt b/doc/vim-tips-wiki-1362.txt deleted file mode 100644 index 3a18692..0000000 --- a/doc/vim-tips-wiki-1362.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1362.txt* VimTip1362 *vtw-1362* - - - -Previous Tip |vtw-1361| • Next Tip |vtw-1363| - -TIP 1362 HAS BEEN REMOVED *vtw-1362-tip-1362-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1362 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1362]. - -Tip not required because its patch is now in distribution - -CATEGORIES *vtw-1362-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1364.txt b/doc/vim-tips-wiki-1364.txt deleted file mode 100644 index 7253208..0000000 --- a/doc/vim-tips-wiki-1364.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1364.txt* VimTip1364 *vtw-1364* - - - -Previous Tip |vtw-1363| • Next Tip |vtw-1366| - -TIP 1364 HAS BEEN REMOVED *vtw-1364-tip-1364-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1364 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1364]. - -Merged to Vim scripts [https://vim.fandom.com/wiki/Vim_scripts] - -CATEGORIES *vtw-1364-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1365.txt b/doc/vim-tips-wiki-1365.txt deleted file mode 100644 index 5e9922d..0000000 --- a/doc/vim-tips-wiki-1365.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1365.txt* VimTip1365 *vtw-1365* - - - -Previous Tip |vtw-1363| • Next Tip |vtw-1366| - -TIP 1365 HAS BEEN REMOVED *vtw-1365-tip-1365-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1365 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1365]. - -Merged to Vim documentation [https://vim.fandom.com/wiki/Vim_documentation] - -CATEGORIES *vtw-1365-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1367.txt b/doc/vim-tips-wiki-1367.txt deleted file mode 100644 index 5ed52f0..0000000 --- a/doc/vim-tips-wiki-1367.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1367.txt* VimTip1367 *vtw-1367* - - - -Previous Tip |vtw-1366| • Next Tip |vtw-1369| - -TIP 1367 DOES NOT EXIST *vtw-1367-tip-1367-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1367 [http://www.vim.org/tips/tip.php?tip_id=1367]. - -CATEGORIES *vtw-1367-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1368.txt b/doc/vim-tips-wiki-1368.txt deleted file mode 100644 index fb1b776..0000000 --- a/doc/vim-tips-wiki-1368.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1368.txt* VimTip1368 *vtw-1368* - - - -Previous Tip |vtw-1366| • Next Tip |vtw-1369| - -TIP 1368 HAS BEEN REMOVED *vtw-1368-tip-1368-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1368 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1368]. - -Long and unexplained script; according to comments, not required. - -CATEGORIES *vtw-1368-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1369.txt b/doc/vim-tips-wiki-1369.txt deleted file mode 100644 index 4e18244..0000000 --- a/doc/vim-tips-wiki-1369.txt +++ /dev/null @@ -1,121 +0,0 @@ -*vim-tips-wiki-1369.txt* Preserve missing end-of-line at end of text files *vtw-1369* - -Tip 1369 [https://vim.fandom.com/wiki/Preserve_missing_end-of-line_at_end_of_text_files] Previous |vtw-1366| Next |vtw-1370| - -created 2006 · complexity basic · author Yakov Lerner · version 6 - -============================================================================== - -This tip is deprecated for the following reasons: - -Vim 7.4.785 [https://github.com/vim/vim/releases/tag/v7.4.785] adds the -'fixeol' option that can be disabled to automatically preserve any missing EOL -at the end of the file. This script becomes uneccessary for Vim 7.4.785 and -later. - -This script causes Vim to 'preserve' a missing end-of-line at the end of a -text file when you save it, if it was missing when the file was read. If the -file was read with EOL at the end, it will be saved with one. If it was read -without one, it will be saved without one. Some (arguably broken) Windows apps -like this missing EOL, so this might be useful for Windows. - -This works for all three line ending styles which Vim recognizes: DOS -(Windows), Unix, and traditional Mac. - -The script relies on Vim's recognition of a missing line ending, saved in the -'eol' option value. Even though 'eol' is set properly, it only has any effects -when 'binary' is also set. So, the core of the script simply sets 'binary' -temporarily. Unfortunately, when 'binary' is set, the file is always written -with Unix-format line endings. So the rest of the script manually adds the -correct line endings for the current format, and removes them again after -writing. - -|:undojoin| is used to keep these temporary line ending transformations -transparent to the user. - -> - " Preserve noeol (missing trailing eol) when saving file. In order - " to do this we need to temporarily 'set binary' for the duration of - " file writing, and for DOS line endings, add the CRs manually. - " For Mac line endings, also must join everything to one line since it doesn't - " use a LF character anywhere and 'binary' writes everything as if it were Unix. -   - " This works because 'eol' is set properly no matter what file format is used, - " even if it is only used when 'binary' is set. -   - augroup automatic_noeol - au! - au BufWritePre * call TempSetBinaryForNoeol() - au BufWritePost * call TempRestoreBinaryForNoeol() - augroup END -   - function! s:TempSetBinaryForNoeol() - let s:save_binary = &binary - if ! &eol && ! &binary - let s:save_view = winsaveview() - setlocal binary - if &ff == "dos" || &ff == "mac" - if line('$') > 1 - undojoin | exec "silent 1,$-1normal! A\\" - endif - endif - if &ff == "mac" - undojoin | %join! - " mac format does not use a \n anywhere, so we don't add one when writing - " in binary (which uses unix format always). However, inside the outer - " if statement, we already know that 'noeol' is set, so no special logic - " is needed. - endif - endif - endfunction -   - function! s:TempRestoreBinaryForNoeol() - if ! &eol && ! s:save_binary - if &ff == "dos" - if line('$') > 1 - " Sometimes undojoin gives errors here, even when it shouldn't. - " Suppress them for now...if you can figure out and fix them instead, - " please update http://vim.wikia.com/wiki/VimTip1369 - silent! undojoin | silent 1,$-1s/\r$//e - endif - elseif &ff == "mac" - " Sometimes undojoin gives errors here, even when it shouldn't. - " Suppress them for now...if you can figure out and fix them instead, - " please update http://vim.wikia.com/wiki/VimTip1369 - silent! undojoin | silent %s/\r/\r/ge - endif - setlocal nobinary - call winrestview(s:save_view) - endif - endfunction -< - -RELATED SCRIPTS *vtw-1369-related-scripts* - - The PreserveNoEOL plugin - [https://www.vim.org/scripts/script.php?script_id=4550] uses the above pure - Vimscript implementation to automatically preserve no EOL on all or certain - opened files, but it also comes with alternative strategies that use - postprocessing in Python or Perl to remove the trailing EOL character after - the save, which is probably more robust. - - -COMMENTS *vtw-1369-comments* - -Thanks Fritzophrenic for looking into this so quickly! Yes, your updated script works for me (for all three fileformats). It seems that the switch from the :substitute to :normal did it. -Regarding the :undojoin error: I think this is caused by a user undo operation immediately before the :write command. There's little one can do about it; how about suppressing the error via :silent! undojoin, so that we still get the benefit of :undojoin in most cases, and never cause an error?! -- Inkarkat 12:49, November 17, 2011 (UTC) -You're welcome! I really don't know why that was needed. I took your suggestion for suppressing errors and updated the tip with the new script. The odd thing was, I wasn't doing any undo operation prior to the write. The sequence was: - -Open the file without an eol -Modify a line in the file (by using to increment a number on the line) -Save the file, get an error - -So, I've added code comments in case anybody figures it out down the road. ---Fritzophrenic 18:10, November 17, 2011 (UTC) - -CATEGORIES *vtw-1369-cats* - -Fileformat |vtw-by-category-fileformat| -Deprecated |vtw-by-category-deprecated| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1371.txt b/doc/vim-tips-wiki-1371.txt deleted file mode 100644 index e80ec83..0000000 --- a/doc/vim-tips-wiki-1371.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1371.txt* VimTip1371 *vtw-1371* - - - -Previous Tip |vtw-1370| • Next Tip |vtw-1373| - -TIP 1371 DOES NOT EXIST *vtw-1371-tip-1371-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1371 [http://www.vim.org/tips/tip.php?tip_id=1371]. - -CATEGORIES *vtw-1371-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1372.txt b/doc/vim-tips-wiki-1372.txt deleted file mode 100644 index 3f538b5..0000000 --- a/doc/vim-tips-wiki-1372.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1372.txt* VimTip1372 *vtw-1372* - - - -Previous Tip |vtw-1370| • Next Tip |vtw-1373| - -TIP 1372 DOES NOT EXIST *vtw-1372-tip-1372-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1372 [http://www.vim.org/tips/tip.php?tip_id=1372]. - -CATEGORIES *vtw-1372-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1374.txt b/doc/vim-tips-wiki-1374.txt deleted file mode 100644 index 4316a3f..0000000 --- a/doc/vim-tips-wiki-1374.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1374.txt* VimTip1374 *vtw-1374* - - - -Previous Tip |vtw-1373| • Next Tip |vtw-1375| - -TIP 1374 DOES NOT EXIST *vtw-1374-tip-1374-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1374 [http://www.vim.org/tips/tip.php?tip_id=1374]. - -CATEGORIES *vtw-1374-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1383.txt b/doc/vim-tips-wiki-1383.txt deleted file mode 100644 index f232d40..0000000 --- a/doc/vim-tips-wiki-1383.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-1383.txt* VimTip1383 *vtw-1383* - - - -Previous Tip |vtw-1382| • Next Tip |vtw-1384| - -TIP 1383 DOES NOT EXIST *vtw-1383-tip-1383-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#1383 [http://www.vim.org/tips/tip.php?tip_id=1383]. - -CATEGORIES *vtw-1383-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1385.txt b/doc/vim-tips-wiki-1385.txt deleted file mode 100644 index 22c44e0..0000000 --- a/doc/vim-tips-wiki-1385.txt +++ /dev/null @@ -1,67 +0,0 @@ -*vim-tips-wiki-1385.txt* Disable the "Hit any key to close this window" message in remote editing *vtw-1385* - - - -This tip is deprecated for the following reasons: - -Use current netrw; don't patch it - see comments.Tip 1385 [https://vim.fandom.com/wiki/Disable_the_%22Hit_any_key_to_close_this_window%22_message_in_remote_editing] Previous |vtw-1384| Next |vtw-1386| - -created 2006 · complexity advanced · author Diomidis Spinellis · version 6.0 - -============================================================================== - -When using the remote editing functionality under Microsoft Windows, -vimrun.exe annoyingly leaves an open window with the prompt "Hit any key to -close this window". To disable this feature, modify in the Vim plugins -directory the file netrw.vim as follows: - -> - --- netrw.vim.orig Mon Jun 07 15:06:24 2004 - +++ netrw.vim Mon Nov 13 17:32:28 2006 - @@ -342,10 +342,10 @@ - if g:netrw_cygwin == 1 - let cygtmpfile=substitute(tmpfile,'^\(\a\):','/cygdrive/\1/','e') - " call Decho("executing: !".g:netrw_scp_cmd.useport." ".g:netrw_machine.":".escape(b:netrw_fname,' ?&')." ".cygtmpfile) - - exe "!".g:netrw_scp_cmd.useport." ".g:netrw_machine.":".escape(b:netrw_fname,' ?&')." ".cygtmpfile - + silent exe "!".g:netrw_scp_cmd.useport." ".g:netrw_machine.":".escape(b:netrw_fname,' ?&')." ".cygtmpfile - else - " call Decho("executing: !".g:netrw_scp_cmd.useport." ".g:netrw_machine.":".escape(b:netrw_fname,' ?&')." ".tmpfile) - - exe "!".g:netrw_scp_cmd.useport." ".g:netrw_machine.":".escape(b:netrw_fname,' ?&')." ".tmpfile - + silent exe "!".g:netrw_scp_cmd.useport." ".g:netrw_machine.":".escape(b:netrw_fname,' ?&')." ".tmpfile - endif - let result = s:NetGetFile(readcmd, tmpfile, b:netrw_method) - let b:netrw_lastfile = choice - @@ -767,10 +767,10 @@ - if g:netrw_cygwin == 1 - let cygtmpfile=substitute(tmpfile,'^\(\a\):','/cygdrive/\1/','e') - " call Decho("executing: !".g:netrw_scp_cmd.useport." ".cygtmpfile." ".g:netrw_machine.":".escape(b:netrw_fname,' ?&')) - - exe "!".g:netrw_scp_cmd.useport." ".cygtmpfile." ".g:netrw_machine.":".escape(b:netrw_fname,' ?&') - + silent exe "! ".g:netrw_scp_cmd.useport." ".cygtmpfile." ".g:netrw_machine.":".escape(b:netrw_fname,' ?&') - else - " call Decho("executing: !".g:netrw_scp_cmd.useport." ".tmpfile." ".g:netrw_machine.":".escape(b:netrw_fname,' ?&')) - - exe "!".g:netrw_scp_cmd.useport." ".tmpfile." ".g:netrw_machine.":".escape(b:netrw_fname,' ?&') - + silent exe "! ".g:netrw_scp_cmd.useport." ".tmpfile." ".g:netrw_machine.":".escape(b:netrw_fname,' ?&') - endif - let b:netrw_lastfile = choice -< - -COMMENTS *vtw-1385-comments* - -TO DO Probably should delete this tip. It might have been handy in November -2006, however it's a very bad idea to patch tools, particularly netrw which is -frequently updated. - -Dr.Chip commented: - -IMHO, it's much better to submit patches for netrw to me, directly. -Be that as it may, did you try :let g:netrw_silent= 1 in your .vimrc? - -============================================================================== - -CATEGORIES *vtw-1385-cats* - -Deprecated |vtw-by-category-deprecated| -Todo |vtw-by-category-todo| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1387.txt b/doc/vim-tips-wiki-1387.txt deleted file mode 100644 index 58b4f1b..0000000 --- a/doc/vim-tips-wiki-1387.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1387.txt* VimTip1387 *vtw-1387* - - - -Previous Tip |vtw-1386| • Next Tip |vtw-1388| - -TIP 1387 HAS BEEN REMOVED *vtw-1387-tip-1387-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#1387 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=1387]. - -Merged to VimTip356 |vtw-356| - -CATEGORIES *vtw-1387-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1391.txt b/doc/vim-tips-wiki-1391.txt deleted file mode 100644 index c0f018a..0000000 --- a/doc/vim-tips-wiki-1391.txt +++ /dev/null @@ -1,39 +0,0 @@ -*vim-tips-wiki-1391.txt* Enable paren matching over whole file *vtw-1391* - - - -This tip is deprecated for the following reasons: - -This is highly version-specific. Should delete this tip.Tip 1391 [https://vim.fandom.com/wiki/Enable_paren_matching_over_whole_file] Previous |vtw-1389| Next |vtw-1392| - -created 2006 · complexity basic · author pulp · version - -============================================================================== - -The matchparen.vim plugin (delivered with Vim) restricts paren matching only -to the current visible lines. - -To change this behavior you need to change the following lines in the file -../plugin/matchparen.vim: - -> - line: 102 - let [m_lnum, m_col] = searchpairpos(c, '', c2, s_flags, s_skip, stopline) - to: - let [m_lnum, m_col] = searchpairpos(c, '', c2, s_flags, s_skip) - - line: 109 - if m_lnum > 0 && m_lnum >= line('w0') && m_lnum <= line('w$') - to: - if m_lnum > 0 -< - -COMMENTS *vtw-1391-comments* - -CATEGORIES *vtw-1391-cats* - -Deprecated |vtw-by-category-deprecated| -Syntax |vtw-by-category-syntax| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1392.txt b/doc/vim-tips-wiki-1392.txt deleted file mode 100644 index dd9c382..0000000 --- a/doc/vim-tips-wiki-1392.txt +++ /dev/null @@ -1,173 +0,0 @@ -*vim-tips-wiki-1392.txt* Shell script to use grep with gvim *vtw-1392* - - - -This tip is deprecated for the following reasons: - -Use Vim's built-in :grep or :vimgrep command instead. - -See Find in files within Vim -[https://vim.fandom.com/wiki/Find_in_files_within_Vim]. - -==============================================================================Tip 1392 [https://vim.fandom.com/wiki/Shell_script_to_use_grep_with_gvim] Previous |vtw-1391| Next |vtw-1393| - -created November 21, 2006 · complexity basic · author Mauro · version 6.0 - -============================================================================== - -With bash or ksh add on .bashrc or on .kshrc: - -> - function vimgrep - { - vimgrep_temp_file=/tmp/vimgrep_$$.tmp - find . \( -name "*.cc" -o -name "*.h" -o -name "*.i" -o -name "*.icc" \) -print -follow | grep -v "CVS/" | sed "s/ /\\\/g" | xargs egrep -H -n -e $* > $vimgrep_temp_file - gvim -q $vimgrep_temp_file -c copen - rm $vimgrep_temp_file - } -< - -and type from shell: - -> - $ vimgrep searchstring -< - -In Vim you can set grepprg to vimgrep: - -> - :set grepprg=vimgrep -< - -COMMENTS *vtw-1392-comments* - -fix:In Vim set grepprg=vimgrep where vimgrep is: - -> - find . \( -name "*.cc" -o -name "*.h" -o -name "*.i" -o -name "*.icc" \) -print -follow | grep -v "CVS/" | sed "s/ /\\\/g" | xargs egrep -H -n -e -< - -============================================================================== - -Why not use the built-in :vimgrep command? - -============================================================================== - -Yes It's correct anyway If we want to grep recursively all the *.cc *.h *.i -we have to redefine the grepprg corectly - -============================================================================== - -If your shell is zsh, or another that supports similar extended globbing you -can just use: - -> - :grep foo **/*.c -< - -to do pretty much the same thing. - -============================================================================== - -I did something very similar to this a while ago, and I agree it's very -useful to do this from the shell. However, because I use it in all kinds of -ways, I prefer to just have the shell script vimgrep emulate grep exactly. So -that I can do: - -> - find /etc | xargs vimgrep userid (for example) -< - -So my vimgrep shell script behaves just like grep does and takes all greps -args. It also doesn't bother starting Vim if grep returns zero matches. - -> - #!/bin/bash - date=`date +%s`; - grep -n "$@" > /tmp/grep-$date - fs=`du -b /tmp/grep-$date | cut -f1` - if [ $fs -gt 0 ] - then - gvim -q /tmp/grep-$date - fi - rm /tmp/grep-$date -< - -============================================================================== - -I have another variant of the above that's a little cleaner, a little nicer: - -> - #!/bin/sh - if [ "$1" == "" ]; then - echo "Usage : $0 " - echo " eg: $0 -i string *.v" - exit 255 - fi - file=/tmp/vimgrep.$$ - if grep -m 1 -l "$@" > $file; then - echo "Calling vim on these files :" - cat $file | sed -e 's/^/ /;' - grep -n "$@" > $file - vim -q $file - else - echo "No match found." - fi - rm $file -< - -============================================================================== - -I built on the above to allow grep to pipe to vim. It's nice to use like this - -> - grep something * | grep -v removeotherthing | vimgrep -< - -I open the temp file in vim so that I might edit it if I have to remove -someotherthing and then save and cfile %. - -> - #!/bin/sh - if [ "$1" == "-h" ]; then - echo "Usage : $0 " - echo " eg: $0 -i string *.v" - echo "Usage : grep | $0" - exit 255 - fi - - file=/tmp/vimgrep.$$ - - if [ "$1" == "" ]; then - cat > $file; - fs=`du $file | cut -f1` - if [ $fs -eq 0 ]; then - echo "No match found." - exit; - else - awk '/^[^:]+\:[0-9]+\:/ { exit 0; } NR == 2 {exit 1}' $file - if [ "$?" -ne "0" ]; then - echo "You must use grep -H -n to have the right format for vim." - exit 1; - fi - fi - else - if grep -m 1 -l "$@" > $file; then - echo "Calling vim on these files :" - cat $file | sed -e 's/^/ /;' - grep -H -n "$@" > $file - else - echo "No match found." - exit; - fi - fi - vim $file -c "cfile $file" -c "copen" flags when characters -are not displayed |vtw-396#HighlightLongLines| on long lines. - -SEARCHING *vtw-1523-searching* - -A quick method to find long lines is a search like the following. If you use -search highlighting |vtw-14| (`:set hlsearch`), this will highlight all text -after virtual column 80 (after tabs are expanded). - -> - /\%>80v.\+ -< - -MATCHING *vtw-1523-matching* - -A simple command will highlight any text after virtual column 80: - -> - :match ErrorMsg '\%>80v.\+' -< - -Of course, you can define your own highlight groups |vtw-24| if ErrorMsg is -not to your taste. Enter `:match` to clear matching. - -Alternatively, you can just highlight any character in column 81. This is -less visually aggressive if you have lines that extend past 80 characters, and -thus is more suited to being placed in your .vimrc and left on all the time. - -> - :2mat ErrorMsg '\%81v.' -< - -REPLACING *vtw-1523-replacing* - -Command to replace line text >80 chars from the previous word boundary to -'...': - -> - :g/\%>79v/norm 77|gElC... -< - -Credit to Accolade from #vim on Freenode. - -AUTOMATIC MATCHING *vtw-1523-automatic-matching* - -If you want to be warned whenever text exceeds 80 columns you can use -matching. In Vim 7.2 this is easy to achieve with the following commands (the -`-1` means any search highlighting will override the match highlighting): - -> - :let w:m1=matchadd('Search', '\%<81v.\%>77v', -1) - :let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1) -< - -You can apply this highlighting automatically for all files with something -like this in your vimrc [https://vim.fandom.com/wiki/Vimrc]: - -> - :au BufWinEnter * let w:m1=matchadd('Search', '\%<81v.\%>77v', -1) - :au BufWinEnter * let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1) -< - -You can change the `*` to a different pattern, or a comma-separated list, to -make it work only for certain file types like `*.c,*.h` for example. - -Since matches are local to a window and are not inherited when a new window -is created, this method will not necessarily apply to all new windows you -create. It will be pretty close, but if you really want to highlight in all -windows, you will need to apply the highlighting whenever you detect a window -creation [https://vim.fandom.com/wiki/Detect_window_creation_with_WinEnter]. - -Clear the highlighting with: - -> - :call matchdelete(w:m1) - :call matchdelete(w:m2) -< - -Alternatively, the following command will clear all matches that have been -defined for this window: - -> - :call clearmatches() -< - -AUTOMATIC MATCHING (FOR VIM BEFORE VERSION 7.1.40) *vtw-1523-automatic-matching-(for-vim-before-version-7.1.40)* - -For earlier versions of Vim, the following is a close approximation: - -> - :syntax match Search /\%<81v.\%>77v/ - :syntax match ErrorMsg /\%>80v.\+/ -< - -> - :au BufRead,BufNewFile * syntax match Search /\%<81v.\%>77v/ - :au BufRead,BufNewFile * syntax match ErrorMsg /\%>80v.\+/ -< - -Note the use of BufRead and BufNewFile instead of BufWinEnter. Unlike -matches, syntax is local to the buffer instead of the window. - -Clear the highlighting (after saving any changes) with: - -> - :e -< - -This assumes you are editing a file using syntax rules contained in a syntax -file (which usually do a `syntax clear` before applying their rules). If you -are editing a file with no pre-existing syntax rules, you can get rid of all -syntax highlighting with: - -> - :syntax clear -< - -TOGGLE MATCHING BASED ON TEXTWIDTH *vtw-1523-toggle-matching-based-on-textwidth* - -If you don't like to always highlight long lines, but you want a fast way to -check your line length, you can define a mapping to toggle highlighting -on/off. This also allows you to easily define the highlight in terms of the -'textwidth' option. The mapping could look like this: - -> - nnoremap l - \ :if exists('w:long_line_match') - \ silent! call matchdelete(w:long_line_match) - \ unlet w:long_line_match - \ elseif &textwidth > 0 - \ let w:long_line_match = matchadd('ErrorMsg', '\%>'.&tw.'v.\+', -1) - \ else - \ let w:long_line_match = matchadd('ErrorMsg', '\%>80v.\+', -1) - \ endif -< - -EXPLANATION *vtw-1523-explanation* - -The search pattern \%>80v.\+ checks for a match at each position. If the -position being tested is at a virtual column above 80, the text at that -position is checked to see if it matches what follows (`.\+`). That matches -one or more characters, up to but not including the end-of-line. - -A simpler pattern such as `\%81v.*` fails to highlight text past the limit if -there is no character in virtual column 81, for example if a tab starts just -before that column. Furthermore, `\%81v.*` can give an erroneous highlight of -column 81 on lines of exactly 80 characters. - -The pattern \%<81v.\%>77v matches any character at virtual column 77 to 80 -inclusive. The pattern checks for a match at each position: `\%<81v.` matches -any character at a virtual column below 81; \%>77v causes the match to fail -unless the virtual column of the next character is above 77. - -REFERENCES *vtw-1523-references* - - :help |matchadd()| - - :help |:match| - - :help |/\%v| - - -COMMENTS *vtw-1523-comments* - -Textwidth-based matching can be made automatic using the OptionSet autocmd -event introduced in Vim 7.4.786 -[https://github.com/vim/vim/releases/tag/v7.4.786]. I'm not spending time to -figure out an exact script at the moment since I've personally switched over -to the 'colorcolumn' option. --Fritzophrenic -[https://vim.fandom.com/wiki/User:Fritzophrenic] (talk -[https://vim.fandom.com/wiki/User_talk:Fritzophrenic]) 16:10, September 2, -2015 (UTC) - -CATEGORIES *vtw-1523-cats* - -Syntax |vtw-by-category-syntax| -Temporary |vtw-by-category-temporary| -Deprecated |vtw-by-category-deprecated| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1524.txt b/doc/vim-tips-wiki-1524.txt deleted file mode 100644 index 078b6dd..0000000 --- a/doc/vim-tips-wiki-1524.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-1524.txt* VimTip1524 *vtw-1524* - - - -Previous Tip |vtw-1522| • Next Tip |vtw-1525| - -TIP 1524 HAS BEEN REMOVED *vtw-1524-tip-1524-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -This tip was created on this wiki (it was not imported from vim.org). - -Tip was an unsuccessful experiment. Needs a customized formatexpr or -formatprg, and no progress has been made in 8 months. - -CATEGORIES *vtw-1524-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1551.txt b/doc/vim-tips-wiki-1551.txt deleted file mode 100644 index d69b395..0000000 --- a/doc/vim-tips-wiki-1551.txt +++ /dev/null @@ -1,122 +0,0 @@ -*vim-tips-wiki-1551.txt* IPython integration *vtw-1551* - -Tip 1551 [https://vim.fandom.com/wiki/IPython_integration] Previous |vtw-1549| Next |vtw-1552| - -created -[https://vim.fandom.com/wiki/Vim_Tips_Wiki:New_tips/200804#IPython_integration] -2008 · complexity basic · author Srepmub · version 7.0 - -============================================================================== - -This tip is deprecated for the following reasons: - -If you're using IPython [http://ipython.org] 0.11 or newer, have a look at -vim-ipython [https://github.com/ivanov/vim-ipython]. It ships with ipython, -provides bidirectional interface between vim and ipython, and works on all -platforms. - -IPython and Vim make for a great IDE. The following shortcuts can help to -make it even better. - -To also avoid having to enter a test command in IPython, I use konsole and -dcop to send the command to IPython automatically. In the following, ' is -mapped to run the command 'r' in IPython. First, start IPython as follows: - -> - konsole --script - ipython -< - -Next, add the following mapping to vimrc [https://vim.fandom.com/wiki/Vimrc]: - -> - nnoremap ' :wa:!dcop konsole-`pidof konsole` session-1 sendSession r -< - -I wanted to make this work in gnome-terminal as well, but couldn't figure out -how to do this with DBUS. So here's a nice trick to make it work in any -terminal that supports the 'screen' utility. First, create a 'virtual' screen -named 'blah': - -> - screen -S blah - ipython -< - -Now to send a command to the 'blah' screen: - -> - nnoremap ' :wa:!screen -x blah -X stuff $'r\n' -< - -To start screen with gnome-terminal: - -> - gnome-terminal -e 'screen -S blah' -< - -Please feel free to add more tips for integration with IPython below. - -I used the following script: - -> - " maps ' to save and run the current buffer in the ipython session - nnoremap ' :wa:!screen -x ipython_vim -X stuff $'\%run "%:p"\n' - - " opens a new konsole window with ipython running in screen - com OpenIPython :!konsole -e screen -S ipython_vim ipython -< - -WINDOWS *vtw-1551-windows* - -Find `ipythonrc.ini` and in this file find this line: - -> - editor 0 -< - -and change this line to this line: - -> - editor gvim -f -< - -In `ipythonrc.ini` the hash symbol (#) means comments as in Python. Be aware -that there are two `ipythonrc.ini` files: one in the installation directory, -the other in C:\Documents and Settings\; one needs to modify the -file in and not in the installation directory for the -effects to take place. - -After doing these modifications, restart IPython and type: - -> - %edit -< - -and gvim will start. - -COMMENTS *vtw-1551-comments* - -I tried this on Windows, and when I type %edit in IPython it opens Notepad -and not gvim. - -It works with: - -> - ipython profile create - # creates ipython_config.py in document and settings/username/.ipython - Then edit this file to replace - c.TerminalInteractiveShell.editor = 'notepad' - with - c.TerminalInteractiveShell.editor = 'gvim -f' -< - -Restart ipython, then `%edit` should work. - -CATEGORIES *vtw-1551-cats* - -Python |vtw-by-category-python| -Deprecated |vtw-by-category-deprecated| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1553.txt b/doc/vim-tips-wiki-1553.txt deleted file mode 100644 index d305952..0000000 --- a/doc/vim-tips-wiki-1553.txt +++ /dev/null @@ -1,248 +0,0 @@ -*vim-tips-wiki-1553.txt* Remap join to merge comment lines *vtw-1553* - - - -This tip is deprecated for the following reasons: - -Vim 7.3.541 adds the 'j' flag to 'formatoptions' in order to accomplish the -same thing as this tip. This tip is still useful for older versions, or to -handle text not included in the comment leader like Vim line continuation -lines, but with the latest version it should not be necessary.Tip 1553 [https://vim.fandom.com/wiki/Remap_join_to_merge_comment_lines] Previous |vtw-1552| Next |vtw-1554| - -created -[https://vim.fandom.com/wiki/Vim_Tips_Wiki:New_tips/200804#Remap_join_to_merge_comment_lines] -2008 · complexity basic · author Fritzophrenic · version 7.0 - -============================================================================== - -WHY REMAP J? *vtw-1553-why-remap-j?* - -When editing code with comments in it (C code, Vim script, Python, or -whatever) and you want to join two comment lines together, you may notice some -annoying behavior. - -For example: - -> - " This is a Vim scripting language comment. - " I want to join this line - " to this one -< - -Performing a J on the second line will result in: - -> - " This is a Vim scripting language comment. - " I want to join this line " to this one -< - -Ugh! Now you'll need to delete the comment leader and any internal -indentation from the line! It gets even worse when giving J a count, or when -using J in a large visual selection. You could end up with something like -this: - -> - " I wanted " to join " a lot " of lines " but this happened! -< - -Luckily, Vim allows you to remap J to override the default functionality. But -how to do it? - -VISUAL MODE MAPPING *vtw-1553-visual-mode-mapping* - -Visual mode is easy. We know what text is selected by using '< and '>, and we -know the comment leader, so we can simply apply a `:s` command to remove the -comment leader before using `J` normally. - -For Vim code, you could do it this way: - -> - vnoremap J :'<+1,'>s/^\s*"\s*//egvJ -< - -The breakdown: - - : – start an ex command from visual mode, which defaults to inserting - '<,'> so we need to use CTRL-U to remove it - - '<+1,'> – act on all but the first line of the visual selection (we don't - want to remove the comment leader from the current line!) - - s/^\s*"\s*//e – replace all comment leaders that occur at the - BEGINNING of a line, and all surrounding whitespace, with a single space. Use - the e flag to suppress errors if the pattern is not found (so joins of - non-comment lines continue to work). The runs the ex command. - - `gvJ` – select the last visual selection range and perform a normal J command - on it. Since we've removed the comment leaders, this will now work as desired. - - -This has the unfortunate side effect of clobbering your last search register, -@/. This means (among other things) that the hlsearch highlighting will be -changed after using J. This can be fixed by saving and restoring the @/ -register using 'let' with a temporary variable, as seen later in this document -|vtw-1553-tying-it-all-together|. - -NORMAL MODE MAPPING *vtw-1553-normal-mode-mapping* - -Unfortunately, normal mode is not nearly as easy as visual mode. The -difficulty occurs because J in normal mode can take a count of the number of -lines to join. For this, we need a function. - -> - function! JoinWithLeader(count, leaderText) - let l:linecount = a:count - " default number of lines to join is 2 - if l:linecount < 2 - let l:linecount = 2 - endif - echo l:linecount . " lines joined" - " clear errmsg so we can determine if the search fails - let v:errmsg = '' - - " save off the search register to restore it later because we will clobber - " it with a substitute command - let l:savsearch = @/ - - while l:linecount > 1 - " do a J for each line (no mappings) - normal! J - " remove the comment leader from the current cursor position - silent! execute 'substitute/\%#\s*\%('.a:leaderText.'\)\s*/ /' - " check v:errmsg for status of the substitute command - if v:errmsg=~'Pattern not found' - " just means the line wasn't a comment - do nothing - elseif v:errmsg!='' - echo "Problem with leader pattern for JoinWithLeader()!" - else - " a successful substitute will move the cursor to line beginning, - " so move it back - normal! `` - endif - let l:linecount = l:linecount - 1 - endwhile - " restore the @/ register - let @/ = l:savsearch - endfunction -< - -This function works by taking the number of lines, and using a regular old -`J` command that many times, starting on the current line. The cool thing -about `J` is that it places the cursor on the start of the joined line after -it is done. For example: - -> - " I joined two lines " and look what happened! -< - -Right after a `J`, the cursor will be on the 2nd `"` in the line. - -The function above takes advantage of this fact by using the `\%#` atom in -the substitute pattern to match the comment leader ONLY AT THE CURRENT CURSOR -POSITION to allow us to remove it safely. After a successful substitute, we -must move the cursor to its previous position, because a successful substitute -will move it to the beginning of the line. However, since a failed substitute -does not move the cursor, we much check the result of the substitute command -to figure out whether to restore cursor position. - -Whew! Now, to allow normal mode joining of comments, you can do this: - -> - nnoremap J :call JoinWithLeader(v:count, '"') -< - -In this mapping, we again use to remove the count that automatically -gets added to the beginning of an ex command given a count, and we then pass -this count to our function using `v:count`. - -TYING IT ALL TOGETHER *vtw-1553-tying-it-all-together* - -Now, we can individually map `J` in normal and visual mode to do what we -want. But it would be nice to be able to do it more simply! This function -allows a very easy mapping and adapts well to almost any language: - -> - " Eliminate comment leader when joining comment lines - function! MapJoinWithLeaders(leaderText) - let l:leaderText = escape(a:leaderText, '/') - " visual mode is easy - just remove comment leaders from beginning of lines - " before using J normally - exec "vnoremap J :let savsearch=@/'<+1,'>". - \'s/^\s*\%('. - \l:leaderText. - \'\)\s*//e'. - \'let @/=savsearchunlet savsearch'. - \'gvJ' - " normal mode is harder because of the optional count - must use a function - exec "nnoremap J :call JoinWithLeader(v:count, '".l:leaderText."')" - endfunction -< - -Now, you can do cool things by calling this function in your -$HOME/vimfiles/ftplugin/{filetype}.vim file! - -For example, I have set up my `J` command to join Vim comments AND continued -lines (using backslash) in Vim, by placing the following in -$HOME/vimfiles/ftplugin/vim.vim: - -> - " join comment lines and continued lines intelligently - call MapJoinWithLeaders('"\\|\\') -< - -Note the use of `\\|` to allow matches on both `\` and `"`. - -LIMITATIONS *vtw-1553-limitations* - -If you join a comment line to a non-comment line with a `J` command innormal -mode, you will change something this... - -> - call func(l:args) - " my comment -< - -into this... - -> - call func(l:args) my comment -< - -This is probably not what is desired! To avoid this, in situations like the -above, instead of using `J` use `:normal! J` to avoid the mapping. Note that -the mappings defined above are all undoable with `u`. - -You can partially fix this problem by tweaking the substitution pattern to -only take effect when there is a comment leader prior to the cursor in the -line. However, this will break things like the Vim continuation lines above. -If this does not matter to you, replace this: - -> - " remove the comment leader from the current cursor position - silent! execute 'substitute/\%#\s*\%('.a:leaderText.'\)\s*/ /' -< - -with this: - -> - " remove the comment leader from the current cursor position, but only if - " the current line has a comment leader preceding this - silent! execute 'substitute/\%('.a:leaderText.'\).\{-}\zs\%#\s*\%('.a:leaderText.'\)\s*/ /' -< - -The problem will still occur when the comment leader occurs in non-comment -text, but it should be far less common. - -REFERENCES *vtw-1553-references* - - :help |/\%#| - - :help |v:count| - - :help |v:errmsg| - - :help |:map-| - - :help |:map-| - - -COMMENTS *vtw-1553-comments* - -CATEGORIES *vtw-1553-cats* - -Deprecated |vtw-by-category-deprecated| -Usage |vtw-by-category-usage| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-157.txt b/doc/vim-tips-wiki-157.txt deleted file mode 100644 index 177f9a2..0000000 --- a/doc/vim-tips-wiki-157.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-157.txt* VimTip157 *vtw-157* - - - -Previous Tip |vtw-156| • Next Tip |vtw-158| - -TIP 157 DOES NOT EXIST *vtw-157-tip-157-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#157 [http://www.vim.org/tips/tip.php?tip_id=157]. - -CATEGORIES *vtw-157-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-160.txt b/doc/vim-tips-wiki-160.txt deleted file mode 100644 index 68b14c2..0000000 --- a/doc/vim-tips-wiki-160.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-160.txt* VimTip160 *vtw-160* - - - -Previous Tip |vtw-159| • Next Tip |vtw-164| - -TIP 160 DOES NOT EXIST *vtw-160-tip-160-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#160 [http://www.vim.org/tips/tip.php?tip_id=160]. - -CATEGORIES *vtw-160-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-161.txt b/doc/vim-tips-wiki-161.txt deleted file mode 100644 index 943f217..0000000 --- a/doc/vim-tips-wiki-161.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-161.txt* VimTip161 *vtw-161* - - - -Previous Tip |vtw-159| • Next Tip |vtw-164| - -TIP 161 HAS BEEN REMOVED *vtw-161-tip-161-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#161 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=161]. - -Merged to Vim scripts [https://vim.fandom.com/wiki/Vim_scripts] - -CATEGORIES *vtw-161-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-162.txt b/doc/vim-tips-wiki-162.txt deleted file mode 100644 index 5b4b77f..0000000 --- a/doc/vim-tips-wiki-162.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-162.txt* VimTip162 *vtw-162* - - - -Previous Tip |vtw-159| • Next Tip |vtw-164| - -TIP 162 HAS BEEN REMOVED *vtw-162-tip-162-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#162 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=162]. - -Unhelpful for current Vim, or too hard to rewrite. - -CATEGORIES *vtw-162-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-1627.txt b/doc/vim-tips-wiki-1627.txt deleted file mode 100644 index 568e7ab..0000000 --- a/doc/vim-tips-wiki-1627.txt +++ /dev/null @@ -1,118 +0,0 @@ -*vim-tips-wiki-1627.txt* Reload file without losing undo history *vtw-1627* - -Tip 1627 [https://vim.fandom.com/wiki/Reload_file_without_losing_undo_history] Previous |vtw-1626| Next |vtw-1628| - -created -[https://vim.fandom.com/wiki/Vim_Tips_Wiki:New_tips/200906#Reload_file_without_losing_undo_history] -2009 · complexity basic · version 7.0 - -============================================================================== - -This tip is deprecated for the following reasons: - -The persistent undo feature added in Vim 7.3 provides built-in undo through -reload (and much more). - -While editing a file, you might decide to abandon your edits by using the -`:e` command to reload the current file (`:e!` if you have modified the file). - -Once the file is reloaded, your edits prior to the reload are lost (you -cannot undo past the reload). Following is an alternative procedure so you can -reload and keep your undo list. - -RELOAD *vtw-1627-reload* - -The following line (which you could add to your vimrc -[https://vim.fandom.com/wiki/Vimrc]) defines a `:Reload` command that replaces -the current buffer by the current file contents, while preserving the undo -history: - -> - command! Reload %d|r|1d -< - -When you type `:Reload` and press Enter, the Ex commands shown will be -executed:`%d` deletes the contents of the buffer (leaving a single blank -line); `r` reads the current file after the blank line; `1d` deletes the first -line (the blank). - -Warning It is easy to disable undo (for example `:set ul=-1` :help -'undolevels'). If you have disabled undo, the `Reload` command will still undo -all your unsaved changes and you won't be able to undo that. Also, if the `r` -command fails for some reason (for example, if you forgot that you are editing -a new file or a new buffer with no file), you will be left with a blank -screen. You should be able to paste the deleted text by pressing `p`. - -COMMENTS *vtw-1627-comments* - -After `:Reload`, the buffer will be marked as modified. If wanted, the -command `:set nomodified` could be added. - -The command should restore the cursor position, at least to the correct line, -if possible. - -This seems to work (Spiiph 12:39, 29 July 2009 (UTC)) - -> - command! -bang Reload call ReloadFile(0) - function! ReloadFile(is_force_pos) - " save the current cursor position - let position = getpos(".") - " delete all lines -  %d - " read the file back into the buffer - r - " remove the superfluous line - 1d - " restore the cursor position if a:is_force_pos - if a:is_force_pos - call setpos(".", position) - endif - endfunc -< - -Another variant of function ReloadFile: - -> - function s:Reload() - " Load content of new file into a list of lines. Note that without last - " argument (1) it may fail to load file that does not contain "\n" - " character, and may consume last "\n" character - try - let filecontents=readfile(expand('%'), 1) - catch - " We return 0 on error - return 0 - endtry - " Get the number of lines - let fclen=len(filecontents) - " If number of lines was reduced - if fclen - vnoremap `smq:e ispell.tmpi":w:! xterm -bg ivory -fn 10x20 -e ispell %:e %ggVG`s:bwipeout!:!rm ispell.tmp*`q"_s" -< - -This is based on Chip Campbell's macro which uses Ispell on the whole file -(in normal mode). - -> - noremap  :w:! xterm -bg ivory -fn 10x20 -e ispell %:e % -< - -COMMENTS *vtw-172-comments* - -TO DO Vim 7 has built-in spell checking. Some external programs might be -worthwhile, but the tips relating to this topic need to be updated and merged, -with information on Vim's spelling features. See the "Todo list" in the side -panel. - -============================================================================== - -If you replace the xterm/ispell part with: - -> - c:\winnt\system32\command.com /c ispell %" -< - -The tip will work with ispell on windows 2000. Command.com is required as -cmd.exe does not support ANSI.sys (see ispell docs for more info). - -============================================================================== - -CATEGORIES *vtw-172-cats* - -Deprecated |vtw-by-category-deprecated| -Review |vtw-by-category-review| -Todo |vtw-by-category-todo| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-177.txt b/doc/vim-tips-wiki-177.txt deleted file mode 100644 index 8d1c943..0000000 --- a/doc/vim-tips-wiki-177.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-177.txt* VimTip177 *vtw-177* - - - -Previous Tip |vtw-176| • Next Tip |vtw-178| - -TIP 177 HAS BEEN REMOVED *vtw-177-tip-177-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#177 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=177]. - -Only information is an external link; use matchparen instead - -CATEGORIES *vtw-177-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-179.txt b/doc/vim-tips-wiki-179.txt deleted file mode 100644 index 8751901..0000000 --- a/doc/vim-tips-wiki-179.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-179.txt* VimTip179 *vtw-179* - - - -Previous Tip |vtw-178| • Next Tip |vtw-180| - -TIP 179 HAS BEEN REMOVED *vtw-179-tip-179-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#179 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=179]. - -Merged to VimTip882 |vtw-882| - -CATEGORIES *vtw-179-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-183.txt b/doc/vim-tips-wiki-183.txt deleted file mode 100644 index 5d3db76..0000000 --- a/doc/vim-tips-wiki-183.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-183.txt* VimTip183 *vtw-183* - - - -Previous Tip |vtw-182| • Next Tip |vtw-184| - -TIP 183 HAS BEEN REMOVED *vtw-183-tip-183-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#183 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=183]. - -Merged to VimTip686 |vtw-686| - -CATEGORIES *vtw-183-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-186.txt b/doc/vim-tips-wiki-186.txt deleted file mode 100644 index 7958c2a..0000000 --- a/doc/vim-tips-wiki-186.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-186.txt* VimTip186 *vtw-186* - - - -Previous Tip |vtw-185| • Next Tip |vtw-188| - -TIP 186 DOES NOT EXIST *vtw-186-tip-186-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#186 [http://www.vim.org/tips/tip.php?tip_id=186]. - -CATEGORIES *vtw-186-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-187.txt b/doc/vim-tips-wiki-187.txt deleted file mode 100644 index ac02ab8..0000000 --- a/doc/vim-tips-wiki-187.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-187.txt* VimTip187 *vtw-187* - - - -Previous Tip |vtw-185| • Next Tip |vtw-188| - -TIP 187 HAS BEEN REMOVED *vtw-187-tip-187-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#187 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=187]. - -Merged to VimTip1 |vtw-1| - -CATEGORIES *vtw-187-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-190.txt b/doc/vim-tips-wiki-190.txt deleted file mode 100644 index b0c6904..0000000 --- a/doc/vim-tips-wiki-190.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-190.txt* VimTip190 *vtw-190* - - - -Previous Tip |vtw-189| • Next Tip |vtw-191| - -TIP 190 HAS BEEN REMOVED *vtw-190-tip-190-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#190 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=190]. - - - -CATEGORIES *vtw-190-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-192.txt b/doc/vim-tips-wiki-192.txt deleted file mode 100644 index c8630ad..0000000 --- a/doc/vim-tips-wiki-192.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-192.txt* VimTip192 *vtw-192* - - - -Previous Tip |vtw-191| • Next Tip |vtw-193| - -TIP 192 HAS BEEN REMOVED *vtw-192-tip-192-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#192 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=192]. - - - -CATEGORIES *vtw-192-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-200.txt b/doc/vim-tips-wiki-200.txt deleted file mode 100644 index 238b878..0000000 --- a/doc/vim-tips-wiki-200.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-200.txt* VimTip200 *vtw-200* - - - -Previous Tip |vtw-199| • Next Tip |vtw-202| - -TIP 200 HAS BEEN REMOVED *vtw-200-tip-200-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#200 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=200]. - -Merged to VimTip6 |vtw-6| - -CATEGORIES *vtw-200-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-204.txt b/doc/vim-tips-wiki-204.txt deleted file mode 100644 index 860d7e1..0000000 --- a/doc/vim-tips-wiki-204.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-204.txt* VimTip204 *vtw-204* - - - -Previous Tip |vtw-203| • Next Tip |vtw-205| - -TIP 204 HAS BEEN REMOVED *vtw-204-tip-204-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#204 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=204]. - -This information is at :help cscope-suggestions - -CATEGORIES *vtw-204-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-221.txt b/doc/vim-tips-wiki-221.txt deleted file mode 100644 index 7869b94..0000000 --- a/doc/vim-tips-wiki-221.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-221.txt* VimTip221 *vtw-221* - - - -Previous Tip |vtw-220| • Next Tip |vtw-222| - -TIP 221 HAS BEEN REMOVED *vtw-221-tip-221-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#221 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=221]. - -Obsolete after Vim 6.2. - -CATEGORIES *vtw-221-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-229.txt b/doc/vim-tips-wiki-229.txt deleted file mode 100644 index c42b027..0000000 --- a/doc/vim-tips-wiki-229.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-229.txt* VimTip229 *vtw-229* - - - -Previous Tip |vtw-228| • Next Tip |vtw-230| - -TIP 229 HAS BEEN REMOVED *vtw-229-tip-229-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#229 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=229]. - -Merged to VimTip882 |vtw-882| - -CATEGORIES *vtw-229-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-233.txt b/doc/vim-tips-wiki-233.txt deleted file mode 100644 index d825491..0000000 --- a/doc/vim-tips-wiki-233.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-233.txt* VimTip233 *vtw-233* - - - -Previous Tip |vtw-232| • Next Tip |vtw-234| - -TIP 233 HAS BEEN REMOVED *vtw-233-tip-233-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#233 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=233]. - -Merged to Vim documentation [https://vim.fandom.com/wiki/Vim_documentation] - -CATEGORIES *vtw-233-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-245.txt b/doc/vim-tips-wiki-245.txt deleted file mode 100644 index ba4b2ba..0000000 --- a/doc/vim-tips-wiki-245.txt +++ /dev/null @@ -1,21 +0,0 @@ -*vim-tips-wiki-245.txt* VimTip245 *vtw-245* - - - -Previous Tip |vtw-243| • Next Tip |vtw-246| - -TIP 245 DOES NOT EXIST *vtw-245-tip-245-does-not-exist* - -This tip was duplicated on the original vim.org web site, probably because -the author uploaded it more than once. Only the most up to date of the -duplicated tips |vtw-246| has been retained on this wiki. - -The original tip was at vim.org which may be in this archive Tip#245 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=245]. - -CATEGORIES *vtw-245-cats* - -OriginalDuplicate |vtw-by-category-originalduplicate| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-252.txt b/doc/vim-tips-wiki-252.txt deleted file mode 100644 index 9cf9d50..0000000 --- a/doc/vim-tips-wiki-252.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-252.txt* VimTip252 *vtw-252* - - - -Previous Tip |vtw-251| • Next Tip |vtw-253| - -TIP 252 HAS BEEN REMOVED *vtw-252-tip-252-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#252 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=252]. - -Only content is a nonworking external link. - -CATEGORIES *vtw-252-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-257.txt b/doc/vim-tips-wiki-257.txt deleted file mode 100644 index 29fd664..0000000 --- a/doc/vim-tips-wiki-257.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-257.txt* VimTip257 *vtw-257* - - - -Previous Tip |vtw-255| • Next Tip |vtw-258| - -TIP 257 HAS BEEN REMOVED *vtw-257-tip-257-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#257 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=257]. - - - -CATEGORIES *vtw-257-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-260.txt b/doc/vim-tips-wiki-260.txt deleted file mode 100644 index fb84082..0000000 --- a/doc/vim-tips-wiki-260.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-260.txt* VimTip260 *vtw-260* - - - -Previous Tip |vtw-258| • Next Tip |vtw-261| - -TIP 260 HAS BEEN REMOVED *vtw-260-tip-260-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#260 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=260]. - - - -CATEGORIES *vtw-260-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-274.txt b/doc/vim-tips-wiki-274.txt deleted file mode 100644 index 4ea386b..0000000 --- a/doc/vim-tips-wiki-274.txt +++ /dev/null @@ -1,21 +0,0 @@ -*vim-tips-wiki-274.txt* VimTip274 *vtw-274* - - - -Previous Tip |vtw-273| • Next Tip |vtw-277| - -TIP 274 DOES NOT EXIST *vtw-274-tip-274-does-not-exist* - -This tip was duplicated on the original vim.org web site, probably because -the author uploaded it more than once. Only the most up to date of the -duplicated tips |vtw-275| has been retained on this wiki. - -The original tip was at vim.org which may be in this archive Tip#274 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=274]. - -CATEGORIES *vtw-274-cats* - -OriginalDuplicate |vtw-by-category-originalduplicate| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-276.txt b/doc/vim-tips-wiki-276.txt deleted file mode 100644 index 17cb2cd..0000000 --- a/doc/vim-tips-wiki-276.txt +++ /dev/null @@ -1,21 +0,0 @@ -*vim-tips-wiki-276.txt* VimTip276 *vtw-276* - - - -Previous Tip |vtw-273| • Next Tip |vtw-277| - -TIP 276 DOES NOT EXIST *vtw-276-tip-276-does-not-exist* - -This tip was duplicated on the original vim.org web site, probably because -the author uploaded it more than once. Only the most up to date of the -duplicated tips |vtw-277| has been retained on this wiki. - -The original tip was at vim.org which may be in this archive Tip#276 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=276]. - -CATEGORIES *vtw-276-cats* - -OriginalDuplicate |vtw-by-category-originalduplicate| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-290.txt b/doc/vim-tips-wiki-290.txt deleted file mode 100644 index e66df07..0000000 --- a/doc/vim-tips-wiki-290.txt +++ /dev/null @@ -1,77 +0,0 @@ -*vim-tips-wiki-290.txt* Use integrated spell checking *vtw-290* - -Tip 290 [https://vim.fandom.com/wiki/Use_integrated_spell_checking] Previous |vtw-288| Next |vtw-293| - -created 2002 · complexity intermediate · author David Highley · version 6.0 - -============================================================================== - -This tip is deprecated for the following reasons: - -Vim now has built-in spell checking. See `:help spell` - -I have written an HTML document to help others use Vim as a basic text -processing application. It discusses how to integrate spell checking, -dictionary, and thesaurus applications. It also talks about wrapping lines, -indentation, justification, and the vim settings that effect the behavior of -these operations. The document can be found at: - -http://www.highley-recommended.com/text-processing.html -[http://www.highley-recommended.com/text-processing.html] - -Everything has been tested with UNIX, Linux, Windows, and Windows with Cygwin -patforms. - -COMMENTS *vtw-290-comments* - -I used above successfully - -If you happen to use Aspell on a Unix "shell" eg MKS on Win32 you may want - -> - :set shellslash (unix forward slash) -< - -Also if you map the full path to aspell in your map eg -c:/vim/aspell/aspell.exe you wont need an environment variable - -> - map s :!c:/vim/aspell/aspell.exe -c --dont-backup %:e! % - or - map s :!c:\vim\aspell\aspell.exe -c --dont-backup %:e! % -< - -============================================================================== - -People love to put spaces in their file names in MS Windows these days. I -used the aspell lines provided with the full path as noted by zzapper, david -at tvis dot co dot uk. At first his example did not work because I was using -someone's file with a space in it for testing. I then changed - -> - map s :!c:\vim\aspell\aspell.exe -c --dont-backup %:e! % - to - map s :!c:\vim\aspell\aspell.exe -c --dont-backup "%":e! "%" -< - -Please note the quotes around the percent sign, "%". Both the tip and David's -note are very effective. You'd want to do something similar on Linux too. -Especially if you are serving up files with Samba. See http://www.samba.org -[http://www.samba.org] - -============================================================================== - -Read Toggle_spellcheck_with_function_keys -[https://vim.fandom.com/wiki/Toggle_spellcheck_with_function_keys] to learn -how to enable and disable spellchek for several languages with function keys -or s only when you need it. - -============================================================================== - -CATEGORIES *vtw-290-cats* - -Review |vtw-by-category-review| -Deprecated |vtw-by-category-deprecated| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-292.txt b/doc/vim-tips-wiki-292.txt deleted file mode 100644 index d0f0887..0000000 --- a/doc/vim-tips-wiki-292.txt +++ /dev/null @@ -1,21 +0,0 @@ -*vim-tips-wiki-292.txt* VimTip292 *vtw-292* - - - -Previous Tip |vtw-290| • Next Tip |vtw-293| - -TIP 292 DOES NOT EXIST *vtw-292-tip-292-does-not-exist* - -This tip was duplicated on the original vim.org web site, probably because -the author uploaded it more than once. Only the most up to date of the -duplicated tips |vtw-338| has been retained on this wiki. - -The original tip was at vim.org which may be in this archive Tip#292 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=292]. - -CATEGORIES *vtw-292-cats* - -OriginalDuplicate |vtw-by-category-originalduplicate| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-296.txt b/doc/vim-tips-wiki-296.txt deleted file mode 100644 index 1db97d4..0000000 --- a/doc/vim-tips-wiki-296.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-296.txt* VimTip296 *vtw-296* - - - -Previous Tip |vtw-295| • Next Tip |vtw-297| - -TIP 296 HAS BEEN REMOVED *vtw-296-tip-296-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#296 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=296]. - -Merged to VimTip600 |vtw-600| - -CATEGORIES *vtw-296-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-300.txt b/doc/vim-tips-wiki-300.txt deleted file mode 100644 index 7da1344..0000000 --- a/doc/vim-tips-wiki-300.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-300.txt* VimTip300 *vtw-300* - - - -Previous Tip |vtw-299| • Next Tip |vtw-301| - -TIP 300 HAS BEEN REMOVED *vtw-300-tip-300-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#300 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=300]. - -Merged to VimTip94 |vtw-94| - -CATEGORIES *vtw-300-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-307.txt b/doc/vim-tips-wiki-307.txt deleted file mode 100644 index 34360ec..0000000 --- a/doc/vim-tips-wiki-307.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-307.txt* VimTip307 *vtw-307* - - - -Previous Tip |vtw-306| • Next Tip |vtw-308| - -TIP 307 HAS BEEN REMOVED *vtw-307-tip-307-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#307 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=307]. - -Article was a question not a tip (answer in VimTip1549 |vtw-1549|). - -CATEGORIES *vtw-307-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-310.txt b/doc/vim-tips-wiki-310.txt deleted file mode 100644 index 4996c1b..0000000 --- a/doc/vim-tips-wiki-310.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-310.txt* VimTip310 *vtw-310* - - - -Previous Tip |vtw-309| • Next Tip |vtw-311| - -TIP 310 HAS BEEN REMOVED *vtw-310-tip-310-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#310 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=310]. - - - -CATEGORIES *vtw-310-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-321.txt b/doc/vim-tips-wiki-321.txt deleted file mode 100644 index 95151d9..0000000 --- a/doc/vim-tips-wiki-321.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-321.txt* VimTip321 *vtw-321* - - - -Previous Tip |vtw-320| • Next Tip |vtw-322| - -TIP 321 HAS BEEN REMOVED *vtw-321-tip-321-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#321 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=321]. - -Merged to VimTip191 |vtw-191| - -CATEGORIES *vtw-321-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-326.txt b/doc/vim-tips-wiki-326.txt deleted file mode 100644 index 47ec7c7..0000000 --- a/doc/vim-tips-wiki-326.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-326.txt* VimTip326 *vtw-326* - - - -Previous Tip |vtw-325| • Next Tip |vtw-328| - -TIP 326 HAS BEEN REMOVED *vtw-326-tip-326-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#326 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=326]. - -Merged to VimTip882 |vtw-882| - -CATEGORIES *vtw-326-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-329.txt b/doc/vim-tips-wiki-329.txt deleted file mode 100644 index 4488f61..0000000 --- a/doc/vim-tips-wiki-329.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-329.txt* VimTip329 *vtw-329* - - - -Previous Tip |vtw-328| • Next Tip |vtw-330| - -TIP 329 HAS BEEN REMOVED *vtw-329-tip-329-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#329 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=329]. - -Merged to VimTip47 |vtw-47| - -CATEGORIES *vtw-329-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-333.txt b/doc/vim-tips-wiki-333.txt deleted file mode 100644 index 9138fff..0000000 --- a/doc/vim-tips-wiki-333.txt +++ /dev/null @@ -1,329 +0,0 @@ -*vim-tips-wiki-333.txt* Syntax-based folding *vtw-333* - - - -This tip is deprecated for the following reasons: - -The c.vim and cpp.vim syntax files include fold information usable by setting -foldmethod to "syntax". The java.vim syntax file currently does not define -folds, but syntax folding is a much better way to do this and the user can -easily add it in the after/syntax directory.Tip 333 [https://vim.fandom.com/wiki/Syntax-based_folding] Previous |vtw-332| Next |vtw-334| - -created 2002 · complexity intermediate · author Kartik Agaram · version 6.0 - -============================================================================== - -Here's a function to toggle the use of syntax-based folding for a c/c++/java -file. It also handles folding markers. - -> - function! OutlineToggle() - if (! exists ("b:outline_mode")) - let b:outline_mode = 0 - endif - if (b:outline_mode == 0) - syn region myFold start="{" end="}" transparent fold - syn sync fromstart - set foldmethod=syntax - silent! exec "%s/{{{/<<>>/" - let b:outline_mode = 1 - else - set foldmethod=marker - silent! exec "%s/<<>>/}}}/" - let b:outline_mode = 0 - endif - endfunction -< - -COMMENTS *vtw-333-comments* - -It seems to me that the default folds set up by the C syntax file work great! -Just setting `foldmethod=syntax` should do the trick. This allows folding of -/*...*/ comments as well. Since it is built into the syntax file, the below is -unnecessary, since it already applies all the right groups. - -I'm not sure if Java and Cpp syntax files also do this or not, but I assume -they do. - -============================================================================== - -The `syn region myFold start="{" end="}" transparent fold` method does not -like to work when you have other syn groups for {,}. I found this annoying (as -I like my colored braces) so I figured a pure marker method would work nearly -as well, and it does, at least for my uses. - -Experiment with the "matchgroup", "contains", "containedin", "keepline", and "extend" options to fix this. I'm sure there is a way to make it work the way you want it. Using syntax folding is certainly the way to go, since that's exactly what you're trying to do here, and you can define multiple fold groups (e.g., folding not only on {..}, but also /*...*/ and #if...#endif). - -One way that does work with matchgroup is simply to create -~/.vim/after/syntax/c.vim and insert the following line:`syntax region cBlock -matchgroup=Operator start="{" end="}" -contains=ALLBUT,cCurlyError,@cParenGroup,cErrInParen,cCppParen,cErrInBracket,cCppBracket,cCppString,@Spell -fold`Then you may proceed to set highlights on Operator as usual. - -Hopefully everything works just did v0.03 and I have run out of time, enjoy! - -outlinetoggle.vim from my plugin dir>>> - -> - " vim:ff=unix ts=4 ss=4 - " vim60:fdm=marker - " \file outlinetoggle.vim - " - " \brief Vim-Tip #333: Syntax-based folding for c/c++/java - " - " \author author: Kartik Agaram as of Vim: 6.0 - " \author Mangled by Feral - " \date Tue, 24 Sep 2002 05:44 Pacific Daylight Time - " \version $Id$ - " Version: 0.03 - " History: - " [Feral:267/02@05:43] v0.03: - " saves the old marker method now. - " stoped trying to be clever (just do the command twice heh) - " v0.02 - " trys to be cleaver and start in the proper outline mode based on if it - " finds a "{>>" in the file. - - "if exists("loaded_outlinetoggle") - " finish - "endif - "let loaded_outlinetoggle = 1 - - " Tip #333: Syntax-based folding for c/c++/java - " tip karma Rating 0/0, Viewed by 88 - " - "created: September 23, 2002 18:32 complexity: intermediate - "author: Kartik Agaram as of Vim: 6.0 - " - "Here's a function to toggle the use of syntax-based folding for a - "c/c++/java file. It also handles folding markers. - function! OutlineToggle() - let OldLine = line(".") - let OldCol = virtcol(".") - if (! exists ("b:outline_mode")) - let b:outline_mode = 0 - let b:OldMarker = &foldmarker - " :echo confirm(b:OldMarker) - " if search("{>>", 'w') == 0 - " " no modifed marker found, must be normal marker mode - " let b:outline_mode = 0 - " else - " let b:outline_mode = 1 - " endif - endif - if (b:outline_mode == 0) - let b:outline_mode = 1 - " syn region myFold start="{" end="}" transparent fold - " syn sync fromstart - " set foldmethod=syntax - " set foldmethod=indent - set foldmethod=marker - set foldmarker={,} - silent! exec "%s/{{{/{<>/" - else - let b:outline_mode = 0 - set foldmethod=marker - let &foldmarker=b:OldMarker - " set foldmarker={{{,}}} - silent! exec "%s/{<>/}}}/" - endif - execute "normal! ".OldLine."G" - execute "normal! ".OldCol."|" - unlet OldLine - unlet OldCol - execute "normal! zv" - endfunction - command! -nargs=0 OUTLINE call s:OutlineToggle() -< - -============================================================================== - -The tip in the comment is great. As is the whole concept of easy folding.I -popped this into my .vimrc: - -> - map  :OUTLINE -< - -This makes F12 switch in and out of outline (folded) mode. You could probably -use autocommand to make the folding happen when you open something you want to -fold. - -============================================================================== - -I wish I had same thing for comments /* */, but foldermarker does not support -regular expression.How about adding alternative foldermarkers?So, we may -write: - -> - set foldermarker1={,} - set foldermarker2=/*,*/ -< - -To me it sounds like a cool feature. - -Please, check more simple implementation and it works with mouse, I tried to -reproduce Visual Studio C# editor :)It looks almost the same. This is optimum -combination to work with Java files. - -> - set foldmarker={,} - set foldmethod=marker - set foldtext=substitute(getline(v:foldstart),'{.*','{...}',) - set foldcolumn=4 - set foldlevelstart=1 -< - -ostrygun - -============================================================================== - -Combined feral's tip with the fold columns based on tip comment by ostrygun. -Here is the code - -> - " \file outlinetoggle.vim - " \brief Vim-Tip #333: Syntax-based folding for c/c++/java - " \author Kartik Agaram as of Vim: 6.0 - " \author Mangled by Feral - " \author Further mauled by rajas_sambhare - " \date Tue, 24 Sep 2002 05:44 Pacific Daylight Time - " \version $Id$ - " Version: 0.04 - " History: - " [Feral:267/02@05:43] v0.03: - " saves the old marker method now. - " stoped trying to be clever (just do the command twice heh) - " v0.02 - " trys to be clever and start in the proper outline mode based on if it - " finds a "{>>" in the file. - " [Rajas:07/16/04] v0.04.1: - " Combined feral's tip with the foldcolumn method and cleaned out comments - " from ferals code. Changed commands name to FOLD (shorter :) - - " Tip #333: Syntax-based folding for c/c++/java - " tip karma Rating 0/0, Viewed by 88 - " - "created: September 23, 2002 18:32 complexity: intermediate - "author: Kartik Agaram as of Vim: 6.0 - " - "Here's a function to toggle the use of syntax-based folding for a c/c++/java file. It also handles folding markers. - - function! OutlineToggle() - let OldLine = line(".") - let OldCol = virtcol(".") - if (! exists ("b:outline_mode")) - let b:outline_mode = 0 - let b:OldMarker = &foldmarker - endif - if (b:outline_mode == 0) - let b:outline_mode = 1 - set foldmethod=marker - set foldmarker={,} - silent! exec "%s/{{{/{<>/" - set foldcolumn=4 - else - let b:outline_mode = 0 - set foldmethod=marker - let &foldmarker=b:OldMarker - silent! exec "%s/{<>/{{{/" - set foldcolumn=0 - endif - execute "normal! ".OldLine."G" - execute "normal! ".OldCol."|" - unlet OldLine - unlet OldCol - execute "normal! zv" - endfunction - command! -nargs=0 FOLD call s:OutlineToggle() -< - -Copy and save this as outlinetoggle.vim in your Vim/vim63/plugins directory. -To toggle folding, type `:FOLD`.Remember you can use :zE to expand all folds. - -============================================================================== - -It would be cool if there was some way of folding the previous line for those -of us that write code like - -> - int function(....) - { - .... - } -< - -so that the function name was the folded highlight. - -============================================================================== - -you can always do - -> - set foldtext=v:folddashes.substitute(getline(v:foldstart-1),'/\\*\\\|\\*/\\\|{{{\\d\\=','','g') -< - -to have the highlighting be the previous lines text. - -============================================================================== - -zo = Open a foldzc = Close a fold (The fold region must already exist)zfm = -'zf' means to create a fold of movement 'm' - -So, if i had a block of code: - -> - if( predicate ) - { - someFunction(); - } -< - -If you move the cursor to one of the curly braces, in command mode you type -'zf%', then you will end up with a fold looking something like this: - -> - if( predicate ) - 3 lines: { -< - -The "3 lines: {" will be highlighted, indicating that you have created a -fold. Also, "3 lines" tells you how many lines were folded. - -============================================================================== - -Just a note to all fold users, - -> - :set fmr={,} - :set fdm=marker -< - -Is a quick and easy way to allow folding of anything between angle brackets. - -then zM closes all folds and zR opens them all, so I don't know why you need -this elaborate solution. - -============================================================================== - -Since no one else has suggested it:za == toggle fold - -I find it much easier to just always use 'za' to open/close folds and let vim -figure out to open or close, rather than figuring out to use 'zc' or 'zo' on -my own. - -============================================================================== - -CATEGORIES *vtw-333-cats* - -Deprecated |vtw-by-category-deprecated| -Review |vtw-by-category-review| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-339.txt b/doc/vim-tips-wiki-339.txt deleted file mode 100644 index 5d727d6..0000000 --- a/doc/vim-tips-wiki-339.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-339.txt* VimTip339 *vtw-339* - - - -Previous Tip |vtw-338| • Next Tip |vtw-341| - -TIP 339 HAS BEEN REMOVED *vtw-339-tip-339-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#339 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=339]. - - - -CATEGORIES *vtw-339-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-340.txt b/doc/vim-tips-wiki-340.txt deleted file mode 100644 index cd7f1f0..0000000 --- a/doc/vim-tips-wiki-340.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-340.txt* VimTip340 *vtw-340* - - - -Previous Tip |vtw-338| • Next Tip |vtw-341| - -TIP 340 HAS BEEN REMOVED *vtw-340-tip-340-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#340 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=340]. - -Merged to VimTip171 |vtw-171| - -CATEGORIES *vtw-340-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-359.txt b/doc/vim-tips-wiki-359.txt deleted file mode 100644 index dd1924e..0000000 --- a/doc/vim-tips-wiki-359.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-359.txt* VimTip359 *vtw-359* - - - -Previous Tip |vtw-357| • Next Tip |vtw-362| - -TIP 359 HAS BEEN REMOVED *vtw-359-tip-359-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#359 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=359]. - - - -CATEGORIES *vtw-359-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-360.txt b/doc/vim-tips-wiki-360.txt deleted file mode 100644 index 00cb53c..0000000 --- a/doc/vim-tips-wiki-360.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-360.txt* VimTip360 *vtw-360* - - - -Previous Tip |vtw-357| • Next Tip |vtw-362| - -TIP 360 HAS BEEN REMOVED *vtw-360-tip-360-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#360 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=360]. - - - -CATEGORIES *vtw-360-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-365.txt b/doc/vim-tips-wiki-365.txt deleted file mode 100644 index 91fa60c..0000000 --- a/doc/vim-tips-wiki-365.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-365.txt* VimTip365 *vtw-365* - - - -Previous Tip |vtw-364| • Next Tip |vtw-366| - -TIP 365 HAS BEEN REMOVED *vtw-365-tip-365-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#365 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=365]. - -Merged to Vim documentation [https://vim.fandom.com/wiki/Vim_documentation] - -CATEGORIES *vtw-365-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-371.txt b/doc/vim-tips-wiki-371.txt deleted file mode 100644 index 46b23e2..0000000 --- a/doc/vim-tips-wiki-371.txt +++ /dev/null @@ -1,97 +0,0 @@ -*vim-tips-wiki-371.txt* Encrypt a file without leaving traces *vtw-371* - -Tip 371 [https://vim.fandom.com/wiki/Encrypt_a_file_without_leaving_traces] Previous |vtw-369| Next |vtw-374| - -created 2002 · complexity basic · author Prakash Patil · version 6.0 - -============================================================================== - -This tip is deprecated for the following reasons: - -Encryption in Vim has improved drastically since this tip was written, with a -blowfish (and blowfish2) cryptmethod, and encryption of some of the supporting -files. This renders many of the comments obsolete, but also the tip needs -updating for the new options to make sure you're using good secure values. - -I was desperately looking for a simple way to encrypt files. - -I find this very useful. Despite all the user permissions you set, it's easy -for someone/admin to do sudo and read your personal files..Many work -environments provide users the permission to sudo or become super user. - -Vim lets you encrypt file within the edit session. - -> - :X -< - -Will prompt for encryption key. Enter the encryption key and REMEMBER to save -it using :w. That will encrypt the file. - -If you don't want to leave behind traces of your edits, note the following. - -By default, once you finish your vim session, ~/.viminfo will be written with -the files you edited (marks), commands you entered and possibly what you wrote -(the registers you copied or pasted...). If you don't want such trace to be -left behind,then place the following file in in your vimrc -[https://vim.fandom.com/wiki/Vimrc]: - -> - set viminfo='0,\"0,\/0,:0,f0 -< - -REFERENCES *vtw-371-references* - - :help |:X| - - -COMMENTS *vtw-371-comments* - -There are a lot of other vim settings to make sure you leave no trace behind -like swapfiles, backupfiles, etc. - -I once investigated these settings and set up a gvimrc file for editing files -containing e. g. a collection of 'secret' information like passwords, ident -numbers, etc.. I copied this encrypted file, gvimrc, and the program files -(gvim.exe) on a 3.5" Floppy, which makes you 'autarkic'. - -I'm trying hard not to forget copying the settings to the Vim tips. - -Does anybody know how 'safe' is gvim encryption? - -============================================================================== - -From Vim help files. - -The algorithm used is breakable. A 4 character key in about one hour, a 6 -character key in one day (on a Pentium 133 PC). This requires that you know -some text that must appear in the file. An expert can break it for any key. -When the text has been decrypted, this also means that the key can be -revealed, and other files encrypted with the same key can be decrypted. - -============================================================================== - -I am using these settings in a gvimrc on a disc (containing gvim.exe and -vimrun.exe) for keeping secrets secret: - -> - " Einträge für Editieren von Paßwortgeschützten Dateien (':X'): - " keine Swap- oder temp files verwenden: - set noswapfile - set nobackup - set nowritebackup - " kein info file mit history eintraegen: - set viminfo= -< - -Of course the RAM and the swapfile of Windows still may be read in plain -ASCII / hex by spies. - -============================================================================== - -CATEGORIES *vtw-371-cats* - -Review |vtw-by-category-review| -Deprecated |vtw-by-category-deprecated| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-372.txt b/doc/vim-tips-wiki-372.txt deleted file mode 100644 index 11188cd..0000000 --- a/doc/vim-tips-wiki-372.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-372.txt* VimTip372 *vtw-372* - - - -Previous Tip |vtw-371| • Next Tip |vtw-374| - -TIP 372 HAS BEEN REMOVED *vtw-372-tip-372-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#372 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=372]. - -Merged to VimTip72 |vtw-72| - -CATEGORIES *vtw-372-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-379.txt b/doc/vim-tips-wiki-379.txt deleted file mode 100644 index 5d525ba..0000000 --- a/doc/vim-tips-wiki-379.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-379.txt* VimTip379 *vtw-379* - - - -Previous Tip |vtw-378| • Next Tip |vtw-380| - -TIP 379 HAS BEEN REMOVED *vtw-379-tip-379-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#379 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=379]. - - - -CATEGORIES *vtw-379-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-392.txt b/doc/vim-tips-wiki-392.txt deleted file mode 100644 index f27090b..0000000 --- a/doc/vim-tips-wiki-392.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-392.txt* VimTip392 *vtw-392* - - - -Previous Tip |vtw-391| • Next Tip |vtw-393| - -TIP 392 DOES NOT EXIST *vtw-392-tip-392-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#392 [http://www.vim.org/tips/tip.php?tip_id=392]. - -CATEGORIES *vtw-392-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-401.txt b/doc/vim-tips-wiki-401.txt deleted file mode 100644 index 785a28a..0000000 --- a/doc/vim-tips-wiki-401.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-401.txt* VimTip401 *vtw-401* - - - -Previous Tip |vtw-400| • Next Tip |vtw-402| - -TIP 401 HAS BEEN REMOVED *vtw-401-tip-401-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#401 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=401]. - -Merged to VimTip873 |vtw-873| - -CATEGORIES *vtw-401-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-403.txt b/doc/vim-tips-wiki-403.txt deleted file mode 100644 index de5deb0..0000000 --- a/doc/vim-tips-wiki-403.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-403.txt* VimTip403 *vtw-403* - - - -Previous Tip |vtw-402| • Next Tip |vtw-404| - -TIP 403 HAS BEEN REMOVED *vtw-403-tip-403-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#403 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=403]. - -The tip was a request for assistance. - -CATEGORIES *vtw-403-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-412.txt b/doc/vim-tips-wiki-412.txt deleted file mode 100644 index 68cbcab..0000000 --- a/doc/vim-tips-wiki-412.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-412.txt* VimTip412 *vtw-412* - - - -Previous Tip |vtw-411| • Next Tip |vtw-413| - -TIP 412 HAS BEEN REMOVED *vtw-412-tip-412-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#412 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=412]. - -Merged to VimTip686 |vtw-686| - -CATEGORIES *vtw-412-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-415.txt b/doc/vim-tips-wiki-415.txt deleted file mode 100644 index c14de0f..0000000 --- a/doc/vim-tips-wiki-415.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-415.txt* VimTip415 *vtw-415* - - - -Previous Tip |vtw-414| • Next Tip |vtw-416| - -TIP 415 HAS BEEN REMOVED *vtw-415-tip-415-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#415 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=415]. - -Better to use VimTip173 |vtw-173| - -CATEGORIES *vtw-415-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-416.txt b/doc/vim-tips-wiki-416.txt deleted file mode 100644 index 1877d9a..0000000 --- a/doc/vim-tips-wiki-416.txt +++ /dev/null @@ -1,255 +0,0 @@ -*vim-tips-wiki-416.txt* Running diff *vtw-416* - -Tip 416 [https://vim.fandom.com/wiki/Running_diff] Previous |vtw-414| Next |vtw-418| - -created 2003 · complexity basic · version 6.0 - -============================================================================== - -This tip is deprecated for the following reasons: - -At some point, the MyDiff function provided by the Vim without Cream -installer has been modified. As of Vim 7.3.138 it is still broken, but this -tip is no longer completely accurate in describing deficiencies of the MyDiff -function - -Vim is able to "diff" files (show the differences between similar files) -using an external diff program (Vim assumes you have a working diff program -that is not part of the Vim source). :help |diff| - -On Unix-based systems, Vim should work without problem because there should -be a "standard" diff program available. However, on other systems, some tricks -may be required in order to have Vim find your diff program. Furthermore, the -version of diff that you use may be different from that expected by Vim, for -example, it may require different command line options. A common way of -handling that situation is explained at :help |diff-diffexpr| where an example -shows a `MyDiff()` function that can pass any required command line to your -diff program. - -On Windows, many people use the "Windows Vim installers without Cream" setup -package to install Vim. That package (see below -|vtw-416-vim-distribution-from-cream| for details) has a bug in the way that -diff is installed. In addition, many other Windows users try to apply the -`MyDiff()` advice, and can encounter similar issues, even if using a Vim from -some other source. - -This tip explains how Windows users can overcome problems running diff from -within Vim. In addition, some of the options available when invoking diff are -explained. - -RECOMMENDED SOLUTION *vtw-416-recommended-solution* - -The best solution for Windows users is to download the GnuWin32 diff -[http://gnuwin32.sourceforge.net/packages/diffutils.htm] package and install -the "Complete package, except sources Setup". You also need to adjust your -PATH environment variable to include the installed bin directory. -Alternatively, you can copy the *.exe and *.dll files from that bin directory -to another directory that is already in your PATH. The current version of -GnuWin32 diff is 2.8.7. - -Then make sure that you do not configure Vim to use the '`diffexpr`' option. -For example, in your vimrc, you could delete lines that set `diffexpr`, or -that define a `MyDiff()` function. Or, you could manually enter the following -to clear the option: - -> - :set diffexpr= -< - -When `diffexpr` is not set, Vim will assume you have a standard diff program -in your PATH, and all diffs will work correctly (if the first diff program -found in the current directory or the directories listed in your PATH is in -fact GnuWin32 diff). - -If you have installed from the "Windows Vim installers without Cream" -download, you probably have a `diff.exe` (GnuWin32 diff 2.7) in the vim72 -directory (assuming Vim 7.2). In that case you do not need to download any -extra packages. Instead, you simply need to clear `diffexpr` so that the -broken `MyDiff()` function is not used. After restarting Vim, use command -`:echo $PATH` to check your PATH. You should see that the directory holding -`gvim.exe`, `vim.exe` and `diff.exe` has been added to the PATH. Therefore -(assuming you have no other diff programs), Vim should correctly invoke the -`diff.exe` provided with the "Vim without Cream" install, and all diffs should -work correctly. - -If errors prevent diff from running, use the verbose option to see how diff -is called. For example: - -> - gvim -V -od file1 file2 -< - -Vim may write temporary files when performing a diff. Therefore, you need -valid TEMP or TMP environment variables that point to an existing directory -where you are able to write files. For more information, see the tip on -handling temp environment errors |vtw-1532|. - -DIFF OPTIONS *vtw-416-diff-options* - -Some people vertically align variables and comments by adding or removing -whitespace. However, those trivial changes may clutter the output from diff -when you later compare the old and new files to check your changes. To ignore -whitespace in the diff, enter the command: - -> - set diffopt+=iwhite -< - -You can issue this command while viewing a diff (you may also need -`:diffupdate` to update the display), or you can add the command to your vimrc -so it is always in effect. :help 'diffopt' - -VIM DISTRIBUTION FROM CREAM *vtw-416-vim-distribution-from-cream* - -Where to download Vim [https://vim.fandom.com/wiki/Where_to_download_Vim] -mentions that Cream's "standard" Vim is a good place to download a fully -patched installation of Vim and gvim for Windows (using the "Windows Vim -installers without Cream" choice). However, versions upto 7.2.2 (and possibly -later) have a bug in the way that diff is installed. - -By default, the install creates directory `C:\Program Files\vim` which -contains only files `README_lang.txt` and `_vimrc`, and folder `vim72` which -contains the Vim files, including `gvim.exe`, as well as GNU Win32 `diff.exe` -(of course, the directory is `vim72` for version 7.2, or something different -for other versions). - -The `_vimrc` file has contents: - -> - set nocompatible - source $VIMRUNTIME/vimrc_example.vim - source $VIMRUNTIME/mswin.vim - behave mswin - - set diffexpr=MyDiff() - function MyDiff() - let opt = '' - if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif - if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif - silent execute '\"!C:\Program Files\vim\diff\" -a ' . opt . v:fname_in . ' ' . v:fname_new . ' > ' . v:fname_out - endfunction -< - -The bug appears when an attempt to use diff is made (in gvim for example, -with the File menu, "Split Diff with"). The following error occurs: - -> - Error detected while processing function MyDiff: - line 4: - E10: \ should be followed by /, ? or & -< - -After editing `_vimrc` to fix this error, a second error occurs: - -> - E97: Cannot create diffs -< - -As described above |vtw-416-recommended-solution|, the fix is simply to clear -`diffexpr` so the `MyDiff()` function is not used. However, if you need to use -the function, you can edit `_vimrc` to change line 4 of `MyDiff` by removing -the backslash before the double quotes, and by moving the bang (`!`) so it is -before the quoted path, and by changing the path to the location where -`diff.exe` occurs. The final correct line 4 is: - -> - silent execute '!"C:\Program Files\vim\vim72\diff" -a ' . opt . v:fname_in . ' ' . v:fname_new . ' > ' . v:fname_out -< - -Or even better, to remain compatible when you upgrade Vim, change the line -to: - -> - silent execute '!"'.$VIMRUNTIME.'\diff" -a ' . opt . v:fname_in . ' ' . v:fname_new . ' > ' . v:fname_out -< - -You may find that changing the line as follows works (the first diff found in -the current directory or directories of the PATH will be used): - -> - silent execute '!diff -a ' . opt . v:fname_in . ' ' . v:fname_new . ' > ' . v:fname_out -< - -After this change (and restarting Vim), diff works correctly. - -OTHER SOLUTIONS *vtw-416-other-solutions* - -If you need to use the `MyDiff()` function, another proposal that worked with -Vim 6.4 is shown below (it should probably use $VIMRUNTIME as above). - -> - if has('win32') - set diffexpr=MyDiff() - function! MyDiff() - let opt = '-a --binary ' - if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif - if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif - let arg1 = v:fname_in - if arg1 =~ ' ' | let arg1 = '"' . arg1 . '"' | endif - let arg2 = v:fname_new - if arg2 =~ ' ' | let arg2 = '"' . arg2 . '"' | endif - let arg3 = v:fname_out - if arg3 =~ ' ' | let arg3 = '"' . arg3 . '"' | endif - if &sh =~ '\ ' . arg3 . '"' - else - silent execute '!'.$VIM.'\vim64\diff.exe" ' . opt . arg1 . ' ' . arg2 . ' > ' . arg3 - endif - endfunction - endif -< - -COMMENTS *vtw-416-comments* - -TO DO - - Need ideas for a better name for this tip. - - Should check the "Recommended solution" which is my understanding of the - confusion behind all the misguided comments on the problem. - - Perhaps should give a little more prominence to the para on problems with - TEMP. - - Should expand the section on diff options, and add a short section showing - some usage examples (windo diffthis, diffoff! and a little more). - - Decide whether the "Other solutions" section is useful. - - -============================================================================== - -Under cygwin, I found that the backslashes in the path for the "execute" -command caused trouble. You should be able to fix this by changing each -backslash to a forward slash, or by changing each backslash with two -backslashes. - -I saw that I needed the fix after removing "silent" from the command so that -I could see exactly what was executed. - -============================================================================== - -There's no general solution to fix this problem out-of-the-box. It depends on -the idiosyncrasies of the command processor (shell) that is used to "silent -execute" the line. For instance, on my Windows XP I usually start gvim from a -4nt.exe command line, which in turn sets COMSPEC to be 4nt.exe instead of the -default cmd.exe. So, in my case, the simplest way to fix MyDiff is to change -it this way: - -> - silent execute '!C:\Progra~1\vim\vim63\diff -a ' . opt . v:fname_in . ' ' . v:fname_new . ' > ' . v:fname_out -< - -============================================================================== - -I use Windows 2000 with bash.exe [http://www.steve.org.uk/Software/bash/] and -UnixUtils [http://unxutils.sourceforge.net/]. - -I had to add `set shell=bash.exe` to my _vimrc to get it working. Of course -`bash.exe` must be in the PATH. - -============================================================================== - -CATEGORIES *vtw-416-cats* - -Windows |vtw-by-category-windows| -Deprecated |vtw-by-category-deprecated| -Todo |vtw-by-category-todo| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-417.txt b/doc/vim-tips-wiki-417.txt deleted file mode 100644 index a69e677..0000000 --- a/doc/vim-tips-wiki-417.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-417.txt* VimTip417 *vtw-417* - - - -Previous Tip |vtw-416| • Next Tip |vtw-418| - -TIP 417 HAS BEEN REMOVED *vtw-417-tip-417-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#417 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=417]. - - - -CATEGORIES *vtw-417-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-419.txt b/doc/vim-tips-wiki-419.txt deleted file mode 100644 index 637b9c6..0000000 --- a/doc/vim-tips-wiki-419.txt +++ /dev/null @@ -1,125 +0,0 @@ -*vim-tips-wiki-419.txt* Auto-fold Perl subs *vtw-419* - -Tip 419 [https://vim.fandom.com/wiki/Auto-fold_Perl_subs] Previous |vtw-418| Next |vtw-425| - -created 2003 · complexity intermediate · author Mina Naguib · version 7.0 - -============================================================================== - -This tip is deprecated for the following reasons: - -The patch mentioned below is outdated, does not apply cleanly to the Vim 7.3 -runtime, and encounters problems with hash literals. Until this is fixed, if -the syntax folding bugs bother you, you can use one of the alternate methods -listed below the main tip. - -The `$VIMRUNTIME/syntax/perl.vim` file provided with Vim has a configurable -option -[https://vim.fandom.com/wiki/Check_your_syntax_files_for_configurable_options] -that allows folding in Perl programs. To enable folding in files with "perl" -filetype, put the following line in your vimrc -[https://vim.fandom.com/wiki/Vimrc] (see :help |perl.vim| for more details): - -> - let perl_fold = 1 -< - -The Vim 7.2 `perl.vim` has some bugs. A patch is available -[http://groups.google.com/group/vim_dev/browse_thread/thread/e2a54d22c728d04b]. - -ALTERNATIVES *vtw-419-alternatives* - -It is easier for most users to use the built-in procedure outlined above, but -it is also possible to work around any issues you have with the built-in -folding, using a plugin or directly writing and using a 'foldexpr'. - -PLUGIN: SIMPLEFOLD *vtw-419-plugin:-simplefold* - -If you are able to install scripts, the SimpleFold script -[https://www.vim.org/scripts/script.php?script_id=1868] is very nice and -supports Perl, among other languages. - -Version 0.5 of this plugin does not support a lot of fold cases for Perl -properly, however. Nevertheless, a simple patch -[https://vim.fandom.com/wiki/Script:1868#Perl_support_fix] can fix it. - -About the only thing that doesn’t work is lines which both close and open a -block, e.g.: - -> - if (something) { - stuff - } elsif (somethingelse) { #this doesn’t work - otherstuff - } -< - -This doesn't appear simple to fix, so you're better off just adding a line -break and refolding (by default it calculates and sets folds with f ). - -FOLDEXPR WORKAROUND *vtw-419-foldexpr-workaround* - -Add this to your vimrc [https://vim.fandom.com/wiki/Vimrc] to automatically -fold Perl functions. You may also like to modify the script for similar -languages that define a subroutine with "sub ...". - -> - function GetPerlFold() - if getline(v:lnum) =~ '^\s*sub\s' - return ">1" - elseif getline(v:lnum) =~ '\}\s*$' - let my_perlnum = v:lnum - let my_perlmax = line("$") - while (1) - let my_perlnum = my_perlnum + 1 - if my_perlnum > my_perlmax - return "<1" - endif - let my_perldata = getline(my_perlnum) - if my_perldata =~ '^\s*\(\#.*\)\?$' - " do nothing - elseif my_perldata =~ '^\s*sub\s' - return "<1" - else - return "=" - endif - endwhile - else - return "=" - endif - endfunction - setlocal foldexpr=GetPerlFold() - setlocal foldmethod=expr -< - -SEE ALSO *vtw-419-see-also* - - Folding [https://vim.fandom.com/wiki/Folding] presents an overview of how to - use folding - - -REFERENCES *vtw-419-references* - - :help |folding| - - -COMMENTS *vtw-419-comments* - -When `let perl_fold = 1` is used, the fold method (`:set fdm?`) will be -"syntax", and you will not be able to use manual or marker folds. If wanted, -you can change the fold method, for example, `:set foldmethod=manual`. - -In other words, if you want vim to autofold perl subroutines, use `let -perl_fold = 1` in your .vimrc. This automatically `set foldmethod=syntax` when -you load a perl file, but if not, you can manually `set foldmethod=syntax` or -put this command in a file in `$HOME/.vim/after/syntax` called `perl.vim` -(create this directory and file if it does not yet exist). - -============================================================================== - -CATEGORIES *vtw-419-cats* - -Folding |vtw-by-category-folding| -Perl |vtw-by-category-perl| -Deprecated |vtw-by-category-deprecated| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-422.txt b/doc/vim-tips-wiki-422.txt deleted file mode 100644 index e878ba5..0000000 --- a/doc/vim-tips-wiki-422.txt +++ /dev/null @@ -1,25 +0,0 @@ -*vim-tips-wiki-422.txt* VimTip422 *vtw-422* - - - -Previous Tip |vtw-419| • Next Tip |vtw-425| - -TIP 422 HAS BEEN REMOVED *vtw-422-tip-422-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#422 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=422]. - -Better options are at Vim documentation -[https://vim.fandom.com/wiki/Vim_documentation]. - -CATEGORIES *vtw-422-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-423.txt b/doc/vim-tips-wiki-423.txt deleted file mode 100644 index e88cb9d..0000000 --- a/doc/vim-tips-wiki-423.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-423.txt* VimTip423 *vtw-423* - - - -Previous Tip |vtw-419| • Next Tip |vtw-425| - -TIP 423 HAS BEEN REMOVED *vtw-423-tip-423-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#423 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=423]. - -Unhelpful for current Vim, or too hard to rewrite. - -CATEGORIES *vtw-423-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-424.txt b/doc/vim-tips-wiki-424.txt deleted file mode 100644 index ae0643b..0000000 --- a/doc/vim-tips-wiki-424.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-424.txt* VimTip424 *vtw-424* - - - -Previous Tip |vtw-419| • Next Tip |vtw-425| - -TIP 424 HAS BEEN REMOVED *vtw-424-tip-424-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#424 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=424]. - -Information is in VimTip312 |vtw-312| - -CATEGORIES *vtw-424-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-429.txt b/doc/vim-tips-wiki-429.txt deleted file mode 100644 index d104635..0000000 --- a/doc/vim-tips-wiki-429.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-429.txt* VimTip429 *vtw-429* - - - -Previous Tip |vtw-428| • Next Tip |vtw-431| - -TIP 429 HAS BEEN REMOVED *vtw-429-tip-429-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#429 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=429]. - - - -CATEGORIES *vtw-429-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-433.txt b/doc/vim-tips-wiki-433.txt deleted file mode 100644 index bb1ff70..0000000 --- a/doc/vim-tips-wiki-433.txt +++ /dev/null @@ -1,25 +0,0 @@ -*vim-tips-wiki-433.txt* VimTip433 *vtw-433* - - - -Previous Tip |vtw-432| • Next Tip |vtw-434| - -TIP 433 HAS BEEN REMOVED *vtw-433-tip-433-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#433 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=433]. - -Tip 433 has been removed, see Talk:Candidates for deletion/Removed -[https://vim.fandom.com/wiki/Talk:Candidates_for_deletion/Removed] - -CATEGORIES *vtw-433-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-435.txt b/doc/vim-tips-wiki-435.txt deleted file mode 100644 index 27b7abf..0000000 --- a/doc/vim-tips-wiki-435.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-435.txt* VimTip435 *vtw-435* - - - -Previous Tip |vtw-434| • Next Tip |vtw-436| - -TIP 435 HAS BEEN REMOVED *vtw-435-tip-435-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#435 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=435]. - - - -CATEGORIES *vtw-435-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-439.txt b/doc/vim-tips-wiki-439.txt deleted file mode 100644 index ae1f2a0..0000000 --- a/doc/vim-tips-wiki-439.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-439.txt* VimTip439 *vtw-439* - - - -Previous Tip |vtw-438| • Next Tip |vtw-440| - -TIP 439 HAS BEEN REMOVED *vtw-439-tip-439-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#439 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=439]. - - - -CATEGORIES *vtw-439-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-442.txt b/doc/vim-tips-wiki-442.txt deleted file mode 100644 index 6903cbc..0000000 --- a/doc/vim-tips-wiki-442.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-442.txt* VimTip442 *vtw-442* - - - -Previous Tip |vtw-441| • Next Tip |vtw-443| - -TIP 442 HAS BEEN REMOVED *vtw-442-tip-442-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#442 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=442]. - -Merged to VimTip9 |vtw-9| - -CATEGORIES *vtw-442-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-447.txt b/doc/vim-tips-wiki-447.txt deleted file mode 100644 index 2a23536..0000000 --- a/doc/vim-tips-wiki-447.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-447.txt* VimTip447 *vtw-447* - - - -Previous Tip |vtw-446| • Next Tip |vtw-449| - -TIP 447 HAS BEEN REMOVED *vtw-447-tip-447-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#447 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=447]. - - - -CATEGORIES *vtw-447-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-455.txt b/doc/vim-tips-wiki-455.txt deleted file mode 100644 index 21bbefd..0000000 --- a/doc/vim-tips-wiki-455.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-455.txt* VimTip455 *vtw-455* - - - -Previous Tip |vtw-452| • Next Tip |vtw-457| - -TIP 455 HAS BEEN REMOVED *vtw-455-tip-455-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#455 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=455]. - -Merged to VimTip920 |vtw-920| - -CATEGORIES *vtw-455-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-456.txt b/doc/vim-tips-wiki-456.txt deleted file mode 100644 index 91c1a8b..0000000 --- a/doc/vim-tips-wiki-456.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-456.txt* VimTip456 *vtw-456* - - - -Previous Tip |vtw-452| • Next Tip |vtw-457| - -TIP 456 HAS BEEN REMOVED *vtw-456-tip-456-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#456 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=456]. - -Merged to VimTip224 |vtw-224| - -CATEGORIES *vtw-456-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-473.txt b/doc/vim-tips-wiki-473.txt deleted file mode 100644 index 172cbcd..0000000 --- a/doc/vim-tips-wiki-473.txt +++ /dev/null @@ -1,88 +0,0 @@ -*vim-tips-wiki-473.txt* Compiler for perl *vtw-473* - - - -This tip is deprecated for the following reasons: - -The official Vim distribution—since at least Vim 6.4—comes with a compiler -script so you can type `:compiler perl`Tip 473 [https://vim.fandom.com/wiki/Compiler_for_perl] Previous |vtw-472| Next |vtw-474| - -created 2003 · complexity basic · author Chris Forkin · version 5.7 - -============================================================================== - -At one stage I was writing a lot of perl scripts/modules with Vim and found -it useful to be able to run the perl syntax-checker (perl -c) from within Vim -via the `:make` command. To be able to do this you'll need to add the -following Module (VimCompile.pm) to your @INC. - -> - #!/usr/bin/perl -w - #$Id: VimCompile.pm,v 1.2 2002/02/16 01:07:03 forkin Exp $ - # reformat "perl -c" syntax-check error-/warning-messages for Vim - - package VimCompile; - use strict; - - sub _die { - my ($msg)=@_; - $msg=~s/^((.* at )((.*) line )([0-9]+)(\.|, near .*))$/$4:$5: $1/mg; - die qq/$msg/; - } - - sub _warn { - my ($msg)=@_; - $msg=~s/^((.* at )((.*) line )([0-9]+)(\.|, near .*))$/$4:$5: $1/mg; - warn qq/$msg/; - } - - $SIG{'__DIE__'}=\&_die; - $SIG{'__WARN__'}=\&_warn; - # return OK - - 1; -< - -This Module will reformat the warnings/errors so that Vim can parse them (to -allow you to jump to the location/source-code of the error). You will also -need to deposit the following (perl.vim) in your ~/.vim/runtime/compiler -directory. - -> - " Vim compiler file - " Compiler: perl (output of "die" massaged) - " Maintainer: Chris Forkin, chris@forkin.com - - if exists("current_compiler") - finish - endif - - let current_compiler = "perl" - " A workable errorformat for "perl -c" - setlocal errorformat=%f:%l:\ %m - " default make - setlocal makeprg=perl\ -MVimCompile\ -c\ % -< - -COMMENTS *vtw-473-comments* - -:help |errorformat-Perl| - -or have a look at $VIMRUNTIME/tools/efm_perl.pl to use quickfix mode with -perl scripts. - -============================================================================== - -!perl -Wc % - -Actually disregard my perl -Wc comment I realise yours does more then simple -compiler checks. - -CATEGORIES *vtw-473-cats* - -Deprecated |vtw-by-category-deprecated| -Compiler |vtw-by-category-compiler| -Perl |vtw-by-category-perl| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-475.txt b/doc/vim-tips-wiki-475.txt deleted file mode 100644 index 078a37d..0000000 --- a/doc/vim-tips-wiki-475.txt +++ /dev/null @@ -1,32 +0,0 @@ -*vim-tips-wiki-475.txt* Wrap visual selection with fold markers *vtw-475* - - - -This tip is deprecated for the following reasons: - -As the comment below indicates, you can use the "`zf`" command.Tip 475 [https://vim.fandom.com/wiki/Wrap_visual_selection_with_fold_markers] Previous |vtw-474| Next |vtw-476| - -created May 18, 2003 · complexity basic · author culley · version 6.0 - -============================================================================== - -Use this vmap to enclose a block with fold markers: - -> - vmap fold mz:''>o// }}}`z?{{{A -< - -COMMENTS *vtw-475-comments* - -Prefer the zf command, in combination with foldmethod=marker. See :help |zf|. - -============================================================================== - -CATEGORIES *vtw-475-cats* - -Deprecated |vtw-by-category-deprecated| -Review |vtw-by-category-review| -Folding |vtw-by-category-folding| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-491.txt b/doc/vim-tips-wiki-491.txt deleted file mode 100644 index 2cc046f..0000000 --- a/doc/vim-tips-wiki-491.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-491.txt* VimTip491 *vtw-491* - - - -Previous Tip |vtw-490| • Next Tip |vtw-492| - -TIP 491 HAS BEEN REMOVED *vtw-491-tip-491-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#491 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=491]. - - - -CATEGORIES *vtw-491-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-496.txt b/doc/vim-tips-wiki-496.txt deleted file mode 100644 index b3046ae..0000000 --- a/doc/vim-tips-wiki-496.txt +++ /dev/null @@ -1,25 +0,0 @@ -*vim-tips-wiki-496.txt* VimTip496 *vtw-496* - - - -Previous Tip |vtw-495| • Next Tip |vtw-498| - -TIP 496 HAS BEEN REMOVED *vtw-496-tip-496-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#496 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=496]. - -See Vim documentation [https://vim.fandom.com/wiki/Vim_documentation] for -alternatives; no extra useful information. - -CATEGORIES *vtw-496-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-499.txt b/doc/vim-tips-wiki-499.txt deleted file mode 100644 index 08a1cdd..0000000 --- a/doc/vim-tips-wiki-499.txt +++ /dev/null @@ -1,21 +0,0 @@ -*vim-tips-wiki-499.txt* VimTip499 *vtw-499* - - - -Previous Tip |vtw-498| • Next Tip |vtw-502| - -TIP 499 DOES NOT EXIST *vtw-499-tip-499-does-not-exist* - -This tip was duplicated on the original vim.org web site, probably because -the author uploaded it more than once. Only the most up to date of the -duplicated tips |vtw-502| has been retained on this wiki. - -The original tip was at vim.org which may be in this archive Tip#499 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=499]. - -CATEGORIES *vtw-499-cats* - -OriginalDuplicate |vtw-by-category-originalduplicate| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-5.txt b/doc/vim-tips-wiki-5.txt deleted file mode 100644 index 88e261d..0000000 --- a/doc/vim-tips-wiki-5.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-5.txt* VimTip5 *vtw-5* - - - -Previous Tip |vtw-4| • Next Tip |vtw-6| - -TIP 5 HAS BEEN REMOVED *vtw-5-tip-5-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#5 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=5]. - -Tip 5 has been merged to VimTip1 |vtw-1| - -CATEGORIES *vtw-5-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-500.txt b/doc/vim-tips-wiki-500.txt deleted file mode 100644 index b55ce20..0000000 --- a/doc/vim-tips-wiki-500.txt +++ /dev/null @@ -1,21 +0,0 @@ -*vim-tips-wiki-500.txt* VimTip500 *vtw-500* - - - -Previous Tip |vtw-498| • Next Tip |vtw-502| - -TIP 500 DOES NOT EXIST *vtw-500-tip-500-does-not-exist* - -This tip was duplicated on the original vim.org web site, probably because -the author uploaded it more than once. Only the most up to date of the -duplicated tips |vtw-502| has been retained on this wiki. - -The original tip was at vim.org which may be in this archive Tip#500 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=500]. - -CATEGORIES *vtw-500-cats* - -OriginalDuplicate |vtw-by-category-originalduplicate| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-501.txt b/doc/vim-tips-wiki-501.txt deleted file mode 100644 index c69a6aa..0000000 --- a/doc/vim-tips-wiki-501.txt +++ /dev/null @@ -1,21 +0,0 @@ -*vim-tips-wiki-501.txt* VimTip501 *vtw-501* - - - -Previous Tip |vtw-498| • Next Tip |vtw-502| - -TIP 501 DOES NOT EXIST *vtw-501-tip-501-does-not-exist* - -This tip was duplicated on the original vim.org web site, probably because -the author uploaded it more than once. Only the most up to date of the -duplicated tips |vtw-502| has been retained on this wiki. - -The original tip was at vim.org which may be in this archive Tip#501 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=501]. - -CATEGORIES *vtw-501-cats* - -OriginalDuplicate |vtw-by-category-originalduplicate| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-504.txt b/doc/vim-tips-wiki-504.txt deleted file mode 100644 index f62f924..0000000 --- a/doc/vim-tips-wiki-504.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-504.txt* VimTip504 *vtw-504* - - - -Previous Tip |vtw-503| • Next Tip |vtw-506| - -TIP 504 DOES NOT EXIST *vtw-504-tip-504-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#504 [http://www.vim.org/tips/tip.php?tip_id=504]. - -CATEGORIES *vtw-504-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-505.txt b/doc/vim-tips-wiki-505.txt deleted file mode 100644 index ff7d13c..0000000 --- a/doc/vim-tips-wiki-505.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-505.txt* VimTip505 *vtw-505* - - - -Previous Tip |vtw-503| • Next Tip |vtw-506| - -TIP 505 HAS BEEN REMOVED *vtw-505-tip-505-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#505 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=505]. - -Many mail agents can use Vim, some by setting EDITOR - -CATEGORIES *vtw-505-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-508.txt b/doc/vim-tips-wiki-508.txt deleted file mode 100644 index a9d66c0..0000000 --- a/doc/vim-tips-wiki-508.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-508.txt* VimTip508 *vtw-508* - - - -Previous Tip |vtw-507| • Next Tip |vtw-509| - -TIP 508 DOES NOT EXIST *vtw-508-tip-508-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#508 [http://www.vim.org/tips/tip.php?tip_id=508]. - -CATEGORIES *vtw-508-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-511.txt b/doc/vim-tips-wiki-511.txt deleted file mode 100644 index bf9761b..0000000 --- a/doc/vim-tips-wiki-511.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-511.txt* VimTip511 *vtw-511* - - - -Previous Tip |vtw-510| • Next Tip |vtw-514| - -TIP 511 HAS BEEN REMOVED *vtw-511-tip-511-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#511 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=511]. - - - -CATEGORIES *vtw-511-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-512.txt b/doc/vim-tips-wiki-512.txt deleted file mode 100644 index 50928cd..0000000 --- a/doc/vim-tips-wiki-512.txt +++ /dev/null @@ -1,21 +0,0 @@ -*vim-tips-wiki-512.txt* VimTip512 *vtw-512* - - - -Previous Tip |vtw-510| • Next Tip |vtw-514| - -TIP 512 DOES NOT EXIST *vtw-512-tip-512-does-not-exist* - -This tip was duplicated on the original vim.org web site, probably because -the author uploaded it more than once. Only the most up to date of the -duplicated tips |vtw-514| has been retained on this wiki. - -The original tip was at vim.org which may be in this archive Tip#512 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=512]. - -CATEGORIES *vtw-512-cats* - -OriginalDuplicate |vtw-by-category-originalduplicate| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-513.txt b/doc/vim-tips-wiki-513.txt deleted file mode 100644 index bde372a..0000000 --- a/doc/vim-tips-wiki-513.txt +++ /dev/null @@ -1,21 +0,0 @@ -*vim-tips-wiki-513.txt* VimTip513 *vtw-513* - - - -Previous Tip |vtw-510| • Next Tip |vtw-514| - -TIP 513 DOES NOT EXIST *vtw-513-tip-513-does-not-exist* - -This tip was duplicated on the original vim.org web site, probably because -the author uploaded it more than once. Only the most up to date of the -duplicated tips |vtw-514| has been retained on this wiki. - -The original tip was at vim.org which may be in this archive Tip#513 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=513]. - -CATEGORIES *vtw-513-cats* - -OriginalDuplicate |vtw-by-category-originalduplicate| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-521.txt b/doc/vim-tips-wiki-521.txt deleted file mode 100644 index 7c259ff..0000000 --- a/doc/vim-tips-wiki-521.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-521.txt* VimTip521 *vtw-521* - - - -Previous Tip |vtw-519| • Next Tip |vtw-522| - -TIP 521 HAS BEEN REMOVED *vtw-521-tip-521-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#521 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=521]. - - - -CATEGORIES *vtw-521-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-532.txt b/doc/vim-tips-wiki-532.txt deleted file mode 100644 index a6e412b..0000000 --- a/doc/vim-tips-wiki-532.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-532.txt* VimTip532 *vtw-532* - - - -Previous Tip |vtw-531| • Next Tip |vtw-533| - -TIP 532 HAS BEEN REMOVED *vtw-532-tip-532-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#532 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=532]. - - - -CATEGORIES *vtw-532-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-538.txt b/doc/vim-tips-wiki-538.txt deleted file mode 100644 index 9fcf536..0000000 --- a/doc/vim-tips-wiki-538.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-538.txt* VimTip538 *vtw-538* - - - -Previous Tip |vtw-537| • Next Tip |vtw-539| - -TIP 538 HAS BEEN REMOVED *vtw-538-tip-538-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#538 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=538]. - - - -CATEGORIES *vtw-538-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-540.txt b/doc/vim-tips-wiki-540.txt deleted file mode 100644 index af7538d..0000000 --- a/doc/vim-tips-wiki-540.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-540.txt* VimTip540 *vtw-540* - - - -Previous Tip |vtw-539| • Next Tip |vtw-542| - -TIP 540 DOES NOT EXIST *vtw-540-tip-540-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#540 [http://www.vim.org/tips/tip.php?tip_id=540]. - -CATEGORIES *vtw-540-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-541.txt b/doc/vim-tips-wiki-541.txt deleted file mode 100644 index c5f3f19..0000000 --- a/doc/vim-tips-wiki-541.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-541.txt* VimTip541 *vtw-541* - - - -Previous Tip |vtw-539| • Next Tip |vtw-542| - -TIP 541 HAS BEEN REMOVED *vtw-541-tip-541-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#541 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=541]. - - - -CATEGORIES *vtw-541-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-544.txt b/doc/vim-tips-wiki-544.txt deleted file mode 100644 index 4661729..0000000 --- a/doc/vim-tips-wiki-544.txt +++ /dev/null @@ -1,21 +0,0 @@ -*vim-tips-wiki-544.txt* VimTip544 *vtw-544* - - - -Previous Tip |vtw-543| • Next Tip |vtw-545| - -TIP 544 DOES NOT EXIST *vtw-544-tip-544-does-not-exist* - -This tip was duplicated on the original vim.org web site, probably because -the author uploaded it more than once. Only the most up to date of the -duplicated tips |vtw-545| has been retained on this wiki. - -The original tip was at vim.org which may be in this archive Tip#544 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=544]. - -CATEGORIES *vtw-544-cats* - -OriginalDuplicate |vtw-by-category-originalduplicate| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-549.txt b/doc/vim-tips-wiki-549.txt deleted file mode 100644 index 0db27d7..0000000 --- a/doc/vim-tips-wiki-549.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-549.txt* VimTip549 *vtw-549* - - - -Previous Tip |vtw-548| • Next Tip |vtw-550| - -TIP 549 DOES NOT EXIST *vtw-549-tip-549-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#549 [http://www.vim.org/tips/tip.php?tip_id=549]. - -CATEGORIES *vtw-549-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-55.txt b/doc/vim-tips-wiki-55.txt deleted file mode 100644 index f62a936..0000000 --- a/doc/vim-tips-wiki-55.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-55.txt* VimTip55 *vtw-55* - - - -Previous Tip |vtw-54| • Next Tip |vtw-58| - -TIP 55 HAS BEEN REMOVED *vtw-55-tip-55-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#55 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=55]. - -Merged to VimTip686 |vtw-686| - -CATEGORIES *vtw-55-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-56.txt b/doc/vim-tips-wiki-56.txt deleted file mode 100644 index 0151530..0000000 --- a/doc/vim-tips-wiki-56.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-56.txt* VimTip56 *vtw-56* - - - -Previous Tip |vtw-54| • Next Tip |vtw-58| - -TIP 56 DOES NOT EXIST *vtw-56-tip-56-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#56 [http://www.vim.org/tips/tip.php?tip_id=56]. - -CATEGORIES *vtw-56-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-561.txt b/doc/vim-tips-wiki-561.txt deleted file mode 100644 index d322c08..0000000 --- a/doc/vim-tips-wiki-561.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-561.txt* VimTip561 *vtw-561* - - - -Previous Tip |vtw-560| • Next Tip |vtw-563| - -TIP 561 HAS BEEN REMOVED *vtw-561-tip-561-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#561 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=561]. - -Merged to VimTip137 |vtw-137| - -CATEGORIES *vtw-561-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-562.txt b/doc/vim-tips-wiki-562.txt deleted file mode 100644 index 7e59cbd..0000000 --- a/doc/vim-tips-wiki-562.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-562.txt* VimTip562 *vtw-562* - - - -Previous Tip |vtw-560| • Next Tip |vtw-563| - -TIP 562 HAS BEEN REMOVED *vtw-562-tip-562-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#562 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=562]. - -Merged to VimTip331 |vtw-331| - -CATEGORIES *vtw-562-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-565.txt b/doc/vim-tips-wiki-565.txt deleted file mode 100644 index 1f4d83d..0000000 --- a/doc/vim-tips-wiki-565.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-565.txt* VimTip565 *vtw-565* - - - -Previous Tip |vtw-564| • Next Tip |vtw-566| - -TIP 565 HAS BEEN REMOVED *vtw-565-tip-565-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#565 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=565]. - - - -CATEGORIES *vtw-565-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-57.txt b/doc/vim-tips-wiki-57.txt deleted file mode 100644 index 3029696..0000000 --- a/doc/vim-tips-wiki-57.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-57.txt* VimTip57 *vtw-57* - - - -Previous Tip |vtw-54| • Next Tip |vtw-58| - -TIP 57 DOES NOT EXIST *vtw-57-tip-57-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#57 [http://www.vim.org/tips/tip.php?tip_id=57]. - -CATEGORIES *vtw-57-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-574.txt b/doc/vim-tips-wiki-574.txt deleted file mode 100644 index 3b5aecd..0000000 --- a/doc/vim-tips-wiki-574.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-574.txt* VimTip574 *vtw-574* - - - -Previous Tip |vtw-573| • Next Tip |vtw-575| - -TIP 574 HAS BEEN REMOVED *vtw-574-tip-574-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#574 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=574]. - - - -CATEGORIES *vtw-574-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-585.txt b/doc/vim-tips-wiki-585.txt deleted file mode 100644 index 4c6eebc..0000000 --- a/doc/vim-tips-wiki-585.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-585.txt* VimTip585 *vtw-585* - - - -Previous Tip |vtw-584| • Next Tip |vtw-586| - -TIP 585 HAS BEEN REMOVED *vtw-585-tip-585-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#585 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=585]. - - - -CATEGORIES *vtw-585-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-59.txt b/doc/vim-tips-wiki-59.txt deleted file mode 100644 index bab6b23..0000000 --- a/doc/vim-tips-wiki-59.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-59.txt* VimTip59 *vtw-59* - - - -Previous Tip |vtw-58| • Next Tip |vtw-63| - -TIP 59 DOES NOT EXIST *vtw-59-tip-59-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#59 [http://www.vim.org/tips/tip.php?tip_id=59]. - -CATEGORIES *vtw-59-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-592.txt b/doc/vim-tips-wiki-592.txt deleted file mode 100644 index 50073d3..0000000 --- a/doc/vim-tips-wiki-592.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-592.txt* VimTip592 *vtw-592* - - - -Previous Tip |vtw-591| • Next Tip |vtw-593| - -TIP 592 HAS BEEN REMOVED *vtw-592-tip-592-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#592 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=592]. - - - -CATEGORIES *vtw-592-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-594.txt b/doc/vim-tips-wiki-594.txt deleted file mode 100644 index 0eaa4d6..0000000 --- a/doc/vim-tips-wiki-594.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-594.txt* VimTip594 *vtw-594* - - - -Previous Tip |vtw-593| • Next Tip |vtw-595| - -TIP 594 DOES NOT EXIST *vtw-594-tip-594-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#594 [http://www.vim.org/tips/tip.php?tip_id=594]. - -CATEGORIES *vtw-594-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-596.txt b/doc/vim-tips-wiki-596.txt deleted file mode 100644 index f82c035..0000000 --- a/doc/vim-tips-wiki-596.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-596.txt* VimTip596 *vtw-596* - - - -Previous Tip |vtw-595| • Next Tip |vtw-597| - -TIP 596 HAS BEEN REMOVED *vtw-596-tip-596-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#596 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=596]. - -Merged to VimTip193 |vtw-193| - -CATEGORIES *vtw-596-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-599.txt b/doc/vim-tips-wiki-599.txt deleted file mode 100644 index fc048b0..0000000 --- a/doc/vim-tips-wiki-599.txt +++ /dev/null @@ -1,25 +0,0 @@ -*vim-tips-wiki-599.txt* VimTip599 *vtw-599* - - - -Previous Tip |vtw-598| • Next Tip |vtw-600| - -TIP 599 HAS BEEN REMOVED *vtw-599-tip-599-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#599 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=599]. - -It is not helpful to keep a suggestion for a small change in a script from -October 2003. - -CATEGORIES *vtw-599-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-60.txt b/doc/vim-tips-wiki-60.txt deleted file mode 100644 index cd7db09..0000000 --- a/doc/vim-tips-wiki-60.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-60.txt* VimTip60 *vtw-60* - - - -Previous Tip |vtw-58| • Next Tip |vtw-63| - -TIP 60 DOES NOT EXIST *vtw-60-tip-60-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#60 [http://www.vim.org/tips/tip.php?tip_id=60]. - -CATEGORIES *vtw-60-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-602.txt b/doc/vim-tips-wiki-602.txt deleted file mode 100644 index 75d3f1f..0000000 --- a/doc/vim-tips-wiki-602.txt +++ /dev/null @@ -1,25 +0,0 @@ -*vim-tips-wiki-602.txt* VimTip602 *vtw-602* - - - -Previous Tip |vtw-601| • Next Tip |vtw-603| - -TIP 602 HAS BEEN REMOVED *vtw-602-tip-602-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#602 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=602]. - -Not required in Vim 7. Requires a plugin, and moves marks (does not delete -them). - -CATEGORIES *vtw-602-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-61.txt b/doc/vim-tips-wiki-61.txt deleted file mode 100644 index c5948c9..0000000 --- a/doc/vim-tips-wiki-61.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-61.txt* VimTip61 *vtw-61* - - - -Previous Tip |vtw-58| • Next Tip |vtw-63| - -TIP 61 DOES NOT EXIST *vtw-61-tip-61-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#61 [http://www.vim.org/tips/tip.php?tip_id=61]. - -CATEGORIES *vtw-61-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-612.txt b/doc/vim-tips-wiki-612.txt deleted file mode 100644 index ff6c703..0000000 --- a/doc/vim-tips-wiki-612.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-612.txt* VimTip612 *vtw-612* - - - -Previous Tip |vtw-610| • Next Tip |vtw-613| - -TIP 612 HAS BEEN REMOVED *vtw-612-tip-612-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#612 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=612]. - - - -CATEGORIES *vtw-612-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-617.txt b/doc/vim-tips-wiki-617.txt deleted file mode 100644 index cedbc17..0000000 --- a/doc/vim-tips-wiki-617.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-617.txt* VimTip617 *vtw-617* - - - -Previous Tip |vtw-616| • Next Tip |vtw-618| - -TIP 617 HAS BEEN REMOVED *vtw-617-tip-617-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#617 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=617]. - -Merged to VimTip49 |vtw-49| - -CATEGORIES *vtw-617-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-62.txt b/doc/vim-tips-wiki-62.txt deleted file mode 100644 index e85943d..0000000 --- a/doc/vim-tips-wiki-62.txt +++ /dev/null @@ -1,21 +0,0 @@ -*vim-tips-wiki-62.txt* VimTip62 *vtw-62* - - - -Previous Tip |vtw-58| • Next Tip |vtw-63| - -TIP 62 DOES NOT EXIST *vtw-62-tip-62-does-not-exist* - -This tip was duplicated on the original vim.org web site, probably because -the author uploaded it more than once. Only the most up to date of the -duplicated tips |vtw-63| has been retained on this wiki. - -The original tip was at vim.org which may be in this archive Tip#62 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=62]. - -CATEGORIES *vtw-62-cats* - -OriginalDuplicate |vtw-by-category-originalduplicate| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-620.txt b/doc/vim-tips-wiki-620.txt deleted file mode 100644 index b170ef4..0000000 --- a/doc/vim-tips-wiki-620.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-620.txt* VimTip620 *vtw-620* - - - -Previous Tip |vtw-619| • Next Tip |vtw-623| - -TIP 620 HAS BEEN REMOVED *vtw-620-tip-620-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#620 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=620]. - -Merged to VimTip9 |vtw-9| - -CATEGORIES *vtw-620-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-629.txt b/doc/vim-tips-wiki-629.txt deleted file mode 100644 index d322cdc..0000000 --- a/doc/vim-tips-wiki-629.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-629.txt* VimTip629 *vtw-629* - - - -Previous Tip |vtw-628| • Next Tip |vtw-630| - -TIP 629 HAS BEEN REMOVED *vtw-629-tip-629-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#629 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=629]. - - - -CATEGORIES *vtw-629-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-630.txt b/doc/vim-tips-wiki-630.txt deleted file mode 100644 index a688ebf..0000000 --- a/doc/vim-tips-wiki-630.txt +++ /dev/null @@ -1,306 +0,0 @@ -*vim-tips-wiki-630.txt* Automatically append closing characters *vtw-630* - -Tip 630 [https://vim.fandom.com/wiki/Automatically_append_closing_characters] Previous |vtw-628| Next |vtw-631| - -created 2004 · complexity basic · author Andrzej Cuber · version 6.0 - -============================================================================== - -This tip is deprecated for the following reasons: - -The undo/redo workarounds |vtw-630-more-on-undo.2fredo.2frepeat| contained -here were broken by Vim version 7.4. A fix has been included as of 7.4.849 -[https://github.com/vim/vim/releases/tag/v7.4.849] to support this without -workarounds; this tip needs updating to reflect the new method. - -This tip discusses methods to automatically add closing characters (such as -adding "`}`" after typing "`{`"). - -A SIMPLE SOLUTION *vtw-630-a-simple-solution* - -BASIC PAIR COMPLETION *vtw-630-basic-pair-completion* - -Using the following mappings, when you type an open brace, a closing brace is -automatically inserted on the same line after the cursor. If you quickly press -Enter after the open brace (to begin a code block), the closing brace will be -inserted on the line below the cursor. If you quickly press the open brace key -again after the open brace, nothing extra will be inserted—you will just get a -single open brace. Finally, if you quickly type an open and close brace, Vim -will not do anything special. - -> - inoremap { {} - inoremap { {}O - inoremap {{ { - inoremap {} {} -< - -One thing to be aware of with these mappings is that they will interrupt your -undo sequence, as documented at :help |ins-special-special|. This means that -after using these mappings and inserting more text between the braces, -pressing `u` will only undo the text inserted between the braces. Similarly, -pressing `.` (repeat) will only insert the same text. - -SKIPPING OVER THE CLOSING CHARACTER *vtw-630-skipping-over-the-closing-character* - -Similar mappings for other "paired" characters can be made from the above -with trivial modifications, but characters like brackets and parentheses which -often require text after them might instead benefit from something like the -following, which automatically closes all groups, and skips over existing -closing characters if another one is typed immediately before: - -> - inoremap ( () - inoremap ) strpart(getline('.'), col('.')-1, 1) == ")" ? "\" : ")" -< - -This solution works by looking at the character just after the cursor (which -is at the byte index given by cursor column - 1), and simply moving the cursor -if it is the closing character. If the character after the cursor is not the -closing character, it inserts the closing character. The mapping is fairly -straightforward, but will not work in versions prior to Vim 7.0 which -introduced mappings. You will need to modify this slightly for older -versions of Vim |vtw-630-backwards-compatible-closing-brace-skip|. - -In the case of single or double quotes, since the closing character is the -same as the opening one, the mapping is done slightly different: - -> - inoremap ' strpart(getline('.'), col('.')-1, 1) == "\'" ? "\" : "\'\'\" -< - -If the character just after the cursor is not a single quote, we insert two -single quotes instead of only one. - -Note that like the insertion of the closing character, skipping the closing -character in this way will break your undo sequence. - -EXPANDING THE SIMPLE SOLUTION *vtw-630-expanding-the-simple-solution* - -MORE ON UNDO/REDO/REPEAT *vtw-630-more-on-undo/redo/repeat* - -Without interrupting the undo/redo/repeat sequence, there is not an easy way -to move the cursor in insert mode or to insert text without moving the cursor. -In Vim 7.4.849 you can move the cursor in insert mode and leave the undo -sequence intact with the `CTRL-G_U` sequence. But, it is possible in Vim 7.3 -and below, using `setpos()` or `setline()` within a function called from an -insertion of the expression register, for example: - -> - " Incomplete example moving the cursor after insertion. - " DO NOT USE, use a plugin instead. - function! MoveLeft() - let newpos = getpos('.') - let newpos[2] -= 1 - if (newpos[2] < 1) - let newpos[2] = 1 - endif - call setpos('.', newpos) - return "" - endfunction - inoremap ( ()=MoveLeft() -< - -or: - -> - " Incomplete example inserting text without moving cursor. - " DO NOT USE, use a plugin instead. - function! InsertClosing(char) - let line = getline('.') - let colm = col('.') - let colmIdx = colm - 1 - call setline('.', line[:colmIdx].a:char.line[colmIdx+1:]) - return "" - endfunction - inoremap ( (=InsertClosing(')') -< - -The expression register is used instead of an mapping, because moving -the cursor or changing text is not allowed within an mapping. - -Unfortunately, even though the undo sequence is unbroken, without a -complicated set of other mappings, the text inserted or cursor movement -accomplished within the expression mapping will not be reflected in the text -inserted by pressing '`.`'. Using the first method (moving the cursor without -breaking undo) you would insert "`abc(def)`" and repeat using `.` to get -"`abc()def`". Using the second method (inserting text without moving the -cursor) you would insert "`abc(def)`" (with the closing ')' added -automatically) and repeat only "`abc(def`" (without the automatic closing -character). - -If you want auto-insertion of closing characters which does not break your -undo sequence, you should consider one of the plugins |vtw-630-plugins| which -has implemented this already, but you will also need to stick with Vim 7.3 or -earlier. - -ADD THE CLOSING BRACE ONLY AT THE END OF THE LINE *vtw-630-add-the-closing-brace-only-at-the-end-of-the-line* - -Automatically inserting closing braces can be confusing when editing text. -The following function inserts the closing brace only when the cursor is at -the end of the line. As a consequence, the closing brace doesn't often get in -your way, although that might be a question of personal preference. - -> - function! ConditionalPairMap(open, close) - let line = getline('.') - let col = col('.') - if col < col('$') || stridx(line, a:close, col + 1) != -1 - return a:open - else - return a:open . a:close . repeat("\", len(a:close)) - endif - endf - inoremap ( ConditionalPairMap('(', ')') - inoremap { ConditionalPairMap('{', '}') - inoremap [ ConditionalPairMap('[', ']') -< - -MANAGING PAIRED CHARACTER SEQUENCES *vtw-630-managing-paired-character-sequences* - -For adding multiple-character pairs such as C-style comments, you may want to -find another way to prevent the mapping from taking effect, such as typing the -mapleader (usually '\' – see :help |mapleader|) character first as below: - -> - inoremap /* /**/ - inoremap /* /**/ - inoremap /* /**/O - inoremap /* /* -< - -Similar mappings might be useful for quotes, but they might get in your way -depending on the type of file you're editing. Some languages use duplicate -single-quotes a lot, and some pair the backtick with the quote. For these -situations, you might want to put similar commands into language-specific -files. For example, this quote-completer for GNU M4 might live in -`~/.vim/after/ftplugin/m4.vim`. :help |after-directory| - -> - inoremap ` `') - inoremap ` `'O - inoremap `` ` - inoremap `' `' -< - -MORE ADVANCED SOLUTIONS *vtw-630-more-advanced-solutions* - -If you want something more complex and configurable, there are a number of -different scripts that accomplish this task. - -PLUGINS *vtw-630-plugins* - -The auto-insertion of matching brackets is provided by these plugins: - - delimitMate by Israel Chauca Fuentes - [https://www.vim.org/scripts/script.php?script_id=2754] (configurable, latest - version on GitHub [https://github.com/Raimondi/delimitMate] doesn't break - undo/redo/repeat). - - AutoClose by Karl Guertin - [https://www.vim.org/scripts/script.php?script_id=1849] (auto-closes specific - hard-coded characters, and doesn't break undo/redo/repeat in Vim 7.3 or lower) - - AutoClose by Thiago Alves - [https://www.vim.org/scripts/script.php?script_id=2009] (configurable, but - breaks undo/redo/repeat) - - auto-pairs Auto Pairs by Miao Jiang - [https://www.vim.org/scripts/script.php?script_id=3599] (configurable, latest - version on GitHub [https://github.com/jiangmiao/auto-pairs] doesn't break - undo/redo/repeat) - - ClosePairs by Edoardo Vacchi - [https://www.vim.org/scripts/script.php?script_id=2373] (configurable, but - breaks undo/redo/repeat) - - smartinput by Kana Natsuno [https://github.com/kana/vim-smartinput] - (configurable, but breaks undo/redo/repeat) - - Luc Hermitte [https://vim.fandom.com/wiki/User:Luc_Hermitte] has some very - advanced and smart abbreviations [https://github.com/LucHermitte/lh-brackets]. - Those scripts give advanced brace-handling features like markers support - (placeholders in another terminology), several things can be easily tweaked - (whether we want newlines or not before the curly-brackets, ...), the - abbreviations are buffer-relative (which is necessary to have "{" expand into - different things according to the filetype of the buffer edited), - context-sensitive (the abbreviations are not expanded within comments or - string contexts) and more. lh-brackets also provides surrounding, and a smart - that deletes both characters from an empty pair. See also lh-cpp, the C & - C++ ftplugin suite [https://github.com/LucHermitte/lh-cpp] built on top of it, - where `;` can close all pending `)`. lh-brackets supports redo/repeat on vim - versions >= 7.4-849. - - Srinath Avadhanula's imaps.vim - [https://www.vim.org/scripts/script.php?script_id=244] is used by Latex-Suite - [http://vim-latex.sourceforge.net/] to provide a similar bracketing system. - - Marcn Szamotulski's Automatic LaTeX Plugin - [https://www.vim.org/scripts/script.php?script_id=2945] is closing open - brackets within the omnicompletion mechanism, it also closes opened LaTeX - environments. - - The popular surround.vim - [https://www.vim.org/scripts/script.php?script_id=1697] provides an - insert-mode mapping to insert pairs of any delimiter defined by a text object - together, if you can remember to use it instead of just typing the opening - delimiter. surround.vim integrates with the repeat.vim - [https://www.vim.org/scripts/script.php?script_id=2136] plugin to provide some - support for the repeat command for its normal-mode commands, but the - insert-mode command will still break the undo sequence. - - -REPLACECURLY SCRIPT *vtw-630-replacecurly-script* - -This script operates only on braces, but is smarter about detecting when it -should act. It will not take effect when editing comments, strings and lines -containing the the word "new." (This is useful for array initialization, e.g. -`string[] myArray = new string[] {"a", "b"}`.) - -> - imap { :call ReplaceCurly()"_cl - function! ReplaceCurly() - imap { { - " only replace outside of comments or strings (which map to constant) - let elesyn = synIDtrans(synID(line("."), col(".") - 1, 0)) - if elesyn != hlID('Comment') && elesyn != hlID('Constant') && match(getline("."), "\\") < 0 - exe "normal a{" - " need to add a spare character (x) to position the cursor afterwards - exe "normal ox" - exe "normal o}" - exe "normal kw" - else - " need to add a spare character (x) to position the cursor afterwards - exe "normal a{x" - endif - imap { :let word= ReplaceCurly()"_cl - endfunction - - "Surround code with braces - nmap {} O{ddj>>ddkP - vmap {} o{ddgv>gvdp -< - -BACKWARDS-COMPATIBLE CLOSING BRACE SKIP *vtw-630-backwards-compatible-closing-brace-skip* - -If you need a solution for inserting a closing brace automatically in a -pre-7.0 Vim, you can slightly modify the mapping given above -|vtw-630-skipping-over-the-closing-brace| to use the expression register -instead: - -> - inoremap ) =strpart(getline('.'), col('.')-1, 1) == ")" ? "\Right>" : ")" -< - -Note that we needed to treat the "\" text differently so that it is -expanded when the expression register is evaluated instead of when the mapping -is executed. - -SEE ALSO *vtw-630-see-also* - - Auto closing an HTML tag - [https://vim.fandom.com/wiki/Auto_closing_an_HTML_tag] using omni completion - to auto complete tags - - -COMMENTS *vtw-630-comments* - -20150813: Tested on Debian Unstable with Vim 7.4.712 -> Works perfect! - -CATEGORIES *vtw-630-cats* - -Brackets |vtw-by-category-brackets| -C |vtw-by-category-c| -Deprecated |vtw-by-category-deprecated| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-633.txt b/doc/vim-tips-wiki-633.txt deleted file mode 100644 index 6873eec..0000000 --- a/doc/vim-tips-wiki-633.txt +++ /dev/null @@ -1,25 +0,0 @@ -*vim-tips-wiki-633.txt* VimTip633 *vtw-633* - - - -Previous Tip |vtw-632| • Next Tip |vtw-634| - -TIP 633 HAS BEEN REMOVED *vtw-633-tip-633-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#633 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=633]. - -Tip 633 has been removed, see Talk:Candidates for deletion/Removed -[https://vim.fandom.com/wiki/Talk:Candidates_for_deletion/Removed] - -CATEGORIES *vtw-633-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-655.txt b/doc/vim-tips-wiki-655.txt deleted file mode 100644 index f0e765a..0000000 --- a/doc/vim-tips-wiki-655.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-655.txt* VimTip655 *vtw-655* - - - -Previous Tip |vtw-654| • Next Tip |vtw-656| - -TIP 655 HAS BEEN REMOVED *vtw-655-tip-655-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#655 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=655]. - - - -CATEGORIES *vtw-655-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-657.txt b/doc/vim-tips-wiki-657.txt deleted file mode 100644 index 7d88000..0000000 --- a/doc/vim-tips-wiki-657.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-657.txt* VimTip657 *vtw-657* - - - -Previous Tip |vtw-656| • Next Tip |vtw-658| - -TIP 657 DOES NOT EXIST *vtw-657-tip-657-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#657 [http://www.vim.org/tips/tip.php?tip_id=657]. - -CATEGORIES *vtw-657-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-661.txt b/doc/vim-tips-wiki-661.txt deleted file mode 100644 index 8a4cea8..0000000 --- a/doc/vim-tips-wiki-661.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-661.txt* VimTip661 *vtw-661* - - - -Previous Tip |vtw-660| • Next Tip |vtw-662| - -TIP 661 HAS BEEN REMOVED *vtw-661-tip-661-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#661 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=661]. - -Obsolete patch that is in current release. - -CATEGORIES *vtw-661-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-664.txt b/doc/vim-tips-wiki-664.txt deleted file mode 100644 index ded0e3a..0000000 --- a/doc/vim-tips-wiki-664.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-664.txt* VimTip664 *vtw-664* - - - -Previous Tip |vtw-662| • Next Tip |vtw-667| - -TIP 664 HAS BEEN REMOVED *vtw-664-tip-664-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#664 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=664]. - - - -CATEGORIES *vtw-664-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-666.txt b/doc/vim-tips-wiki-666.txt deleted file mode 100644 index 386ab2a..0000000 --- a/doc/vim-tips-wiki-666.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-666.txt* VimTip666 *vtw-666* - - - -Previous Tip |vtw-662| • Next Tip |vtw-667| - -TIP 666 HAS BEEN REMOVED *vtw-666-tip-666-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#666 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=666]. - - - -CATEGORIES *vtw-666-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-668.txt b/doc/vim-tips-wiki-668.txt deleted file mode 100644 index a1e5bc1..0000000 --- a/doc/vim-tips-wiki-668.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-668.txt* VimTip668 *vtw-668* - - - -Previous Tip |vtw-667| • Next Tip |vtw-669| - -TIP 668 HAS BEEN REMOVED *vtw-668-tip-668-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#668 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=668]. - -Merged to VimTip83 |vtw-83| - -CATEGORIES *vtw-668-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-674.txt b/doc/vim-tips-wiki-674.txt deleted file mode 100644 index d8d9cf5..0000000 --- a/doc/vim-tips-wiki-674.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-674.txt* VimTip674 *vtw-674* - - - -Previous Tip |vtw-673| • Next Tip |vtw-675| - -TIP 674 HAS BEEN REMOVED *vtw-674-tip-674-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#674 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=674]. - -Unhelpful for current Vim, or too hard to rewrite. - -CATEGORIES *vtw-674-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-678.txt b/doc/vim-tips-wiki-678.txt deleted file mode 100644 index dd16551..0000000 --- a/doc/vim-tips-wiki-678.txt +++ /dev/null @@ -1,255 +0,0 @@ -*vim-tips-wiki-678.txt* Running diff *vtw-678* - -Tip 416 [https://vim.fandom.com/wiki/Running_diff] Previous |vtw-414| Next |vtw-418| - -created 2003 · complexity basic · version 6.0 - -============================================================================== - -This tip is deprecated for the following reasons: - -At some point, the MyDiff function provided by the Vim without Cream -installer has been modified. As of Vim 7.3.138 it is still broken, but this -tip is no longer completely accurate in describing deficiencies of the MyDiff -function - -Vim is able to "diff" files (show the differences between similar files) -using an external diff program (Vim assumes you have a working diff program -that is not part of the Vim source). :help |diff| - -On Unix-based systems, Vim should work without problem because there should -be a "standard" diff program available. However, on other systems, some tricks -may be required in order to have Vim find your diff program. Furthermore, the -version of diff that you use may be different from that expected by Vim, for -example, it may require different command line options. A common way of -handling that situation is explained at :help |diff-diffexpr| where an example -shows a `MyDiff()` function that can pass any required command line to your -diff program. - -On Windows, many people use the "Windows Vim installers without Cream" setup -package to install Vim. That package (see below -|vtw-678-vim-distribution-from-cream| for details) has a bug in the way that -diff is installed. In addition, many other Windows users try to apply the -`MyDiff()` advice, and can encounter similar issues, even if using a Vim from -some other source. - -This tip explains how Windows users can overcome problems running diff from -within Vim. In addition, some of the options available when invoking diff are -explained. - -RECOMMENDED SOLUTION *vtw-678-recommended-solution* - -The best solution for Windows users is to download the GnuWin32 diff -[http://gnuwin32.sourceforge.net/packages/diffutils.htm] package and install -the "Complete package, except sources Setup". You also need to adjust your -PATH environment variable to include the installed bin directory. -Alternatively, you can copy the *.exe and *.dll files from that bin directory -to another directory that is already in your PATH. The current version of -GnuWin32 diff is 2.8.7. - -Then make sure that you do not configure Vim to use the '`diffexpr`' option. -For example, in your vimrc, you could delete lines that set `diffexpr`, or -that define a `MyDiff()` function. Or, you could manually enter the following -to clear the option: - -> - :set diffexpr= -< - -When `diffexpr` is not set, Vim will assume you have a standard diff program -in your PATH, and all diffs will work correctly (if the first diff program -found in the current directory or the directories listed in your PATH is in -fact GnuWin32 diff). - -If you have installed from the "Windows Vim installers without Cream" -download, you probably have a `diff.exe` (GnuWin32 diff 2.7) in the vim72 -directory (assuming Vim 7.2). In that case you do not need to download any -extra packages. Instead, you simply need to clear `diffexpr` so that the -broken `MyDiff()` function is not used. After restarting Vim, use command -`:echo $PATH` to check your PATH. You should see that the directory holding -`gvim.exe`, `vim.exe` and `diff.exe` has been added to the PATH. Therefore -(assuming you have no other diff programs), Vim should correctly invoke the -`diff.exe` provided with the "Vim without Cream" install, and all diffs should -work correctly. - -If errors prevent diff from running, use the verbose option to see how diff -is called. For example: - -> - gvim -V -od file1 file2 -< - -Vim may write temporary files when performing a diff. Therefore, you need -valid TEMP or TMP environment variables that point to an existing directory -where you are able to write files. For more information, see the tip on -handling temp environment errors |vtw-1532|. - -DIFF OPTIONS *vtw-678-diff-options* - -Some people vertically align variables and comments by adding or removing -whitespace. However, those trivial changes may clutter the output from diff -when you later compare the old and new files to check your changes. To ignore -whitespace in the diff, enter the command: - -> - set diffopt+=iwhite -< - -You can issue this command while viewing a diff (you may also need -`:diffupdate` to update the display), or you can add the command to your vimrc -so it is always in effect. :help 'diffopt' - -VIM DISTRIBUTION FROM CREAM *vtw-678-vim-distribution-from-cream* - -Where to download Vim [https://vim.fandom.com/wiki/Where_to_download_Vim] -mentions that Cream's "standard" Vim is a good place to download a fully -patched installation of Vim and gvim for Windows (using the "Windows Vim -installers without Cream" choice). However, versions upto 7.2.2 (and possibly -later) have a bug in the way that diff is installed. - -By default, the install creates directory `C:\Program Files\vim` which -contains only files `README_lang.txt` and `_vimrc`, and folder `vim72` which -contains the Vim files, including `gvim.exe`, as well as GNU Win32 `diff.exe` -(of course, the directory is `vim72` for version 7.2, or something different -for other versions). - -The `_vimrc` file has contents: - -> - set nocompatible - source $VIMRUNTIME/vimrc_example.vim - source $VIMRUNTIME/mswin.vim - behave mswin - - set diffexpr=MyDiff() - function MyDiff() - let opt = '' - if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif - if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif - silent execute '\"!C:\Program Files\vim\diff\" -a ' . opt . v:fname_in . ' ' . v:fname_new . ' > ' . v:fname_out - endfunction -< - -The bug appears when an attempt to use diff is made (in gvim for example, -with the File menu, "Split Diff with"). The following error occurs: - -> - Error detected while processing function MyDiff: - line 4: - E10: \ should be followed by /, ? or & -< - -After editing `_vimrc` to fix this error, a second error occurs: - -> - E97: Cannot create diffs -< - -As described above |vtw-678-recommended-solution|, the fix is simply to clear -`diffexpr` so the `MyDiff()` function is not used. However, if you need to use -the function, you can edit `_vimrc` to change line 4 of `MyDiff` by removing -the backslash before the double quotes, and by moving the bang (`!`) so it is -before the quoted path, and by changing the path to the location where -`diff.exe` occurs. The final correct line 4 is: - -> - silent execute '!"C:\Program Files\vim\vim72\diff" -a ' . opt . v:fname_in . ' ' . v:fname_new . ' > ' . v:fname_out -< - -Or even better, to remain compatible when you upgrade Vim, change the line -to: - -> - silent execute '!"'.$VIMRUNTIME.'\diff" -a ' . opt . v:fname_in . ' ' . v:fname_new . ' > ' . v:fname_out -< - -You may find that changing the line as follows works (the first diff found in -the current directory or directories of the PATH will be used): - -> - silent execute '!diff -a ' . opt . v:fname_in . ' ' . v:fname_new . ' > ' . v:fname_out -< - -After this change (and restarting Vim), diff works correctly. - -OTHER SOLUTIONS *vtw-678-other-solutions* - -If you need to use the `MyDiff()` function, another proposal that worked with -Vim 6.4 is shown below (it should probably use $VIMRUNTIME as above). - -> - if has('win32') - set diffexpr=MyDiff() - function! MyDiff() - let opt = '-a --binary ' - if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif - if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif - let arg1 = v:fname_in - if arg1 =~ ' ' | let arg1 = '"' . arg1 . '"' | endif - let arg2 = v:fname_new - if arg2 =~ ' ' | let arg2 = '"' . arg2 . '"' | endif - let arg3 = v:fname_out - if arg3 =~ ' ' | let arg3 = '"' . arg3 . '"' | endif - if &sh =~ '\ ' . arg3 . '"' - else - silent execute '!'.$VIM.'\vim64\diff.exe" ' . opt . arg1 . ' ' . arg2 . ' > ' . arg3 - endif - endfunction - endif -< - -COMMENTS *vtw-678-comments* - -TO DO - - Need ideas for a better name for this tip. - - Should check the "Recommended solution" which is my understanding of the - confusion behind all the misguided comments on the problem. - - Perhaps should give a little more prominence to the para on problems with - TEMP. - - Should expand the section on diff options, and add a short section showing - some usage examples (windo diffthis, diffoff! and a little more). - - Decide whether the "Other solutions" section is useful. - - -============================================================================== - -Under cygwin, I found that the backslashes in the path for the "execute" -command caused trouble. You should be able to fix this by changing each -backslash to a forward slash, or by changing each backslash with two -backslashes. - -I saw that I needed the fix after removing "silent" from the command so that -I could see exactly what was executed. - -============================================================================== - -There's no general solution to fix this problem out-of-the-box. It depends on -the idiosyncrasies of the command processor (shell) that is used to "silent -execute" the line. For instance, on my Windows XP I usually start gvim from a -4nt.exe command line, which in turn sets COMSPEC to be 4nt.exe instead of the -default cmd.exe. So, in my case, the simplest way to fix MyDiff is to change -it this way: - -> - silent execute '!C:\Progra~1\vim\vim63\diff -a ' . opt . v:fname_in . ' ' . v:fname_new . ' > ' . v:fname_out -< - -============================================================================== - -I use Windows 2000 with bash.exe [http://www.steve.org.uk/Software/bash/] and -UnixUtils [http://unxutils.sourceforge.net/]. - -I had to add `set shell=bash.exe` to my _vimrc to get it working. Of course -`bash.exe` must be in the PATH. - -============================================================================== - -CATEGORIES *vtw-678-cats* - -Windows |vtw-by-category-windows| -Deprecated |vtw-by-category-deprecated| -Todo |vtw-by-category-todo| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-702.txt b/doc/vim-tips-wiki-702.txt deleted file mode 100644 index 70bbcaf..0000000 --- a/doc/vim-tips-wiki-702.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-702.txt* VimTip702 *vtw-702* - - - -Previous Tip |vtw-701| • Next Tip |vtw-708| - -TIP 702 DOES NOT EXIST *vtw-702-tip-702-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#702 [http://www.vim.org/tips/tip.php?tip_id=702]. - -CATEGORIES *vtw-702-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-703.txt b/doc/vim-tips-wiki-703.txt deleted file mode 100644 index 34fbb9f..0000000 --- a/doc/vim-tips-wiki-703.txt +++ /dev/null @@ -1,21 +0,0 @@ -*vim-tips-wiki-703.txt* VimTip703 *vtw-703* - - - -Previous Tip |vtw-701| • Next Tip |vtw-708| - -TIP 703 DOES NOT EXIST *vtw-703-tip-703-does-not-exist* - -This tip was duplicated on the original vim.org web site, probably because -the author uploaded it more than once. Only the most up to date of the -duplicated tips |vtw-706| has been retained on this wiki. - -The original tip was at vim.org which may be in this archive Tip#703 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=703]. - -CATEGORIES *vtw-703-cats* - -OriginalDuplicate |vtw-by-category-originalduplicate| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-704.txt b/doc/vim-tips-wiki-704.txt deleted file mode 100644 index 59df032..0000000 --- a/doc/vim-tips-wiki-704.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-704.txt* VimTip704 *vtw-704* - - - -Previous Tip |vtw-701| • Next Tip |vtw-708| - -TIP 704 DOES NOT EXIST *vtw-704-tip-704-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#704 [http://www.vim.org/tips/tip.php?tip_id=704]. - -CATEGORIES *vtw-704-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-705.txt b/doc/vim-tips-wiki-705.txt deleted file mode 100644 index 7b0ae24..0000000 --- a/doc/vim-tips-wiki-705.txt +++ /dev/null @@ -1,21 +0,0 @@ -*vim-tips-wiki-705.txt* VimTip705 *vtw-705* - - - -Previous Tip |vtw-701| • Next Tip |vtw-708| - -TIP 705 DOES NOT EXIST *vtw-705-tip-705-does-not-exist* - -This tip was duplicated on the original vim.org web site, probably because -the author uploaded it more than once. Only the most up to date of the -duplicated tips |vtw-706| has been retained on this wiki. - -The original tip was at vim.org which may be in this archive Tip#705 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=705]. - -CATEGORIES *vtw-705-cats* - -OriginalDuplicate |vtw-by-category-originalduplicate| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-706.txt b/doc/vim-tips-wiki-706.txt deleted file mode 100644 index a1caa43..0000000 --- a/doc/vim-tips-wiki-706.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-706.txt* VimTip706 *vtw-706* - - - -Previous Tip |vtw-701| • Next Tip |vtw-708| - -TIP 706 HAS BEEN REMOVED *vtw-706-tip-706-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#706 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=706]. - -Merged to VimTip1005 |vtw-1005| - -CATEGORIES *vtw-706-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-707.txt b/doc/vim-tips-wiki-707.txt deleted file mode 100644 index 0ad9bd4..0000000 --- a/doc/vim-tips-wiki-707.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-707.txt* VimTip707 *vtw-707* - - - -Previous Tip |vtw-701| • Next Tip |vtw-708| - -TIP 707 HAS BEEN REMOVED *vtw-707-tip-707-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#707 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=707]. - -Not useful. No explanations, and doesn't accomplish much of anything anyway. - -CATEGORIES *vtw-707-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-715.txt b/doc/vim-tips-wiki-715.txt deleted file mode 100644 index 9626933..0000000 --- a/doc/vim-tips-wiki-715.txt +++ /dev/null @@ -1,255 +0,0 @@ -*vim-tips-wiki-715.txt* Running diff *vtw-715* - -Tip 416 [https://vim.fandom.com/wiki/Running_diff] Previous |vtw-414| Next |vtw-418| - -created 2003 · complexity basic · version 6.0 - -============================================================================== - -This tip is deprecated for the following reasons: - -At some point, the MyDiff function provided by the Vim without Cream -installer has been modified. As of Vim 7.3.138 it is still broken, but this -tip is no longer completely accurate in describing deficiencies of the MyDiff -function - -Vim is able to "diff" files (show the differences between similar files) -using an external diff program (Vim assumes you have a working diff program -that is not part of the Vim source). :help |diff| - -On Unix-based systems, Vim should work without problem because there should -be a "standard" diff program available. However, on other systems, some tricks -may be required in order to have Vim find your diff program. Furthermore, the -version of diff that you use may be different from that expected by Vim, for -example, it may require different command line options. A common way of -handling that situation is explained at :help |diff-diffexpr| where an example -shows a `MyDiff()` function that can pass any required command line to your -diff program. - -On Windows, many people use the "Windows Vim installers without Cream" setup -package to install Vim. That package (see below -|vtw-715-vim-distribution-from-cream| for details) has a bug in the way that -diff is installed. In addition, many other Windows users try to apply the -`MyDiff()` advice, and can encounter similar issues, even if using a Vim from -some other source. - -This tip explains how Windows users can overcome problems running diff from -within Vim. In addition, some of the options available when invoking diff are -explained. - -RECOMMENDED SOLUTION *vtw-715-recommended-solution* - -The best solution for Windows users is to download the GnuWin32 diff -[http://gnuwin32.sourceforge.net/packages/diffutils.htm] package and install -the "Complete package, except sources Setup". You also need to adjust your -PATH environment variable to include the installed bin directory. -Alternatively, you can copy the *.exe and *.dll files from that bin directory -to another directory that is already in your PATH. The current version of -GnuWin32 diff is 2.8.7. - -Then make sure that you do not configure Vim to use the '`diffexpr`' option. -For example, in your vimrc, you could delete lines that set `diffexpr`, or -that define a `MyDiff()` function. Or, you could manually enter the following -to clear the option: - -> - :set diffexpr= -< - -When `diffexpr` is not set, Vim will assume you have a standard diff program -in your PATH, and all diffs will work correctly (if the first diff program -found in the current directory or the directories listed in your PATH is in -fact GnuWin32 diff). - -If you have installed from the "Windows Vim installers without Cream" -download, you probably have a `diff.exe` (GnuWin32 diff 2.7) in the vim72 -directory (assuming Vim 7.2). In that case you do not need to download any -extra packages. Instead, you simply need to clear `diffexpr` so that the -broken `MyDiff()` function is not used. After restarting Vim, use command -`:echo $PATH` to check your PATH. You should see that the directory holding -`gvim.exe`, `vim.exe` and `diff.exe` has been added to the PATH. Therefore -(assuming you have no other diff programs), Vim should correctly invoke the -`diff.exe` provided with the "Vim without Cream" install, and all diffs should -work correctly. - -If errors prevent diff from running, use the verbose option to see how diff -is called. For example: - -> - gvim -V -od file1 file2 -< - -Vim may write temporary files when performing a diff. Therefore, you need -valid TEMP or TMP environment variables that point to an existing directory -where you are able to write files. For more information, see the tip on -handling temp environment errors |vtw-1532|. - -DIFF OPTIONS *vtw-715-diff-options* - -Some people vertically align variables and comments by adding or removing -whitespace. However, those trivial changes may clutter the output from diff -when you later compare the old and new files to check your changes. To ignore -whitespace in the diff, enter the command: - -> - set diffopt+=iwhite -< - -You can issue this command while viewing a diff (you may also need -`:diffupdate` to update the display), or you can add the command to your vimrc -so it is always in effect. :help 'diffopt' - -VIM DISTRIBUTION FROM CREAM *vtw-715-vim-distribution-from-cream* - -Where to download Vim [https://vim.fandom.com/wiki/Where_to_download_Vim] -mentions that Cream's "standard" Vim is a good place to download a fully -patched installation of Vim and gvim for Windows (using the "Windows Vim -installers without Cream" choice). However, versions upto 7.2.2 (and possibly -later) have a bug in the way that diff is installed. - -By default, the install creates directory `C:\Program Files\vim` which -contains only files `README_lang.txt` and `_vimrc`, and folder `vim72` which -contains the Vim files, including `gvim.exe`, as well as GNU Win32 `diff.exe` -(of course, the directory is `vim72` for version 7.2, or something different -for other versions). - -The `_vimrc` file has contents: - -> - set nocompatible - source $VIMRUNTIME/vimrc_example.vim - source $VIMRUNTIME/mswin.vim - behave mswin - - set diffexpr=MyDiff() - function MyDiff() - let opt = '' - if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif - if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif - silent execute '\"!C:\Program Files\vim\diff\" -a ' . opt . v:fname_in . ' ' . v:fname_new . ' > ' . v:fname_out - endfunction -< - -The bug appears when an attempt to use diff is made (in gvim for example, -with the File menu, "Split Diff with"). The following error occurs: - -> - Error detected while processing function MyDiff: - line 4: - E10: \ should be followed by /, ? or & -< - -After editing `_vimrc` to fix this error, a second error occurs: - -> - E97: Cannot create diffs -< - -As described above |vtw-715-recommended-solution|, the fix is simply to clear -`diffexpr` so the `MyDiff()` function is not used. However, if you need to use -the function, you can edit `_vimrc` to change line 4 of `MyDiff` by removing -the backslash before the double quotes, and by moving the bang (`!`) so it is -before the quoted path, and by changing the path to the location where -`diff.exe` occurs. The final correct line 4 is: - -> - silent execute '!"C:\Program Files\vim\vim72\diff" -a ' . opt . v:fname_in . ' ' . v:fname_new . ' > ' . v:fname_out -< - -Or even better, to remain compatible when you upgrade Vim, change the line -to: - -> - silent execute '!"'.$VIMRUNTIME.'\diff" -a ' . opt . v:fname_in . ' ' . v:fname_new . ' > ' . v:fname_out -< - -You may find that changing the line as follows works (the first diff found in -the current directory or directories of the PATH will be used): - -> - silent execute '!diff -a ' . opt . v:fname_in . ' ' . v:fname_new . ' > ' . v:fname_out -< - -After this change (and restarting Vim), diff works correctly. - -OTHER SOLUTIONS *vtw-715-other-solutions* - -If you need to use the `MyDiff()` function, another proposal that worked with -Vim 6.4 is shown below (it should probably use $VIMRUNTIME as above). - -> - if has('win32') - set diffexpr=MyDiff() - function! MyDiff() - let opt = '-a --binary ' - if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif - if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif - let arg1 = v:fname_in - if arg1 =~ ' ' | let arg1 = '"' . arg1 . '"' | endif - let arg2 = v:fname_new - if arg2 =~ ' ' | let arg2 = '"' . arg2 . '"' | endif - let arg3 = v:fname_out - if arg3 =~ ' ' | let arg3 = '"' . arg3 . '"' | endif - if &sh =~ '\ ' . arg3 . '"' - else - silent execute '!'.$VIM.'\vim64\diff.exe" ' . opt . arg1 . ' ' . arg2 . ' > ' . arg3 - endif - endfunction - endif -< - -COMMENTS *vtw-715-comments* - -TO DO - - Need ideas for a better name for this tip. - - Should check the "Recommended solution" which is my understanding of the - confusion behind all the misguided comments on the problem. - - Perhaps should give a little more prominence to the para on problems with - TEMP. - - Should expand the section on diff options, and add a short section showing - some usage examples (windo diffthis, diffoff! and a little more). - - Decide whether the "Other solutions" section is useful. - - -============================================================================== - -Under cygwin, I found that the backslashes in the path for the "execute" -command caused trouble. You should be able to fix this by changing each -backslash to a forward slash, or by changing each backslash with two -backslashes. - -I saw that I needed the fix after removing "silent" from the command so that -I could see exactly what was executed. - -============================================================================== - -There's no general solution to fix this problem out-of-the-box. It depends on -the idiosyncrasies of the command processor (shell) that is used to "silent -execute" the line. For instance, on my Windows XP I usually start gvim from a -4nt.exe command line, which in turn sets COMSPEC to be 4nt.exe instead of the -default cmd.exe. So, in my case, the simplest way to fix MyDiff is to change -it this way: - -> - silent execute '!C:\Progra~1\vim\vim63\diff -a ' . opt . v:fname_in . ' ' . v:fname_new . ' > ' . v:fname_out -< - -============================================================================== - -I use Windows 2000 with bash.exe [http://www.steve.org.uk/Software/bash/] and -UnixUtils [http://unxutils.sourceforge.net/]. - -I had to add `set shell=bash.exe` to my _vimrc to get it working. Of course -`bash.exe` must be in the PATH. - -============================================================================== - -CATEGORIES *vtw-715-cats* - -Windows |vtw-by-category-windows| -Deprecated |vtw-by-category-deprecated| -Todo |vtw-by-category-todo| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-721.txt b/doc/vim-tips-wiki-721.txt deleted file mode 100644 index 8564ce3..0000000 --- a/doc/vim-tips-wiki-721.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-721.txt* VimTip721 *vtw-721* - - - -Previous Tip |vtw-719| • Next Tip |vtw-725| - -TIP 721 HAS BEEN REMOVED *vtw-721-tip-721-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#721 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=721]. - -Merged to VimTip878 |vtw-878| - -CATEGORIES *vtw-721-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-722.txt b/doc/vim-tips-wiki-722.txt deleted file mode 100644 index 532388e..0000000 --- a/doc/vim-tips-wiki-722.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-722.txt* VimTip722 *vtw-722* - - - -Previous Tip |vtw-719| • Next Tip |vtw-725| - -TIP 722 HAS BEEN REMOVED *vtw-722-tip-722-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#722 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=722]. - - - -CATEGORIES *vtw-722-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-723.txt b/doc/vim-tips-wiki-723.txt deleted file mode 100644 index e5bc127..0000000 --- a/doc/vim-tips-wiki-723.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-723.txt* VimTip723 *vtw-723* - - - -Previous Tip |vtw-719| • Next Tip |vtw-725| - -TIP 723 HAS BEEN REMOVED *vtw-723-tip-723-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#723 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=723]. - - - -CATEGORIES *vtw-723-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-728.txt b/doc/vim-tips-wiki-728.txt deleted file mode 100644 index b168cb6..0000000 --- a/doc/vim-tips-wiki-728.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-728.txt* VimTip728 *vtw-728* - - - -Previous Tip |vtw-727| • Next Tip |vtw-732| - -TIP 728 DOES NOT EXIST *vtw-728-tip-728-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#728 [http://www.vim.org/tips/tip.php?tip_id=728]. - -CATEGORIES *vtw-728-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-729.txt b/doc/vim-tips-wiki-729.txt deleted file mode 100644 index 4264f11..0000000 --- a/doc/vim-tips-wiki-729.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-729.txt* VimTip729 *vtw-729* - - - -Previous Tip |vtw-727| • Next Tip |vtw-732| - -TIP 729 DOES NOT EXIST *vtw-729-tip-729-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#729 [http://www.vim.org/tips/tip.php?tip_id=729]. - -CATEGORIES *vtw-729-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-730.txt b/doc/vim-tips-wiki-730.txt deleted file mode 100644 index 0377b48..0000000 --- a/doc/vim-tips-wiki-730.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-730.txt* VimTip730 *vtw-730* - - - -Previous Tip |vtw-727| • Next Tip |vtw-732| - -TIP 730 DOES NOT EXIST *vtw-730-tip-730-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#730 [http://www.vim.org/tips/tip.php?tip_id=730]. - -CATEGORIES *vtw-730-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-731.txt b/doc/vim-tips-wiki-731.txt deleted file mode 100644 index bf227d4..0000000 --- a/doc/vim-tips-wiki-731.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-731.txt* VimTip731 *vtw-731* - - - -Previous Tip |vtw-727| • Next Tip |vtw-732| - -TIP 731 HAS BEEN REMOVED *vtw-731-tip-731-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#731 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=731]. - -Merged to Vim documentation [https://vim.fandom.com/wiki/Vim_documentation] - -CATEGORIES *vtw-731-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-740.txt b/doc/vim-tips-wiki-740.txt deleted file mode 100644 index 685e65d..0000000 --- a/doc/vim-tips-wiki-740.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-740.txt* VimTip740 *vtw-740* - - - -Previous Tip |vtw-739| • Next Tip |vtw-741| - -TIP 740 HAS BEEN REMOVED *vtw-740-tip-740-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#740 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=740]. - -URL is dead and tip content is likely to be out-of-date. - -CATEGORIES *vtw-740-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-744.txt b/doc/vim-tips-wiki-744.txt deleted file mode 100644 index df82546..0000000 --- a/doc/vim-tips-wiki-744.txt +++ /dev/null @@ -1,88 +0,0 @@ -*vim-tips-wiki-744.txt* Get latest releases for syntax highlighting, runtime, plugins etc *vtw-744* - -Tip 744 [https://vim.fandom.com/wiki/Get_latest_releases_for_syntax_highlighting,_runtime,_plugins_etc] Previous |vtw-743| Next |vtw-745| - -created 2004 · complexity basic · author Charles E. Campbell, Jr. · version -6.0 - -============================================================================== - -This tip is deprecated for the following reasons: - -''This tip is obsolete: use Mercurial instead; see building Vim -[https://vim.fandom.com/wiki/Building_Vim] and using Mercurial -[https://vim.fandom.com/wiki/Getting_the_Vim_source_with_Mercurial]. - -Do you want the latest, official syntax highlighting files, runtime scripts, -documents, macros, language support, plugins, etc? See - -> - ftp://ftp.home.vim.org/pub/vim/runtime - ftp://ftp.home.vim.org/pub/vim/runtime/colors - ftp://ftp.home.vim.org/pub/vim/runtime/compiler - ftp://ftp.home.vim.org/pub/vim/runtime/doc - ftp://ftp.home.vim.org/pub/vim/runtime/lang - ftp://ftp.home.vim.org/pub/vim/runtime/macros - ftp://ftp.home.vim.org/pub/vim/runtime/syntax - ftp://ftp.home.vim.org/pub/vim/runtime/tools -< - -Patches and whatnot are distributed on vim-dev, but typically don't contain -the updates to files in the directories above. If you're having a problem with -syntax highlighting, for instance, check the syntax repository above just in -case its been fixed already. - -In my own case, I put experimental versions of syntax highlighting files and -plugins that I maintain here [http://www.drchip.org/astronaut/vim/], such as -netrw.vim (netrw v46a now supports remote directory listing for example). - -COMMENTS *vtw-744-comments* - -If you have `rsync` installed, you can use it to synchronize your runtime -files. I use it to keep my "master" runtimes up-to-date, currently at -`~/.build/vim/vim72/runtime/`, as follows (the "parent" `vim72` directory -being the current directory): - -> - rsync -avzcP --delete --exclude="/dos/" ftp.nluug.nl::Vim/runtime/ ./runtime/ -< - -On Linux, I follow that by a `make installruntime` step if anything other -than `tags` has been updated. - -Note: Even on Windows, where I expect rsync to be available at least via -Cygwin and/or MinGW and/or GnuWin32, I recommend downloading the "Unix" -runtimes; even Vim for Windows can source them with no problem. It's true that -Notepad cannot display them correctly, but Wordpad can. — Tonymec -[https://vim.fandom.com/wiki/User:Tonymec] 05:45, 6 May 2009 (UTC) - -============================================================================== - -An alternative is to use an ftp mirroring tool (e.g. the fmirror tool -ftp://ftp.sunet.se/pub/nir/ftp/utilities/fmirror/ -[ftp://ftp.sunet.se/pub/nir/ftp/utilities/fmirror/] [link dead, fmirror seems -to be abandoned now]). To use this script, change into the vimXX/runtime -directory directory and run this: - -> - /usr/bin/fmirror -k \ - -l $HOME/src/vimXX/runtime \ - -p user@domain.com \ - -r /pub/vim/runtime \ - -s ftp.vim.org \ - -S -V3 -< - -After having updated the runtime files change into the vimXX/src directory(or -whatever version we're at) and do a "make installruntime". - -Note, replace the vimXX by whatever version of vim you are using (e.g. 73 for -Vim version 7.3) - -CATEGORIES *vtw-744-cats* - -Building Vim |vtw-by-category-building-vim| -Deprecated |vtw-by-category-deprecated| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-747.txt b/doc/vim-tips-wiki-747.txt deleted file mode 100644 index edda675..0000000 --- a/doc/vim-tips-wiki-747.txt +++ /dev/null @@ -1,88 +0,0 @@ -*vim-tips-wiki-747.txt* Get latest releases for syntax highlighting, runtime, plugins etc *vtw-747* - -Tip 744 [https://vim.fandom.com/wiki/Get_latest_releases_for_syntax_highlighting,_runtime,_plugins_etc] Previous |vtw-743| Next |vtw-745| - -created 2004 · complexity basic · author Charles E. Campbell, Jr. · version -6.0 - -============================================================================== - -This tip is deprecated for the following reasons: - -''This tip is obsolete: use Mercurial instead; see building Vim -[https://vim.fandom.com/wiki/Building_Vim] and using Mercurial -[https://vim.fandom.com/wiki/Getting_the_Vim_source_with_Mercurial]. - -Do you want the latest, official syntax highlighting files, runtime scripts, -documents, macros, language support, plugins, etc? See - -> - ftp://ftp.home.vim.org/pub/vim/runtime - ftp://ftp.home.vim.org/pub/vim/runtime/colors - ftp://ftp.home.vim.org/pub/vim/runtime/compiler - ftp://ftp.home.vim.org/pub/vim/runtime/doc - ftp://ftp.home.vim.org/pub/vim/runtime/lang - ftp://ftp.home.vim.org/pub/vim/runtime/macros - ftp://ftp.home.vim.org/pub/vim/runtime/syntax - ftp://ftp.home.vim.org/pub/vim/runtime/tools -< - -Patches and whatnot are distributed on vim-dev, but typically don't contain -the updates to files in the directories above. If you're having a problem with -syntax highlighting, for instance, check the syntax repository above just in -case its been fixed already. - -In my own case, I put experimental versions of syntax highlighting files and -plugins that I maintain here [http://www.drchip.org/astronaut/vim/], such as -netrw.vim (netrw v46a now supports remote directory listing for example). - -COMMENTS *vtw-747-comments* - -If you have `rsync` installed, you can use it to synchronize your runtime -files. I use it to keep my "master" runtimes up-to-date, currently at -`~/.build/vim/vim72/runtime/`, as follows (the "parent" `vim72` directory -being the current directory): - -> - rsync -avzcP --delete --exclude="/dos/" ftp.nluug.nl::Vim/runtime/ ./runtime/ -< - -On Linux, I follow that by a `make installruntime` step if anything other -than `tags` has been updated. - -Note: Even on Windows, where I expect rsync to be available at least via -Cygwin and/or MinGW and/or GnuWin32, I recommend downloading the "Unix" -runtimes; even Vim for Windows can source them with no problem. It's true that -Notepad cannot display them correctly, but Wordpad can. — Tonymec -[https://vim.fandom.com/wiki/User:Tonymec] 05:45, 6 May 2009 (UTC) - -============================================================================== - -An alternative is to use an ftp mirroring tool (e.g. the fmirror tool -ftp://ftp.sunet.se/pub/nir/ftp/utilities/fmirror/ -[ftp://ftp.sunet.se/pub/nir/ftp/utilities/fmirror/] [link dead, fmirror seems -to be abandoned now]). To use this script, change into the vimXX/runtime -directory directory and run this: - -> - /usr/bin/fmirror -k \ - -l $HOME/src/vimXX/runtime \ - -p user@domain.com \ - -r /pub/vim/runtime \ - -s ftp.vim.org \ - -S -V3 -< - -After having updated the runtime files change into the vimXX/src directory(or -whatever version we're at) and do a "make installruntime". - -Note, replace the vimXX by whatever version of vim you are using (e.g. 73 for -Vim version 7.3) - -CATEGORIES *vtw-747-cats* - -Building Vim |vtw-by-category-building-vim| -Deprecated |vtw-by-category-deprecated| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-756.txt b/doc/vim-tips-wiki-756.txt deleted file mode 100644 index 9763a90..0000000 --- a/doc/vim-tips-wiki-756.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-756.txt* VimTip756 *vtw-756* - - - -Previous Tip |vtw-755| • Next Tip |vtw-757| - -TIP 756 HAS BEEN REMOVED *vtw-756-tip-756-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#756 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=756]. - - - -CATEGORIES *vtw-756-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-764.txt b/doc/vim-tips-wiki-764.txt deleted file mode 100644 index 1e0f0f2..0000000 --- a/doc/vim-tips-wiki-764.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-764.txt* VimTip764 *vtw-764* - - - -Previous Tip |vtw-763| • Next Tip |vtw-766| - -TIP 764 HAS BEEN REMOVED *vtw-764-tip-764-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#764 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=764]. - - - -CATEGORIES *vtw-764-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-77.txt b/doc/vim-tips-wiki-77.txt deleted file mode 100644 index a370840..0000000 --- a/doc/vim-tips-wiki-77.txt +++ /dev/null @@ -1,25 +0,0 @@ -*vim-tips-wiki-77.txt* VimTip77 *vtw-77* - - - -Previous Tip |vtw-76| • Next Tip |vtw-78| - -TIP 77 HAS BEEN REMOVED *vtw-77-tip-77-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#77 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=77]. - -Tip 77 has been merged to Folding with Regular Expression -[https://vim.fandom.com/wiki/Folding_with_Regular_Expression] - -CATEGORIES *vtw-77-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-777.txt b/doc/vim-tips-wiki-777.txt deleted file mode 100644 index 3a9f883..0000000 --- a/doc/vim-tips-wiki-777.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-777.txt* VimTip777 *vtw-777* - - - -Previous Tip |vtw-776| • Next Tip |vtw-778| - -TIP 777 HAS BEEN REMOVED *vtw-777-tip-777-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#777 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=777]. - -Merged to VimTip171 |vtw-171| - -CATEGORIES *vtw-777-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-780.txt b/doc/vim-tips-wiki-780.txt deleted file mode 100644 index 2c77442..0000000 --- a/doc/vim-tips-wiki-780.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-780.txt* VimTip780 *vtw-780* - - - -Previous Tip |vtw-779| • Next Tip |vtw-781| - -TIP 780 HAS BEEN REMOVED *vtw-780-tip-780-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#780 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=780]. - -Merged to VimTip171 |vtw-171| - -CATEGORIES *vtw-780-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-788.txt b/doc/vim-tips-wiki-788.txt deleted file mode 100644 index a1bb265..0000000 --- a/doc/vim-tips-wiki-788.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-788.txt* VimTip788 *vtw-788* - - - -Previous Tip |vtw-787| • Next Tip |vtw-789| - -TIP 788 DOES NOT EXIST *vtw-788-tip-788-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#788 [http://www.vim.org/tips/tip.php?tip_id=788]. - -CATEGORIES *vtw-788-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-795.txt b/doc/vim-tips-wiki-795.txt deleted file mode 100644 index 5ea04f7..0000000 --- a/doc/vim-tips-wiki-795.txt +++ /dev/null @@ -1,167 +0,0 @@ -*vim-tips-wiki-795.txt* Simulating arrays with Vim *vtw-795* - -Tip 795 [https://vim.fandom.com/wiki/Simulating_arrays_with_Vim] Previous |vtw-794| Next |vtw-796| - -created September 21, 2004 · complexity advanced · author rja · version 5.7 - -============================================================================== - -This tip is deprecated for the following reasons: - -Vim7 added support for support for the List type for built-in arrays. See -:help Lists. - -It is possible to simulate arrays in Vim, without recourse to third party -scripts or libraries. This can be done by dynamically constructing variable -names, and then referencing their data. - -For example, implementing a 1 dimensional array : - -> - :let interests_0="Running" - :let interests_1="Swimming" - :let interests_2="Inline Skating" - :let interests_3="Cycling" - :let j = 0 - :while j < 4 - : let entry = 'interests_' . j - : echo entry . ':' - : echo {entry} - : let j = j + 1 - :endwhile -< - -This can be extended to 2 or more dimensional arrays : - -> - :let interests_0_0="Walking" - :let interests_0_1="Running" - :let interests_0_2="Jogging" - :let interests_1_0="Backstroke" - :let interests_1_1="Butterfly" - :let interests_1_2="Front Crawl" - :let j = 0 - :while j < 2 - : let i = 0 - : while i < 3 - : let entry = 'interests_' . j . '_' . i - : echo entry . ':' - : echo {entry} - : let i = i + 1 - : endwhile - : let j = j + 1 - :endwhile -< - -Or arrays of records : - -> - :let academic_0_graduation_year="1995" - :let academic_0_college="Bristol Polytechnic" - :let academic_1_graduation_year="1998" - :let academic_1_college="Bristol University" - :let j = 0 - :while j < 2 - : let year = 'academic_' . j . '_graduation_year' - : echo {year} - : let college = 'academic_' . j . '_college' - : echo {college} - : let j = j + 1 - :endwhile -< - -REFERENCES *vtw-795-references* - - :help |internal-variables| - - :help |curly-braces-names| - - -COMMENTS *vtw-795-comments* - -In the same sense another possibility: - -(Or to :h curly_brace_names:) - -Let's assume your 12 keys are: - -> - one - two - ... - twelve -< - -which have associated entries - -> - 1 - 2 - ... - 12 -< - -To store 'em: - -> - table_{"one"}= 1 - table_{"two"}= 2 - table_{"three"}= 3 - ... -< - -Or if you'd prefer the opposite direction, - -> - itable_{1}= "one" - itable_{2}= "two" - ... -< - -A loop: - -> - let i=1 - while i <= 12 - echo "itable[".i."]=<".itable_{i}.">" - echo "table[".itable_{i}."]=<".table_{itable_{i}}.">" - endwhile -< - -Example: - -> - function! Show_table() - let itable_{1}= "one" - let itable_{2}= "two" - let itable_{3}= "three" - let itable_{4}= "four" - let itable_{5}= "five" - let itable_{6}= "six" - let itable_{7}= "seven" - let i=1 - while i <= 7 - echo "itable[".i."]=<".itable_{i}.">" - let i=i+1 - endwhile - endfunction -< - -Output: - -> - itable[1]= - itable[2]= - itable[3]= - itable[4]= - itable[5]= - itable[6]= - itable[7]= -< - -============================================================================== - -CATEGORIES *vtw-795-cats* - -Deprecated |vtw-by-category-deprecated| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-810.txt b/doc/vim-tips-wiki-810.txt deleted file mode 100644 index 803798f..0000000 --- a/doc/vim-tips-wiki-810.txt +++ /dev/null @@ -1,196 +0,0 @@ -*vim-tips-wiki-810.txt* Highlight long lines *vtw-810* - -Tip 810 [https://vim.fandom.com/wiki/Highlight_long_lines] Previous |vtw-809| Next |vtw-812| - -created 2004 · complexity intermediate · author Nitin Raut · version 6.0 - -============================================================================== - -This tip is deprecated for the following reasons: - -Vim 7.3 adds the 'colorcolumn' option which allows you to highlight a -specific column. The methods herein may be useful for some users however. - -There are a number of situations where it can be helpful to know when you are -near, or have exceeded a certain column width (say 80 columns). Vim's -highlighting features can be used to easily identify when this occurs. Unlike -some editors, Vim cannot show a line at this width. - -You can also wrap long lines |vtw-38|, or show `<` > flags when characters -are not displayed |vtw-396#HighlightLongLines| on long lines. - -SEARCHING *vtw-810-searching* - -A quick method to find long lines is a search like the following. If you use -search highlighting |vtw-14| (`:set hlsearch`), this will highlight all text -after virtual column 80 (after tabs are expanded). - -> - /\%>80v.\+ -< - -MATCHING *vtw-810-matching* - -A simple command will highlight any text after virtual column 80: - -> - :match ErrorMsg '\%>80v.\+' -< - -Of course, you can define your own highlight groups |vtw-24| if ErrorMsg is -not to your taste. Enter `:match` to clear matching. - -Alternatively, you can just highlight any character in column 81. This is -less visually aggressive if you have lines that extend past 80 characters, and -thus is more suited to being placed in your .vimrc and left on all the time. - -> - :2mat ErrorMsg '\%81v.' -< - -REPLACING *vtw-810-replacing* - -Command to replace line text >80 chars from the previous word boundary to -'...': - -> - :g/\%>79v/norm 77|gElC... -< - -Credit to Accolade from #vim on Freenode. - -AUTOMATIC MATCHING *vtw-810-automatic-matching* - -If you want to be warned whenever text exceeds 80 columns you can use -matching. In Vim 7.2 this is easy to achieve with the following commands (the -`-1` means any search highlighting will override the match highlighting): - -> - :let w:m1=matchadd('Search', '\%<81v.\%>77v', -1) - :let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1) -< - -You can apply this highlighting automatically for all files with something -like this in your vimrc [https://vim.fandom.com/wiki/Vimrc]: - -> - :au BufWinEnter * let w:m1=matchadd('Search', '\%<81v.\%>77v', -1) - :au BufWinEnter * let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1) -< - -You can change the `*` to a different pattern, or a comma-separated list, to -make it work only for certain file types like `*.c,*.h` for example. - -Since matches are local to a window and are not inherited when a new window -is created, this method will not necessarily apply to all new windows you -create. It will be pretty close, but if you really want to highlight in all -windows, you will need to apply the highlighting whenever you detect a window -creation [https://vim.fandom.com/wiki/Detect_window_creation_with_WinEnter]. - -Clear the highlighting with: - -> - :call matchdelete(w:m1) - :call matchdelete(w:m2) -< - -Alternatively, the following command will clear all matches that have been -defined for this window: - -> - :call clearmatches() -< - -AUTOMATIC MATCHING (FOR VIM BEFORE VERSION 7.1.40) *vtw-810-automatic-matching-(for-vim-before-version-7.1.40)* - -For earlier versions of Vim, the following is a close approximation: - -> - :syntax match Search /\%<81v.\%>77v/ - :syntax match ErrorMsg /\%>80v.\+/ -< - -> - :au BufRead,BufNewFile * syntax match Search /\%<81v.\%>77v/ - :au BufRead,BufNewFile * syntax match ErrorMsg /\%>80v.\+/ -< - -Note the use of BufRead and BufNewFile instead of BufWinEnter. Unlike -matches, syntax is local to the buffer instead of the window. - -Clear the highlighting (after saving any changes) with: - -> - :e -< - -This assumes you are editing a file using syntax rules contained in a syntax -file (which usually do a `syntax clear` before applying their rules). If you -are editing a file with no pre-existing syntax rules, you can get rid of all -syntax highlighting with: - -> - :syntax clear -< - -TOGGLE MATCHING BASED ON TEXTWIDTH *vtw-810-toggle-matching-based-on-textwidth* - -If you don't like to always highlight long lines, but you want a fast way to -check your line length, you can define a mapping to toggle highlighting -on/off. This also allows you to easily define the highlight in terms of the -'textwidth' option. The mapping could look like this: - -> - nnoremap l - \ :if exists('w:long_line_match') - \ silent! call matchdelete(w:long_line_match) - \ unlet w:long_line_match - \ elseif &textwidth > 0 - \ let w:long_line_match = matchadd('ErrorMsg', '\%>'.&tw.'v.\+', -1) - \ else - \ let w:long_line_match = matchadd('ErrorMsg', '\%>80v.\+', -1) - \ endif -< - -EXPLANATION *vtw-810-explanation* - -The search pattern \%>80v.\+ checks for a match at each position. If the -position being tested is at a virtual column above 80, the text at that -position is checked to see if it matches what follows (`.\+`). That matches -one or more characters, up to but not including the end-of-line. - -A simpler pattern such as `\%81v.*` fails to highlight text past the limit if -there is no character in virtual column 81, for example if a tab starts just -before that column. Furthermore, `\%81v.*` can give an erroneous highlight of -column 81 on lines of exactly 80 characters. - -The pattern \%<81v.\%>77v matches any character at virtual column 77 to 80 -inclusive. The pattern checks for a match at each position: `\%<81v.` matches -any character at a virtual column below 81; \%>77v causes the match to fail -unless the virtual column of the next character is above 77. - -REFERENCES *vtw-810-references* - - :help |matchadd()| - - :help |:match| - - :help |/\%v| - - -COMMENTS *vtw-810-comments* - -Textwidth-based matching can be made automatic using the OptionSet autocmd -event introduced in Vim 7.4.786 -[https://github.com/vim/vim/releases/tag/v7.4.786]. I'm not spending time to -figure out an exact script at the moment since I've personally switched over -to the 'colorcolumn' option. --Fritzophrenic -[https://vim.fandom.com/wiki/User:Fritzophrenic] (talk -[https://vim.fandom.com/wiki/User_talk:Fritzophrenic]) 16:10, September 2, -2015 (UTC) - -CATEGORIES *vtw-810-cats* - -Syntax |vtw-by-category-syntax| -Temporary |vtw-by-category-temporary| -Deprecated |vtw-by-category-deprecated| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-811.txt b/doc/vim-tips-wiki-811.txt deleted file mode 100644 index 0355c35..0000000 --- a/doc/vim-tips-wiki-811.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-811.txt* VimTip811 *vtw-811* - - - -Previous Tip |vtw-810| • Next Tip |vtw-812| - -TIP 811 HAS BEEN REMOVED *vtw-811-tip-811-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#811 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=811]. - -Merged to VimTip396 |vtw-396| - -CATEGORIES *vtw-811-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-815.txt b/doc/vim-tips-wiki-815.txt deleted file mode 100644 index 8a4fb73..0000000 --- a/doc/vim-tips-wiki-815.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-815.txt* VimTip815 *vtw-815* - - - -Previous Tip |vtw-814| • Next Tip |vtw-816| - -TIP 815 HAS BEEN REMOVED *vtw-815-tip-815-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#815 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=815]. - - - -CATEGORIES *vtw-815-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-820.txt b/doc/vim-tips-wiki-820.txt deleted file mode 100644 index f09ba61..0000000 --- a/doc/vim-tips-wiki-820.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-820.txt* VimTip820 *vtw-820* - - - -Previous Tip |vtw-819| • Next Tip |vtw-822| - -TIP 820 HAS BEEN REMOVED *vtw-820-tip-820-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#820 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=820]. - - - -CATEGORIES *vtw-820-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-821.txt b/doc/vim-tips-wiki-821.txt deleted file mode 100644 index 4881ca8..0000000 --- a/doc/vim-tips-wiki-821.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-821.txt* VimTip821 *vtw-821* - - - -Previous Tip |vtw-819| • Next Tip |vtw-822| - -TIP 821 HAS BEEN REMOVED *vtw-821-tip-821-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#821 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=821]. - -Merged to VimTip686 |vtw-686| - -CATEGORIES *vtw-821-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-827.txt b/doc/vim-tips-wiki-827.txt deleted file mode 100644 index f243dcc..0000000 --- a/doc/vim-tips-wiki-827.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-827.txt* VimTip827 *vtw-827* - - - -Previous Tip |vtw-826| • Next Tip |vtw-828| - -TIP 827 HAS BEEN REMOVED *vtw-827-tip-827-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#827 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=827]. - -Merged to VimTip1312 |vtw-1312| - -CATEGORIES *vtw-827-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-836.txt b/doc/vim-tips-wiki-836.txt deleted file mode 100644 index ab5bf7f..0000000 --- a/doc/vim-tips-wiki-836.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-836.txt* VimTip836 *vtw-836* - - - -Previous Tip |vtw-835| • Next Tip |vtw-837| - -TIP 836 DOES NOT EXIST *vtw-836-tip-836-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#836 [http://www.vim.org/tips/tip.php?tip_id=836]. - -CATEGORIES *vtw-836-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-838.txt b/doc/vim-tips-wiki-838.txt deleted file mode 100644 index 59c0837..0000000 --- a/doc/vim-tips-wiki-838.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-838.txt* VimTip838 *vtw-838* - - - -Previous Tip |vtw-837| • Next Tip |vtw-840| - -TIP 838 DOES NOT EXIST *vtw-838-tip-838-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#838 [http://www.vim.org/tips/tip.php?tip_id=838]. - -CATEGORIES *vtw-838-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-839.txt b/doc/vim-tips-wiki-839.txt deleted file mode 100644 index ad31658..0000000 --- a/doc/vim-tips-wiki-839.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-839.txt* VimTip839 *vtw-839* - - - -Previous Tip |vtw-837| • Next Tip |vtw-840| - -TIP 839 HAS BEEN REMOVED *vtw-839-tip-839-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#839 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=839]. - - - -CATEGORIES *vtw-839-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-841.txt b/doc/vim-tips-wiki-841.txt deleted file mode 100644 index 82ccb59..0000000 --- a/doc/vim-tips-wiki-841.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-841.txt* VimTip841 *vtw-841* - - - -Previous Tip |vtw-840| • Next Tip |vtw-842| - -TIP 841 HAS BEEN REMOVED *vtw-841-tip-841-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#841 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=841]. - -Merged to Vim documentation [https://vim.fandom.com/wiki/Vim_documentation] - -CATEGORIES *vtw-841-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-845.txt b/doc/vim-tips-wiki-845.txt deleted file mode 100644 index eae95ce..0000000 --- a/doc/vim-tips-wiki-845.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-845.txt* VimTip845 *vtw-845* - - - -Previous Tip |vtw-844| • Next Tip |vtw-846| - -TIP 845 HAS BEEN REMOVED *vtw-845-tip-845-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#845 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=845]. - -Merged to VimTip1312 |vtw-1312| - -CATEGORIES *vtw-845-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-849.txt b/doc/vim-tips-wiki-849.txt deleted file mode 100644 index d84487c..0000000 --- a/doc/vim-tips-wiki-849.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-849.txt* VimTip849 *vtw-849* - - - -Previous Tip |vtw-848| • Next Tip |vtw-850| - -TIP 849 HAS BEEN REMOVED *vtw-849-tip-849-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#849 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=849]. - - - -CATEGORIES *vtw-849-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-854.txt b/doc/vim-tips-wiki-854.txt deleted file mode 100644 index 5861713..0000000 --- a/doc/vim-tips-wiki-854.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-854.txt* VimTip854 *vtw-854* - - - -Previous Tip |vtw-853| • Next Tip |vtw-857| - -TIP 854 DOES NOT EXIST *vtw-854-tip-854-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#854 [http://www.vim.org/tips/tip.php?tip_id=854]. - -CATEGORIES *vtw-854-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-855.txt b/doc/vim-tips-wiki-855.txt deleted file mode 100644 index dc7856e..0000000 --- a/doc/vim-tips-wiki-855.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-855.txt* VimTip855 *vtw-855* - - - -Previous Tip |vtw-853| • Next Tip |vtw-857| - -TIP 855 HAS BEEN REMOVED *vtw-855-tip-855-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#855 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=855]. - - - -CATEGORIES *vtw-855-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-856.txt b/doc/vim-tips-wiki-856.txt deleted file mode 100644 index a98bb80..0000000 --- a/doc/vim-tips-wiki-856.txt +++ /dev/null @@ -1,21 +0,0 @@ -*vim-tips-wiki-856.txt* VimTip856 *vtw-856* - - - -Previous Tip |vtw-853| • Next Tip |vtw-857| - -TIP 856 DOES NOT EXIST *vtw-856-tip-856-does-not-exist* - -This tip was duplicated on the original vim.org web site, probably because -the author uploaded it more than once. Only the most up to date of the -duplicated tips |vtw-857| has been retained on this wiki. - -The original tip was at vim.org which may be in this archive Tip#856 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=856]. - -CATEGORIES *vtw-856-cats* - -OriginalDuplicate |vtw-by-category-originalduplicate| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-865.txt b/doc/vim-tips-wiki-865.txt deleted file mode 100644 index 025294c..0000000 --- a/doc/vim-tips-wiki-865.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-865.txt* VimTip865 *vtw-865* - - - -Previous Tip |vtw-864| • Next Tip |vtw-868| - -TIP 865 HAS BEEN REMOVED *vtw-865-tip-865-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#865 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=865]. - - - -CATEGORIES *vtw-865-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-866.txt b/doc/vim-tips-wiki-866.txt deleted file mode 100644 index 3fd134b..0000000 --- a/doc/vim-tips-wiki-866.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-866.txt* VimTip866 *vtw-866* - - - -Previous Tip |vtw-864| • Next Tip |vtw-868| - -TIP 866 HAS BEEN REMOVED *vtw-866-tip-866-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#866 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=866]. - -Merged to VimTip356 |vtw-356| - -CATEGORIES *vtw-866-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-870.txt b/doc/vim-tips-wiki-870.txt deleted file mode 100644 index 25a2dd5..0000000 --- a/doc/vim-tips-wiki-870.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-870.txt* VimTip870 *vtw-870* - - - -Previous Tip |vtw-869| • Next Tip |vtw-872| - -TIP 870 HAS BEEN REMOVED *vtw-870-tip-870-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#870 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=870]. - -Unhelpful for current Vim, or too hard to rewrite. - -CATEGORIES *vtw-870-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-871.txt b/doc/vim-tips-wiki-871.txt deleted file mode 100644 index 22a87e1..0000000 --- a/doc/vim-tips-wiki-871.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-871.txt* VimTip871 *vtw-871* - - - -Previous Tip |vtw-869| • Next Tip |vtw-872| - -TIP 871 HAS BEEN REMOVED *vtw-871-tip-871-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#871 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=871]. - -Merged to VimTip1009 |vtw-1009| - -CATEGORIES *vtw-871-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-877.txt b/doc/vim-tips-wiki-877.txt deleted file mode 100644 index e76dfab..0000000 --- a/doc/vim-tips-wiki-877.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-877.txt* VimTip877 *vtw-877* - - - -Previous Tip |vtw-876| • Next Tip |vtw-878| - -TIP 877 HAS BEEN REMOVED *vtw-877-tip-877-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#877 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=877]. - -Merged to VimTip667 |vtw-667| - -CATEGORIES *vtw-877-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-881.txt b/doc/vim-tips-wiki-881.txt deleted file mode 100644 index 33426d7..0000000 --- a/doc/vim-tips-wiki-881.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-881.txt* VimTip881 *vtw-881* - - - -Previous Tip |vtw-880| • Next Tip |vtw-882| - -TIP 881 DOES NOT EXIST *vtw-881-tip-881-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#881 [http://www.vim.org/tips/tip.php?tip_id=881]. - -CATEGORIES *vtw-881-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-887.txt b/doc/vim-tips-wiki-887.txt deleted file mode 100644 index 1fd7935..0000000 --- a/doc/vim-tips-wiki-887.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-887.txt* VimTip887 *vtw-887* - - - -Previous Tip |vtw-886| • Next Tip |vtw-888| - -TIP 887 HAS BEEN REMOVED *vtw-887-tip-887-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#887 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=887]. - - - -CATEGORIES *vtw-887-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-890.txt b/doc/vim-tips-wiki-890.txt deleted file mode 100644 index 73cbe2e..0000000 --- a/doc/vim-tips-wiki-890.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-890.txt* VimTip890 *vtw-890* - - - -Previous Tip |vtw-889| • Next Tip |vtw-891| - -TIP 890 HAS BEEN REMOVED *vtw-890-tip-890-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#890 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=890]. - -Merged to VimTip97 |vtw-97| - -CATEGORIES *vtw-890-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-901.txt b/doc/vim-tips-wiki-901.txt deleted file mode 100644 index 471156d..0000000 --- a/doc/vim-tips-wiki-901.txt +++ /dev/null @@ -1,95 +0,0 @@ -*vim-tips-wiki-901.txt* Text objects for strings *vtw-901* - - - -This tip is deprecated for the following reasons: - -This is now part of Vim 7(.1?)Tip 901 [https://vim.fandom.com/wiki/Text_objects_for_strings] Previous |vtw-900| Next |vtw-902| - -created 2005 · complexity intermediate · author joern_h · version 6.0 - -============================================================================== - -This function adds support for common operations on string text objects like: - - `di"` Delete Inner String. - - ca' Change A String. - - -and so on. Strings have to be on one line. See :help |text-objects| for a -description of other predefined text objects. - -> - function! JHStringObject(cmd,delim,mode) - if a:mode == 'i' - let c = 'normal T' . a:delim . a:cmd . 't' . a:delim - elseif a:mode == 'a' - let c = 'normal F' . a:delim . a:cmd . 'f' . a:delim - endif - execute c - if a:cmd == 'c' - normal l - startinsert - endif - endfunction - nnoremap di" :call JHStringObject('d','"','i') - nnoremap di' :call JHStringObject('d',"'",'i') - nnoremap da" :call JHStringObject('d','"','a') - nnoremap da' :call JHStringObject('d',"'",'a') - nnoremap ci" :call JHStringObject('c','"','i') - nnoremap ci' :call JHStringObject('c',"'",'i') - nnoremap ca" :call JHStringObject('c','"','a') - nnoremap ca' :call JHStringObject('c',"'",'a') - nnoremap yi" :call JHStringObject('y','"','i') - nnoremap yi' :call JHStringObject('y',"'",'i') - nnoremap ya" :call JHStringObject('y','"','a') - nnoremap ya' :call JHStringObject('y',"'",'a') -< - -COMMENTS *vtw-901-comments* - -I think the tips must begin with a problem definition, not a defintion of the -solution. Usually, we look for a tip that is solving a problem we faced. By -looking at a snazzy solution, we have no way of telling what context would it -apply to us. An example would help. - -============================================================================== - -Another way to define text objects is using the omap command like this: - -> - function! StringObject(delim,mode) - if a:mode == 'i' - let c = 'normal T' . a:delim . 'vt' . a:delim - elseif a:mode == 'a' - let c = 'normal F' . a:delim . 'vf' . a:delim - endif - execute c - endfunction - omap a" :call StringObject('"','a') - omap i" :call StringObject('"','i') - omap a' :call StringObject("'",'a') - omap i' :call StringObject("'",'i') -< - -Using this method allows you to use all the built-in Vim operators on -StringObjects without defining four mappings for each operator. - -To get equivalent visual mode mappings add to the start: - -> - vmap a" :call StringObject('"','a') - vmap i" :call StringObject('"','i') - vmap a' :call StringObject("'",'a') - vmap i' :call StringObject("'",'i') -< - -============================================================================== - -CATEGORIES *vtw-901-cats* - -Review |vtw-by-category-review| -Deprecated |vtw-by-category-deprecated| -Map |vtw-by-category-map| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-916.txt b/doc/vim-tips-wiki-916.txt deleted file mode 100644 index fce0b8a..0000000 --- a/doc/vim-tips-wiki-916.txt +++ /dev/null @@ -1,139 +0,0 @@ -*vim-tips-wiki-916.txt* View only what you are editing *vtw-916* - - - -This tip is deprecated for the following reasons: - -Syntax folding is a much better way to accomplish this. Many syntax files -(including C and Perl) already define this folding, or you can make your own.Tip 916 [https://vim.fandom.com/wiki/View_only_what_you_are_editing] Previous |vtw-915| Next |vtw-917| - -created 2005 · complexity basic · author Ethan Mallove · version 6.0 - -============================================================================== - -Ever have a giant file with many function definitions you want to hide while -you edit only a few functions? Folding (see :help |:fold|) is a great way to -"shrink" a file down to size, while you concentrate on a few fragments of the -file you're editing. Putting the following Vim function definition in a file -(I always name it ".vimrc") in the same directory as the file you're editing, -allows you to hide all the functions you want (provided you bracket using the -style below, notice the {}'s on their own lines): - -> - sub foo - { - some code ... - } -< - -To use it, source the file, then do :call HideFunctionDefs() to invoke the -function, which will hide the bodies of the functions you don't care to see. - -The following example hides foo1, foo2, foo3, and foo4. - -> - function! HideFunctionDefs() - if search("sub foo1") > 0 - normal! jv%zf - endif - if search("sub foo2") > 0 - normal! jv%zf - endif - if search("sub foo3") > 0 - normal! jv%zf - endif - if search("sub foo4") > 0 - normal! jv%zf - endif - endfunction -< - -If you bracket like this: - -> - sub foo { - some code ... - } -< - -Replace all instances of `normal! jv%zf` with `normal! f{v%zf`. - -To hide more functions, add more if-endif blocks substituting `sub foo_` with -the names of the functions you want to hide. - -COMMENTS *vtw-916-comments* - -You might find it easier to manage if you do something like: - -> - :set foldmethod=marker - :set foldmarker={,} -< - -Alternatively, consider passing in the bit after "sub " as a parameter to the -function, and then simply call HideFunctionDefs( 'foo\d\+' ) -- you'll have to -change HideFunctionDefs to go over all instances of the search, though, which -means you should probably change your foldmethod to expr and set your foldexpr -to another function that you write. - -I fear you've been getting less-than-stellar reviews because it's too manual -a process to fold away the functions using your technique. - -============================================================================== - -> - g/^sub/.,/^}/fo -< - -============================================================================== - -Personally, I use the standard foldmarkers ({{{ and }}}) and place them in -comments. This is much more flexible as it is language independent and you can -better define what is folded. For example, you may have a block of code that -is quite long, not necessarily a function, and you want to hide it. I've done -this with long queries in ColdFusion pages. - -Also, using the above suggestion, you can have a lot of nested folds since -every time you have a {,} combination, it will fold it. This includes if -statements, case statements, etc. - -============================================================================== - -Perhaps it is worth mentioning zf as a convenient means of folding -something. In particular I've found zfa{ to be convenient. - -============================================================================== - -Perhaps :help |:syn-fold| will help you. Here is an extract: - -> - :syn region myFold start="{" end="}" transparent fold - :syn sync fromstart - :set foldmethod=syntax -< - -============================================================================== - -I'm using Vim to program C#. Visual Studio uses some markers as the -following: - -> - #region My Region - ..code.. - #endregion -< - -I'm using the .cs-Syntax file for Vim and defined my foldexpr so that all -#regions are folded automagically. It's very useful especially if one is -working in a team with others using Visual Studio. - -============================================================================== - -CATEGORIES *vtw-916-cats* - -Deprecated |vtw-by-category-deprecated| -Review |vtw-by-category-review| -Folding |vtw-by-category-folding| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-921.txt b/doc/vim-tips-wiki-921.txt deleted file mode 100644 index e34d5fa..0000000 --- a/doc/vim-tips-wiki-921.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-921.txt* VimTip921 *vtw-921* - - - -Previous Tip |vtw-920| • Next Tip |vtw-922| - -TIP 921 DOES NOT EXIST *vtw-921-tip-921-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#921 [http://www.vim.org/tips/tip.php?tip_id=921]. - -CATEGORIES *vtw-921-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-924.txt b/doc/vim-tips-wiki-924.txt deleted file mode 100644 index c579dfd..0000000 --- a/doc/vim-tips-wiki-924.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-924.txt* VimTip924 *vtw-924* - - - -Previous Tip |vtw-923| • Next Tip |vtw-925| - -TIP 924 HAS BEEN REMOVED *vtw-924-tip-924-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#924 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=924]. - - - -CATEGORIES *vtw-924-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-927.txt b/doc/vim-tips-wiki-927.txt deleted file mode 100644 index 1cdd013..0000000 --- a/doc/vim-tips-wiki-927.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-927.txt* VimTip927 *vtw-927* - - - -Previous Tip |vtw-926| • Next Tip |vtw-929| - -TIP 927 HAS BEEN REMOVED *vtw-927-tip-927-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#927 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=927]. - - - -CATEGORIES *vtw-927-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-93.txt b/doc/vim-tips-wiki-93.txt deleted file mode 100644 index c96d72d..0000000 --- a/doc/vim-tips-wiki-93.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-93.txt* VimTip93 *vtw-93* - - - -Previous Tip |vtw-92| • Next Tip |vtw-94| - -TIP 93 HAS BEEN REMOVED *vtw-93-tip-93-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#93 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=93]. - - - -CATEGORIES *vtw-93-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-932.txt b/doc/vim-tips-wiki-932.txt deleted file mode 100644 index b34f103..0000000 --- a/doc/vim-tips-wiki-932.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-932.txt* VimTip932 *vtw-932* - - - -Previous Tip |vtw-931| • Next Tip |vtw-933| - -TIP 932 HAS BEEN REMOVED *vtw-932-tip-932-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#932 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=932]. - -Merged to VimTip6 |vtw-6| - -CATEGORIES *vtw-932-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-935.txt b/doc/vim-tips-wiki-935.txt deleted file mode 100644 index cee96e0..0000000 --- a/doc/vim-tips-wiki-935.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-935.txt* VimTip935 *vtw-935* - - - -Previous Tip |vtw-934| • Next Tip |vtw-936| - -TIP 935 HAS BEEN REMOVED *vtw-935-tip-935-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#935 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=935]. - -Merged to VimTip396 |vtw-396| - -CATEGORIES *vtw-935-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-938.txt b/doc/vim-tips-wiki-938.txt deleted file mode 100644 index b47f143..0000000 --- a/doc/vim-tips-wiki-938.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-938.txt* VimTip938 *vtw-938* - - - -Previous Tip |vtw-937| • Next Tip |vtw-939| - -TIP 938 HAS BEEN REMOVED *vtw-938-tip-938-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#938 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=938]. - - - -CATEGORIES *vtw-938-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-942.txt b/doc/vim-tips-wiki-942.txt deleted file mode 100644 index eb47497..0000000 --- a/doc/vim-tips-wiki-942.txt +++ /dev/null @@ -1,25 +0,0 @@ -*vim-tips-wiki-942.txt* VimTip942 *vtw-942* - - - -Previous Tip |vtw-941| • Next Tip |vtw-944| - -TIP 942 HAS BEEN REMOVED *vtw-942-tip-942-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#942 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=942]. - -Content moved to Vim documentation -[https://vim.fandom.com/wiki/Vim_documentation] - -CATEGORIES *vtw-942-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-943.txt b/doc/vim-tips-wiki-943.txt deleted file mode 100644 index 4ce6ad5..0000000 --- a/doc/vim-tips-wiki-943.txt +++ /dev/null @@ -1,21 +0,0 @@ -*vim-tips-wiki-943.txt* VimTip943 *vtw-943* - - - -Previous Tip |vtw-941| • Next Tip |vtw-944| - -TIP 943 DOES NOT EXIST *vtw-943-tip-943-does-not-exist* - -This tip was duplicated on the original vim.org web site, probably because -the author uploaded it more than once. Only the most up to date of the -duplicated tips |vtw-944| has been retained on this wiki. - -The original tip was at vim.org which may be in this archive Tip#943 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=943]. - -CATEGORIES *vtw-943-cats* - -OriginalDuplicate |vtw-by-category-originalduplicate| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-947.txt b/doc/vim-tips-wiki-947.txt deleted file mode 100644 index ca5e686..0000000 --- a/doc/vim-tips-wiki-947.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-947.txt* VimTip947 *vtw-947* - - - -Previous Tip |vtw-946| • Next Tip |vtw-948| - -TIP 947 HAS BEEN REMOVED *vtw-947-tip-947-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#947 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=947]. - -Merged to Vim documentation [https://vim.fandom.com/wiki/Vim_documentation] - -CATEGORIES *vtw-947-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-951.txt b/doc/vim-tips-wiki-951.txt deleted file mode 100644 index db22d37..0000000 --- a/doc/vim-tips-wiki-951.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-951.txt* VimTip951 *vtw-951* - - - -Previous Tip |vtw-950| • Next Tip |vtw-952| - -TIP 951 HAS BEEN REMOVED *vtw-951-tip-951-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#951 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=951]. - -Merged to Vim documentation [https://vim.fandom.com/wiki/Vim_documentation] - -CATEGORIES *vtw-951-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-956.txt b/doc/vim-tips-wiki-956.txt deleted file mode 100644 index c1ba3c9..0000000 --- a/doc/vim-tips-wiki-956.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-956.txt* VimTip956 *vtw-956* - - - -Previous Tip |vtw-955| • Next Tip |vtw-957| - -TIP 956 HAS BEEN REMOVED *vtw-956-tip-956-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#956 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=956]. - -Unhelpful for current Vim, or too hard to rewrite. - -CATEGORIES *vtw-956-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-959.txt b/doc/vim-tips-wiki-959.txt deleted file mode 100644 index fd1ca5e..0000000 --- a/doc/vim-tips-wiki-959.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-959.txt* VimTip959 *vtw-959* - - - -Previous Tip |vtw-958| • Next Tip |vtw-960| - -TIP 959 HAS BEEN REMOVED *vtw-959-tip-959-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#959 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=959]. - - - -CATEGORIES *vtw-959-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-963.txt b/doc/vim-tips-wiki-963.txt deleted file mode 100644 index 975ba72..0000000 --- a/doc/vim-tips-wiki-963.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-963.txt* VimTip963 *vtw-963* - - - -Previous Tip |vtw-962| • Next Tip |vtw-964| - -TIP 963 HAS BEEN REMOVED *vtw-963-tip-963-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#963 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=963]. - -Merged to VimTip396 |vtw-396| - -CATEGORIES *vtw-963-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-98.txt b/doc/vim-tips-wiki-98.txt deleted file mode 100644 index f78394e..0000000 --- a/doc/vim-tips-wiki-98.txt +++ /dev/null @@ -1,24 +0,0 @@ -*vim-tips-wiki-98.txt* VimTip98 *vtw-98* - - - -Previous Tip |vtw-97| • Next Tip |vtw-99| - -TIP 98 HAS BEEN REMOVED *vtw-98-tip-98-has-been-removed* - -It is hard to find helpful information if there are too many tips. - -Therefore, we are removing some tips that refer to obsolete versions, or -which have been superseded, or which are no longer useful. - -The original tip was at vim.org which may be in this archive Tip#98 -[http://web.archive.org/web/www.vim.org/tips/tip.php?tip_id=98]. - - - -CATEGORIES *vtw-98-cats* - -Removed |vtw-by-category-removed| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-980.txt b/doc/vim-tips-wiki-980.txt deleted file mode 100644 index 6368953..0000000 --- a/doc/vim-tips-wiki-980.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-980.txt* VimTip980 *vtw-980* - - - -Previous Tip |vtw-979| • Next Tip |vtw-981| - -TIP 980 DOES NOT EXIST *vtw-980-tip-980-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#980 [http://www.vim.org/tips/tip.php?tip_id=980]. - -CATEGORIES *vtw-980-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-988.txt b/doc/vim-tips-wiki-988.txt deleted file mode 100644 index d46104b..0000000 --- a/doc/vim-tips-wiki-988.txt +++ /dev/null @@ -1,101 +0,0 @@ -*vim-tips-wiki-988.txt* Surround selection with text *vtw-988* - - - -This tip is deprecated for the following reasons: - -This tip is deprecated by the surround plugin.Tip 988 [https://vim.fandom.com/wiki/Surround_selection_with_text] Previous |vtw-987| Next |vtw-989| - -created September 9, 2005 · complexity basic · author Jan Christoph Ebersbach -· version 6.0 - -============================================================================== - -Inspired by VimTip987 |vtw-987| I wrote a small function to surround selected -text in visual-mode with text. - -For example, to quote a selection: - -> - before: bla bla Selected Text bla bla - :'<,'>call Surround('"', '"') - after : bla bla "Selected Text" bla bla -< - -> - fun! Surround(s1, s2) range - exe "normal vgvmboma\" - normal `a - let lineA = line(".") - let columnA = col(".") - normal `b - let lineB = line(".") - let columnB = col(".") - " exchange marks - if lineA > lineB || lineA <= lineB && columnA > columnB - " save b in c - normal mc - " store a in b - normal `amb - " set a to old b - normal `cma - endif - exe "normal `ba" . a:s2 . "\`ai" . a:s1 . "\" - endfun -< - -Surround also works for a selection over more than one line. - -> - before: bla bla Selec - ted Text bla bla - :'<,'>call Surround('"', '"') - after : bla bla "Selec - ted Text" bla bla -< - -Some handy mappings: - -> - vnoremap _" :call Surround('"', '"') - vnoremap _( :call Surround('(', ')') - vnoremap _[ :call Surround('[', ']') - vnoremap _{ :call Surround('{', '}') -< - -I defined it as a command to perform fast on-demand-surroundings - -> - command! -range -nargs=* Sur call Surround() -< - -> - before: bla bla Selected Text bla bla - :'<,'>Sur (<\ - -\ >) - after : bla bla (< -Selected Text- >) bla bla -< - -COMMENTS *vtw-988-comments* - -> - "wrap highlighted text in doublequotes - :vmap [q "zdi"z" - "these wrap ansi color character commands around the visualmode selected text - good for adding - "color to stdout [b=blue, [r=red, etc - :vmap [b "zdi[1;34mz[0m - :vmap [r "zdi[1;31mz[0m - :vmap [m "zdi[1;35mz[0m - :vmap [c "zdi[1;36mz[0m - :vmap [y "zdi[1;33mz[0m - :vmap [g "zdi[1;32mz[0m -< - -============================================================================== - -CATEGORIES *vtw-988-cats* - -Deprecated |vtw-by-category-deprecated| -Review |vtw-by-category-review| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-993.txt b/doc/vim-tips-wiki-993.txt deleted file mode 100644 index eec385e..0000000 --- a/doc/vim-tips-wiki-993.txt +++ /dev/null @@ -1,20 +0,0 @@ -*vim-tips-wiki-993.txt* VimTip993 *vtw-993* - - - -Previous Tip |vtw-991| • Next Tip |vtw-994| - -TIP 993 DOES NOT EXIST *vtw-993-tip-993-does-not-exist* - -This tip was deleted from the original vim.org web site, probably because it -was spam. Therefore, the tip was not imported into the Vim Tips wiki. - -If you want to confirm that the tip is missing, you can view the original -page at Tip#993 [http://www.vim.org/tips/tip.php?tip_id=993]. - -CATEGORIES *vtw-993-cats* - -OriginalMissing |vtw-by-category-originalmissing| - - - vim:tw=78:et:ft=help:norl: \ No newline at end of file diff --git a/doc/vim-tips-wiki-alphabetically.txt b/doc/vim-tips-wiki-alphabetically.txt index 6f9b1f3..4ca1c93 100644 --- a/doc/vim-tips-wiki-alphabetically.txt +++ b/doc/vim-tips-wiki-alphabetically.txt @@ -9,7 +9,6 @@ A *vtw-alphabetically-A* A better gm command |vtw-1671| A better interfacing of (La)TeX with the quickfix mode |vtw-443| -AES256 encryption in Vim |vtw-1251| Abbreviation that prompts whether to expand it or not |vtw-650| Abbreviations only on shortcut |vtw-481| Accelerated motion |vtw-1458| @@ -65,7 +64,6 @@ Auto insert Java class template when editing a new Java file |vtw-378| Auto save files when focus is lost |vtw-1160| Auto spelling correction using abbreviations |vtw-1382| Auto tags by project.vim |vtw-1618| -Auto-fold Perl subs |vtw-419| Auto-save current buffer periodically |vtw-248| Autocheckout from perforce |vtw-176| Autocmd to update ctags file |vtw-1299| @@ -80,8 +78,6 @@ Automatic scrolling of text |vtw-1198| Automatic word wrapping |vtw-850| Automatically Update Copyright Notice in Files |vtw-1521| Automatically add Python paths to Vim path |vtw-1546| -Automatically append closing characters |vtw-630| -Automatically append closing characters |vtw-1162| Automatically create and update cscope database |vtw-1509| Automatically create tmp or backup directories |vtw-1393| Automatically fitting a quickfix window height |vtw-1536| @@ -195,7 +191,6 @@ Commenting with opfunc |vtw-1570| Compile Java with Jikes |vtw-3| Compile Java with Sun JDK javac |vtw-120| Compile a separate copy of Vim for Python coding |vtw-1311| -Compiler for perl |vtw-473| Compiling LaTeX from Vim |vtw-275| Compiling LaTeX from Vim |vtw-627| Compiling LaTeX from Vim |vtw-1550| @@ -279,7 +274,6 @@ Detect window creation with WinEnter |vtw-1598| Develop vim modules on Win |vtw-243| Dictionary completions |vtw-91| Diff current buffer and the original file |vtw-1030| -Diff the current buffer with another file |vtw-1343| Different syntax highlighting within regions of a file |vtw-857| Disable F1 built-in help key |vtw-1007| Disable automatic comment insertion |vtw-1361| @@ -287,7 +281,6 @@ Disable beeping |vtw-418| Disable beeping |vtw-663| Disable beeping |vtw-898| Disable built-in command |vtw-643| -Disable the "Hit any key to close this window" message in remote editing |vtw-1385| Disabling IME input in Windows |vtw-631| Disabling cabbrev |vtw-352| Display UTF-8 characters in Mac Quicklook |vtw-1654| @@ -339,10 +332,8 @@ Editing databases with Vim/Perl/DBI |vtw-207| Editing files on an ftp server listening on a non-standard port |vtw-480| Editing remote files via scp in vim |vtw-337| Embedding vim in Visual Studio |vtw-716| -Enable paren matching over whole file |vtw-1391| Enable servername capability in vim/xterm |vtw-699| Enabling Windows shortcuts for gvim |vtw-645| -Encrypt a file without leaving traces |vtw-371| Encryption |vtw-90| Enhance the calendar script with special dates |vtw-408| Enhance the word complete.vim script |vtw-526| @@ -397,7 +388,6 @@ Filetype.vim |vtw-1606| Filter buffer on a search result |vtw-1557| Find VIMRUNTIME in a bash script |vtw-745| Find and edit any file in a directory using tag-like pattern matching |vtw-1088| -Find files in subdirectories |vtw-1234| Find in files within Vim |vtw-354| Find in files within Vim |vtw-1543| Finding phone numbers |vtw-872| @@ -462,8 +452,6 @@ Get a shell command for changing to the current directory |vtw-1217| Get bright background colors in Linux console |vtw-748| Get cursor position as byte percentage instead of line percentage |vtw-268| Get inline help for PHP functions |vtw-1090| -Get latest releases for syntax highlighting, runtime, plugins etc |vtw-744| -Get latest releases for syntax highlighting, runtime, plugins etc |vtw-747| Get shortened messages from using echomsg |vtw-1373| Get the correct indent for new lines despite blank lines |vtw-1574| Get the name of the current file |vtw-530| @@ -512,8 +500,6 @@ Highlight current word to find cursor |vtw-235| Highlight cursor line after cursor jump |vtw-1380| Highlight debug blocks in programs |vtw-639| Highlight doubled word errors in text |vtw-206| -Highlight long lines |vtw-810| -Highlight long lines |vtw-1523| Highlight multiple words |vtw-1572| Highlight simple Python syntax errors |vtw-969| Highlight some whitespace characters |vtw-1274| @@ -541,7 +527,6 @@ How to write a plugin |vtw-147| I *vtw-alphabetically-I* -IPython integration |vtw-1551| Identify the syntax highlighting group used at the cursor |vtw-99| Ignore white space in vimdiff |vtw-1294| Improve completion popup menu |vtw-1228| @@ -816,14 +801,12 @@ Pasting code with syntax coloring in emails |vtw-621| Pasting code with syntax coloring in emails |vtw-930| Pasting code with syntax coloring in emails |vtw-1174| Pasting registers |vtw-1303| -Patch to conceal parts of lines |vtw-1308| Perl compatible regular expressions |vtw-393| Perldoc function and module keyboard mappings |vtw-614| Power K |vtw-1341| Power of g |vtw-227| Preexisting code indentation |vtw-247| Preloading registers |vtw-792| -Preserve missing end-of-line at end of text files |vtw-1369| Press space to jump between windows and to expand them |vtw-402| Pretty-formatting XML |vtw-1366| Prevent a second instance of Vim from starting |vtw-957| @@ -898,11 +881,9 @@ Redirect g search output |vtw-1063| Refresh screen while typing a command |vtw-952| Regex-based text alignment |vtw-894| Rejustify roff style markup |vtw-517| -Reload file without losing undo history |vtw-1627| Reload the same file in different encoding |vtw-1195| Reload your filetype/syntax plugin |vtw-180| Reloading a file using a different encoding |vtw-690| -Remap join to merge comment lines |vtw-1553| Remember my buffers |vtw-905| Remember where you had ended reading help |vtw-293| Remembering previous deletes/yanks |vtw-832| @@ -960,9 +941,6 @@ Run a command in multiple buffers |vtw-133| Run a command in multiple buffers |vtw-1335| Run make from command line and open Vim on errors |vtw-219| Run native-Windows Vim from cygwin without a wrapper |vtw-972| -Running diff |vtw-416| -Running diff |vtw-678| -Running diff |vtw-715| Running the win32-version of Vim from cygwin |vtw-381| Runtime syntax check for php |vtw-692| @@ -1047,7 +1025,6 @@ Setting tags when working with multiple source branches |vtw-858| Setting the font in the GUI |vtw-632| Shadow your comments to see the code |vtw-1072| Shebang line automatically generated |vtw-880| -Shell script to use grep with gvim |vtw-1392| Shifting blocks visually |vtw-224| Short mappings for common tasks |vtw-327| Short mappings for common tasks |vtw-720| @@ -1075,7 +1052,6 @@ Simple placeholders |vtw-1071| Simple programmers TODO list using grep and quickfix |vtw-391| Simple text alignment |vtw-319| Simplifying regular expressions using magic and no-magic |vtw-1237| -Simulating arrays with Vim |vtw-795| Single config file for Vim on Windows with Cygwin |vtw-939| Single tags file for a source tree |vtw-804| Skip blank lines when folding text |vtw-122| @@ -1113,7 +1089,6 @@ Subversion developer cindent options |vtw-1607| Sum numbers |vtw-205| Super retab |vtw-1592| Suppressing file changed warnings in a specific buffer |vtw-595| -Surround selection with text |vtw-988| Swap LHS and RHS of an Assignment statement |vtw-1506| Swap file "..."already exists! - so diff it |vtw-1517| Swapping characters, words and lines |vtw-47| @@ -1137,7 +1112,6 @@ Syntax folding of Python files |vtw-741| Syntax folding of Vim scripts |vtw-1376| Syntax highlighting for HTML with embedded Javascript |vtw-1193| Syntax highlighting in xterm |vtw-126| -Syntax-based folding |vtw-333| T *vtw-alphabetically-T* @@ -1147,7 +1121,6 @@ Tags generation for current file |vtw-711| Tags that jump to line and column |vtw-601| Temporarily replace grep with a custom program |vtw-688| Text object for formulas in Latex |vtw-1644| -Text objects for strings |vtw-901| Text template with placeholders |vtw-322| The perfect programming font |vtw-914| Time your Vim commands |vtw-1232| @@ -1213,7 +1186,6 @@ Use gvim for diff under TortoiseCVS |vtw-1286| Use gvim in kmail |vtw-302| Use gvim to view page source in Internet Explorer |vtw-118| Use ijkl to move the cursor and h to insert |vtw-1334| -Use integrated spell checking |vtw-290| Use maven with quickfix |vtw-1042| Use recording to easily add function skeletons from prototypes |vtw-1435| Use shortcut key to start gvim in Windows |vtw-676| @@ -1232,7 +1204,6 @@ Using GUI color settings in a terminal |vtw-1619| Using Git from Vim |vtw-1614| Using Gnu-info help in vim |vtw-36| Using H and L keys as context sensitive pagedown/pageup |vtw-548| -Using Ispell on a highlighted region |vtw-172| Using PuTTY pscp with Vim |vtw-1181| Using TagList for ANT build files |vtw-558| Using Vim as an outline processor |vtw-74| @@ -1294,7 +1265,6 @@ View all colors available to gvim |vtw-634| View and diff MS Word files |vtw-790| View character class |vtw-502| View man pages in Vim |vtw-606| -View only what you are editing |vtw-916| View text file in two columns |vtw-1615| Viewing the actual XPM data in GVIM |vtw-168| Vim Doclet |vtw-1533| @@ -1316,406 +1286,11 @@ Vim inside Java |vtw-1031| Vim key bindings for web browsers |vtw-317| Vim on Freenode |vtw-1579| Vim xterm title |vtw-23| -Vim-Shell embeds a terminal in Vim |vtw-1227| Vim-sessions under Mac |vtw-1645| Vim-sessions under Windows |vtw-934| Vim-sessions under Windows |vtw-1037| VimLock mode to enter numbers |vtw-1564| -VimTip1000 |vtw-1000| -VimTip1006 |vtw-1006| -VimTip101 |vtw-101| -VimTip1013 |vtw-1013| -VimTip1024 |vtw-1024| -VimTip1027 |vtw-1027| -VimTip1034 |vtw-1034| -VimTip1038 |vtw-1038| -VimTip1040 |vtw-1040| -VimTip1044 |vtw-1044| -VimTip1047 |vtw-1047| -VimTip1049 |vtw-1049| -VimTip1056 |vtw-1056| -VimTip1057 |vtw-1057| -VimTip1060 |vtw-1060| -VimTip1062 |vtw-1062| -VimTip1067 |vtw-1067| -VimTip1069 |vtw-1069| -VimTip1075 |vtw-1075| -VimTip1078 |vtw-1078| -VimTip1079 |vtw-1079| -VimTip1080 |vtw-1080| -VimTip1081 |vtw-1081| -VimTip1082 |vtw-1082| -VimTip1085 |vtw-1085| -VimTip1086 |vtw-1086| -VimTip1089 |vtw-1089| -VimTip109 |vtw-109| -VimTip1094 |vtw-1094| -VimTip1095 |vtw-1095| -VimTip1096 |vtw-1096| -VimTip1097 |vtw-1097| -VimTip1098 |vtw-1098| -VimTip1099 |vtw-1099| -VimTip110 |vtw-110| -VimTip1100 |vtw-1100| -VimTip1101 |vtw-1101| -VimTip1102 |vtw-1102| -VimTip1104 |vtw-1104| -VimTip1105 |vtw-1105| -VimTip1106 |vtw-1106| -VimTip1113 |vtw-1113| -VimTip1115 |vtw-1115| -VimTip1116 |vtw-1116| -VimTip1121 |vtw-1121| -VimTip1122 |vtw-1122| -VimTip1123 |vtw-1123| -VimTip1125 |vtw-1125| -VimTip1135 |vtw-1135| -VimTip1136 |vtw-1136| -VimTip1137 |vtw-1137| -VimTip1138 |vtw-1138| -VimTip1139 |vtw-1139| -VimTip114 |vtw-114| -VimTip1140 |vtw-1140| -VimTip1143 |vtw-1143| -VimTip1144 |vtw-1144| -VimTip1145 |vtw-1145| -VimTip115 |vtw-115| -VimTip1152 |vtw-1152| -VimTip116 |vtw-116| -VimTip1163 |vtw-1163| -VimTip1165 |vtw-1165| -VimTip1169 |vtw-1169| -VimTip1170 |vtw-1170| -VimTip1175 |vtw-1175| -VimTip1176 |vtw-1176| -VimTip1177 |vtw-1177| -VimTip1179 |vtw-1179| -VimTip1184 |vtw-1184| -VimTip1186 |vtw-1186| -VimTip1187 |vtw-1187| -VimTip1191 |vtw-1191| -VimTip1192 |vtw-1192| -VimTip1201 |vtw-1201| -VimTip1205 |vtw-1205| -VimTip1207 |vtw-1207| -VimTip1208 |vtw-1208| -VimTip1209 |vtw-1209| -VimTip1210 |vtw-1210| -VimTip1211 |vtw-1211| -VimTip1214 |vtw-1214| -VimTip1216 |vtw-1216| -VimTip1219 |vtw-1219| -VimTip1222 |vtw-1222| -VimTip1223 |vtw-1223| -VimTip1236 |vtw-1236| -VimTip1239 |vtw-1239| -VimTip1241 |vtw-1241| -VimTip1243 |vtw-1243| -VimTip1246 |vtw-1246| -VimTip1248 |vtw-1248| -VimTip1250 |vtw-1250| -VimTip1252 |vtw-1252| -VimTip1254 |vtw-1254| -VimTip1255 |vtw-1255| -VimTip1256 |vtw-1256| -VimTip1258 |vtw-1258| -VimTip1263 |vtw-1263| -VimTip1264 |vtw-1264| -VimTip1270 |vtw-1270| -VimTip1271 |vtw-1271| -VimTip1273 |vtw-1273| -VimTip1275 |vtw-1275| -VimTip1276 |vtw-1276| -VimTip1277 |vtw-1277| -VimTip1278 |vtw-1278| -VimTip1281 |vtw-1281| -VimTip1283 |vtw-1283| -VimTip13 |vtw-13| -VimTip1306 |vtw-1306| -VimTip1307 |vtw-1307| -VimTip1310 |vtw-1310| -VimTip1313 |vtw-1313| -VimTip1315 |vtw-1315| -VimTip1316 |vtw-1316| -VimTip1318 |vtw-1318| -VimTip1325 |vtw-1325| -VimTip1328 |vtw-1328| -VimTip1329 |vtw-1329| -VimTip1331 |vtw-1331| -VimTip1337 |vtw-1337| -VimTip1339 |vtw-1339| -VimTip1340 |vtw-1340| -VimTip1342 |vtw-1342| -VimTip1344 |vtw-1344| -VimTip1345 |vtw-1345| -VimTip1346 |vtw-1346| -VimTip1350 |vtw-1350| -VimTip1351 |vtw-1351| -VimTip1352 |vtw-1352| -VimTip1353 |vtw-1353| -VimTip1355 |vtw-1355| -VimTip1357 |vtw-1357| -VimTip1358 |vtw-1358| -VimTip136 |vtw-136| -VimTip1360 |vtw-1360| -VimTip1362 |vtw-1362| -VimTip1364 |vtw-1364| -VimTip1365 |vtw-1365| -VimTip1367 |vtw-1367| -VimTip1368 |vtw-1368| -VimTip1371 |vtw-1371| -VimTip1372 |vtw-1372| -VimTip1374 |vtw-1374| -VimTip1383 |vtw-1383| -VimTip1387 |vtw-1387| -VimTip1394 |vtw-1394| -VimTip1395 |vtw-1395| -VimTip1396 |vtw-1396| -VimTip1397 |vtw-1397| -VimTip1398 |vtw-1398| -VimTip1399 |vtw-1399| -VimTip1400 |vtw-1400| -VimTip1401 |vtw-1401| -VimTip1402 |vtw-1402| -VimTip1403 |vtw-1403| -VimTip1404 |vtw-1404| -VimTip1405 |vtw-1405| -VimTip1406 |vtw-1406| -VimTip1407 |vtw-1407| -VimTip1408 |vtw-1408| -VimTip1409 |vtw-1409| -VimTip1410 |vtw-1410| -VimTip1411 |vtw-1411| -VimTip1412 |vtw-1412| -VimTip1414 |vtw-1414| -VimTip1415 |vtw-1415| -VimTip1416 |vtw-1416| -VimTip1417 |vtw-1417| -VimTip1418 |vtw-1418| -VimTip1419 |vtw-1419| -VimTip142 |vtw-142| -VimTip1420 |vtw-1420| -VimTip1421 |vtw-1421| -VimTip1422 |vtw-1422| -VimTip1423 |vtw-1423| -VimTip1424 |vtw-1424| -VimTip1425 |vtw-1425| -VimTip1426 |vtw-1426| -VimTip1427 |vtw-1427| -VimTip1428 |vtw-1428| -VimTip1429 |vtw-1429| -VimTip1430 |vtw-1430| -VimTip1433 |vtw-1433| -VimTip1441 |vtw-1441| VimTip1442 |vtw-1442| -VimTip1443 |vtw-1443| -VimTip1444 |vtw-1444| -VimTip1445 |vtw-1445| -VimTip1446 |vtw-1446| -VimTip1447 |vtw-1447| -VimTip1448 |vtw-1448| -VimTip1449 |vtw-1449| -VimTip145 |vtw-145| -VimTip1450 |vtw-1450| -VimTip1451 |vtw-1451| -VimTip1452 |vtw-1452| -VimTip1453 |vtw-1453| -VimTip1457 |vtw-1457| -VimTip1459 |vtw-1459| -VimTip1460 |vtw-1460| -VimTip1461 |vtw-1461| -VimTip1462 |vtw-1462| -VimTip1464 |vtw-1464| -VimTip1466 |vtw-1466| -VimTip1467 |vtw-1467| -VimTip1471 |vtw-1471| -VimTip1473 |vtw-1473| -VimTip1474 |vtw-1474| -VimTip1475 |vtw-1475| -VimTip1476 |vtw-1476| -VimTip1477 |vtw-1477| -VimTip1478 |vtw-1478| -VimTip1480 |vtw-1480| -VimTip1481 |vtw-1481| -VimTip1482 |vtw-1482| -VimTip1485 |vtw-1485| -VimTip1487 |vtw-1487| -VimTip1488 |vtw-1488| -VimTip1489 |vtw-1489| -VimTip1492 |vtw-1492| -VimTip1493 |vtw-1493| -VimTip1494 |vtw-1494| -VimTip1496 |vtw-1496| -VimTip1497 |vtw-1497| -VimTip1502 |vtw-1502| -VimTip1503 |vtw-1503| -VimTip151 |vtw-151| -VimTip152 |vtw-152| -VimTip1524 |vtw-1524| -VimTip157 |vtw-157| -VimTip160 |vtw-160| -VimTip161 |vtw-161| -VimTip162 |vtw-162| -VimTip163 |vtw-163| -VimTip169 |vtw-169| -VimTip170 |vtw-170| -VimTip177 |vtw-177| -VimTip179 |vtw-179| -VimTip183 |vtw-183| -VimTip186 |vtw-186| -VimTip187 |vtw-187| -VimTip190 |vtw-190| -VimTip192 |vtw-192| -VimTip200 |vtw-200| -VimTip204 |vtw-204| -VimTip221 |vtw-221| -VimTip229 |vtw-229| -VimTip233 |vtw-233| -VimTip245 |vtw-245| -VimTip252 |vtw-252| -VimTip257 |vtw-257| -VimTip260 |vtw-260| -VimTip274 |vtw-274| -VimTip276 |vtw-276| -VimTip292 |vtw-292| -VimTip296 |vtw-296| -VimTip300 |vtw-300| -VimTip307 |vtw-307| -VimTip310 |vtw-310| -VimTip321 |vtw-321| -VimTip326 |vtw-326| -VimTip329 |vtw-329| -VimTip339 |vtw-339| -VimTip340 |vtw-340| -VimTip359 |vtw-359| -VimTip360 |vtw-360| -VimTip365 |vtw-365| -VimTip372 |vtw-372| -VimTip379 |vtw-379| -VimTip392 |vtw-392| -VimTip401 |vtw-401| -VimTip403 |vtw-403| -VimTip412 |vtw-412| -VimTip415 |vtw-415| -VimTip417 |vtw-417| -VimTip422 |vtw-422| -VimTip423 |vtw-423| -VimTip424 |vtw-424| -VimTip429 |vtw-429| -VimTip433 |vtw-433| -VimTip435 |vtw-435| -VimTip439 |vtw-439| -VimTip442 |vtw-442| -VimTip447 |vtw-447| -VimTip455 |vtw-455| -VimTip456 |vtw-456| -VimTip491 |vtw-491| -VimTip496 |vtw-496| -VimTip499 |vtw-499| -VimTip5 |vtw-5| -VimTip500 |vtw-500| -VimTip501 |vtw-501| -VimTip504 |vtw-504| -VimTip505 |vtw-505| -VimTip508 |vtw-508| -VimTip511 |vtw-511| -VimTip512 |vtw-512| -VimTip513 |vtw-513| -VimTip521 |vtw-521| -VimTip532 |vtw-532| -VimTip538 |vtw-538| -VimTip540 |vtw-540| -VimTip541 |vtw-541| -VimTip544 |vtw-544| -VimTip549 |vtw-549| -VimTip55 |vtw-55| -VimTip56 |vtw-56| -VimTip561 |vtw-561| -VimTip562 |vtw-562| -VimTip565 |vtw-565| -VimTip57 |vtw-57| -VimTip574 |vtw-574| -VimTip585 |vtw-585| -VimTip59 |vtw-59| -VimTip592 |vtw-592| -VimTip594 |vtw-594| -VimTip596 |vtw-596| -VimTip599 |vtw-599| -VimTip60 |vtw-60| -VimTip602 |vtw-602| -VimTip61 |vtw-61| -VimTip612 |vtw-612| -VimTip617 |vtw-617| -VimTip62 |vtw-62| -VimTip620 |vtw-620| -VimTip629 |vtw-629| -VimTip633 |vtw-633| -VimTip655 |vtw-655| -VimTip657 |vtw-657| -VimTip661 |vtw-661| -VimTip664 |vtw-664| -VimTip666 |vtw-666| -VimTip668 |vtw-668| -VimTip674 |vtw-674| -VimTip702 |vtw-702| -VimTip703 |vtw-703| -VimTip704 |vtw-704| -VimTip705 |vtw-705| -VimTip706 |vtw-706| -VimTip707 |vtw-707| -VimTip721 |vtw-721| -VimTip722 |vtw-722| -VimTip723 |vtw-723| -VimTip728 |vtw-728| -VimTip729 |vtw-729| -VimTip730 |vtw-730| -VimTip731 |vtw-731| -VimTip740 |vtw-740| -VimTip756 |vtw-756| -VimTip764 |vtw-764| -VimTip77 |vtw-77| -VimTip777 |vtw-777| -VimTip780 |vtw-780| -VimTip788 |vtw-788| -VimTip811 |vtw-811| -VimTip815 |vtw-815| -VimTip820 |vtw-820| -VimTip821 |vtw-821| -VimTip827 |vtw-827| -VimTip836 |vtw-836| -VimTip838 |vtw-838| -VimTip839 |vtw-839| -VimTip841 |vtw-841| -VimTip845 |vtw-845| -VimTip849 |vtw-849| -VimTip854 |vtw-854| -VimTip855 |vtw-855| -VimTip856 |vtw-856| -VimTip865 |vtw-865| -VimTip866 |vtw-866| -VimTip870 |vtw-870| -VimTip871 |vtw-871| -VimTip877 |vtw-877| -VimTip881 |vtw-881| -VimTip887 |vtw-887| -VimTip890 |vtw-890| -VimTip921 |vtw-921| -VimTip924 |vtw-924| -VimTip927 |vtw-927| -VimTip93 |vtw-93| -VimTip932 |vtw-932| -VimTip935 |vtw-935| -VimTip938 |vtw-938| -VimTip942 |vtw-942| -VimTip943 |vtw-943| -VimTip947 |vtw-947| -VimTip951 |vtw-951| -VimTip956 |vtw-956| -VimTip959 |vtw-959| -VimTip963 |vtw-963| -VimTip98 |vtw-98| -VimTip980 |vtw-980| -VimTip993 |vtw-993| VisVim for Visual Studio |vtw-946| Visual marks |vtw-395| Visual selection |vtw-1584| @@ -1744,7 +1319,6 @@ Working with only one term/console? |vtw-535| Wrap a visual selection in an HTML tag |vtw-1495| Wrap function calls in a print statement |vtw-1436| Wrap text in HTML/XML tags after prompting for the tag name |vtw-346| -Wrap visual selection with fold markers |vtw-475| Write a date-stamped backup of the current file |vtw-853| Write your own Vim function |vtw-32| Writing a valid statusline |vtw-739| diff --git a/doc/vim-tips-wiki-by-category.txt b/doc/vim-tips-wiki-by-category.txt index 9f6efca..63c176c 100644 --- a/doc/vim-tips-wiki-by-category.txt +++ b/doc/vim-tips-wiki-by-category.txt @@ -73,9 +73,7 @@ BRACKETS *vtw-by-category-brackets* Making Parenthesis And Brackets Handling Easier |vtw-153| Brackets and parentheses in Perl |vtw-318| -Automatically append closing characters |vtw-630| Quick way to insert opening and closing braces for programmers |vtw-677| -Automatically append closing characters |vtw-1162| BUILDING VIM *vtw-by-category-building-vim* @@ -83,8 +81,6 @@ Building vim with color on HP-UX |vtw-222| Building Vim |vtw-376| Build Vim in Windows with Cygwin |vtw-531| Version independent installation of Vim on Windows |vtw-714| -Get latest releases for syntax highlighting, runtime, plugins etc |vtw-744| -Get latest releases for syntax highlighting, runtime, plugins etc |vtw-747| Build Python-enabled Vim on Windows with MinGW |vtw-1650| Getting the Vim source with Mercurial |vtw-1653| Installing on Solaris |vtw-1658| @@ -108,10 +104,8 @@ Automatic insertion of C/C++ header gates |vtw-514| Errorformat for icc7 |vtw-518| Folding functions with the prototype included |vtw-523| Typing print statements faster |vtw-625| -Automatically append closing characters |vtw-630| Highlight debug blocks in programs |vtw-639| Fold C-style comments |vtw-874| -Automatically append closing characters |vtw-1162| Display the name of the function you are editing |vtw-1296| Search for a C-style for statement |vtw-1320| Disable automatic comment insertion |vtw-1361| @@ -169,7 +163,6 @@ Some Java tips |vtw-385| A better interfacing of (La)TeX with the quickfix mode |vtw-443| Show entire multiline error in quickfix |vtw-444| Use the quickfix window to list all errors |vtw-458| -Compiler for perl |vtw-473| Errorformat and makeprg |vtw-476| Errorformat for icc7 |vtw-518| Automatically quit Vim if quickfix window is the last |vtw-536| @@ -223,41 +216,6 @@ DELETE *vtw-by-category-delete* Delete words in a different way |vtw-1498| -DEPRECATED *vtw-by-category-deprecated* - -Using Ispell on a highlighted region |vtw-172| -Use integrated spell checking |vtw-290| -Syntax-based folding |vtw-333| -Encrypt a file without leaving traces |vtw-371| -Running diff |vtw-416| -Auto-fold Perl subs |vtw-419| -Compiler for perl |vtw-473| -Wrap visual selection with fold markers |vtw-475| -Automatically append closing characters |vtw-630| -Running diff |vtw-678| -Running diff |vtw-715| -Get latest releases for syntax highlighting, runtime, plugins etc |vtw-744| -Get latest releases for syntax highlighting, runtime, plugins etc |vtw-747| -Simulating arrays with Vim |vtw-795| -Highlight long lines |vtw-810| -Text objects for strings |vtw-901| -View only what you are editing |vtw-916| -Surround selection with text |vtw-988| -Automatically append closing characters |vtw-1162| -Vim-Shell embeds a terminal in Vim |vtw-1227| -Find files in subdirectories |vtw-1234| -AES256 encryption in Vim |vtw-1251| -Patch to conceal parts of lines |vtw-1308| -Diff the current buffer with another file |vtw-1343| -Preserve missing end-of-line at end of text files |vtw-1369| -Disable the "Hit any key to close this window" message in remote editing |vtw-1385| -Enable paren matching over whole file |vtw-1391| -Shell script to use grep with gvim |vtw-1392| -Highlight long lines |vtw-1523| -IPython integration |vtw-1551| -Remap join to merge comment lines |vtw-1553| -Reload file without losing undo history |vtw-1627| - DODGY *vtw-by-category-dodgy* Toggle off the line-number when enter on-line help |vtw-33| @@ -435,7 +393,6 @@ FILEFORMAT *vtw-by-category-fileformat* File format |vtw-26| Non-native fileformat for your statusline |vtw-736| -Preserve missing end-of-line at end of text files |vtw-1369| File format |vtw-1585| Automatically reload files with mixed line-endings in DOS fileformat |vtw-1662| @@ -460,13 +417,10 @@ Hide fold markers |vtw-241| Folding with Regular Expression |vtw-282| Syntax folding for Java |vtw-304| Search only in unfolded text |vtw-389| -Auto-fold Perl subs |vtw-419| -Wrap visual selection with fold markers |vtw-475| Folding like in Visual Basic .NET |vtw-519| Syntax folding of Python files |vtw-741| All folds open when opening a file |vtw-797| Fold quickfix list on directory or file names |vtw-801| -View only what you are editing |vtw-916| Folding |vtw-940| Folding with Regular Expression |vtw-1022| Folding |vtw-1064| @@ -709,7 +663,6 @@ Abbreviation that prompts whether to expand it or not |vtw-650| Fix meta-keys that break out of Insert mode |vtw-738| Avoid the escape key |vtw-770| Avoid the escape key |vtw-783| -Text objects for strings |vtw-901| Map semicolon to colon |vtw-1111| Avoid the escape key |vtw-1117| Insert-mode only Caps Lock |vtw-1183| @@ -817,226 +770,6 @@ Disable automatic comment insertion |vtw-1361| Cache user-preferred option values for later reset |vtw-1456| Set options or named registers with let |vtw-1520| -ORIGINALDUPLICATE *vtw-by-category-originalduplicate* - -VimTip62 |vtw-62| -VimTip245 |vtw-245| -VimTip274 |vtw-274| -VimTip276 |vtw-276| -VimTip292 |vtw-292| -VimTip499 |vtw-499| -VimTip500 |vtw-500| -VimTip501 |vtw-501| -VimTip512 |vtw-512| -VimTip513 |vtw-513| -VimTip544 |vtw-544| -VimTip703 |vtw-703| -VimTip705 |vtw-705| -VimTip856 |vtw-856| -VimTip943 |vtw-943| - -ORIGINALMISSING *vtw-by-category-originalmissing* - -VimTip56 |vtw-56| -VimTip57 |vtw-57| -VimTip59 |vtw-59| -VimTip60 |vtw-60| -VimTip61 |vtw-61| -VimTip157 |vtw-157| -VimTip160 |vtw-160| -VimTip186 |vtw-186| -VimTip392 |vtw-392| -VimTip504 |vtw-504| -VimTip508 |vtw-508| -VimTip540 |vtw-540| -VimTip549 |vtw-549| -VimTip594 |vtw-594| -VimTip657 |vtw-657| -VimTip702 |vtw-702| -VimTip704 |vtw-704| -VimTip728 |vtw-728| -VimTip729 |vtw-729| -VimTip730 |vtw-730| -VimTip788 |vtw-788| -VimTip836 |vtw-836| -VimTip838 |vtw-838| -VimTip854 |vtw-854| -VimTip881 |vtw-881| -VimTip921 |vtw-921| -VimTip980 |vtw-980| -VimTip993 |vtw-993| -VimTip1027 |vtw-1027| -VimTip1044 |vtw-1044| -VimTip1047 |vtw-1047| -VimTip1049 |vtw-1049| -VimTip1056 |vtw-1056| -VimTip1057 |vtw-1057| -VimTip1060 |vtw-1060| -VimTip1062 |vtw-1062| -VimTip1069 |vtw-1069| -VimTip1080 |vtw-1080| -VimTip1081 |vtw-1081| -VimTip1082 |vtw-1082| -VimTip1085 |vtw-1085| -VimTip1086 |vtw-1086| -VimTip1089 |vtw-1089| -VimTip1094 |vtw-1094| -VimTip1095 |vtw-1095| -VimTip1096 |vtw-1096| -VimTip1097 |vtw-1097| -VimTip1098 |vtw-1098| -VimTip1099 |vtw-1099| -VimTip1100 |vtw-1100| -VimTip1102 |vtw-1102| -VimTip1104 |vtw-1104| -VimTip1105 |vtw-1105| -VimTip1106 |vtw-1106| -VimTip1113 |vtw-1113| -VimTip1115 |vtw-1115| -VimTip1116 |vtw-1116| -VimTip1121 |vtw-1121| -VimTip1122 |vtw-1122| -VimTip1135 |vtw-1135| -VimTip1136 |vtw-1136| -VimTip1137 |vtw-1137| -VimTip1138 |vtw-1138| -VimTip1139 |vtw-1139| -VimTip1140 |vtw-1140| -VimTip1143 |vtw-1143| -VimTip1144 |vtw-1144| -VimTip1145 |vtw-1145| -VimTip1163 |vtw-1163| -VimTip1165 |vtw-1165| -VimTip1169 |vtw-1169| -VimTip1170 |vtw-1170| -VimTip1175 |vtw-1175| -VimTip1176 |vtw-1176| -VimTip1179 |vtw-1179| -VimTip1184 |vtw-1184| -VimTip1186 |vtw-1186| -VimTip1191 |vtw-1191| -VimTip1201 |vtw-1201| -VimTip1205 |vtw-1205| -VimTip1207 |vtw-1207| -VimTip1208 |vtw-1208| -VimTip1209 |vtw-1209| -VimTip1210 |vtw-1210| -VimTip1211 |vtw-1211| -VimTip1219 |vtw-1219| -VimTip1222 |vtw-1222| -VimTip1236 |vtw-1236| -VimTip1239 |vtw-1239| -VimTip1243 |vtw-1243| -VimTip1248 |vtw-1248| -VimTip1250 |vtw-1250| -VimTip1252 |vtw-1252| -VimTip1254 |vtw-1254| -VimTip1255 |vtw-1255| -VimTip1256 |vtw-1256| -VimTip1258 |vtw-1258| -VimTip1263 |vtw-1263| -VimTip1264 |vtw-1264| -VimTip1270 |vtw-1270| -VimTip1271 |vtw-1271| -VimTip1277 |vtw-1277| -VimTip1278 |vtw-1278| -VimTip1307 |vtw-1307| -VimTip1310 |vtw-1310| -VimTip1325 |vtw-1325| -VimTip1328 |vtw-1328| -VimTip1329 |vtw-1329| -VimTip1331 |vtw-1331| -VimTip1337 |vtw-1337| -VimTip1339 |vtw-1339| -VimTip1340 |vtw-1340| -VimTip1342 |vtw-1342| -VimTip1344 |vtw-1344| -VimTip1345 |vtw-1345| -VimTip1346 |vtw-1346| -VimTip1350 |vtw-1350| -VimTip1351 |vtw-1351| -VimTip1352 |vtw-1352| -VimTip1353 |vtw-1353| -VimTip1355 |vtw-1355| -VimTip1357 |vtw-1357| -VimTip1358 |vtw-1358| -VimTip1367 |vtw-1367| -VimTip1371 |vtw-1371| -VimTip1372 |vtw-1372| -VimTip1374 |vtw-1374| -VimTip1383 |vtw-1383| -VimTip1394 |vtw-1394| -VimTip1395 |vtw-1395| -VimTip1396 |vtw-1396| -VimTip1397 |vtw-1397| -VimTip1398 |vtw-1398| -VimTip1399 |vtw-1399| -VimTip1400 |vtw-1400| -VimTip1401 |vtw-1401| -VimTip1402 |vtw-1402| -VimTip1403 |vtw-1403| -VimTip1404 |vtw-1404| -VimTip1405 |vtw-1405| -VimTip1406 |vtw-1406| -VimTip1407 |vtw-1407| -VimTip1408 |vtw-1408| -VimTip1409 |vtw-1409| -VimTip1410 |vtw-1410| -VimTip1411 |vtw-1411| -VimTip1412 |vtw-1412| -VimTip1414 |vtw-1414| -VimTip1415 |vtw-1415| -VimTip1416 |vtw-1416| -VimTip1417 |vtw-1417| -VimTip1418 |vtw-1418| -VimTip1419 |vtw-1419| -VimTip1420 |vtw-1420| -VimTip1421 |vtw-1421| -VimTip1422 |vtw-1422| -VimTip1423 |vtw-1423| -VimTip1424 |vtw-1424| -VimTip1425 |vtw-1425| -VimTip1426 |vtw-1426| -VimTip1427 |vtw-1427| -VimTip1428 |vtw-1428| -VimTip1429 |vtw-1429| -VimTip1430 |vtw-1430| -VimTip1441 |vtw-1441| -VimTip1444 |vtw-1444| -VimTip1445 |vtw-1445| -VimTip1446 |vtw-1446| -VimTip1447 |vtw-1447| -VimTip1448 |vtw-1448| -VimTip1449 |vtw-1449| -VimTip1450 |vtw-1450| -VimTip1451 |vtw-1451| -VimTip1452 |vtw-1452| -VimTip1453 |vtw-1453| -VimTip1457 |vtw-1457| -VimTip1459 |vtw-1459| -VimTip1460 |vtw-1460| -VimTip1461 |vtw-1461| -VimTip1462 |vtw-1462| -VimTip1464 |vtw-1464| -VimTip1466 |vtw-1466| -VimTip1467 |vtw-1467| -VimTip1471 |vtw-1471| -VimTip1473 |vtw-1473| -VimTip1474 |vtw-1474| -VimTip1476 |vtw-1476| -VimTip1478 |vtw-1478| -VimTip1480 |vtw-1480| -VimTip1481 |vtw-1481| -VimTip1482 |vtw-1482| -VimTip1485 |vtw-1485| -VimTip1488 |vtw-1488| -VimTip1489 |vtw-1489| -VimTip1492 |vtw-1492| -VimTip1493 |vtw-1493| -VimTip1494 |vtw-1494| -VimTip1502 |vtw-1502| -VimTip1503 |vtw-1503| - PHP *vtw-by-category-php* Automatically generate PHPdoc comments |vtw-407| @@ -1054,9 +787,7 @@ Generate accessor and setter methods from variable names |vtw-1544| PERL *vtw-by-category-perl* Using embedded Perl interpreter |vtw-140| -Auto-fold Perl subs |vtw-419| Open a Perl module from its module name |vtw-461| -Compiler for perl |vtw-473| Create new subroutines |vtw-1563| PLUGIN *vtw-by-category-plugin* @@ -1096,7 +827,6 @@ Scientific calculator |vtw-1235| Compile a separate copy of Vim for Python coding |vtw-1311| Automatically add Python paths to Vim path |vtw-1546| Continue omnicompletion for python modules |vtw-1548| -IPython integration |vtw-1551| User input from a script |vtw-1616| Build Python-enabled Vim on Windows with MinGW |vtw-1650| @@ -1104,189 +834,6 @@ REGISTERS *vtw-by-category-registers* Comfortable handling of registers |vtw-1562| -REMOVED *vtw-by-category-removed* - -VimTip5 |vtw-5| -VimTip13 |vtw-13| -VimTip55 |vtw-55| -VimTip77 |vtw-77| -VimTip93 |vtw-93| -VimTip98 |vtw-98| -VimTip101 |vtw-101| -VimTip109 |vtw-109| -VimTip110 |vtw-110| -VimTip114 |vtw-114| -VimTip115 |vtw-115| -VimTip116 |vtw-116| -VimTip136 |vtw-136| -VimTip142 |vtw-142| -VimTip145 |vtw-145| -VimTip151 |vtw-151| -VimTip152 |vtw-152| -VimTip161 |vtw-161| -VimTip162 |vtw-162| -VimTip163 |vtw-163| -VimTip169 |vtw-169| -VimTip170 |vtw-170| -VimTip177 |vtw-177| -VimTip179 |vtw-179| -VimTip183 |vtw-183| -VimTip187 |vtw-187| -VimTip190 |vtw-190| -VimTip192 |vtw-192| -VimTip200 |vtw-200| -VimTip204 |vtw-204| -VimTip221 |vtw-221| -VimTip229 |vtw-229| -VimTip233 |vtw-233| -VimTip252 |vtw-252| -VimTip257 |vtw-257| -VimTip260 |vtw-260| -VimTip296 |vtw-296| -VimTip300 |vtw-300| -VimTip307 |vtw-307| -VimTip310 |vtw-310| -VimTip321 |vtw-321| -VimTip326 |vtw-326| -VimTip329 |vtw-329| -VimTip339 |vtw-339| -VimTip340 |vtw-340| -VimTip359 |vtw-359| -VimTip360 |vtw-360| -VimTip365 |vtw-365| -VimTip372 |vtw-372| -VimTip379 |vtw-379| -VimTip401 |vtw-401| -VimTip403 |vtw-403| -VimTip412 |vtw-412| -VimTip415 |vtw-415| -VimTip417 |vtw-417| -VimTip422 |vtw-422| -VimTip423 |vtw-423| -VimTip424 |vtw-424| -VimTip429 |vtw-429| -VimTip433 |vtw-433| -VimTip435 |vtw-435| -VimTip439 |vtw-439| -VimTip442 |vtw-442| -VimTip447 |vtw-447| -VimTip455 |vtw-455| -VimTip456 |vtw-456| -VimTip491 |vtw-491| -VimTip496 |vtw-496| -VimTip505 |vtw-505| -VimTip511 |vtw-511| -VimTip521 |vtw-521| -VimTip532 |vtw-532| -VimTip538 |vtw-538| -VimTip541 |vtw-541| -VimTip561 |vtw-561| -VimTip562 |vtw-562| -VimTip565 |vtw-565| -VimTip574 |vtw-574| -VimTip585 |vtw-585| -VimTip592 |vtw-592| -VimTip596 |vtw-596| -VimTip599 |vtw-599| -VimTip602 |vtw-602| -VimTip612 |vtw-612| -VimTip617 |vtw-617| -VimTip620 |vtw-620| -VimTip629 |vtw-629| -VimTip633 |vtw-633| -VimTip655 |vtw-655| -VimTip661 |vtw-661| -VimTip664 |vtw-664| -VimTip666 |vtw-666| -VimTip668 |vtw-668| -VimTip674 |vtw-674| -VimTip706 |vtw-706| -VimTip707 |vtw-707| -VimTip721 |vtw-721| -VimTip722 |vtw-722| -VimTip723 |vtw-723| -VimTip731 |vtw-731| -VimTip740 |vtw-740| -VimTip756 |vtw-756| -VimTip764 |vtw-764| -VimTip777 |vtw-777| -VimTip780 |vtw-780| -VimTip811 |vtw-811| -VimTip815 |vtw-815| -VimTip820 |vtw-820| -VimTip821 |vtw-821| -VimTip827 |vtw-827| -VimTip839 |vtw-839| -VimTip841 |vtw-841| -VimTip845 |vtw-845| -VimTip849 |vtw-849| -VimTip855 |vtw-855| -VimTip865 |vtw-865| -VimTip866 |vtw-866| -VimTip870 |vtw-870| -VimTip871 |vtw-871| -VimTip877 |vtw-877| -VimTip887 |vtw-887| -VimTip890 |vtw-890| -VimTip924 |vtw-924| -VimTip927 |vtw-927| -VimTip932 |vtw-932| -VimTip935 |vtw-935| -VimTip938 |vtw-938| -VimTip942 |vtw-942| -VimTip947 |vtw-947| -VimTip951 |vtw-951| -VimTip956 |vtw-956| -VimTip959 |vtw-959| -VimTip963 |vtw-963| -VimTip1000 |vtw-1000| -VimTip1006 |vtw-1006| -VimTip1013 |vtw-1013| -VimTip1024 |vtw-1024| -VimTip1034 |vtw-1034| -VimTip1038 |vtw-1038| -VimTip1040 |vtw-1040| -VimTip1067 |vtw-1067| -VimTip1075 |vtw-1075| -VimTip1078 |vtw-1078| -VimTip1079 |vtw-1079| -VimTip1101 |vtw-1101| -VimTip1123 |vtw-1123| -VimTip1125 |vtw-1125| -VimTip1152 |vtw-1152| -VimTip1177 |vtw-1177| -VimTip1187 |vtw-1187| -VimTip1192 |vtw-1192| -VimTip1214 |vtw-1214| -VimTip1216 |vtw-1216| -VimTip1223 |vtw-1223| -VimTip1241 |vtw-1241| -VimTip1246 |vtw-1246| -VimTip1273 |vtw-1273| -VimTip1275 |vtw-1275| -VimTip1276 |vtw-1276| -VimTip1281 |vtw-1281| -VimTip1283 |vtw-1283| -VimTip1306 |vtw-1306| -VimTip1313 |vtw-1313| -VimTip1315 |vtw-1315| -VimTip1316 |vtw-1316| -VimTip1318 |vtw-1318| -VimTip1360 |vtw-1360| -VimTip1362 |vtw-1362| -VimTip1364 |vtw-1364| -VimTip1365 |vtw-1365| -VimTip1368 |vtw-1368| -VimTip1387 |vtw-1387| -VimTip1433 |vtw-1433| -VimTip1443 |vtw-1443| -VimTip1475 |vtw-1475| -VimTip1477 |vtw-1477| -VimTip1487 |vtw-1487| -VimTip1496 |vtw-1496| -VimTip1497 |vtw-1497| -VimTip1524 |vtw-1524| - REVIEW *vtw-by-category-review* Compile Java with Jikes |vtw-3| @@ -1342,7 +889,6 @@ Make non-ASCII characters displayed on console |vtw-164| Map caps lock to escape in XWindows |vtw-166| Using vim as a man-page viewer under Unix |vtw-167| Viewing the actual XPM data in GVIM |vtw-168| -Using Ispell on a highlighted region |vtw-172| Switch between Vim window splits easily |vtw-173| Footnotes |vtw-174| Autocheckout from perforce |vtw-176| @@ -1387,7 +933,6 @@ Easy (un)commenting out of source code |vtw-271| Function signature previewer |vtw-277| Set Vim as the default editor for unknown file types in Windows |vtw-279| Print syntax highlighted buffer in one color |vtw-284| -Use integrated spell checking |vtw-290| Remember where you had ended reading help |vtw-293| Start in insert mode without losing your escape key |vtw-297| Edit file found by whereis |vtw-301| @@ -1402,7 +947,6 @@ Simple text alignment |vtw-319| Page up/down and keep cursor position |vtw-320| Vim in Microsoft Visual Foxpro |vtw-328| Make footnotes in vim |vtw-332| -Syntax-based folding |vtw-333| Copy C++ function declaration into implementation file |vtw-335| Editing remote files via scp in vim |vtw-337| Vim and cscope and cygwin |vtw-338| @@ -1418,7 +962,6 @@ ColdFusion and matchit |vtw-362| Fast start up in a telnet session |vtw-363| Really basic RCS interaction from within vim |vtw-366| Comment/UnComment visually selected text |vtw-369| -Encrypt a file without leaving traces |vtw-371| Map caps lock to escape in XWindows |vtw-377| Auto insert Java class template when editing a new Java file |vtw-378| Using gvim as frontend for dbx |vtw-380| @@ -1458,7 +1001,6 @@ Display date-and-time on status line |vtw-468| Using the mouse for Vim in an xterm |vtw-471| Handy option flag toggler |vtw-472| Have . restore the cursor position a la emacs in viper mode |vtw-474| -Wrap visual selection with fold markers |vtw-475| Errorformat and makeprg |vtw-476| Put the indentation level on the status line |vtw-477| Replace with no typing |vtw-479| @@ -1644,7 +1186,6 @@ Align numbers at decimal point |vtw-893| Lookup the city and state of a given US Zip code using TCL |vtw-896| Capitalize words and regions easily |vtw-899| Insert comment boxes in your code |vtw-900| -Text objects for strings |vtw-901| Easily change the path option |vtw-902| Capitalize words in insert and normal modes without moving the cursor |vtw-903| Convenience wrapper for setline |vtw-904| @@ -1655,7 +1196,6 @@ Easy indenting in insert and normal mode with no cursor displacement |vtw-909| Upload web files from Vim using Python |vtw-910| Smart abbreviation |vtw-912| Delete files with a Vim command |vtw-913| -View only what you are editing |vtw-916| Easy word and page selection and deletion in gvim |vtw-917| Moving by screen lines instead of file lines |vtw-919| Launch lynx to get info for the current word |vtw-922| @@ -1692,7 +1232,6 @@ Commenting out a range of lines |vtw-981| Numbering lines and interpolating sequences |vtw-983| Accessing the system clipboard |vtw-984| Easy floating point arithmetic |vtw-987| -Surround selection with text |vtw-988| Make views automatic |vtw-991| Manipulate quoted strings |vtw-994| Resize window when showing/hiding line numbers |vtw-995| @@ -1823,7 +1362,6 @@ Use ijkl to move the cursor and h to insert |vtw-1334| Open Windows Explorer showing directory of current buffer |vtw-1336| See man pages by gview |vtw-1338| Power K |vtw-1341| -Diff the current buffer with another file |vtw-1343| Using Vim key bindings while typing non-latin1 text |vtw-1348| Calculator Editing |vtw-1349| Online documentation for word under cursor |vtw-1354| @@ -2009,7 +1547,6 @@ Get bright background colors in Linux console |vtw-748| Completion using a syntax file |vtw-765| Highlight current line |vtw-769| Make vim and gvim have the same colors |vtw-773| -Highlight long lines |vtw-810| Different syntax highlighting within regions of a file |vtw-857| Remove unwanted spaces |vtw-878| Switch color schemes |vtw-884| @@ -2029,9 +1566,7 @@ Define your own colors |vtw-1305| Change the color scheme to show where you are |vtw-1378| Highlight special filetype docs |vtw-1381| Xterm256 color names for console Vim |vtw-1384| -Enable paren matching over whole file |vtw-1391| Dosini files |vtw-1514| -Highlight long lines |vtw-1523| Check your syntax files for configurable options |vtw-1534| Creating your own syntax files |vtw-1561| Edit MoinMoin wiki files with folding |vtw-1565| @@ -2071,8 +1606,6 @@ Use eval to create dynamic templates |vtw-1567| TEMPORARY *vtw-by-category-temporary* Using Vim to send mail on Windows |vtw-590| -Highlight long lines |vtw-810| -Highlight long lines |vtw-1523| TERMINALS *vtw-by-category-terminals* @@ -2126,7 +1659,6 @@ Window zooming convenience |vtw-132| Run a command in multiple buffers |vtw-133| Syntax folding for Java |vtw-143| Search for visually selected text |vtw-171| -Using Ispell on a highlighted region |vtw-172| Search patterns |vtw-188| Make-compile current buffer |vtw-210| Setting file attributes without reloading a buffer |vtw-212| @@ -2145,7 +1677,6 @@ Quick yank and paste |vtw-356| Building Vim |vtw-376| Internet search for the current word |vtw-394| Drag and drop file names into the Vim command line |vtw-413| -Running diff |vtw-416| Automatic formatting of paragraphs |vtw-440| Convert between hex and decimal |vtw-448| Browsing programs with tags |vtw-453| @@ -2163,10 +1694,8 @@ Open vimrc file |vtw-626| View all colors available to gvim |vtw-634| Switch to unit test module for Python |vtw-658| Nice window resizing |vtw-669| -Running diff |vtw-678| Enhanced command window |vtw-681| Use gf to open a file via its URL |vtw-691| -Running diff |vtw-715| Convert between hex and decimal |vtw-772| Search for visually selected text |vtw-793| Repeat search using grep |vtw-825| @@ -2207,7 +1736,6 @@ Custom resizing on the spot |vtw-1302| Run a command in multiple buffers |vtw-1335| Using tab pages |vtw-1347| Highlight cursor line after cursor jump |vtw-1380| -Disable the "Hit any key to close this window" message in remote editing |vtw-1385| Make Vim completion popup menu work just like in an IDE |vtw-1386| File search similar to cmd-t in TextMate |vtw-1432| Use recording to easily add function skeletons from prototypes |vtw-1435| @@ -2258,7 +1786,6 @@ UNDO *vtw-by-category-undo* Undo and Redo |vtw-39| Helps undo 1 line when entered many |vtw-86| Recover from accidental Ctrl-U |vtw-436| -Reload file without losing undo history |vtw-1627| Using undo branches |vtw-1643| USAGE *vtw-by-category-usage* @@ -2349,7 +1876,6 @@ Improved hex editing |vtw-1518| Displaying the current Vim environment |vtw-1522| To switch back to normal mode automatically after inaction |vtw-1540| Execute external programs asynchronously under Windows |vtw-1549| -Remap join to merge comment lines |vtw-1553| Record a recursive macro |vtw-1577| Converting variables to or from camel case |vtw-1602| Ranges |vtw-1611| @@ -2392,7 +1918,6 @@ Using Computer Modern TT as a gvim font under Windows |vtw-158| Make vim the editor for files with unregistered extensions in Windows |vtw-185| Set Vim as the default editor for unknown file types in Windows |vtw-279| Integrate gvim with Visual Studio |vtw-368| -Running diff |vtw-416| Change between backslash and forward slash |vtw-431| Putting the current file on the Windows clipboard |vtw-432| Maximize or restore window |vtw-494| @@ -2404,9 +1929,7 @@ Adding Vim to MS-Windows File Explorer Menu |vtw-636| Add Vim to the Windows Explorer context menu |vtw-640| Enabling Windows shortcuts for gvim |vtw-645| Use shortcut key to start gvim in Windows |vtw-676| -Running diff |vtw-678| Integrate gvim with Visual Studio |vtw-683| -Running diff |vtw-715| Embedding vim in Visual Studio |vtw-716| Use Python to build project in Visual Studio |vtw-719| Quick launch html and other Windows documents |vtw-732| diff --git a/doc/vim-tips-wiki-index.txt b/doc/vim-tips-wiki-index.txt index c8c2150..1d0ece7 100644 --- a/doc/vim-tips-wiki-index.txt +++ b/doc/vim-tips-wiki-index.txt @@ -6,7 +6,6 @@ 2. Easy edit of files in the same directory |vtw-2| 3. Compile Java with Jikes |vtw-3| 4. Any word completion |vtw-4| - 5. VimTip5 |vtw-5| 6. Moving to matching braces |vtw-6| 7. Jumping to the start and end of a code block |vtw-7| 8. Jumping to the declaration of a local/global variable |vtw-8| @@ -14,7 +13,6 @@ 10. Jumping to previously visited locations |vtw-10| 11. Any word completion |vtw-11| 12. Converting tabs to spaces |vtw-12| - 13. VimTip13 |vtw-13| 14. Highlight all search pattern matches |vtw-14| 15. Displaying status line always |vtw-15| 16. Avoiding the "Hit ENTER to continue" prompts |vtw-16| @@ -56,14 +54,7 @@ 52. Scrolling synchronously |vtw-52| 53. Better colors for syntax highlighting |vtw-53| 54. View a Java Class File using a decompiler |vtw-54| - 55. VimTip55 |vtw-55| - 56. VimTip56 |vtw-56| - 57. VimTip57 |vtw-57| 58. How to avoid obliterating window layout |vtw-58| - 59. VimTip59 |vtw-59| - 60. VimTip60 |vtw-60| - 61. VimTip61 |vtw-61| - 62. VimTip62 |vtw-62| 63. Applying substitutes to a visual block |vtw-63| 64. Set working directory to the current file |vtw-64| 65. Insert line numbers |vtw-65| @@ -78,7 +69,6 @@ 74. Using Vim as an outline processor |vtw-74| 75. Map caps lock to escape in Windows |vtw-75| 76. Show only lines in quickfix list for current buffer |vtw-76| - 77. VimTip77 |vtw-77| 78. Rotating mail signatures |vtw-78| 79. Use grep to get a clickable list of function names |vtw-79| 80. Restore cursor to file position in previous editing session |vtw-80| @@ -94,15 +84,12 @@ 90. Encryption |vtw-90| 91. Dictionary completions |vtw-91| 92. Compress Vim doc files to save space |vtw-92| - 93. VimTip93 |vtw-93| 94. Browsing programs with tags |vtw-94| 95. Capture ex command output |vtw-95| 96. Integrate gvim with AutoCad MTEXT |vtw-96| 97. Insert current date or time |vtw-97| - 98. VimTip98 |vtw-98| 99. Identify the syntax highlighting group used at the cursor |vtw-99| 100. Jump to tag (help topic) with German keyboard |vtw-100| - 101. VimTip101 |vtw-101| 102. Smart mapping for tab completion |vtw-102| 103. Move to next/previous line with same indentation |vtw-103| 104. Capture SQL query output |vtw-104| @@ -110,14 +97,9 @@ 106. Insert mail signatures from a rotating file |vtw-106| 107. Convert enum to string table |vtw-107| 108. Folding |vtw-108| - 109. VimTip109 |vtw-109| - 110. VimTip110 |vtw-110| 111. Printing with syntax highlighting independent of your normal highlighting |vtw-111| 112. Move to next/previous line with same indentation |vtw-112| 113. Integrate Vim with a dictionary |vtw-113| - 114. VimTip114 |vtw-114| - 115. VimTip115 |vtw-115| - 116. VimTip116 |vtw-116| 117. Search all files in project quickly |vtw-117| 118. Use gvim to view page source in Internet Explorer |vtw-118| 119. Explorer startup and shutdown |vtw-119| @@ -137,63 +119,43 @@ 133. Run a command in multiple buffers |vtw-133| 134. View Source in IE6 using VIM |vtw-134| 135. Vim buffer FAQ |vtw-135| - 136. VimTip136 |vtw-136| 137. Automatically wrap left and right |vtw-137| 138. Getting name of the function |vtw-138| 139. Align text plugin |vtw-139| 140. Using embedded Perl interpreter |vtw-140| 141. Add your function heading with a keystroke |vtw-141| - 142. VimTip142 |vtw-142| 143. Syntax folding for Java |vtw-143| 144. Recording keys for repeated jobs |vtw-144| - 145. VimTip145 |vtw-145| 146. Opening multiple files from a single command-line |vtw-146| 147. How to write a plugin |vtw-147| 148. Make great use of those homemade menus |vtw-148| 149. Update the diff view automatically |vtw-149| 150. Generating a column of increasing numbers |vtw-150| - 151. VimTip151 |vtw-151| - 152. VimTip152 |vtw-152| 153. Making Parenthesis And Brackets Handling Easier |vtw-153| 154. Mappings to facilitate the creation of text |vtw-154| 155. Decompile Java .class files automatically |vtw-155| 156. Describe a SQL table from Vim |vtw-156| - 157. VimTip157 |vtw-157| 158. Using Computer Modern TT as a gvim font under Windows |vtw-158| 159. Keystroke Saving Substituting and Searching |vtw-159| - 160. VimTip160 |vtw-160| - 161. VimTip161 |vtw-161| - 162. VimTip162 |vtw-162| - 163. VimTip163 |vtw-163| 164. Make non-ASCII characters displayed on console |vtw-164| 165. Deleting a buffer without closing the window |vtw-165| 166. Map caps lock to escape in XWindows |vtw-166| 167. Using vim as a man-page viewer under Unix |vtw-167| 168. Viewing the actual XPM data in GVIM |vtw-168| - 169. VimTip169 |vtw-169| - 170. VimTip170 |vtw-170| 171. Search for visually selected text |vtw-171| - 172. Using Ispell on a highlighted region |vtw-172| 173. Switch between Vim window splits easily |vtw-173| 174. Footnotes |vtw-174| 175. Set Vim as your default editor for Unix |vtw-175| 176. Autocheckout from perforce |vtw-176| - 177. VimTip177 |vtw-177| 178. Create a color scheme based on another |vtw-178| - 179. VimTip179 |vtw-179| 180. Reload your filetype/syntax plugin |vtw-180| 181. Get the vim patched source |vtw-181| 182. Keep your cursor centered vertically on the screen |vtw-182| - 183. VimTip183 |vtw-183| 184. How to obscure text instantaneously |vtw-184| 185. Make vim the editor for files with unregistered extensions in Windows |vtw-185| - 186. VimTip186 |vtw-186| - 187. VimTip187 |vtw-187| 188. Search patterns |vtw-188| 189. Map Ctrl-Backspace to delete previous word |vtw-189| - 190. VimTip190 |vtw-190| 191. Transposing |vtw-191| - 192. VimTip192 |vtw-192| 193. Insert current filename |vtw-193| 194. Inserting text in multiple lines |vtw-194| 195. Switching between files |vtw-195| @@ -201,11 +163,9 @@ 197. Open file in already running vim from elsewhere |vtw-197| 198. Pasting code with syntax coloring in emails |vtw-198| 199. Maximize window and return to previous split structure |vtw-199| - 200. VimTip200 |vtw-200| 201. Best Vim Tips |vtw-201| 202. Debugging window autocommands |vtw-202| 203. Automatically open the quickfix window on :make |vtw-203| - 204. VimTip204 |vtw-204| 205. Sum numbers |vtw-205| 206. Highlight doubled word errors in text |vtw-206| 207. Editing databases with Vim/Perl/DBI |vtw-207| @@ -222,7 +182,6 @@ 218. Check for comments independent of filetype |vtw-218| 219. Run make from command line and open Vim on errors |vtw-219| 220. Search for lines not containing pattern and other helpful searches |vtw-220| - 221. VimTip221 |vtw-221| 222. Building vim with color on HP-UX |vtw-222| 223. Reverse selected text |vtw-223| 224. Shifting blocks visually |vtw-224| @@ -230,11 +189,9 @@ 226. Open file under cursor |vtw-226| 227. Power of g |vtw-227| 228. Deleting nested reply threads in emails |vtw-228| - 229. VimTip229 |vtw-229| 230. Copy current file to another location from within vim |vtw-230| 231. Change the color scheme to show where you are |vtw-231| 232. Search JDK help for keyword at cursor |vtw-232| - 233. VimTip233 |vtw-233| 234. Command line tricks |vtw-234| 235. Highlight current word to find cursor |vtw-235| 236. Menu for inserting special characters |vtw-236| @@ -246,22 +203,18 @@ 242. Search across multiple lines |vtw-242| 243. Develop vim modules on Win |vtw-243| 244. Debug unexpected option settings |vtw-244| - 245. VimTip245 |vtw-245| 246. Working with Unicode |vtw-246| 247. Preexisting code indentation |vtw-247| 248. Auto-save current buffer periodically |vtw-248| 249. Insert if/endif around block of code |vtw-249| 250. One big window |vtw-250| 251. Align endif with corresponding if or ifdef directive |vtw-251| - 252. VimTip252 |vtw-252| 253. Specify a column with bar |vtw-253| 254. Matching optional parts of a word |vtw-254| 255. Arbitrary tags for file names |vtw-255| 256. Preview current HTML file |vtw-256| - 257. VimTip257 |vtw-257| 258. Show the length of the current word |vtw-258| 259. Hide toolbar or menus to see more text |vtw-259| - 260. VimTip260 |vtw-260| 261. Close windows from gvim popup menu |vtw-261| 262. Change the gvim mouse arrow cursor |vtw-262| 263. Highlight current line |vtw-263| @@ -275,9 +228,7 @@ 271. Easy (un)commenting out of source code |vtw-271| 272. Format pasted text automatically |vtw-272| 273. Fix email quotations with long lines |vtw-273| - 274. VimTip274 |vtw-274| 275. Compiling LaTeX from Vim |vtw-275| - 276. VimTip276 |vtw-276| 277. Function signature previewer |vtw-277| 278. All the right moves |vtw-278| 279. Set Vim as the default editor for unknown file types in Windows |vtw-279| @@ -291,27 +242,21 @@ 287. Increasing or decreasing numbers |vtw-287| 288. Generate Java setters and getters automatically |vtw-288| 289. Avoid the escape key |vtw-289| - 290. Use integrated spell checking |vtw-290| 291. Any word completion |vtw-291| - 292. VimTip292 |vtw-292| 293. Remember where you had ended reading help |vtw-293| 294. Map Ctrl-S to save current or new files |vtw-294| 295. Line/word/file/whatever completion |vtw-295| - 296. VimTip296 |vtw-296| 297. Start in insert mode without losing your escape key |vtw-297| 298. Changing case with regular expressions |vtw-298| 299. Open file under cursor |vtw-299| - 300. VimTip300 |vtw-300| 301. Edit file found by whereis |vtw-301| 302. Use gvim in kmail |vtw-302| 303. Statusline tab level ruler |vtw-303| 304. Syntax folding for Java |vtw-304| 305. Best Vim Tips |vtw-305| 306. Open a web-browser with the URL in the current line |vtw-306| - 307. VimTip307 |vtw-307| 308. Move through wrapped lines |vtw-308| 309. Close vim you left open remotely |vtw-309| - 310. VimTip310 |vtw-310| 311. Open the folder containing the currently open file |vtw-311| 312. Copy, cut and paste |vtw-312| 313. Printing using kprinter |vtw-313| @@ -322,26 +267,20 @@ 318. Brackets and parentheses in Perl |vtw-318| 319. Simple text alignment |vtw-319| 320. Page up/down and keep cursor position |vtw-320| - 321. VimTip321 |vtw-321| 322. Text template with placeholders |vtw-322| 323. Using folders with latex |vtw-323| 324. Search and replace in multiple buffers |vtw-324| 325. Errorformat for java/ant/junit/cygwin/bash |vtw-325| - 326. VimTip326 |vtw-326| 327. Short mappings for common tasks |vtw-327| 328. Vim in Microsoft Visual Foxpro |vtw-328| - 329. VimTip329 |vtw-329| 330. How to stop auto indenting |vtw-330| 331. Modeline magic |vtw-331| 332. Make footnotes in vim |vtw-332| - 333. Syntax-based folding |vtw-333| 334. Loading scripts in vimrc safely |vtw-334| 335. Copy C++ function declaration into implementation file |vtw-335| 336. Jump to a line number |vtw-336| 337. Editing remote files via scp in vim |vtw-337| 338. Vim and cscope and cygwin |vtw-338| - 339. VimTip339 |vtw-339| - 340. VimTip340 |vtw-340| 341. Switch color schemes |vtw-341| 342. Map caps lock to escape in XWindows |vtw-342| 343. Faster loading of large files |vtw-343| @@ -360,27 +299,21 @@ 356. Quick yank and paste |vtw-356| 357. Adding a console to gdbvim |vtw-357| 358. Switch color schemes |vtw-358| - 359. VimTip359 |vtw-359| - 360. VimTip360 |vtw-360| 361. Vim can interact with xdvi |vtw-361| 362. ColdFusion and matchit |vtw-362| 363. Fast start up in a telnet session |vtw-363| 364. Automatic file type detection with fully qualified ClearCase names |vtw-364| - 365. VimTip365 |vtw-365| 366. Really basic RCS interaction from within vim |vtw-366| 367. Understanding VIMRUNTIME |vtw-367| 368. Integrate gvim with Visual Studio |vtw-368| 369. Comment/UnComment visually selected text |vtw-369| 370. Set working directory to the current file |vtw-370| - 371. Encrypt a file without leaving traces |vtw-371| - 372. VimTip372 |vtw-372| 373. Search and replace in multiple buffers |vtw-373| 374. Use filter commands to process text |vtw-374| 375. Use eval to create dynamic templates |vtw-375| 376. Building Vim |vtw-376| 377. Map caps lock to escape in XWindows |vtw-377| 378. Auto insert Java class template when editing a new Java file |vtw-378| - 379. VimTip379 |vtw-379| 380. Using gvim as frontend for dbx |vtw-380| 381. Running the win32-version of Vim from cygwin |vtw-381| 382. Search and replace in multiple buffers |vtw-382| @@ -393,7 +326,6 @@ 389. Search only in unfolded text |vtw-389| 390. Combining vimdiff with cvs diff |vtw-390| 391. Simple programmers TODO list using grep and quickfix |vtw-391| - 392. VimTip392 |vtw-392| 393. Perl compatible regular expressions |vtw-393| 394. Internet search for the current word |vtw-394| 395. Visual marks |vtw-395| @@ -402,9 +334,7 @@ 398. Macros |vtw-398| 399. Fold away empty lines |vtw-399| 400. Fast scroll mappings |vtw-400| - 401. VimTip401 |vtw-401| 402. Press space to jump between windows and to expand them |vtw-402| - 403. VimTip403 |vtw-403| 404. Tags for Mixed Assembly and C |vtw-404| 405. ShowBlockName one-liner equivalent for one coding style |vtw-405| 406. Alternate delimiters for the replace command |vtw-406| @@ -413,42 +343,28 @@ 409. Using selected text in a command |vtw-409| 410. Allow Inform header files to be distinguished from C headers |vtw-410| 411. How to initialize plugins |vtw-411| - 412. VimTip412 |vtw-412| 413. Drag and drop file names into the Vim command line |vtw-413| 414. Change guifont to see more of your file |vtw-414| - 415. VimTip415 |vtw-415| - 416. Running diff |vtw-416| - 417. VimTip417 |vtw-417| 418. Disable beeping |vtw-418| - 419. Auto-fold Perl subs |vtw-419| 420. Hide toolbar or menus to see more text |vtw-420| 421. Highlight current line |vtw-421| - 422. VimTip422 |vtw-422| - 423. VimTip423 |vtw-423| - 424. VimTip424 |vtw-424| 425. Forcing Syntax Coloring for files with odd extensions |vtw-425| 426. Protecting a file from accidental changes |vtw-426| 427. Fast window resizing with plus/minus keys |vtw-427| 428. Wordwise Ctrl-Y in insert mode |vtw-428| - 429. VimTip429 |vtw-429| 430. Cycle through buffers including hidden buffers |vtw-430| 431. Change between backslash and forward slash |vtw-431| 432. Putting the current file on the Windows clipboard |vtw-432| - 433. VimTip433 |vtw-433| 434. Auto commands for C/C++ editing |vtw-434| - 435. VimTip435 |vtw-435| 436. Recover from accidental Ctrl-U |vtw-436| 437. Extending keywords |vtw-437| 438. Search and replace in a visual selection |vtw-438| - 439. VimTip439 |vtw-439| 440. Automatic formatting of paragraphs |vtw-440| 441. Toggle auto-wrap |vtw-441| - 442. VimTip442 |vtw-442| 443. A better interfacing of (La)TeX with the quickfix mode |vtw-443| 444. Show entire multiline error in quickfix |vtw-444| 445. Formatting stuff |vtw-445| 446. Quick and dirty Postgres query |vtw-446| - 447. VimTip447 |vtw-447| 448. Convert between hex and decimal |vtw-448| 449. Fortran highlighting problems |vtw-449| 450. Working with multiple sessions |vtw-450| @@ -456,8 +372,6 @@ 452. Edit multiple files from a list of file names |vtw-452| 453. Browsing programs with tags |vtw-453| 454. Fix syntax highlighting |vtw-454| - 455. VimTip455 |vtw-455| - 456. VimTip456 |vtw-456| 457. Follow tag in new window |vtw-457| 458. Use the quickfix window to list all errors |vtw-458| 459. Use Ctrl-O instead of Esc in insert mode mappings |vtw-459| @@ -474,9 +388,7 @@ 470. Swapping characters, words and lines |vtw-470| 471. Using the mouse for Vim in an xterm |vtw-471| 472. Handy option flag toggler |vtw-472| - 473. Compiler for perl |vtw-473| 474. Have . restore the cursor position a la emacs in viper mode |vtw-474| - 475. Wrap visual selection with fold markers |vtw-475| 476. Errorformat and makeprg |vtw-476| 477. Put the indentation level on the status line |vtw-477| 478. Copy search matches |vtw-478| @@ -492,29 +404,18 @@ 488. Start with a wide window for diff |vtw-488| 489. Section jump in Latex |vtw-489| 490. Paste registers in search or colon commands instead of using the clipboard |vtw-490| - 491. VimTip491 |vtw-491| 492. Jump to file from CVSDiff output |vtw-492| 493. Open the directory for the current file in Windows |vtw-493| 494. Maximize or restore window |vtw-494| 495. Backspace key using puTTY to RH9 box |vtw-495| - 496. VimTip496 |vtw-496| 497. Replace a word with yanked text |vtw-497| 498. Completion using a syntax file |vtw-498| - 499. VimTip499 |vtw-499| - 500. VimTip500 |vtw-500| - 501. VimTip501 |vtw-501| 502. View character class |vtw-502| 503. PuTTY numeric keypad mappings |vtw-503| - 504. VimTip504 |vtw-504| - 505. VimTip505 |vtw-505| 506. Open Windows Help files on a specific topic |vtw-506| 507. Quick window resizing |vtw-507| - 508. VimTip508 |vtw-508| 509. Execute commands without changing the search register |vtw-509| 510. Set VIMRUNTIME within vimrc |vtw-510| - 511. VimTip511 |vtw-511| - 512. VimTip512 |vtw-512| - 513. VimTip513 |vtw-513| 514. Automatic insertion of C/C++ header gates |vtw-514| 515. List loaded scripts |vtw-515| 516. Search patterns |vtw-516| @@ -522,7 +423,6 @@ 518. Errorformat for icc7 |vtw-518| 519. Folding like in Visual Basic .NET |vtw-519| 520. Search patterns |vtw-520| - 521. VimTip521 |vtw-521| 522. Fix an autoindent error |vtw-522| 523. Folding functions with the prototype included |vtw-523| 524. Evaluate an expression in any mode |vtw-524| @@ -533,24 +433,18 @@ 529. Make Shift-Tab work |vtw-529| 530. Get the name of the current file |vtw-530| 531. Build Vim in Windows with Cygwin |vtw-531| - 532. VimTip532 |vtw-532| 533. Page 1 of 123 in header of hardcopy |vtw-533| 534. For verilog users only |vtw-534| 535. Working with only one term/console? |vtw-535| 536. Automatically quit Vim if quickfix window is the last |vtw-536| 537. Mimic shift-arrow to select text in terminals without shift-arrow |vtw-537| - 538. VimTip538 |vtw-538| 539. Quick access to Vim tips and scripts with konqueror |vtw-539| - 540. VimTip540 |vtw-540| - 541. VimTip541 |vtw-541| 542. Edit remote files locally via SCP/RCP/FTP |vtw-542| 543. Internationalizing the Vim editor |vtw-543| - 544. VimTip544 |vtw-544| 545. Vim goes Greek - Greek language support for Vim 6.1 |vtw-545| 546. Vim goes INTL - Translating Messages, Menus, Encodings |vtw-546| 547. Smarter Table Editing |vtw-547| 548. Using H and L keys as context sensitive pagedown/pageup |vtw-548| - 549. VimTip549 |vtw-549| 550. Fix arrow keys that display A B C D on remote shell |vtw-550| 551. Automatically indent an XML file using XSLT |vtw-551| 552. Replace buffer list when switching |vtw-552| @@ -562,11 +456,8 @@ 558. Using TagList for ANT build files |vtw-558| 559. Use Vim to expire your mail so Mutt will delete them later |vtw-559| 560. Generate calendar file |vtw-560| - 561. VimTip561 |vtw-561| - 562. VimTip562 |vtw-562| 563. List lines with keyword and prompt for jump |vtw-563| 564. Mouse wheel for scroll only - disable middle button paste |vtw-564| - 565. VimTip565 |vtw-565| 566. Autocomplete with TAB when typing words |vtw-566| 567. Edit a temporary copy of the current file |vtw-567| 568. Use temporary tags file when browsing new source |vtw-568| @@ -575,7 +466,6 @@ 571. Source vimrc and use tags in a parent directory |vtw-571| 572. Auto highlight current word when idle |vtw-572| 573. Repeating a substitute from current cursor position |vtw-573| - 574. VimTip574 |vtw-574| 575. Chop long lines |vtw-575| 576. Generate all Unicode characters |vtw-576| 577. Access vim@vim.org using Newsgroup Reader |vtw-577| @@ -586,24 +476,18 @@ 582. Quick save |vtw-582| 583. Vim as XML Editor |vtw-583| 584. Par text reformatter |vtw-584| - 585. VimTip585 |vtw-585| 586. Smarter pasting |vtw-586| 587. Preview current HTML file |vtw-587| 588. How to sort using visual blocks |vtw-588| 589. Vim as a refactoring tool and some examples in C sharp |vtw-589| 590. Using Vim to send mail on Windows |vtw-590| 591. Have a nice and easy use of plugins |vtw-591| - 592. VimTip592 |vtw-592| 593. Basic postfix abbreviations |vtw-593| - 594. VimTip594 |vtw-594| 595. Suppressing file changed warnings in a specific buffer |vtw-595| - 596. VimTip596 |vtw-596| 597. Indent a code block |vtw-597| 598. PHP online help |vtw-598| - 599. VimTip599 |vtw-599| 600. Copy filename to clipboard |vtw-600| 601. Tags that jump to line and column |vtw-601| - 602. VimTip602 |vtw-602| 603. Bookmarks as menu item |vtw-603| 604. Insert in normal mode |vtw-604| 605. Replace a word with yanked text |vtw-605| @@ -613,15 +497,12 @@ 609. Execute Python from within current file |vtw-609| 610. Use abbreviations for frequently-used words |vtw-610| 611. Faster loading of large files |vtw-611| - 612. VimTip612 |vtw-612| 613. Open the last edited file |vtw-613| 614. Perldoc function and module keyboard mappings |vtw-614| 615. Moving to the next word in insert mode |vtw-615| 616. Have Vim check automatically if the file has changed externally |vtw-616| - 617. VimTip617 |vtw-617| 618. How to make and submit a patch |vtw-618| 619. How to make a keymap |vtw-619| - 620. VimTip620 |vtw-620| 621. Pasting code with syntax coloring in emails |vtw-621| 622. Deleting a buffer without closing the window |vtw-622| 623. External paste buffer |vtw-623| @@ -630,11 +511,8 @@ 626. Open vimrc file |vtw-626| 627. Compiling LaTeX from Vim |vtw-627| 628. Execute commands from buffer text under Windows |vtw-628| - 629. VimTip629 |vtw-629| - 630. Automatically append closing characters |vtw-630| 631. Disabling IME input in Windows |vtw-631| 632. Setting the font in the GUI |vtw-632| - 633. VimTip633 |vtw-633| 634. View all colors available to gvim |vtw-634| 635. Getting colors to work on solaris |vtw-635| 636. Adding Vim to MS-Windows File Explorer Menu |vtw-636| @@ -656,30 +534,22 @@ 652. Save all open buffers at once |vtw-652| 653. Continuing doxygen comments |vtw-653| 654. Special characters in the substitute command |vtw-654| - 655. VimTip655 |vtw-655| 656. Recursive mappings |vtw-656| - 657. VimTip657 |vtw-657| 658. Switch to unit test module for Python |vtw-658| 659. Collect filenames of current subtree |vtw-659| 660. Comment lines in different filetypes |vtw-660| - 661. VimTip661 |vtw-661| 662. Quote unquoted HTML attributes |vtw-662| 663. Disable beeping |vtw-663| - 664. VimTip664 |vtw-664| 665. Hide toolbar or menus to see more text |vtw-665| - 666. VimTip666 |vtw-666| 667. Working with CSV files |vtw-667| - 668. VimTip668 |vtw-668| 669. Nice window resizing |vtw-669| 670. Delete some lines with some exceptions |vtw-670| 671. Add a newline after given patterns |vtw-671| 672. Buffer bar to list buffers |vtw-672| 673. Prompted quit in insert-mode |vtw-673| - 674. VimTip674 |vtw-674| 675. How to turn off all colors |vtw-675| 676. Use shortcut key to start gvim in Windows |vtw-676| 677. Quick way to insert opening and closing braces for programmers |vtw-677| - 678. Running diff |vtw-678| 679. Searching |vtw-679| 680. Verbose startup while avoiding File not found |vtw-680| 681. Enhanced command window |vtw-681| @@ -703,12 +573,6 @@ 699. Enable servername capability in vim/xterm |vtw-699| 700. Indenting for Java |vtw-700| 701. Simple code beautifier |vtw-701| - 702. VimTip702 |vtw-702| - 703. VimTip703 |vtw-703| - 704. VimTip704 |vtw-704| - 705. VimTip705 |vtw-705| - 706. VimTip706 |vtw-706| - 707. VimTip707 |vtw-707| 708. Converting LANG to UTF-8 |vtw-708| 709. Simple creation of scripts |vtw-709| 710. Type and run templates instead of routine code |vtw-710| @@ -716,23 +580,15 @@ 712. Reverse letters |vtw-712| 713. Create one mapping for both console and GUI |vtw-713| 714. Version independent installation of Vim on Windows |vtw-714| - 715. Running diff |vtw-715| 716. Embedding vim in Visual Studio |vtw-716| 717. Execute a shell command in the directory shown in file explorer |vtw-717| 718. Show a useful title on exit in an xterm |vtw-718| 719. Use Python to build project in Visual Studio |vtw-719| 720. Short mappings for common tasks |vtw-720| - 721. VimTip721 |vtw-721| - 722. VimTip722 |vtw-722| - 723. VimTip723 |vtw-723| 724. Underline using dashes automatically |vtw-724| 725. Quick mapping for backing up the file |vtw-725| 726. How to obscure text instantaneously |vtw-726| 727. Helpfiles and avoiding E21 error with fileencoding |vtw-727| - 728. VimTip728 |vtw-728| - 729. VimTip729 |vtw-729| - 730. VimTip730 |vtw-730| - 731. VimTip731 |vtw-731| 732. Quick launch html and other Windows documents |vtw-732| 733. Python - check syntax and run script |vtw-733| 734. Fix the x command in virtualedit mode |vtw-734| @@ -741,14 +597,11 @@ 737. Fine tuning syntax colors |vtw-737| 738. Fix meta-keys that break out of Insert mode |vtw-738| 739. Writing a valid statusline |vtw-739| - 740. VimTip740 |vtw-740| 741. Syntax folding of Python files |vtw-741| 742. Change filetype based on directory path |vtw-742| 743. Use Alt-Mouse to select blockwise |vtw-743| - 744. Get latest releases for syntax highlighting, runtime, plugins etc |vtw-744| 745. Find VIMRUNTIME in a bash script |vtw-745| 746. Configuring the cursor |vtw-746| - 747. Get latest releases for syntax highlighting, runtime, plugins etc |vtw-747| 748. Get bright background colors in Linux console |vtw-748| 749. Uuencode and uudecode text in Vim |vtw-749| 750. Underline using dashes automatically |vtw-750| @@ -757,7 +610,6 @@ 753. Make File-Open track directory of current file |vtw-753| 754. Highlighting source between matching curly braces |vtw-754| 755. Using an expression in substitute command |vtw-755| - 756. VimTip756 |vtw-756| 757. Sample switch between number/nonumber |vtw-757| 758. Search and sort by selection |vtw-758| 759. Selecting your pasted text |vtw-759| @@ -765,7 +617,6 @@ 761. Review code effectively using quickfix |vtw-761| 762. Integrate with FTPeel on Mac OS X |vtw-762| 763. Drag words with Ctrl-left/right |vtw-763| - 764. VimTip764 |vtw-764| 765. Completion using a syntax file |vtw-765| 766. Yank last line and trim to the cursor |vtw-766| 767. Multiple commands at once |vtw-767| @@ -778,10 +629,8 @@ 774. Gtk gvim and fontconfig |vtw-774| 775. Map caps lock to escape in XWindows |vtw-775| 776. Deadkeys / Accented Characters and Mutt integration |vtw-776| - 777. VimTip777 |vtw-777| 778. Speed up Python coding |vtw-778| 779. OEM to ANSI conversion |vtw-779| - 780. VimTip780 |vtw-780| 781. Change the Windows Explorer hotkey for Diff with Vim |vtw-781| 782. Jump to definition of entity under cursor |vtw-782| 783. Avoid the escape key |vtw-783| @@ -789,14 +638,12 @@ 785. Toggle between tabs and spaces |vtw-785| 786. Translate text between different character sets |vtw-786| 787. Invoke a function with a count prefix |vtw-787| - 788. VimTip788 |vtw-788| 789. Automatically redate file headers |vtw-789| 790. View and diff MS Word files |vtw-790| 791. Search for non-ASCII characters |vtw-791| 792. Preloading registers |vtw-792| 793. Search for visually selected text |vtw-793| 794. Scripting - Indirectly Referencing Variables |vtw-794| - 795. Simulating arrays with Vim |vtw-795| 796. Search only over a visual range |vtw-796| 797. All folds open when opening a file |vtw-797| 798. Search for current word in new window |vtw-798| @@ -811,24 +658,18 @@ 807. Backing up and commenting vimrc |vtw-807| 808. Replace a visual-block of text with another such block |vtw-808| 809. Use gvim as an external editor for Linux apps |vtw-809| - 810. Highlight long lines |vtw-810| - 811. VimTip811 |vtw-811| 812. Keep the modified flag after writing to a file |vtw-812| 813. Reverse order of lines |vtw-813| 814. Use cygwin shell |vtw-814| - 815. VimTip815 |vtw-815| 816. JAVH - Just another Vim Hacker |vtw-816| 817. Non-blinking block cursor in a Linux console |vtw-817| 818. Integrate Vim diff with TortoiseCVS |vtw-818| 819. Minimize and restore gvim under Windows using shortcut keys |vtw-819| - 820. VimTip820 |vtw-820| - 821. VimTip821 |vtw-821| 822. Add Java import statements automatically |vtw-822| 823. Add your note files to Vim help |vtw-823| 824. Use a smaller font for vimdiff |vtw-824| 825. Repeat search using grep |vtw-825| 826. PHP manual in Vim help format |vtw-826| - 827. VimTip827 |vtw-827| 828. Add trailing blanks to lines for easy visual blocks |vtw-828| 829. Copy and paste between Vim instances |vtw-829| 830. Using netbeans 4 and vim for java |vtw-830| @@ -837,27 +678,18 @@ 833. Internet search for the current word |vtw-833| 834. Word-wise cut, copy and paste |vtw-834| 835. Have Intellisense search current directory |vtw-835| - 836. VimTip836 |vtw-836| 837. Load files from list of filenames in a text file |vtw-837| - 838. VimTip838 |vtw-838| - 839. VimTip839 |vtw-839| 840. Show tags in a separate preview window |vtw-840| - 841. VimTip841 |vtw-841| 842. C/C++ function abbreviations |vtw-842| 843. Moving between buffers using mouse |vtw-843| 844. Simple Macros to quote and unquote a word |vtw-844| - 845. VimTip845 |vtw-845| 846. Ampersand in freebsd shell commands to view LaTeX files |vtw-846| 847. Open same file read-only in second Vim |vtw-847| 848. Installing several releases in parallel, even with matchit |vtw-848| - 849. VimTip849 |vtw-849| 850. Automatic word wrapping |vtw-850| 851. Integrate with Mozilla Thunderbird |vtw-851| 852. Make support for NEC V850 CA850 compilers |vtw-852| 853. Write a date-stamped backup of the current file |vtw-853| - 854. VimTip854 |vtw-854| - 855. VimTip855 |vtw-855| - 856. VimTip856 |vtw-856| 857. Different syntax highlighting within regions of a file |vtw-857| 858. Setting tags when working with multiple source branches |vtw-858| 859. Show how many lines between matching pairs |vtw-859| @@ -866,32 +698,24 @@ 862. How to toggle between all vertical and all horizontal window layout |vtw-862| 863. Save settings between Vim sessions |vtw-863| 864. Make arrow keys work in visual mode under Windows |vtw-864| - 865. VimTip865 |vtw-865| - 866. VimTip866 |vtw-866| 867. Access Python Help |vtw-867| 868. Go to end-of-line when using langmap |vtw-868| 869. Opening new buffer below the current |vtw-869| - 870. VimTip870 |vtw-870| - 871. VimTip871 |vtw-871| 872. Finding phone numbers |vtw-872| 873. Cycle through buffers including hidden buffers |vtw-873| 874. Fold C-style comments |vtw-874| 875. Using bar in external grep |vtw-875| 876. Selecting blocks of paragraphs |vtw-876| - 877. VimTip877 |vtw-877| 878. Remove unwanted spaces |vtw-878| 879. Change vimrc with auto reload |vtw-879| 880. Shebang line automatically generated |vtw-880| - 881. VimTip881 |vtw-881| 882. Learn to use help |vtw-882| 883. Automatically maximizing gvim in KDE |vtw-883| 884. Switch color schemes |vtw-884| 885. Switching between different statuslines |vtw-885| 886. Add Vim to Windows Send To menu |vtw-886| - 887. VimTip887 |vtw-887| 888. Load multiple files with a single command |vtw-888| 889. Set gvim font in MacOSX |vtw-889| - 890. VimTip890 |vtw-890| 891. Copy parts of filename to clipboard |vtw-891| 892. Keep incremental backups of edited files |vtw-892| 893. Align numbers at decimal point |vtw-893| @@ -902,7 +726,6 @@ 898. Disable beeping |vtw-898| 899. Capitalize words and regions easily |vtw-899| 900. Insert comment boxes in your code |vtw-900| - 901. Text objects for strings |vtw-901| 902. Easily change the path option |vtw-902| 903. Capitalize words in insert and normal modes without moving the cursor |vtw-903| 904. Convenience wrapper for setline |vtw-904| @@ -917,54 +740,40 @@ 913. Delete files with a Vim command |vtw-913| 914. The perfect programming font |vtw-914| 915. Using g instead of substitute |vtw-915| - 916. View only what you are editing |vtw-916| 917. Easy word and page selection and deletion in gvim |vtw-917| 918. Making a list of numbers |vtw-918| 919. Moving by screen lines instead of file lines |vtw-919| 920. Quick generic option toggling |vtw-920| - 921. VimTip921 |vtw-921| 922. Launch lynx to get info for the current word |vtw-922| 923. Sort lines by a specified word number |vtw-923| - 924. VimTip924 |vtw-924| 925. Not So Quick generic option toggling |vtw-925| 926. QT Help from Vim |vtw-926| - 927. VimTip927 |vtw-927| 928. Using command-line history |vtw-928| 929. Finding your way around in an installshield project XML file |vtw-929| 930. Pasting code with syntax coloring in emails |vtw-930| 931. STL help using tags - C++ Standard Template Library |vtw-931| - 932. VimTip932 |vtw-932| 933. Search the web for text selected in Vim |vtw-933| 934. Vim-sessions under Windows |vtw-934| - 935. VimTip935 |vtw-935| 936. Quick insert character at end-of-line |vtw-936| 937. Quickly look up Vim help |vtw-937| - 938. VimTip938 |vtw-938| 939. Single config file for Vim on Windows with Cygwin |vtw-939| 940. Folding |vtw-940| 941. Adding MPI and PVM syntax highlighting |vtw-941| - 942. VimTip942 |vtw-942| - 943. VimTip943 |vtw-943| 944. Send buffer to interpreter in a new xterm |vtw-944| 945. Run Vim command on current C/C++/Java function |vtw-945| 946. VisVim for Visual Studio |vtw-946| - 947. VimTip947 |vtw-947| 948. Correct format-flowed email function |vtw-948| 949. Integrate Pylint and Pychecker support |vtw-949| 950. Search multiple buffers for next match |vtw-950| - 951. VimTip951 |vtw-951| 952. Refresh screen while typing a command |vtw-952| 953. Short mappings for common tasks |vtw-953| 954. Restore state of edited files when reopened |vtw-954| 955. Easily switch between two styles of color scheme |vtw-955| - 956. VimTip956 |vtw-956| 957. Prevent a second instance of Vim from starting |vtw-957| 958. Execute sybase-sql queries and see the result in a split window |vtw-958| - 959. VimTip959 |vtw-959| 960. Copy an Entire Buffer to the Clipboard |vtw-960| 961. Search through files |vtw-961| 962. Incremental backup in central backup directory |vtw-962| - 963. VimTip963 |vtw-963| 964. GNU/Linux clipboard copy/paste with xclip |vtw-964| 965. GNU Screen integration |vtw-965| 966. Multi-line abbreviations |vtw-966| @@ -981,7 +790,6 @@ 977. Fix indentation |vtw-977| 978. Cobol editing with Vim |vtw-978| 979. Short mappings for common tasks |vtw-979| - 980. VimTip980 |vtw-980| 981. Commenting out a range of lines |vtw-981| 982. Insert newline without entering insert mode |vtw-982| 983. Numbering lines and interpolating sequences |vtw-983| @@ -989,32 +797,27 @@ 985. Open file under cursor |vtw-985| 986. Execute external programs asynchronously under Windows |vtw-986| 987. Easy floating point arithmetic |vtw-987| - 988. Surround selection with text |vtw-988| 989. Word wrap without line breaks |vtw-989| 990. Repeat last colon command |vtw-990| 991. Make views automatic |vtw-991| 992. Using abbreviations |vtw-992| - 993. VimTip993 |vtw-993| 994. Manipulate quoted strings |vtw-994| 995. Resize window when showing/hiding line numbers |vtw-995| 996. Fast jump to line that matches a regular expression |vtw-996| 997. Saving file made easy |vtw-997| 998. Put boxes around comments in code |vtw-998| 999. Maximize current window |vtw-999| -1000. VimTip1000 |vtw-1000| 1001. Save buffer without changing Last Modified attribute |vtw-1001| 1002. Reverse order of lines |vtw-1002| 1003. Windows file associations |vtw-1003| 1004. Optionally open matching or selected tag in full height vertical window |vtw-1004| 1005. HTML entities |vtw-1005| -1006. VimTip1006 |vtw-1006| 1007. Disable F1 built-in help key |vtw-1007| 1008. Toggle to open or close the quickfix window |vtw-1008| 1009. Quickly change word or line |vtw-1009| 1010. Change C++ comments to C comments |vtw-1010| 1011. Replace a word with yanked text |vtw-1011| 1012. Quoted Printable to Plain |vtw-1012| -1013. VimTip1013 |vtw-1013| 1014. Visual selection of indent block |vtw-1014| 1015. Preview current HTML file |vtw-1015| 1016. Moving through camel case words |vtw-1016| @@ -1025,108 +828,66 @@ 1021. Use glimpse from within Vim |vtw-1021| 1022. Folding with Regular Expression |vtw-1022| 1023. Go to alternate file or next file if no alternate |vtw-1023| -1024. VimTip1024 |vtw-1024| 1025. PHP editing |vtw-1025| 1026. Resize xterm when running vimdiff |vtw-1026| -1027. VimTip1027 |vtw-1027| 1028. Read tag files from all directories in your path |vtw-1028| 1029. Use the last-inserted-text register |vtw-1029| 1030. Diff current buffer and the original file |vtw-1030| 1031. Vim inside Java |vtw-1031| 1032. Decode MIME text using Perl in Vim |vtw-1032| 1033. Toggling yes-no |vtw-1033| -1034. VimTip1034 |vtw-1034| 1035. View NFO-files correctly |vtw-1035| 1036. Change the color scheme |vtw-1036| 1037. Vim-sessions under Windows |vtw-1037| -1038. VimTip1038 |vtw-1038| 1039. How to stop auto indenting |vtw-1039| -1040. VimTip1040 |vtw-1040| 1041. Snippets for JavaScript, HTML and Python |vtw-1041| 1042. Use maven with quickfix |vtw-1042| 1043. Joining two lines of text based on pattern |vtw-1043| -1044. VimTip1044 |vtw-1044| 1045. Great wildmode/wildmenu and console mouse |vtw-1045| 1046. Whitespace hungry backspace/delete |vtw-1046| -1047. VimTip1047 |vtw-1047| 1048. Add classname based on filename while in input mode |vtw-1048| -1049. VimTip1049 |vtw-1049| 1050. Move comment line to end of next line |vtw-1050| 1051. Use the buffer menu in gvim |vtw-1051| 1052. Autoselect the right compiler using the filetype |vtw-1052| 1053. Lookup word in dict |vtw-1053| 1054. Modified undo behavior |vtw-1054| 1055. Faster directory browsing from command line |vtw-1055| -1056. VimTip1056 |vtw-1056| -1057. VimTip1057 |vtw-1057| 1058. Selecting changes in diff mode |vtw-1058| 1059. Save each line in separate numbered files |vtw-1059| -1060. VimTip1060 |vtw-1060| 1061. SmartHome and SmartEnd over wrapped lines |vtw-1061| -1062. VimTip1062 |vtw-1062| 1063. Redirect g search output |vtw-1063| 1064. Folding |vtw-1064| 1065. Mighty Mouse |vtw-1065| 1066. Quickly adding and deleting empty lines |vtw-1066| -1067. VimTip1067 |vtw-1067| 1068. Adding Vim to MS-Windows File Explorer Menu |vtw-1068| -1069. VimTip1069 |vtw-1069| 1070. Inline integer arithmetic |vtw-1070| 1071. Simple placeholders |vtw-1071| 1072. Shadow your comments to see the code |vtw-1072| 1073. Match valid IP address |vtw-1073| 1074. Detect encoding from the charset specified in HTML files |vtw-1074| -1075. VimTip1075 |vtw-1075| 1076. Convert between hex and decimal |vtw-1076| 1077. Move function parameters with macro |vtw-1077| -1078. VimTip1078 |vtw-1078| -1079. VimTip1079 |vtw-1079| -1080. VimTip1080 |vtw-1080| -1081. VimTip1081 |vtw-1081| -1082. VimTip1082 |vtw-1082| 1083. Map caps lock to escape in Windows |vtw-1083| 1084. Setting Clearcase View as the title of the gvim window |vtw-1084| -1085. VimTip1085 |vtw-1085| -1086. VimTip1086 |vtw-1086| 1087. Quick reference of current function |vtw-1087| 1088. Find and edit any file in a directory using tag-like pattern matching |vtw-1088| -1089. VimTip1089 |vtw-1089| 1090. Get inline help for PHP functions |vtw-1090| 1091. Folding |vtw-1091| 1092. Keep SQL-PLUS command history under Windows |vtw-1092| 1093. Folding |vtw-1093| -1094. VimTip1094 |vtw-1094| -1095. VimTip1095 |vtw-1095| -1096. VimTip1096 |vtw-1096| -1097. VimTip1097 |vtw-1097| -1098. VimTip1098 |vtw-1098| -1099. VimTip1099 |vtw-1099| -1100. VimTip1100 |vtw-1100| -1101. VimTip1101 |vtw-1101| -1102. VimTip1102 |vtw-1102| 1103. Fix scrolling when using Trackpoint |vtw-1103| -1104. VimTip1104 |vtw-1104| -1105. VimTip1105 |vtw-1105| -1106. VimTip1106 |vtw-1106| 1107. J2ME development |vtw-1107| 1108. Replace selected shell command with full path when editing scripts |vtw-1108| 1109. Maintain cursor and screen position |vtw-1109| 1110. Toggle gvim window size |vtw-1110| 1111. Map semicolon to colon |vtw-1111| 1112. Listing buffers |vtw-1112| -1113. VimTip1113 |vtw-1113| 1114. Step increment and replace |vtw-1114| -1115. VimTip1115 |vtw-1115| -1116. VimTip1116 |vtw-1116| 1117. Avoid the escape key |vtw-1117| 1118. Repeating an ex command on multiple blocks |vtw-1118| 1119. Use Vim like an IDE |vtw-1119| 1120. Remove annoyance with syntax highlighting when starting a string |vtw-1120| -1121. VimTip1121 |vtw-1121| -1122. VimTip1122 |vtw-1122| -1123. VimTip1123 |vtw-1123| 1124. How to stop auto indenting |vtw-1124| -1125. VimTip1125 |vtw-1125| 1126. Automatically set screen title |vtw-1126| 1127. Fast one session mapping |vtw-1127| 1128. Detect non-Unicode Xterms |vtw-1128| @@ -1136,24 +897,14 @@ 1132. Easy block selection with mouse |vtw-1132| 1133. Load my script only once |vtw-1133| 1134. Read base64 raw string/email in Vim |vtw-1134| -1135. VimTip1135 |vtw-1135| -1136. VimTip1136 |vtw-1136| -1137. VimTip1137 |vtw-1137| -1138. VimTip1138 |vtw-1138| -1139. VimTip1139 |vtw-1139| -1140. VimTip1140 |vtw-1140| 1141. List lines with current search pattern highlighted |vtw-1141| 1142. Repeat last command and put cursor at start of change |vtw-1142| -1143. VimTip1143 |vtw-1143| -1144. VimTip1144 |vtw-1144| -1145. VimTip1145 |vtw-1145| 1146. Project browsing using find |vtw-1146| 1147. Use a function key as map leader |vtw-1147| 1148. Unique sorting |vtw-1148| 1149. Use balloonexpr effectively |vtw-1149| 1150. Syntax folding for Java |vtw-1150| 1151. Search visually |vtw-1151| -1152. VimTip1152 |vtw-1152| 1153. Apply range to any command that does not accept ranges |vtw-1153| 1154. Auto copy the mouse selection |vtw-1154| 1155. Set options with automatic escaping of spaces |vtw-1155| @@ -1163,37 +914,23 @@ 1159. Prevent frequent commands from slowing things down |vtw-1159| 1160. Auto save files when focus is lost |vtw-1160| 1161. Windo and restore current window |vtw-1161| -1162. Automatically append closing characters |vtw-1162| -1163. VimTip1163 |vtw-1163| 1164. Measure time taken to execute a command |vtw-1164| -1165. VimTip1165 |vtw-1165| 1166. Sort lines |vtw-1166| 1167. Prevent escape from moving the cursor one character to the left |vtw-1167| 1168. Folding for plain text files based on indentation |vtw-1168| -1169. VimTip1169 |vtw-1169| -1170. VimTip1170 |vtw-1170| 1171. Introduce variable |vtw-1171| 1172. Vim FAQ and other documentation |vtw-1172| 1173. Spelling suggestions anywhere, even in console mode |vtw-1173| 1174. Pasting code with syntax coloring in emails |vtw-1174| -1175. VimTip1175 |vtw-1175| -1176. VimTip1176 |vtw-1176| -1177. VimTip1177 |vtw-1177| 1178. Make an HTML anchor and href tag |vtw-1178| -1179. VimTip1179 |vtw-1179| 1180. Search for lines not containing pattern and other helpful searches |vtw-1180| 1181. Using PuTTY pscp with Vim |vtw-1181| 1182. File explorer |vtw-1182| 1183. Insert-mode only Caps Lock |vtw-1183| -1184. VimTip1184 |vtw-1184| 1185. Set working directory to the current file |vtw-1185| -1186. VimTip1186 |vtw-1186| -1187. VimTip1187 |vtw-1187| 1188. Browsing programs with tags |vtw-1188| 1189. Maintain multiple versions of gvim in Windows |vtw-1189| 1190. Source searching for programmers |vtw-1190| -1191. VimTip1191 |vtw-1191| -1192. VimTip1192 |vtw-1192| 1193. Syntax highlighting for HTML with embedded Javascript |vtw-1193| 1194. Navigate to the next open fold |vtw-1194| 1195. Reload the same file in different encoding |vtw-1195| @@ -1202,89 +939,51 @@ 1198. Automatic scrolling of text |vtw-1198| 1199. Unconditional linewise or characterwise paste |vtw-1199| 1200. View PHP documentation for current word |vtw-1200| -1201. VimTip1201 |vtw-1201| 1202. Go away and come back |vtw-1202| 1203. Set up vtreeexplorer and taglist on left |vtw-1203| 1204. Send to default printer with no prompts under Windows |vtw-1204| -1205. VimTip1205 |vtw-1205| 1206. Remove up to the nth slash to clean file lists |vtw-1206| -1207. VimTip1207 |vtw-1207| -1208. VimTip1208 |vtw-1208| -1209. VimTip1209 |vtw-1209| -1210. VimTip1210 |vtw-1210| -1211. VimTip1211 |vtw-1211| 1212. Open file under cursor |vtw-1212| 1213. Better indent support for php with html |vtw-1213| -1214. VimTip1214 |vtw-1214| 1215. Resize splits more quickly |vtw-1215| -1216. VimTip1216 |vtw-1216| 1217. Get a shell command for changing to the current directory |vtw-1217| 1218. Quick peek at files |vtw-1218| -1219. VimTip1219 |vtw-1219| 1220. Use vi shortcuts in terminal |vtw-1220| 1221. Alternative tab navigation |vtw-1221| -1222. VimTip1222 |vtw-1222| -1223. VimTip1223 |vtw-1223| 1224. Toggle spellcheck with function keys |vtw-1224| 1225. Launch files in new tabs under Windows |vtw-1225| 1226. Use tab key to switch windows and current file path |vtw-1226| -1227. Vim-Shell embeds a terminal in Vim |vtw-1227| 1228. Improve completion popup menu |vtw-1228| 1229. Source current file when editing a script |vtw-1229| 1230. Execute command on each file in a list |vtw-1230| 1231. Set indent parameters for Python files |vtw-1231| 1232. Time your Vim commands |vtw-1232| 1233. Using tab pages |vtw-1233| -1234. Find files in subdirectories |vtw-1234| 1235. Scientific calculator |vtw-1235| -1236. VimTip1236 |vtw-1236| 1237. Simplifying regular expressions using magic and no-magic |vtw-1237| 1238. Make buffer modifiable state match file readonly state |vtw-1238| -1239. VimTip1239 |vtw-1239| 1240. Automatically position the cursor when editing email messages |vtw-1240| -1241. VimTip1241 |vtw-1241| 1242. Using tab pages |vtw-1242| -1243. VimTip1243 |vtw-1243| 1244. Preview output from interpreter in new window |vtw-1244| 1245. Correcting accented characters |vtw-1245| -1246. VimTip1246 |vtw-1246| 1247. Tabclose instead of quit-all |vtw-1247| -1248. VimTip1248 |vtw-1248| 1249. Easy playback of recorded keys |vtw-1249| -1250. VimTip1250 |vtw-1250| -1251. AES256 encryption in Vim |vtw-1251| -1252. VimTip1252 |vtw-1252| 1253. Integrate gvim with Visual Studio |vtw-1253| -1254. VimTip1254 |vtw-1254| -1255. VimTip1255 |vtw-1255| -1256. VimTip1256 |vtw-1256| 1257. Any word completion |vtw-1257| -1258. VimTip1258 |vtw-1258| 1259. Edit Java jar and other files |vtw-1259| 1260. Edit file in existing vim automatically |vtw-1260| 1261. Using your vim on different xterms with colors |vtw-1261| 1262. Git grep |vtw-1262| -1263. VimTip1263 |vtw-1263| -1264. VimTip1264 |vtw-1264| 1265. Use Return and Delete keys in normal mode like in insert mode |vtw-1265| 1266. Newlines and nulls in Vim script |vtw-1266| 1267. Show current function name in C programs |vtw-1267| 1268. Copy and paste between sessions using a temporary file |vtw-1268| 1269. Indent text object |vtw-1269| -1270. VimTip1270 |vtw-1270| -1271. VimTip1271 |vtw-1271| 1272. Mapping fast keycodes in terminal Vim |vtw-1272| -1273. VimTip1273 |vtw-1273| 1274. Highlight some whitespace characters |vtw-1274| -1275. VimTip1275 |vtw-1275| -1276. VimTip1276 |vtw-1276| -1277. VimTip1277 |vtw-1277| -1278. VimTip1278 |vtw-1278| 1279. Highlight current line |vtw-1279| 1280. Edit and organize several remote files easily |vtw-1280| -1281. VimTip1281 |vtw-1281| 1282. Open SVN diff window |vtw-1282| -1283. VimTip1283 |vtw-1283| 1284. Backspace and delete problems |vtw-1284| 1285. Replace a builtin command using cabbrev |vtw-1285| 1286. Use gvim for diff under TortoiseCVS |vtw-1286| @@ -1307,75 +1006,38 @@ 1303. Pasting registers |vtw-1303| 1304. Delete a pair of XML/HTML tags |vtw-1304| 1305. Define your own colors |vtw-1305| -1306. VimTip1306 |vtw-1306| -1307. VimTip1307 |vtw-1307| -1308. Patch to conceal parts of lines |vtw-1308| 1309. Safari style keybindings for tab navigation |vtw-1309| -1310. VimTip1310 |vtw-1310| 1311. Compile a separate copy of Vim for Python coding |vtw-1311| 1312. 256 colors in vim |vtw-1312| -1313. VimTip1313 |vtw-1313| 1314. Launch files in new tabs under Windows |vtw-1314| -1315. VimTip1315 |vtw-1315| -1316. VimTip1316 |vtw-1316| 1317. Open every buffer in its own tabpage |vtw-1317| -1318. VimTip1318 |vtw-1318| 1319. Add html tags with substitute |vtw-1319| 1320. Search for a C-style for statement |vtw-1320| 1321. Fold a C sharp region |vtw-1321| 1322. Insert current directory name |vtw-1322| 1323. Invert the number row keys for faster typing |vtw-1323| 1324. Avoid the escape key |vtw-1324| -1325. VimTip1325 |vtw-1325| 1326. Map extra keys on non US keyboards |vtw-1326| 1327. Restoring indent after typing hash |vtw-1327| -1328. VimTip1328 |vtw-1328| -1329. VimTip1329 |vtw-1329| 1330. Folding |vtw-1330| -1331. VimTip1331 |vtw-1331| 1332. Using remote editing with knetattach |vtw-1332| 1333. Have focus on left tab after tabclose |vtw-1333| 1334. Use ijkl to move the cursor and h to insert |vtw-1334| 1335. Run a command in multiple buffers |vtw-1335| 1336. Open Windows Explorer showing directory of current buffer |vtw-1336| -1337. VimTip1337 |vtw-1337| 1338. See man pages by gview |vtw-1338| -1339. VimTip1339 |vtw-1339| -1340. VimTip1340 |vtw-1340| 1341. Power K |vtw-1341| -1342. VimTip1342 |vtw-1342| -1343. Diff the current buffer with another file |vtw-1343| -1344. VimTip1344 |vtw-1344| -1345. VimTip1345 |vtw-1345| -1346. VimTip1346 |vtw-1346| 1347. Using tab pages |vtw-1347| 1348. Using Vim key bindings while typing non-latin1 text |vtw-1348| 1349. Calculator Editing |vtw-1349| -1350. VimTip1350 |vtw-1350| -1351. VimTip1351 |vtw-1351| -1352. VimTip1352 |vtw-1352| -1353. VimTip1353 |vtw-1353| 1354. Online documentation for word under cursor |vtw-1354| -1355. VimTip1355 |vtw-1355| 1356. Open PDF files |vtw-1356| -1357. VimTip1357 |vtw-1357| -1358. VimTip1358 |vtw-1358| 1359. Calculator and code evaluation using Perl |vtw-1359| -1360. VimTip1360 |vtw-1360| 1361. Disable automatic comment insertion |vtw-1361| -1362. VimTip1362 |vtw-1362| 1363. Capture all keys |vtw-1363| -1364. VimTip1364 |vtw-1364| -1365. VimTip1365 |vtw-1365| 1366. Pretty-formatting XML |vtw-1366| -1367. VimTip1367 |vtw-1367| -1368. VimTip1368 |vtw-1368| -1369. Preserve missing end-of-line at end of text files |vtw-1369| 1370. Tracking clipboard changes |vtw-1370| -1371. VimTip1371 |vtw-1371| -1372. VimTip1372 |vtw-1372| 1373. Get shortened messages from using echomsg |vtw-1373| -1374. VimTip1374 |vtw-1374| 1375. Avoid scrolling when switch buffers |vtw-1375| 1376. Syntax folding of Vim scripts |vtw-1376| 1377. Context sensitive access to MSDN help |vtw-1377| @@ -1384,57 +1046,15 @@ 1380. Highlight cursor line after cursor jump |vtw-1380| 1381. Highlight special filetype docs |vtw-1381| 1382. Auto spelling correction using abbreviations |vtw-1382| -1383. VimTip1383 |vtw-1383| 1384. Xterm256 color names for console Vim |vtw-1384| -1385. Disable the "Hit any key to close this window" message in remote editing |vtw-1385| 1386. Make Vim completion popup menu work just like in an IDE |vtw-1386| -1387. VimTip1387 |vtw-1387| 1388. Vim and ocaml interpreter |vtw-1388| 1389. Trailing white space aware Delete key |vtw-1389| 1390. Using Vim with the Dvorak keyboard layout |vtw-1390| -1391. Enable paren matching over whole file |vtw-1391| -1392. Shell script to use grep with gvim |vtw-1392| 1393. Automatically create tmp or backup directories |vtw-1393| -1394. VimTip1394 |vtw-1394| -1395. VimTip1395 |vtw-1395| -1396. VimTip1396 |vtw-1396| -1397. VimTip1397 |vtw-1397| -1398. VimTip1398 |vtw-1398| -1399. VimTip1399 |vtw-1399| -1400. VimTip1400 |vtw-1400| -1401. VimTip1401 |vtw-1401| -1402. VimTip1402 |vtw-1402| -1403. VimTip1403 |vtw-1403| -1404. VimTip1404 |vtw-1404| -1405. VimTip1405 |vtw-1405| -1406. VimTip1406 |vtw-1406| -1407. VimTip1407 |vtw-1407| -1408. VimTip1408 |vtw-1408| -1409. VimTip1409 |vtw-1409| -1410. VimTip1410 |vtw-1410| -1411. VimTip1411 |vtw-1411| -1412. VimTip1412 |vtw-1412| 1413. Make tar of all files in vim buffer |vtw-1413| -1414. VimTip1414 |vtw-1414| -1415. VimTip1415 |vtw-1415| -1416. VimTip1416 |vtw-1416| -1417. VimTip1417 |vtw-1417| -1418. VimTip1418 |vtw-1418| -1419. VimTip1419 |vtw-1419| -1420. VimTip1420 |vtw-1420| -1421. VimTip1421 |vtw-1421| -1422. VimTip1422 |vtw-1422| -1423. VimTip1423 |vtw-1423| -1424. VimTip1424 |vtw-1424| -1425. VimTip1425 |vtw-1425| -1426. VimTip1426 |vtw-1426| -1427. VimTip1427 |vtw-1427| -1428. VimTip1428 |vtw-1428| -1429. VimTip1429 |vtw-1429| -1430. VimTip1430 |vtw-1430| 1431. Manage a tasklist of to-do code snippets |vtw-1431| 1432. File search similar to cmd-t in TextMate |vtw-1432| -1433. VimTip1433 |vtw-1433| 1434. Autoconvert leading eight spaces to tab when type or paste in Makefile |vtw-1434| 1435. Use recording to easily add function skeletons from prototypes |vtw-1435| 1436. Wrap function calls in a print statement |vtw-1436| @@ -1442,69 +1062,28 @@ 1438. Using parameterized snippet inserts |vtw-1438| 1439. Using vim as an IDE all in one |vtw-1439| 1440. Launch files in new tabs under Windows |vtw-1440| -1441. VimTip1441 |vtw-1441| 1442. VimTip1442 |vtw-1442| -1443. VimTip1443 |vtw-1443| -1444. VimTip1444 |vtw-1444| -1445. VimTip1445 |vtw-1445| -1446. VimTip1446 |vtw-1446| -1447. VimTip1447 |vtw-1447| -1448. VimTip1448 |vtw-1448| -1449. VimTip1449 |vtw-1449| -1450. VimTip1450 |vtw-1450| -1451. VimTip1451 |vtw-1451| -1452. VimTip1452 |vtw-1452| -1453. VimTip1453 |vtw-1453| 1454. Show what function the cursor is in |vtw-1454| 1455. Jumps to a local/global definition by same key |vtw-1455| 1456. Cache user-preferred option values for later reset |vtw-1456| -1457. VimTip1457 |vtw-1457| 1458. Accelerated motion |vtw-1458| -1459. VimTip1459 |vtw-1459| -1460. VimTip1460 |vtw-1460| -1461. VimTip1461 |vtw-1461| -1462. VimTip1462 |vtw-1462| 1463. Moving lines up or down |vtw-1463| -1464. VimTip1464 |vtw-1464| 1465. Introduction to display editing using vi |vtw-1465| -1466. VimTip1466 |vtw-1466| -1467. VimTip1467 |vtw-1467| 1468. Backward search for LaTeX documents |vtw-1468| 1469. Ctrl-N completion for XML/XSLT attributes |vtw-1469| 1470. Status line to display more information |vtw-1470| -1471. VimTip1471 |vtw-1471| 1472. Show file modification time on status bar |vtw-1472| -1473. VimTip1473 |vtw-1473| -1474. VimTip1474 |vtw-1474| -1475. VimTip1475 |vtw-1475| -1476. VimTip1476 |vtw-1476| -1477. VimTip1477 |vtw-1477| -1478. VimTip1478 |vtw-1478| 1479. Convert between hex and decimal |vtw-1479| -1480. VimTip1480 |vtw-1480| -1481. VimTip1481 |vtw-1481| -1482. VimTip1482 |vtw-1482| 1483. Show file modification time and more on status bar |vtw-1483| 1484. When jumping on a tag, automatically split the window if the current buffer has been modified |vtw-1484| -1485. VimTip1485 |vtw-1485| 1486. Omni completion popup menu |vtw-1486| -1487. VimTip1487 |vtw-1487| -1488. VimTip1488 |vtw-1488| -1489. VimTip1489 |vtw-1489| 1490. Bookmark files |vtw-1490| 1491. Call TortoiseSVN commands from within Vim |vtw-1491| -1492. VimTip1492 |vtw-1492| -1493. VimTip1493 |vtw-1493| -1494. VimTip1494 |vtw-1494| 1495. Wrap a visual selection in an HTML tag |vtw-1495| -1496. VimTip1496 |vtw-1496| -1497. VimTip1497 |vtw-1497| 1498. Delete words in a different way |vtw-1498| 1499. Jump back to spell checked words |vtw-1499| 1500. Open files in same window under Mac OS X |vtw-1500| 1501. Substitute last search |vtw-1501| -1502. VimTip1502 |vtw-1502| -1503. VimTip1503 |vtw-1503| 1504. External commands on Windows |vtw-1504| 1505. Version Control for Vimfiles |vtw-1505| 1506. Swap LHS and RHS of an Assignment statement |vtw-1506| @@ -1524,8 +1103,6 @@ 1520. Set options or named registers with let |vtw-1520| 1521. Automatically Update Copyright Notice in Files |vtw-1521| 1522. Displaying the current Vim environment |vtw-1522| -1523. Highlight long lines |vtw-1523| -1524. VimTip1524 |vtw-1524| 1525. Formatting paragraphs in LaTeX: an "environment-aware gqap" |vtw-1525| 1526. Mapping keys in Vim - Tutorial (Part 2) |vtw-1526| 1527. PHP editing |vtw-1527| @@ -1552,9 +1129,7 @@ 1548. Continue omnicompletion for python modules |vtw-1548| 1549. Execute external programs asynchronously under Windows |vtw-1549| 1550. Compiling LaTeX from Vim |vtw-1550| -1551. IPython integration |vtw-1551| 1552. Launch files in new tabs under Unix |vtw-1552| -1553. Remap join to merge comment lines |vtw-1553| 1554. Move current window between tabs |vtw-1554| 1555. Creating new text objects |vtw-1555| 1556. Mapping keys in Vim - Tutorial (Part 3) |vtw-1556| @@ -1628,7 +1203,6 @@ 1624. Going to the nth-from-last window |vtw-1624| 1625. Group matching lines |vtw-1625| 1626. Indent with tabs, align with spaces |vtw-1626| -1627. Reload file without losing undo history |vtw-1627| 1628. Example vimrc |vtw-1628| 1629. WYSIWYG graphics editing |vtw-1629| 1630. Quick tips for using tab pages |vtw-1630| diff --git a/src/main.rs b/src/main.rs index 880ae3e..2785df8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,4 @@ +use crossbeam::queue::ArrayQueue; use rayon::prelude::*; use regex::Regex; use select::document::Document; @@ -6,6 +7,13 @@ use select::predicate::{Attr, Class}; use tokio::runtime::Runtime; use urlencoding::decode; +const IGNORED_CATS: [&str; 4] = [ + "Deprecated", + "OriginalDuplicate", + "OriginalMissing", + "Removed", +]; + /// Wrap text by words /// /// Given text, adds &str to it if line is longer than max column @@ -298,6 +306,17 @@ impl<'a> WikiEntry<'a> { let document = Document::from(original.unwrap().as_str()); let entry = WikiEntry::parse(&document, n); + + if entry + .categories + .iter() + .position(|cat| IGNORED_CATS.contains(&cat.as_str())) + .is_some() + { + let _ = tokio::fs::remove_file(format!("doc/{}", entry.file_name())).await; + return Err("Tip is skipped".into()); + } + let result = entry.to_vim_help(); tokio::fs::write(format!("doc/{}", entry.file_name()), &result.into_bytes()).await?; @@ -306,22 +325,21 @@ impl<'a> WikiEntry<'a> { } } -use crossbeam::queue::ArrayQueue; - fn main() -> Result<(), Box> { let q = ArrayQueue::new(1678); - // let (sender, receiver) = channel(); let done = std::sync::atomic::AtomicU16::new(0); (1..=1678).into_par_iter().for_each(|n| { let mut rt = Runtime::new().unwrap(); let res = rt.block_on(WikiEntry::make_tip(n as u32)); match res { Err(e) => eprintln!("{:#?}", e), - Ok(entry) => { - q.push(entry); - let old = done.fetch_add(1, std::sync::atomic::Ordering::Relaxed); - print!("\r{}/{}", old + 1, 1678); - } + Ok(entry) => match q.push(entry) { + Ok(_) => { + let old = done.fetch_add(1, std::sync::atomic::Ordering::Relaxed); + print!("\r{}/{}", old + 1, 1678); + } + Err(e) => eprintln!("{:#?}", e), + }, } }); @@ -390,7 +408,6 @@ fn main() -> Result<(), Box> { "vim-tips-wiki-alphabetically.txt", "List of all tips in alphabetical order *vtw-alphabetically*" )); - // alpha.push_str(&format!("{}\n\n", "=".repeat(78))); entries.sort_by(|e1, e2| e1.title.partial_cmp(&e2.title).unwrap());