{"id":893,"date":"2012-05-03T20:35:06","date_gmt":"2012-05-03T12:35:06","guid":{"rendered":"http:\/\/www.icnalb.cn\/?p=893"},"modified":"2012-05-17T11:27:33","modified_gmt":"2012-05-17T03:27:33","slug":"vim-ide","status":"publish","type":"post","link":"https:\/\/www.icnlab.cn\/?p=893","title":{"rendered":"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883"},"content":{"rendered":"<p>&nbsp;<\/p>\n<div><span style=\"color: #333333;font-family: ''Microsoft Yahei''\"><span style=\"line-height: 26px;font-size: 22px;background-color: orange\">1.\u5199\u5728\u524d\u9762<\/span><\/span><\/div>\n<p><span class=\"Apple-style-span\" style=\"background-color: #ffffff\"><span style=\"color: #333333;font-family: ''Microsoft Yahei''\"><span style=\"line-height: 26px\">\u6211\u7684\u5de5\u4f5c\u73af\u5883\u662f:Fedora release 12\u548cUbuntu 11.10\u00a0<\/span><\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<div><span style=\"color: #333333;font-family: 'Microsoft Yahei';line-height: 26px\">Fedora\u4f7f\u7528\u7684\u662f\u8fdc\u7a0b\u8fde\u63a5\uff0c\u4f7f\u7528\u7684\u662fVIM\uff0cUbuntu\u662f\u7b14\u8bb0\u672c\u7684\u53cc\u7cfb\u7edf\uff0c\u4f7f\u7528\u7684\u662fVIM\u548cGVIM<\/span><span style=\"color: #333333;font-family: ''Microsoft Yahei''\"><span style=\"line-height: 26px\"><br \/>\n<\/span><\/span><\/p>\n<div><span style=\"color: #333333;font-family: ''Microsoft Yahei''\"><span style=\"line-height: 26px\">VIM7.3<\/span><\/span><\/div>\n<div><span style=\"color: #333333;font-family: ''Microsoft Yahei''\"><span style=\"line-height: 26px\">\u4f7f\u7528\u524d\u63d0\uff0c\u5df2\u7ecf\u5b89\u88c5VIM<\/span><\/span><\/div>\n<div><span style=\"color: #333333;font-family: ''Microsoft Yahei''\"><span style=\"line-height: 26px\"><br \/>\n<\/span><\/span><\/div>\n<div><span style=\"font-family: ''Microsoft Yahei''\"><span class=\"Apple-style-span\" style=\"color: #333333;line-height: 26px;background-color: #ffffff\">\u6587\u4e2d\u8bf4\u7684\u4e00\u4e9b\u8def\u5f84, \u6bd4\u5982:<br \/>\n~\/.vim\/plugin<br \/>\n~\/.vim\/doc<br \/>\n~\/.vim\/syntax<br \/>\n\u5982\u679c\u4f60\u6ca1\u6709, \u5c31\u81ea\u5df1\u521b\u5efa.<br \/>\n\u6587\u4e2d\u8bf4\u5230\u7684.vimrc\u6587\u4ef6\u90fd\u662f\u6307 ~\/.vimrc<\/span><\/span><\/div>\n<div><span style=\"font-family: ''Microsoft Yahei''\"><span class=\"Apple-style-span\" style=\"color: #333333;line-height: 26px;background-color: #ffffff\"><br \/>\n<\/span><\/span><\/div>\n<div><span style=\"font-family: ''Microsoft Yahei'';color: #ff0000\"><span style=\"line-height: 26px\">~\u4ee3\u8868\u767b\u5f55\u7528\u6237\u7684\u6839\u76ee\u5f55\uff0c\u6253\u5f00VIM\u8f6f\u4ef6\u540e\uff0cVIM\u4f1a\u81ea\u52a8\u5230\u7528\u6237\u7684\u6839\u76ee\u5f55\u8bfb\u53d6\u76f8\u5e94\u7684\u914d\u7f6e\u6587\u4ef6\u3002\u5982\u679cVIM\u662f\u81ea\u52a8\u5b89\u88c5\u7684\uff08apt-get\u6216\u8005yum\uff09\u5219VIM\u7684\u603b\u914d\u7f6e\u6587\u4ef6\u5728\/etc\/.vimrc\u548c\/usr\/share\/vim\/vim73\u4e2d<\/span><\/span><\/div>\n<div><span style=\"font-family: ''Microsoft Yahei'';color: #ff0000\"><span style=\"line-height: 26px\"><br \/>\n<\/span><\/span><\/div>\n<div><img src=\"http:\/\/note.youdao.com\/yws\/res\/706\/00F395EF9B0D43CAB6EBD7554BF9A12B\" title=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe\" alt=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe\" \/><\/div>\n<div>\uff08&#8212;\u56fe1&#8212;\uff09 \u603b\u4f53\u6548\u679c\u56fe<span style=\"color: #ff0000\">\uff08\u8fd9\u662fGvim\u7684\u6548\u679c\u56fe\uff0cconsole\u6216\u8005terminal\u7684\u6548\u679c\u53ef\u80fd\u4f1a\u7565\u6709\u4e0d\u540c\uff09<\/span><\/div>\n<div>\n<div><span style=\"color: #333333;font-family: ''Microsoft Yahei''\"><span style=\"line-height: 26px\"><br \/>\n<\/span><\/span><\/div>\n<div><span class=\"Apple-style-span\" style=\"color: #333333;font-family: Arial;font-size: 14px;line-height: 26px;background-color: #ffffff\"><span class=\"Apple-style-span\" style=\"color: #333333;font-family: Arial;font-size: 14px;line-height: 26px;background-color: #ffffff\">\u5bf9\u7167\u4e0a\u56fe\u7684\u56fe\u6807, \u6211\u5728\u672c\u6587\u4e2d\u5c06\u6559\u4f1a\u4f60\u4ee5\u4e0b\u8fd9\u4e9b\u529f\u80fd:<br \/>\n<\/span><\/span><\/p>\n<table style=\"width: 477px;height: 235px;text-align: left\" border=\"1\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;width: 41px\">1<\/td>\n<td style=\"vertical-align: top\">\u7b80\u6d01\u660e\u4e86\u7684Buffer\u6d4f\u89c8\u548c\u64cd\u4f5c<\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\">2<\/td>\n<td style=\"vertical-align: top\">\u6587\u4ef6\u6d4f\u89c8\u5668<\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\">3<\/td>\n<td style=\"vertical-align: top\">tag\u6d4f\u89c8\u5668<\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\">4<\/td>\n<td style=\"vertical-align: top\">\u9ad8\u4eae\u7684\u4e66\u7b7e<\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\">5<\/td>\n<td style=\"vertical-align: top\">\u66f4\u4e30\u5bcc\u7684\u8bed\u6cd5\u9ad8\u4eae<\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\">6<\/td>\n<td style=\"vertical-align: top\">\u6210\u5458\u53d8\u91cf\u7684\u4e0b\u62c9, \u81ea\u52a8\u8865\u5168<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div><span style=\"font-size: 22px;background-color: orange\"><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333\"><span style=\"line-height: 26px\">2<\/span><\/span><span style=\"color: #333333;line-height: 26px\">\u4e2d\u6587\u5e2e\u52a9\u624b\u518c\u7684\u5b89\u88c5<\/span><\/span><\/span><\/div>\n<div><span style=\"font-size: 22px;background-color: orange\"><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333;line-height: 26px\"><br \/>\n<\/span><\/span><\/span><\/div>\n<div><span class=\"Apple-style-span\" style=\"color: #333333;line-height: 26px;background-color: #ffffff\"><span style=\"font-family: ''Microsoft Yahei''\">vim\u81ea\u5e26\u7684\u5e2e\u52a9\u624b\u518c\u662f\u82f1\u6587\u7684, \u5bf9\u5e73\u65f6\u7f16\u7a0b\u7684\u4eba\u6765\u8bf4\u6ca1\u6709\u591a\u5927\u9605\u8bfb\u56f0\u96be, \u4f55\u51b5\u8fd8\u6709&#8221;\u661f\u7ea7\u8bd1\u738b&#8221;\u5462, \u53ef\u504f\u504f\u6709\u4e00\u5e2e\u4eba\u5c06\u5176\u7ffb\u8bd1\u6210\u4e86\u4e2d\u6587, \u53ef\u504f\u504f\u6211\u53c8\u6321\u4e0d\u4f4f\u8bf1\u60d1\u5c06\u5b83\u5b89\u88c5\u4e86, \u5509&#8230;&#8230;.\u53c8\u75db\u5931\u4e00\u4e2a\u5b66\u4e60\u82f1\u6587\u7684\u597d\u673a\u4f1a, \u4e0b\u4e0d\u4e3a\u4f8b.<br \/>\n\u5927\u5bb6\u770b\u770b\u6211\u7684\u4e2d\u6587\u5e2e\u52a9\u754c\u9762\u5427:<\/span><\/span><\/div>\n<div><span class=\"Apple-style-span\" style=\"color: #333333;line-height: 26px;background-color: #ffffff\"><span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<span style=\"border-color: initial\"><img style=\"border-color: initial\" src=\"http:\/\/note.youdao.com\/yws\/res\/761\/F51D7737A9BB48688150FA623EA52381\" title=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe1\" alt=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe1\" \/><\/span><br \/>\n\uff08&#8212;\u56fe2&#8212;\uff09 \u4e2d\u6587\u6587\u6863<br \/>\n\u5b89\u88c5\u65b9\u6cd5:<br \/>\n\u5728\u4e0b\u9762\u7684\u7f51\u7ad9\u4e0b\u8f7d\u4e2d\u6587\u5e2e\u52a9\u7684\u6587\u4ef6\u5305:<br \/>\n<\/span><\/span>\u00a0<a href=\"http:\/\/vimcdoc.sourceforge.net\/\">http:\/\/vimcdoc.sourceforge.net\/<\/a>\u00a0<span class=\"Apple-style-span\" style=\"background-color: #ffffff\"><span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<span style=\"color: #333333\"><span style=\"line-height: 26px\">\u4e0b\u8f7d\u7684\u6587\u4ef6\u5305\u5e94\u8be5\u662f\u7c7b\u4f3c\u8fd9\u6837\u7684:\u00a0vimcdoc-1.8.0.tar.gz<\/span><\/span><br \/>\n<span style=\"color: #333333\"><span style=\"line-height: 26px\">\u89e3\u538b\u540e\u5176\u4e2d\u6709\u4e2adoc\u6587\u4ef6\u5939, \u5c06\u5176\u4e2d\u7684\u5185\u5bb9\u5168\u90e8\u590d\u5236\u5230~\/.vim\/doc, \u6216\u8005vim\u5b89\u88c5\u76ee\u5f55\u4e0b\u7684doc\u76ee\u5f55\u4e2d, \u6b64\u65f6vim\u4e2d\u7684help\u4fe1\u606f\u5df2\u7ecf\u662f\u4e2d\u6587\u7684\u4e86.<\/span><\/span><\/span><\/span><\/div>\n<div><span class=\"Apple-style-span\" style=\"background-color: #ffffff\"><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333\"><span style=\"line-height: 26px\">\u7136\u540e\u4f1a\u6709\u4e2avimcdoc-1.8.0\u6587\u4ef6\u5939\uff0c\u8fdb\u5165\u6587\u4ef6\u5939\uff0c\u770bREADME\uff0c\u7136\u540e\u518d\u770bINSTALL\uff0c\u5e94\u8be5\u5c31\u4f1a\u5b89\u88c5\u4e86<\/span><\/span><\/span><\/span><\/div>\n<div><span class=\"Apple-style-span\" style=\"background-color: #ffffff\"><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"line-height: 26px\"><span style=\"color: #ff0000\">\uff08.\/vimcdoc.sh -i)<\/span><br \/>\n<span style=\"color: #333333\">\u6ce8\u610f:<\/span><\/span><br \/>\n<span style=\"color: #333333\"><span style=\"line-height: 26px\">a. \u5982\u679c\u65e0\u6cd5\u663e\u793a\u4e2d\u6587, \u5728~\/.vimrc\u4e2d\u589e\u52a0\u4e0b\u9762\u8fd9\u53e5\u8bd5\u8bd5:<\/span><\/span><br \/>\n<span style=\"color: #333333\"><span style=\"line-height: 26px\">\u00a0\u00a0 set helplang=cn<\/span><\/span><br \/>\n<span style=\"color: #333333\"><span style=\"line-height: 26px\">b. \u5e2e\u52a9\u6587\u4ef6\u7684\u6587\u672c\u662futf-8\u7f16\u7801\u7684, \u5982\u679c\u60f3\u7528vim\u76f4\u63a5\u67e5\u770b, \u9700\u8981\u5728~\/.vimrc\u4e2d\u8bbe\u7f6e:<\/span><\/span><br \/>\n<span style=\"color: #333333\"><span style=\"line-height: 26px\">\u00a0\u00a0 set encoding=utf-8<\/span><\/span><\/span><\/span><\/div>\n<div><span style=\"color: #333333;font-family: ''Microsoft Yahei''\"><span style=\"line-height: 26px\"><br \/>\n<\/span><\/span><\/div>\n<div><span style=\"background-color: orange;font-size: 22px\"><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333\"><span style=\"line-height: 26px\">3.<\/span><\/span><span style=\"color: #333333;line-height: 26px\">vim\u7f16\u7a0b\u5e38\u7528\u547d\u4ee4<\/span><\/span><\/span><\/div>\n<div><span class=\"Apple-style-span\" style=\"color: #333333;line-height: 26px;background-color: #ffffff\"><span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<\/span><\/span><\/div>\n<div><span class=\"Apple-style-span\" style=\"color: #333333;line-height: 26px;background-color: #ffffff\"><span class=\"Apple-style-span\" style=\"color: #333333;line-height: 26px;background-color: #ffffff\"><span class=\"Apple-style-span\" style=\"color: #333333;line-height: 26px;background-color: #ffffff\"><span style=\"font-family: ''Microsoft Yahei''\">\u5efa\u8bae\u5148\u770b\u770b\u5e2e\u52a9\u624b\u518c\u4e2d\u7684\u4e0b\u9762\u7ae0\u8282, \u5176\u4e2d\u6709\u5173tags\u6587\u4ef6\u7684\u90e8\u5206\u4f60\u53ef\u4ee5\u5148\u8df3\u8fc7, \u5728\u540e\u9762\u7684\u7ae0\u8282\u4e2d\u4f1a\u8bb2\u5230, \u5230\u65f6\u5019\u4f60\u5728\u56de\u6765\u770b\u770b, \u5c31\u89c9\u5f97\u5f88\u7b80\u5355\u4e86:<\/span><\/span><\/span><\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"width: 255px;height: 52px;text-align: left\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\">:help usr_29<br \/>\n:help usr_30<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e0b\u9762\u662f\u6211\u5e38\u7528\u7684\u4e00\u4e9b\u547d\u4ee4, \u653e\u5728\u8fd9\u91cc\u4f9b\u6211\u5907\u5fd8:<\/p>\n<table style=\"width: 484px;height: 248px;text-align: left\" border=\"1\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;width: 41px\">%<\/td>\n<td style=\"vertical-align: top\">\u8df3\u8f6c\u5230\u914d\u5bf9\u7684\u62ec\u53f7\u53bb<\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\">[[<\/td>\n<td style=\"vertical-align: top\">\u8df3\u8f6c\u5230\u4ee3\u7801\u5757\u7684\u5f00\u5934\u53bb(\u4f46\u8981\u6c42\u4ee3\u7801\u5757\u4e2d'{&#8216;\u5fc5\u987b\u5355\u72ec\u5360\u4e00\u884c)<\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\">gD<\/td>\n<td style=\"vertical-align: top\">\u8df3\u8f6c\u5230\u5c40\u90e8\u53d8\u91cf\u7684\u5b9a\u4e49\u5904<\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\">&#8221;<\/td>\n<td style=\"vertical-align: top\">\u8df3\u8f6c\u5230\u5149\u6807\u4e0a\u6b21\u505c\u9760\u7684\u5730\u65b9, \u662f\u4e24\u4e2a&#8217;, \u800c\u4e0d\u662f\u4e00\u4e2a&#8221;<\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\">mx<\/td>\n<td style=\"vertical-align: top\">\u8bbe\u7f6e\u4e66\u7b7e,x\u53ea\u80fd\u662fa-z\u768426\u4e2a\u5b57\u6bcd<\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\">`x<\/td>\n<td style=\"vertical-align: top\">\u8df3\u8f6c\u5230\u4e66\u7b7e\u5904(&#8220;`&#8221;\u662f1\u5de6\u8fb9\u7684\u952e)<\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\">&gt;<\/td>\n<td style=\"vertical-align: top\">\u589e\u52a0\u7f29\u8fdb,&#8221;x&gt;&#8221;\u8868\u793a\u589e\u52a0\u4ee5\u4e0bx\u884c\u7684\u7f29\u8fdb<\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\">&lt;<\/td>\n<td style=\"vertical-align: top\">\u51cf\u5c11\u7f29\u8fdb,&#8221;x&lt;&#8220;\u8868\u793a\u51cf\u5c11\u4ee5\u4e0bx\u884c\u7684\u7f29\u8fdb<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div><span style=\"font-size: 22px;background-color: orange\"><span style=\"font-family: ''Microsoft Yahei''\">4.<span style=\"color: #333333;line-height: 26px\">\u8bed\u6cd5\u9ad8\u4eae<\/span><\/span><\/span><\/div>\n<div><span style=\"color: #333333;font-family: ''Microsoft Yahei''\"><span style=\"font-size: 22px;line-height: 26px\"><br \/>\n<\/span><\/span><\/div>\n<div><span class=\"Apple-style-span\" style=\"line-height: 26px;background-color: #ffffff\"><span class=\"Apple-style-span\" style=\"line-height: 26px;background-color: #ffffff\"><span class=\"Apple-style-span\" style=\"line-height: 26px;background-color: #ffffff\"><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333\">\u5199\u7a0b\u5e8f\u6ca1\u6709\u8bed\u6cd5\u9ad8\u4eae\u5c06\u662f\u4e00\u4ef6\u591a\u4e48\u75db\u82e6\u7684\u4e8b\u60c5\u554a, \u5e78\u4e8fvim\u7684\u4f5c\u8005\u662f\u4e2a\u7a0b\u5e8f\u5458(\u5982\u679c\u4e0d\u662f, \u90a3\u53efNB\u5927\u4e86), \u63d0\u4f9b\u4e86\u8bed\u6cd5\u9ad8\u4eae\u529f\u80fd, \u5728\u4e0a\u9762\u7684\u56fe\u7247\u4e2d\u5927\u5bb6\u4e5f\u53ef\u4ee5\u770b\u5230\u90a3\u4e9b\u6ce8\u91ca, \u5173\u952e\u5b57, \u5b57\u7b26\u4e32\u7b49, \u90fd\u7528\u4e0d\u540c\u989c\u8272\u663e\u793a\u51fa\u6765\u4e86, \u8981\u505a\u5230\u8fd9\u6837, \u9996\u5148\u8981\u5728\u4f60\u7684 ~\/.vimrc \u6587\u4ef6\u4e2d\u589e\u52a0\u4e0b\u9762\u51e0\u53e5\u8bdd:<\/span><\/span><\/span><\/span><\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;width: 127px;text-align: left\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\">syntax enable<br \/>\nsyntax on<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"color: #333333\">\u518d\u91cd\u65b0\u542f\u52a8vim, \u5e76\u6253\u5f00\u4e00\u4e2ac\u7a0b\u5e8f\u6587\u4ef6, \u662f\u4e0d\u662f\u89c9\u5f97\u773c\u524d\u7a81\u7136\u8272\u5f69\u7f24\u7eb7\u4e86\u8d77\u6765&#8230;<\/span><br \/>\n<span style=\"color: #333333\">\u5982\u679c\u4f60\u4e0d\u559c\u6b22\u8fd9\u4e2a\u914d\u8272\u65b9\u6848\u4f60\u53ef\u4ee5\u5728&#8221;\u7f16\u8f91-&gt;\u914d\u8272\u65b9\u6848&#8221;(gvim)\u4e2d\u9009\u62e9\u4e00\u4e2a\u4f60\u6ee1\u610f\u7684\u914d\u8272\u65b9\u6848, \u7136\u540e\u5728~\/.vimrc\u6587\u4ef6\u4e2d\u589e\u52a0\u4e0b\u9762\u8fd9\u53e5:<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;width: 190px;text-align: left\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\">colorscheme desert<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"color: #ff0000\">\uff08colorscheme\u662f\u6574\u4e2a\u7a0b\u5e8f\u7684\u914d\u8272\u65b9\u6848\uff0c\u548c\u4e0b\u9762\u8981\u8bb2\u7684C\u8bed\u8a00\u98ce\u683c\u7684\u8bed\u6cd5\u9ad8\u4eae\u6709\u4e9b\u4e0d\u540c\uff0c\u4f46\u57fa\u672c\u5b9e\u73b0\u539f\u7406\u76f8\u540c\uff0c\u4e00\u822c\u7684colorscheme\u914d\u8272\u914d\u7f6e\u653e\u5728\/usr\/share\/vim\/vim73\/colors\/\u91cc\u9762\u6216\u8005~\/.vim\/colors\/\uff0c\u4f60\u4e5f\u901a\u8fc7\u641c\u7d22Vim Color Scheme Test\u627e\u5230\u5176\u4ed6\u7684\u914d\u8272\u65b9\u6848\uff0c\u653e\u5230\u8fd9\u4e2a\u6587\u4ef6\u5939\u4e2d\uff0c\u7136\u540e\u901a\u8fc7\u4fee\u6539.vimrc\u914d\u7f6e\u6587\u4ef6\uff1aset colorscheme XXXX\uff0c\u5373\u53ef\u6539\u53d8\u3002\uff09<\/span><\/p>\n<\/div>\n<div><span class=\"Apple-style-span\" style=\"color: #333333;line-height: 26px;background-color: #ffffff\"><span class=\"Apple-style-span\" style=\"color: #333333;line-height: 26px;background-color: #ffffff\"><span class=\"Apple-style-span\" style=\"color: #333333;line-height: 26px;background-color: #ffffff\"><span style=\"font-family: ''Microsoft Yahei''\">desert\u662f\u6211\u559c\u6b22\u7684\u914d\u8272\u65b9\u6848, \u4f60\u53ef\u4ee5\u6539\u6210\u4f60\u7684. \u5982\u679c\u83dc\u5355\u4e2d\u7684\u914d\u8272\u65b9\u6848\u4f60\u8fd8\u4e0d\u6ee1\u610f(\u4f60\u4e5f\u592a\u82b1\u4e86\u5427), \u6ca1\u5173\u7cfb, \u5728 vim.org \u4e0a\u8ddf\u4f60\u4e00\u6837\u7684\u4eba\u5f88\u591a, \u4ed6\u4eec\u505a\u4e86\u5404\u79cd\u5404\u6837\u7684\u989c\u8272\u4e3b\u9898, \u4f60\u53ef\u4ee5\u4e0b\u8f7d\u4e0b\u6765\u4e00\u4e2a\u4e00\u4e2a\u7684\u8bd5, \u591a\u5730\u53ef\u4ee5\u770b\u5230\u4f60\u773c\u82b1. \u5982\u679c\u8fd9\u6837\u4f60\u8fd8\u4e0d\u6ee1\u610f(\u4f60\u8fd8\u771f\u662fXXXX), \u6ca1\u5173\u7cfb, vim\u7684\u4f5c\u8005\u65e9\u60f3\u5230\u4f1a\u6709\u4f60\u8fd9\u79cd\u4eba\u4e86, \u4f60\u53ef\u4ee5\u521b\u5efa\u4f60\u81ea\u5df1\u7684\u989c\u8272\u4e3b\u9898, \u628a\u4e0b\u9762\u7684\u8fd9\u7bc7\u6587\u6863\u597d\u597d\u5b66\u4e60\u4e00\u4e9b\u4e00\u4e0b\u5427:<\/span><\/span><\/span><\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"width: 190px;text-align: left\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\">:help syntax.txt<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u66f4\u70ab\u7684\u8bed\u6cd5\u9ad8\u4eae:<br \/>\n\u4f60\u53ef\u80fd\u4f1a\u53d1\u73b0\u5f88\u591a\u4e1c\u897f\u6ca1\u6709\u9ad8\u4eae\u8d77\u6765, \u6bd4\u5982\u8fd0\u7b97\u7b26\u53f7, \u5404\u79cd\u62ec\u53f7, \u51fd\u6570\u540d, \u81ea\u5b9a\u4e49\u7c7b\u578b\u7b49, \u4f46\u662f\u770b\u4e0a\u9762\u7684\u56fe\u7247, \u6211\u7684\u8fd0\u7b97\u7b26\u53f7\u548c\u51fd\u6570\u540d\u90fd\u52a0\u4eae\u4e86^_^, \u60f3\u77e5\u9053\u4e3a\u4ec0\u4e48\u5417? \u54c7\u54c8\u54c8\u54c8\u54c8&#8230;. \u8ba9\u6211\u6765\u6559\u4f60\u5427 &#8230;<\/p>\n<p>\u4e3b\u8981\u7684\u601d\u8def\u662f\u65b0\u5efa\u4e00\u4e2a\u8bed\u6cd5\u6587\u4ef6, \u5728\u6587\u4ef6\u4e2d\u5b9a\u4e49\u4f60\u8981\u9ad8\u4eae\u7684\u4e1c\u4e1c, \u60f3\u9ad8\u4eae\u4ec0\u4e48\u5c31\u9ad8\u4eae\u4ec0\u4e48, \u7528vim\u5c31\u662f\u8fd9\u4e48\u81ea\u4fe1. \u6240\u8c13\u7684\u8bed\u6cd5\u6587\u4ef6\u5c31\u662fvim\u7528\u6765\u9ad8\u4eae\u5404\u79cd\u6e90\u6587\u4ef6\u7684\u4e00\u4e2a\u811a\u672c, vim\u9760\u8fd9\u4e2a\u811a\u672c\u7684\u63cf\u8ff0\u6765\u4f7f\u6587\u4ef6\u4e2d\u7684\u4e0d\u540c\u6587\u672c\u663e\u793a\u4e0d\u540c\u7684\u989c\u8272, \u6bd4\u5982C\u8bed\u8a00\u7684\u8bed\u6cd5\u6587\u4ef6\u653e\u5728\u7c7b\u4f3c\u4e8e\u8fd9\u6837\u7684\u4e00\u4e2a\u8def\u5f84\u4e2d:<br \/>\n\/usr\/share\/vim\/vim73\/syntax\/c.vim<br \/>\n\u5176\u4ed6\u8bed\u8a00\u7684\u8bed\u6cd5\u6587\u4ef6\u4e5f\u53ef\u4ee5\u5728\u8fd9\u4e2a\u8def\u5f84\u4e2d\u627e\u5230\u3002<\/p>\n<\/div>\n<div><span class=\"Apple-style-span\" style=\"line-height: 26px;background-color: #ffffff\"><span class=\"Apple-style-span\" style=\"line-height: 26px;background-color: #ffffff\"><span class=\"Apple-style-span\" style=\"line-height: 26px;background-color: #ffffff\"><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333\">\u4e3a\u4e86\u65b9\u4fbf\u4ee5\u540e\u914d\u7f6e\u6587\u4ef6\u8fc1\u79fb\uff0c\u53ef\u4ee5\u5728\u4f60\u81ea\u5df1\u7684HOME\u4e0b\u65b0\u5efa\u4e00\u4e2a\u8bed\u6cd5\u6587\u4ef6, \u65b0\u5efa\u4e00\u4e2a\u7a7a\u6587\u4ef6:<\/span><br \/>\n<span style=\"color: #333333\">~\/.vim\/syntax\/c.vim<\/span><br \/>\n<span style=\"color: #333333\">\u5728\u5176\u4e2d\u52a0\u5165<\/span><\/span><\/span><\/span><\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;width: 461px;height: 688px;text-align: left\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #333333\">\n<pre><span style=\"color: #18ca12\">\"=========================<\/span> <span style=\"color: #18ca12\">\" Highlight All Function<\/span> <span style=\"color: #18ca12\">\"=======================<\/span><\/pre>\n<pre><span style=\"color: #f0e68c\"><strong>syn<\/strong><\/span> <span style=\"color: #ffa0a0\"><strong>match<\/strong><\/span> <span style=\"color: #ffffff\">cFunction<\/span> <span style=\"color: #ffa500\">\"\/&lt;<\/span><span style=\"color: #ffa500\">[a-zA-Z_][a-zA-Z_0-9]<\/span><span style=\"color: #ffa500\">*\/&gt;<\/span><span style=\"color: #ffa500\">[^()]<\/span><span style=\"color: #ffa500\">*)(\"<\/span><span style=\"color: #ffffff\">me=e-2<\/span><\/pre>\n<pre><span style=\"color: #f0e68c\"><strong>syn<\/strong><\/span> <span style=\"color: #ffa0a0\"><strong>match<\/strong><\/span> <span style=\"color: #ffffff\">cFunction<\/span> <span style=\"color: #ffa500\">\"\/&lt;<\/span><span style=\"color: #ffa500\">[a-zA-Z_][a-zA-Z_0-9]<\/span><span style=\"color: #ffa500\">*\/&gt;\/s*(\"<\/span><span style=\"color: #ffffff\">me=e-1<\/span><\/pre>\n<pre><span style=\"color: #f0e68c\"><strong>hi<\/strong><\/span> <span style=\"color: #ffffff\">cFunction<\/span> <span style=\"color: #ffa0a0\"><strong>gui<\/strong><\/span><span style=\"color: #ffffff\">=<\/span><span style=\"color: #cd5c5c\">NONE<\/span> <span style=\"color: #ffa0a0\"><strong>guifg<\/strong><\/span><span style=\"color: #ffffff\">=<\/span><span style=\"color: #ffa0a0\">#B5A1FF\u00a0<\/span><\/pre>\n<pre><span style=\"color: #18ca12\">\"=========================<\/span> <span style=\"color: #18ca12\">\" Highlight All Math Operator<\/span> <span style=\"color: #18ca12\">\"==================<\/span><\/pre>\n<pre><span style=\"color: #18ca12\">\" C math operators<\/span><\/pre>\n<pre><span style=\"color: #f0e68c\"><strong>syn<\/strong><\/span> <span style=\"color: #ffa0a0\"><strong>match<\/strong><\/span> <span style=\"color: #ffffff\">cMathOperator<\/span> <span style=\"color: #ffdead\">display<\/span> <span style=\"color: #ffa500\">\"<\/span><span style=\"color: #ffa500\">[-+\/*\/%=]<\/span><span style=\"color: #ffa500\">\"<\/span><\/pre>\n<pre><span style=\"color: #18ca12\">\" C pointer operators<\/span><\/pre>\n<pre><span style=\"color: #f0e68c\"><strong>syn<\/strong><\/span> <span style=\"color: #ffa0a0\"><strong>match<\/strong><\/span> <span style=\"color: #ffffff\">cPointerOperator<\/span> <span style=\"color: #ffdead\">display<\/span> <span style=\"color: #ffa500\">\"-&gt;<\/span><span style=\"color: #ffdead\">\/|<\/span><span style=\"color: #ffa500\">\/.\"<\/span><\/pre>\n<pre><span style=\"color: #18ca12\">\" C logical operators - boolean results<\/span><\/pre>\n<pre><span style=\"color: #f0e68c\"><strong>syn<\/strong><\/span> <span style=\"color: #ffa0a0\"><strong>match<\/strong><\/span> <span style=\"color: #ffffff\">cLogicalOperator<\/span> <span style=\"color: #ffdead\">display<\/span> <span style=\"color: #ffa500\">\"<\/span><span style=\"color: #ffa500\">[!&lt;&gt;]<\/span><span style=\"color: #ffa500\">=\/=\"<\/span><\/pre>\n<pre><span style=\"color: #f0e68c\"><strong>syn<\/strong><\/span> <span style=\"color: #ffa0a0\"><strong>match<\/strong><\/span> <span style=\"color: #ffffff\"> cLogicalOperator<\/span> <span style=\"color: #ffdead\">display<\/span> <span style=\"color: #ffa500\">\"==\"<\/span><\/pre>\n<pre><span style=\"color: #18ca12\">\" C bit operators<\/span><\/pre>\n<pre><span style=\"color: #f0e68c\"><strong>syn<\/strong><\/span> <span style=\"color: #ffa0a0\"><strong>match<\/strong><\/span> <span style=\"color: #ffffff\">cBinaryOperator<\/span> <span style=\"color: #ffdead\">display<\/span> <span style=\"color: #ffa500\">\"<\/span><span style=\"color: #ffdead\">\/(<\/span><span style=\"color: #ffa500\">&amp;<\/span><span style=\"color: #ffdead\">\/|<\/span><span style=\"color: #ffa500\">|<\/span><span style=\"color: #ffdead\">\/|<\/span><span style=\"color: #ffa500\">\/^<\/span><span style=\"color: #ffdead\">\/|<\/span><span style=\"color: #ffa500\">&lt;&lt;<\/span><span style=\"color: #ffdead\">\/|<\/span><span style=\"color: #ffa500\">&gt;&gt;<\/span><span style=\"color: #ffdead\">\/)<\/span><span style=\"color: #ffa500\">=\/=\"<\/span><\/pre>\n<pre><span style=\"color: #f0e68c\"><strong>syn<\/strong><\/span> <span style=\"color: #ffa0a0\"><strong>match<\/strong><\/span> <span style=\"color: #ffffff\">cBinaryOperator<\/span> <span style=\"color: #ffdead\">display<\/span> <span style=\"color: #ffa500\">\"\/~\"<\/span><\/pre>\n<pre><span style=\"color: #f0e68c\"><strong>syn<\/strong><\/span> <span style=\"color: #ffa0a0\"><strong>match<\/strong><\/span> <span style=\"color: #ffffff\">cBinaryOperatorError<\/span> <span style=\"color: #ffdead\">display<\/span> <span style=\"color: #ffa500\">\"\/~=\"<\/span><\/pre>\n<pre><span style=\"color: #18ca12\">\" More C logical operators - highlight in preference to binary<\/span><\/pre>\n<pre><span style=\"color: #f0e68c\"><strong>syn<\/strong><\/span> <span style=\"color: #ffa0a0\"><strong>match<\/strong><\/span> <span style=\"color: #ffffff\">cLogicalOperator<\/span> <span style=\"color: #ffdead\">display<\/span> <span style=\"color: #ffa500\">\"&amp;&amp;<\/span><span style=\"color: #ffdead\">\/|<\/span><span style=\"color: #ffa500\">||\"<\/span><\/pre>\n<pre><span style=\"color: #f0e68c\"><strong>syn<\/strong><\/span> <span style=\"color: #ffa0a0\"><strong>match<\/strong><\/span> <span style=\"color: #ffffff\"> cLogicalOperatorError<\/span> <span style=\"color: #ffdead\">display<\/span> <span style=\"color: #ffa500\">\"<\/span><span style=\"color: #ffdead\">\/(<\/span><span style=\"color: #ffa500\">&amp;&amp;<\/span><span style=\"color: #ffdead\">\/|<\/span><span style=\"color: #ffa500\">||<\/span><span style=\"color: #ffdead\">\/)<\/span><span style=\"color: #ffa500\">=\"<\/span><\/pre>\n<pre><span style=\"color: #18ca12\">\" Math Operator<\/span><\/pre>\n<pre><span style=\"color: #f0e68c\"><strong>hi<\/strong><\/span> <span style=\"color: #ffffff\">cMathOperator<\/span> <span style=\"color: #ffa0a0\"><strong>guifg<\/strong><\/span><span style=\"color: #ffffff\">=<\/span><span style=\"color: #ffa0a0\">#3EFFE2<\/span><\/pre>\n<pre><span style=\"color: #f0e68c\"><strong>hi<\/strong><\/span> <span style=\"color: #ffffff\">cPointerOperator<\/span> <span style=\"color: #ffa0a0\"><strong>guifg<\/strong><\/span><span style=\"color: #ffffff\">=<\/span><span style=\"color: #ffa0a0\">#3EFFE2<\/span><\/pre>\n<pre><span style=\"color: #f0e68c\"><strong>hi<\/strong><\/span> <span style=\"color: #ffffff\">cLogicalOperator<\/span> <span style=\"color: #ffa0a0\"><strong>guifg<\/strong><\/span><span style=\"color: #ffffff\">=<\/span><span style=\"color: #ffa0a0\">#3EFFE2<\/span><\/pre>\n<pre><span style=\"color: #f0e68c\"><strong>hi<\/strong><\/span> <span style=\"color: #ffffff\">cBinaryOperator<\/span> <span style=\"color: #ffa0a0\"><strong>guifg<\/strong><\/span><span style=\"color: #ffffff\">=<\/span><span style=\"color: #ffa0a0\">#3EFFE2<\/span><\/pre>\n<pre><span style=\"color: #f0e68c\"><strong>hi<\/strong><\/span> <span style=\"color: #ffffff\">cBinaryOperatorError<\/span> <span style=\"color: #ffa0a0\"><strong>guifg<\/strong><\/span><span style=\"color: #ffffff\">=<\/span><span style=\"color: #ffa0a0\">#3EFFE2<\/span><\/pre>\n<pre><span style=\"color: #f0e68c\"><strong>hi<\/strong><\/span> <span style=\"color: #ffffff\">cLogicalOperator<\/span> <span style=\"color: #ffa0a0\"><strong>guifg<\/strong><\/span><span style=\"color: #ffffff\">=<\/span><span style=\"color: #ffa0a0\">#3EFFE2<\/span><\/pre>\n<pre><span style=\"color: #f0e68c\"><strong>hi<\/strong><\/span> <span style=\"color: #ffffff\">cLogicalOperatorError<\/span> <span style=\"color: #ffa0a0\"><strong>guifg<\/strong><\/span><span style=\"color: #ffffff\">=<\/span><span style=\"color: #ffa0a0\">#3EFFE2<\/span><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"color: #333333\">\u4ee3\u78011 \u66f4\u70ab\u7684\u9ad8\u4eae\u4ee3\u7801<\/span><span style=\"color: #ff0000\">\uff08\u8fd9\u6bb5\u4ee3\u7801\u53ea\u9002\u7528\u4e8eGVIM\uff0c\u76ee\u524d\u5728win7\u4e0b\u597d\u7528\uff0c\u4e3b\u8981\u53ef\u80fd\u662f\u7531\u4e8e\u4e0d\u540c\u7684\u7cfb\u7edf\u63d0\u4f9b\u7684\u8272\u5f69\u4e0d\u4e00\u6837\uff0c\u5c24\u5176\u662f\u5728console\u548cterminal\u7684\u65f6\u5019\uff0c\u652f\u6301\u7684\u989c\u8272\u66f4\u5c11\uff0c\u5176\u4e2d\u53ef\u80fd\u6709\u4e9b\u4ee3\u7801\u51fa\u95ee\u9898\uff0c\u5982\u679c\u51fa\u95ee\u9898\u53c2\u7167\u4e0b\u9762\u7684\u4ee3\u7801\u4fee\u6539\u3002\uff09<\/span><\/p>\n<\/div>\n<div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">&#8220;========================================================<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">&#8221; Highlight All Function<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">&#8220;========================================================<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">syn match cFunctions &#8220;\\&lt;[a-zA-Z_][a-zA-Z_0-9]*\\&gt;[^()]*)(&#8220;me=e-2<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">syn match cFunctions &#8220;\\&lt;[a-zA-Z_][a-zA-Z_0-9]*\\&gt;\\s*(&#8220;me=e-1<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">hi cFunctions gui=NONE cterm=bold \u00a0ctermfg=5<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">&#8220;highlight Functions<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">&#8220;syn match cFunctions display &#8220;[a-zA-Z_]\\{-1,}\\s\\{-0,}(\\{1}&#8221;ms=s,me=e-1<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">&#8220;hi cFunctions ctermfg=RED ctermbg=yellow<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">&#8220;hi def link cFunctions cFunctions<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\"><br \/>\n<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\"><br \/>\n<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">&#8220;========================================================<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">&#8221; Highlight All Math Operator<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">&#8220;========================================================<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">&#8221; C math operators<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">syn match cMathOperator display &#8220;[-+\\*\/%=]&#8221;<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">&#8221; C pointer operators<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">syn match cPointerOperator display &#8220;-&gt;\\|\\.&#8221;<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">&#8221; C logical \u00a0 operators &#8211; boolean results<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">syn match cLogicalOperator display &#8220;[!&lt;&gt;]=\\=&#8221;<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">syn match cLogicalOperator display &#8220;==&#8221;<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">&#8221; C bit operators<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">syn match cBinaryOperator display &#8220;\\(&amp;\\||\\|\\^\\|&lt;&lt;\\|&gt;&gt;\\)=\\=&#8221;<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">syn match cBinaryOperator display &#8220;\\~&#8221;<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">syn match cBinaryOperatorError display &#8220;\\~=&#8221;<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">&#8221; More C logical operators &#8211; highlight in preference to binary<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">syn match cLogicalOperator display &#8220;&amp;&amp;\\|||&#8221;<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">syn match cLogicalOperatorError display &#8220;\\(&amp;&amp;\\|||\\)=&#8221;<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\"><br \/>\n<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">&#8221; Math Operator<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">hi cMathOperator ctermfg=6 cterm=bold<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">hi cPointerOperator ctermfg=6 cterm=bold<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">hi cLogicalOperator ctermfg=6 cterm=bold<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">hi cBinaryOperator ctermfg=6 cterm=bold<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">hi cBinaryOperatorError ctermfg=6 cterm=bold<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">hi cLogicalOperator ctermfg=6 cterm=bold<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;font-size: 14px;background-color: transparent\"><span style=\"font-family: Verdana\">hi cLogicalOperatorError ctermfg=6 cterm=bold<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px\"><span style=\"font-family: ''Microsoft Yahei''\">\u4ee3\u78012 \u9002\u7528\u4e8econsole\u548cterminal\u7684\u989c\u8272\u4fee\u6539\u65b9\u6848<\/span><\/span><span style=\"color: #ff0000;font-family: 'Microsoft Yahei';line-height: 26px;background-color: #ffffff\">Tip\uff1a\u67e5\u770bconsole\u548cterminal\u652f\u6301\u7684\u989c\u8272\uff0c\u53ef\u4ee5\u9884\u5148\u7528vim\u6253\u5f00\u4e00\u4e2a\u6587\u4ef6\uff08\u6700\u597d\u662fc\u8bed\u8a00\u6587\u4ef6\uff09\uff0c\u7136\u540e\u8f93\u5165\uff1ahighlight\u547d\u4ee4\uff0c\u6b64\u65f6\u5c31\u4f1a\u663e\u793a\u51fa\u5404\u4e2a\u6807\u7b7e\u6240\u4f7f\u7528\u7684\u989c\u8272\uff0c\u53ef\u4ee5\u53c2\u7167\u540e\u9762\u63d0\u4f9b\u7684\u989c\u8272\u4ee3\u7801\uff0c\u66f4\u6539\u5bf9\u5e94\u7684\u989c\u8272\u503c\uff08ctermfg\u989c\u8272\uff0ccterm\u5b57\u4f53\u6837\u5f0f\uff09\u3002<\/span><\/div>\n<div><span style=\"color: #ff0000;font-family: 'Microsoft Yahei';line-height: 26px;background-color: #ffffff\"><br \/>\n<\/span><\/div>\n<p><span style=\"font-family: 'Microsoft Yahei';background-color: #ffffff;line-height: 26px;color: #333333\">\u518d\u6253\u5f00\u4f60\u7684C\u6587\u4ef6\u770b\u770b, \u662f\u4e0d\u662f\u53c8\u660e\u4eae\u4e86\u8bb8\u591a. \u8fd8\u6709\u4e00\u4e2a\u538b\u7bb1\u5e95\u7684\u8981\u544a\u8bc9\u4f60, \u5982\u679c\u4f60\u81ea\u5df1\u589e\u52a0\u4e86\u4e00\u4e2a\u7c7b\u578b\u6216\u8005\u7ed3\u6784\u4e4b\u7c7b\u7684, \u600e\u4e48\u8ba9\u5b83\u4e5f\u8c61&#8221;int&#8221;, &#8220;void&#8221;\u8fd9\u6837\u9ad8\u4eae\u8d77\u6765\u5462? \u518d\u5728\u4e0a\u9762\u7684\u6587\u4ef6~\/.vim\/syntax\/c.vim\u4e2d\u6dfb\u52a0\u4e0b\u9762\u7684\u4e1c\u4e1c:<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"font-family: 'Microsoft Yahei';background-color: #ffffff;line-height: 26px;color: #333333;width: 437px;height: 108px;text-align: left\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #333333\">\n<pre><span style=\"color: #18ca12\">\"=====================<\/span> <span style=\"color: #18ca12\">\" My Own DataType<\/span> <span style=\"color: #18ca12\">\"=======================<\/span><\/pre>\n<pre><span style=\"color: #f0e68c\"><strong>syn<\/strong><\/span> <span style=\"color: #ffa0a0\"><strong>keyword<\/strong><\/span><span style=\"color: #ffffff\"> cType My_Type_1 My_Type_2 My_Type_3<\/span><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4ee3\u78013 \u52a0\u5165\u65b0\u7c7b\u578b<span style=\"font-family: 'Microsoft Yahei';background-color: #ffffff;line-height: 26px;color: #333333\">\u8fd9\u6837\u4f60\u81ea\u5df1\u7684\u7c7b\u578bMy_Type_1, My_Type_2, My_Type_3\u5c31\u4e5f\u53ef\u4ee5\u5411&#8221;int&#8221;\u4e00\u6837\u9ad8\u4eae\u8d77\u6765\u4e86, \u8fd9\u6837\u7684\u7f3a\u70b9\u662f\u6bcf\u589e\u52a0\u4e00\u4e2a\u7c7b\u578b, \u5c31\u8981\u624b\u52a8\u5728\u8fd9\u91cc\u6dfb\u52a0\u4e00\u4e0b, \u5982\u679c\u6709\u4eba\u77e5\u9053\u66f4\u7b80\u5355\u7684\u65b9\u6cd5\u8bf7\u4e00\u5b9a\u4e00\u5b9a\u8981\u544a\u8bc9\u6211\u3002<\/span><\/p>\n<\/div>\n<div><span style=\"color: #333333;font-family: ''Microsoft Yahei''\"><span style=\"line-height: 26px\"><br \/>\n<\/span><\/span><\/div>\n<div><span style=\"color: #333333;font-family: ''Microsoft Yahei''\"><span style=\"line-height: 26px\"><br \/>\n<\/span><\/span><\/div>\n<div><span style=\"font-size: 22px;background-color: orange;font-family: ''Microsoft Yahei''\"><span class=\"Apple-style-span\" style=\"color: #333333;line-height: 26px\">5.\u5728\u7a0b\u5e8f\u4e2d\u8df3\u6765\u8df3\u53bb: Ctags \u7684\u4f7f\u7528<\/span><\/span><\/div>\n<div><span class=\"Apple-style-span\" style=\"color: #333333;font-family: Arial;font-size: 14px;line-height: 26px;background-color: #ffffff\"><br \/>\n<\/span><\/div>\n<div><span class=\"Apple-style-span\" style=\"line-height: 26px;background-color: #ffffff\"><span class=\"Apple-style-span\" style=\"line-height: 26px;background-color: #ffffff\"><span class=\"Apple-style-span\" style=\"line-height: 26px;background-color: #ffffff\"><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333\">\u54c7, \u8fd9\u4e0b\u53ef\u5389\u5bb3\u4e86, Tag\u6587\u4ef6(\u6807\u7b7e\u6587\u4ef6)\u53ef\u662f\u7a0b\u5e8f\u5458\u7684\u770b\u5bb6\u5b9d\u5440, \u4f60\u53ef\u4ee5\u4e0d\u7528\u5b83, \u4f46\u4f60\u4e0d\u80fd\u4e0d\u77e5\u9053\u5b83, \u56e0\u4e3aLinux\u5185\u6838\u6e90\u7801\u90fd\u63d0\u4f9b\u4e86&#8221;make tags&#8221;\u8fd9\u4e2a\u9009\u9879. \u4e0b\u9762\u6211\u4eec\u5c31\u6765\u4ecb\u7ecdTag\u6587\u4ef6.<\/span><\/span><\/span><\/span><\/span><span style=\"color: #333333\">tags\u6587\u4ef6\u662f\u7531ctags\u7a0b\u5e8f\u4ea7\u751f\u7684\u4e00\u4e2a\u7d22\u5f15\u6587\u4ef6, ctags\u7a0b\u5e8f\u5176\u662f\u53eb&#8221;Exuberant Ctags&#8221;, \u662fUnix\u4e0a\u9762ctags\u7a0b\u5e8f\u7684\u66ff\u4ee3\u54c1, \u5e76\u4e14\u6bd4\u5b83\u529f\u80fd\u5f3a\u5927, \u662f\u5927\u591a\u6570Linux\u53d1\u884c\u7248\u4e0a\u9ed8\u8ba4\u7684ctags\u7a0b\u5e8f. \u90a3\u4e48tags\u6587\u4ef6\u662f\u505a\u4ec0\u4e48\u7528\u7684\u5462? \u5982\u679c\u4f60\u5728\u8bfb\u7a0b\u5e8f\u65f6\u770b\u4e86\u4e00\u4e2a\u51fd\u6570\u8c03\u7528, \u6216\u8005\u4e00\u4e2a\u53d8\u91cf, \u6216\u8005\u4e00\u4e2a\u5b8f\u7b49\u7b49, \u4f60\u60f3\u77e5\u9053\u5b83\u4eec\u7684\u5b9a\u4e49\u5728\u54ea\u513f, \u600e\u4e48\u529e\u5462? \u7528grep? \u90a3\u4f1a\u641c\u51fa\u5f88\u591a\u4e0d\u76f8\u5e72\u7684\u5730\u65b9. \u73b0\u5728\u6d41\u884c\u7528\u662f\u7684&lt;C-]&gt;, \u8c01\u7528\u8c01\u77e5\u9053\u5440, \u5f53\u5149\u6807\u5728\u67d0\u4e2a\u51fd\u6570\u6216\u53d8\u91cf\u4e0a\u65f6, \u6309\u4e0b&#8221;Ctrl+]&#8221;, \u5149\u6807\u4f1a\u81ea\u52a8\u8df3\u8f6c\u5230\u5176\u5b9a\u4e49\u5904, \u591f\u5389\u5bb3\u5427, \u4f60\u4e0d\u7528\u518d\u7fa1\u6155Visual Studio\u7684\u7a0b\u5e8f\u5458\u4e86, \u5f00\u59cb\u7fa1\u6155\u6211\u5427~_~.<\/span><span style=\"color: #ff0000\">\uff08&lt;C-T&gt;\u8df3\u56de\u4e0a\u4e00\u6b65\uff09<\/span><span style=\"color: #333333\">\u4f60\u73b0\u5728\u5148\u522b\u6025\u7740\u53bb\u6309&lt;C-]&gt;, \u4f60\u6309\u6ca1\u7528\u7684, \u8981\u4e0d\u8981\u6211\u5e72\u4ec0\u4e48\u5440, \u4f60\u73b0\u5728\u8981\u505a\u7684\u662f\u67e5\u67e5\u4f60\u7535\u8111\u91cc\u6709\u6ca1\u6709ctags\u8fd9\u4e2a\u7a0b\u5e8f, \u5982\u679c\u6709, \u662f\u4ec0\u4e48\u7248\u672c\u7684, \u5982\u679c\u662fCtags 5.5.4, \u5c31\u8c61\u6211\u4e00\u6837, \u4f60\u6700\u597d\u53bb\u88c5\u4e00\u4e2aCtags 5.6, \u8fd9\u4e2a\u5728\u540e\u9762\u7684\u81ea\u52a8\u8865\u5168\u7ae0\u8282\u4e2d\u4f1a\u7528\u5230. \u5728\u8fd9\u4e2a\u7f51\u7ad9: http:\/\/ctags.sourceforge.net, \u4e0b\u8f7d\u4e00\u4e2a\u7c7b\u4f3c ctags-5.6.tar.gz \u7684\u6587\u4ef6\u4e0b\u6765(\u73b0\u5728\u597d\u50cf5.8\u7248\u7684\u4e5f\u51fa\u6765\u4e86, \u4e0d\u8fc7\u6211\u8fd8\u6ca1\u7528\u8fc7):<\/span><span style=\"color: #333333\">\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u89e3\u538b\u5b89\u88c5:<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;width: 298px;height: 32px;text-align: left\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\">$ tar -xzvf ctags-5.6.tar.gz<br \/>\n$ cd ctags-5.6<br \/>\n$ make<br \/>\n# make install\u00a0\u00a0\u00a0<span style=\"color: #009900\">\/\/ \u9700\u8981root\u6743\u9650<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"color: #ff0000\">\uff08\u6211\u4f7f\u7528\u7684\u662fapt-get install exuberant ctags\uff09<\/span><br \/>\n<span style=\"color: #333333\">\u7136\u540e\u53bb\u4f60\u7684\u6e90\u7801\u76ee\u5f55, \u5982\u679c\u4f60\u7684\u6e90\u7801\u662f\u591a\u5c42\u7684\u76ee\u5f55, \u5c31\u53bb<\/span><span style=\"color: #ff0000\">\u6700\u4e0a\u5c42\u7684\u76ee\u5f55<\/span><span style=\"color: #333333\">, \u5728\u8be5\u76ee\u5f55\u4e0b\u8fd0\u884c\u547d\u4ee4: ctags -R<\/span><br \/>\n<span style=\"color: #333333\">\u6211\u73b0\u5728\u4ee5 vim71 \u7684\u6e90\u7801\u76ee\u5f55\u505a\u6f14\u793a<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;width: 254px;text-align: left\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\">$ cd \/home\/wooin\/vim71<br \/>\n$ ctags -R<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"color: #333333\">\u6b64\u65f6\u5728\/home\/wooin\/vim71\u76ee\u5f55\u4e0b\u4f1a\u751f\u6210\u4e00\u4e2a tags \u6587\u4ef6, \u73b0\u5728\u7528vim\u6253\u5f00 \/home\/wooin\/vim71\/src\/main.c<\/span><\/p>\n<\/div>\n<div><span class=\"Apple-style-span\" style=\"line-height: 26px;background-color: #ffffff\"><span class=\"Apple-style-span\" style=\"line-height: 26px;background-color: #ffffff\"><span class=\"Apple-style-span\" style=\"line-height: 26px;background-color: #ffffff\"><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #ff0000\">\uff08-R\u8868\u793a\u9012\u5f52\uff0c\u4f60\u61c2\u7684\uff09<\/span><\/span><\/span><\/span><\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;width: 318px;height: 42px;text-align: left\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\">$ vim \/home\/wooin\/vim71\/src\/main.c<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"color: #333333\">\u518d\u5728vim\u4e2d\u8fd0\u884c\u547d\u4ee4:<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;width: 320px;height: 42px;text-align: left\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\">:set tags=\/home\/wooin\/vim71\/tags<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"color: #333333\">\u8be5\u547d\u4ee4\u5c06tags\u6587\u4ef6\u52a0\u5165\u5230vim\u4e2d\u6765, \u4f60\u4e5f\u53ef\u4ee5\u5c06\u8fd9\u53e5\u8bdd\u653e\u5230~\/.vimrc\u4e2d\u53bb, \u5982\u679c\u4f60\u7ecf\u5e38\u5728\u8fd9\u4e2a\u5de5\u7a0b\u7f16\u7a0b\u7684\u8bdd.<\/span><span style=\"color: #ff0000\">\uff08\u5efa\u8bae\u4e0d\u8981\u8fd9\u6837\u505a\uff0c\u56e0\u4e3a\u5728\u591a\u4e2a\u5de5\u7a0b\u4e2d\u4f1a\u6709\u591a\u4e2atags\u6587\u4ef6\uff0c\u4e5f\u5c31\u662f\u6bcf\u4e2a\u5de5\u7a0b\u5bf9\u5e94\u4e00\u4e2a\uff0c\u5982\u679c\u5c06\u4e0a\u4e00\u53e5\u5199\u5165\u914d\u7f6e\u6587\u4ef6\uff0c\u5219\u4f1a\u5bfc\u81f4\u6bcf\u4e2a\u5de5\u7a0b\u90fd\u53ea\u8bfb\u54ea\u4e00\u4e2atags\u6587\u4ef6\uff0c\u6240\u4ee5\u4e0d\u5efa\u8bae\u5199\uff09<\/span><br \/>\n<span style=\"color: #333333\">\u4e0b\u9762\u8981\u5f00\u59cb\u771f\u5200\u5b9e\u67aa\u7684\u5f00\u5e72\u4e86, \u5982\u4e0b\u56fe, \u5c06\u5149\u6807\u653e\u5728setmouse()\u51fd\u6570\u4e0a<\/span><br \/>\n<span style=\"color: #333333;border-color: initial\"><img style=\"border-color: initial\" src=\"http:\/\/note.youdao.com\/yws\/res\/1377\/DD6A88353EA94CA9A52698EA89A2125A\" title=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe2\" alt=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe2\" \/><\/span><br \/>\n<span style=\"color: #333333\">\uff08&#8212;\u56fe3 &#8212;\uff09\u4f7f\u7528tags\u8fdb\u884c\u8df3\u8f6c<\/span><\/p>\n<p><span style=\"color: #333333\">\u6b64\u65f6\u6309\u4e0b&lt;C-]&gt;, \u5149\u6807\u4f1a\u81ea\u52a8\u8df3\u5230setmouse()\u51fd\u6570\u7684\u5b9a\u4e49\u5904, \u89c1\u4e0b\u56fe:<\/span><br \/>\n<span style=\"color: #333333;border-color: initial\"><img style=\"border-color: initial\" src=\"http:\/\/note.youdao.com\/yws\/res\/1376\/9FD8A3D5BCD644F5A22F43522659A855\" title=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe3\" alt=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe3\" \/><\/span><\/p>\n<p><span style=\"color: #333333;font-family: 'Microsoft Yahei';line-height: 26px;background-color: #ffffff\">(&#8212; \u56fe4\u00a0<\/span><span style=\"background-color: #ffffff;color: #333333;font-family: 'Microsoft Yahei';line-height: 26px\">&#8212;)\u00a0<\/span><span style=\"background-color: #ffffff;color: #333333;font-family: 'Microsoft Yahei';line-height: 26px\">\u5149\u6807\u8df3\u8f6c\u5230\u51fd\u6570\u5b9a\u4e49\u7684\u5730\u65b9<\/span><\/p>\n<\/div>\n<div><span class=\"Apple-style-span\" style=\"background-color: #ffffff\"><span class=\"Apple-style-span\" style=\"background-color: #ffffff\"><span class=\"Apple-style-span\" style=\"background-color: #ffffff\"><span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<span style=\"line-height: 26px;color: #333333\">\u5982\u679c\u6b64\u65f6\u4f60\u8fd8\u60f3\u518d\u8df3\u56de\u521a\u624d\u7684\u4f4d\u7f6e, \u4f60\u8fd8\u53ef\u4ee5\u6309&lt;C-T&gt;, \u8fd9\u6837\u53c8\u8df3\u56de\u5230setmouse()\u51fd\u6570\u88ab\u8c03\u7528\u7684\u5730\u65b9\u4e86, \u53d8\u91cf, \u7ed3\u6784, \u5b8f, \u7b49\u7b49, \u90fd\u53ef\u4ee5\u7684, \u8d76\u5feb\u8bd5\u8bd5\u5427&#8230;..<\/span><\/span><\/span><\/span><\/span><span style=\"line-height: 26px;color: #333333\">\u6b64\u65f6\u5728\u56de\u5934\u5b66\u4e60\u4e00\u4e0b\u7b2c3\u8282\u4e2d\u8bf4\u7684vim\u624b\u518c\u5427<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"line-height: 26px;color: #333333;width: 190px;text-align: left\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\">:help usr_29<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"line-height: 26px;color: #333333\">\u4e0d\u8fc7\u8fd8\u6709\u4e00\u4e2a\u5c0f\u7455\u75b5, \u4f60\u4fee\u6539\u7a0b\u5e8f\u540e, \u6bd4\u5982\u589e\u52a0\u4e86\u51fd\u6570\u5b9a\u4e49, \u5220\u9664\u4e86\u53d8\u91cf\u5b9a\u4e49, tags\u6587\u4ef6\u4e0d\u80fd\u81ea\u52a8rebuild, \u4f60\u5fc5\u987b\u624b\u52a8\u518d\u8fd0\u884c\u4e00\u4e0b\u547d\u4ee4:<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"line-height: 26px;color: #333333;width: 190px;text-align: left\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\">$ ctags -R<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"line-height: 26px;color: #333333\">\u4f7ftags\u6587\u4ef6\u66f4\u65b0\u4e00\u4e0b, \u4e0d\u8fc7\u8ba9\u4eba\u611f\u5230\u6b23\u6170\u7684\u662fvim\u4e0d\u7528\u91cd\u65b0\u542f\u52a8, \u6b63\u5728\u7f16\u5199\u7684\u7a0b\u5e8f\u4e5f\u4e0d\u7528\u9000\u51fa, \u9a6c\u4e0a\u5c31\u53ef\u4ee5\u53c8\u6b63\u786e\u4f7f\u7528&lt;C-]&gt;\u548c&lt;C-T&gt;\u4e86. \u5982\u679c\u6709\u4eba\u77e5\u9053\u66f4\u7b80\u5355\u7684\u65b9\u6cd5\u8bf7\u4e00\u5b9a\u4e00\u5b9a\u8981\u544a\u8bc9\u6211\u3002<\/span><\/p>\n<\/div>\n<div>\n<div style=\"line-height: 1.5;background-color: #fffcf3;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';color: #ff0000\">\u6ce8\u610f\uff1a<\/span><\/div>\n<div style=\"line-height: 1.5;background-color: #fffcf3;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';color: #ff0000\">\u8fd0\u884cvim\u7684\u65f6\u5019\uff0c\u5fc5\u987b\u5728&#8221;tags&#8221;\u6587\u6863\u6240\u5728\u7684\u76ee\u5f55\u4e0b\u8fd0\u884c<\/span><span style=\"font-family: ''Microsoft Yahei'';color: #00ff00\">\uff08\u5982\u679c\u53ea\u662f\u5728\u4e00\u4e2a\u5de5\u7a0b\u4e2d\u7684\u6839\u76ee\u5f55\u4f7f\u7528ctags -R\u751f\u6210\u4e00\u4e2atags\u6587\u4ef6\uff0c\u5219\u5728\u8be5\u5de5\u7a0b\u7684\u5176\u4ed6\u76ee\u5f55\u4e0b\u6ca1\u6709tags\u6587\u4ef6\uff0c\u540c\u6837\u5982\u679c\u8fdb\u5165\u5de5\u7a0b\u4e2d\u7684\u5176\u4ed6\u76ee\u5f55\uff0c\u975e\u6839\u76ee\u5f55\uff0c\u6253\u5f00\u4e00\u4e2a\u6e90\u6587\u4ef6\u7684\u8bdd\uff0cvim\u662f\u627e\u4e0d\u5230\u5bf9\u5e94\u7684tags\u6587\u4ef6\u7684\uff0c\u6240\u4ee5\u4e5f\u5c31\u65e0\u6cd5\u8df3\u8f6c\uff09<\/span><span style=\"font-family: ''Microsoft Yahei'';color: #ff0000\">\u3002\u5426\u5219\uff0c\u5bf9\u4e8e\u8be5\u4f8b\u5b50\u8fd8\u8981\u5728\u8fd0\u884cvim\u7684\u65f6\uff0c\u7528\u00a0 &#8221; :set tags= \/home\/taogle\/project\/tags&#8221; \u547d\u4ee4\u6765\u8bbe\u5b9a&#8221;tags&#8221;\u6587\u6863\u7684\u8def\u5f84\uff0c\u8fd9\u6837vim\u624d\u80fd\u627e\u5230&#8221;tags&#8221;\u6587\u6863\u3002<\/span><\/div>\n<div style=\"line-height: 1.5;background-color: #fffcf3;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';color: #ff0000\">\u5982\u679c\u7ecf\u5e38\u5728\u8fd9\u4e2a\u5de5\u7a0b\u7f16\u7a0b\u7684\u8bdd\uff0c\u53ef\u4ee5\u5c06 &#8221; set tags= \/home\/taogle\/vimPlungTest\/src &#8220;\u8fd9\u53e5\u8bdd\u5199\u8fdb~\/.vimrc \u6587\u4ef6\u4e2d\u53bb\u76f4\u63a5\u4f5c\u4e3avim\u7684\u914d\u7f6e\u6587\u4ef6\u3002\u5f53\u7136\u8fd9\u4e2a\u8def\u5f84\u968f\u7740\u5de5\u7a0b\u76ee\u5f55\u7684\u53d8\u5316\u8981\u968f\u65f6\u4f5c\u8c03\u6574\u3002(\u5207\u8bb0tags\u540e\u9762\u7684&#8221;=&#8221;\u4e00\u5b9a\u4e0d\u80fd\u6709\u7a7a\u683c\uff0c\u5426\u5219vim\u4f1a\u62a5 E518\u9519\u8bef )<\/span><\/div>\n<div style=\"line-height: 1.5;background-color: #fffcf3;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';color: #ff0000\">\u5f3a\u70c8\u63a8\u8350\u4ee5\u4e0b\u7684\u65b9\u6cd5\uff1a\u5728~\/.vimrc\u4e2d\u52a0\u5165\u4ee5\u4e0b\u7684\u53e5\u5b50\uff1a<\/span><\/div>\n<div style=\"line-height: 1.5;background-color: #fffcf3;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';color: #ff0000\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 if getfsize(&#8220;vimscript&#8221;)&gt;0<\/span><\/div>\n<div style=\"line-height: 1.5;background-color: #fffcf3;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';color: #ff0000\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 source\u00a0\u00a0 vimscript<\/span><\/div>\n<div style=\"line-height: 1.5;background-color: #fffcf3;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';color: #ff0000\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 endif<\/span><\/div>\n<div style=\"line-height: 1.5;background-color: #fffcf3;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';color: #ff0000\">\u7136\u540e\u5728\u5de5\u7a0b\u975e\u6839\u76ee\u5f55\u4e0b\uff08\u5982\uff1a&#8221; \/home\/taogle\/project\/header\/&#8221; \uff09\u65b0\u5efa\u4e00\u4e2a\u53eb\u505a\u201cvimscript\u201d\u7684\u6587\u4ef6\uff0c\u5728\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u7684\u5185\u5bb9\uff1a<\/span><\/div>\n<div style=\"line-height: 1.5;background-color: #fffcf3;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';color: #ff0000\">\u00a0\u00a0\u00a0\u00a0 set tags= \/home\/taogle\/project\/tags<\/span><\/div>\n<div style=\"line-height: 1.5;background-color: #fffcf3;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';color: #ff0000\">\u8fd9\u6837\u6bcf\u6b21\u542f\u52a8vim\u5c31\u4f1a\u81ea\u52a8\u8fd0\u884cvimscript\u811a\u672c\u4e2d\u7684\u53e5\u5b50\uff08\u524d\u63d0\u662fvimscript\u5b58\u5728\uff09\uff0c\u4ece\u800c\u53ef\u4ee5\u81ea\u52a8\u627e\u5230tags\u6240\u5728\u7684\u76ee\u5f55\u3002<\/span><\/div>\n<div style=\"line-height: 1.5;background-color: #fffcf3;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';color: #ff0000\">\u5e76\u5728vimscript\u6587\u4ef6\u4e2d\u52a0\u5165\u5982\u4e0b\u4e00\u884c\u5c31\u53ef\u5b9e\u73b0\u5728vim\u4e2d\u6bcf\u6b21\u6253\u5f00vim\u7f16\u8f91\u65f6\u90fd\u91cd\u65b0\u751f\u6210\u5173\u4e8ec++\u7684tags\u6587\u4ef6\uff1a<\/span><\/div>\n<div style=\"line-height: 1.5;background-color: #fffcf3;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';color: #ff0000\">!ctags -R &#8211;c++-kinds=+px &#8211;fields=+iaS &#8211;extra=+q<\/span><\/div>\n<div style=\"line-height: 1.5;background-color: #fffcf3;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #00ff00\">\uff08! command\u00a0\u00a0 \/\/\u5b9e\u73b0\u5728vim\u4e2d\u8fd0\u884cshell\uff09<\/span><\/span><\/div>\n<div style=\"line-height: 1.5;background-color: #fffcf3;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';color: #ff0000\">\u6216\u8005\u4e3a\u4e86\u66f4\u52a0\u7b80\u5355 \uff0c\u5728vimrc\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u7684\u53e5\u5b50\uff0c\u5c31\u53ef\u4ee5\u5728\u8fdb\u5165vim\u540e\uff0c\u6309\u4e0bCtrl+F12\u7ec4\u5408\u952e\uff08\u6bcf\u5f53\u6709\u4ee3\u7801\u66f4\u65b0\u7684\u65f6\u5019\uff0c\u65f6\u4e0d\u65f6\u6309\u4e0b\u4ee5\u66f4\u65b0tags\uff09\uff0c\u5728\u5f53\u524d\u76ee\u5f55\u4e0b\u5bfb\u627e\u6240\u6709\u7684c\/c++\u6587\u4ef6\uff0c\u4ece\u800c\u5728\u5f53\u524d\u76ee\u5f55\u4e0b\u5efa\u7acbtags\u6587\u4ef6\uff1a<\/span><\/div>\n<div style=\"line-height: 1.5;background-color: #fffcf3;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';color: #ff0000\">map &lt;C-F12&gt; :!ctags -R &#8211;c++-kinds=+px &#8211;fields=+iaS &#8211;extra=+q&lt;CR&gt;<\/span><\/div>\n<\/div>\n<div style=\"line-height: 1.5;background-color: #fffcf3;padding: 0px;margin: 0px\"><span style=\"color: #00ff00\"><span style=\"font-family: ''Microsoft Yahei''\">\uff08\u6ce8\u610f\u5192\u53f7\u524d\u9762\u7684\u7a7a\u683c\uff0c\u4e00\u5b9a\u8981\u6709\uff0c\u5426\u5219\u4e0d\u597d\u7528\u3002\u8fd8\u6709\u4e00\u70b9\uff0c\u5c31\u662f\u4f7f\u7528<\/span><span style=\"font-family: 'Microsoft Yahei'\">Ctrl+F12\u7ec4\u5408\u952e\u540e\uff0c\u751f\u6210\u7684tags\u6587\u4ef6\u5728\u5f53\u524d\u7f16\u8f91\u6587\u4ef6\u7684\u76ee\u5f55\u4e0b\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c\u751f\u6210\u7684tags\u6587\u4ef6\u4e0d\u4e00\u5b9a\u5728\u5de5\u7a0b\u7684\u6839\u76ee\u5f55\u4e0b\uff0c\u8fd9\u4e00\u70b9\u8981\u6ce8\u610f\uff09<\/span><\/span><\/div>\n<div><span style=\"font-size: 22px;background-color: orange;font-family: ''Microsoft Yahei''\">6.<span style=\"color: #333333;line-height: 26px\">\u6559\u4f60\u9ad8\u6548\u5730\u6d4f\u89c8\u6e90\u7801 &#8212; \u63d2\u4ef6: TagList<\/span><\/span><\/div>\n<div><span style=\"font-size: 22px;background-color: orange;font-family: ''Microsoft Yahei''\"><span style=\"color: #333333;line-height: 26px\"><br \/>\n<\/span><\/span><\/div>\n<div><span style=\"color: #333333;font-family: ''Microsoft Yahei''\"><span style=\"font-size: 22px;line-height: 26px\"><br \/>\n<\/span><\/span><\/div>\n<div><span class=\"Apple-style-span\" style=\"line-height: 26px;background-color: #ffffff\"><span class=\"Apple-style-span\" style=\"line-height: 26px;background-color: #ffffff\"><br \/>\n<\/span><\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;font-family: Arial;font-size: 14px;width: 636px;text-align: left\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;width: 90px;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u4e0b\u8f7d\u5730\u5740<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">http:\/\/www.vim.org\/scripts\/script.php?script_id=273<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u7248\u672c<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">4.4<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5b89\u88c5<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5728 ~\/.vim \u76ee\u5f55\u4e0b\u89e3\u538btaglist_xx.zip<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u624b\u518c<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:help taglist.txt<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"color: #333333;font-family: ''Microsoft Yahei''\"><br \/>\n\u5728Windows\u5e73\u53f0\u4e0a\u7528\u8fc7Source Insight\u770b\u7a0b\u5e8f\u7684\u4eba\u80af\u5b9a\u5f88\u719f\u6089\u4ee3\u7801\u7a97\u53e3\u5de6\u8fb9\u90a3\u4e2aSymbol\u7a97\u53e3, \u90a3\u91cc\u9762\u5217\u51fa\u4e86\u5f53\u524d\u6587\u4ef6\u4e2d\u7684\u6240\u6709\u5b8f, \u5168\u5c40\u53d8\u91cf, \u51fd\u6570\u540d\u7b49, \u5728\u67e5\u770b\u4ee3\u7801\u65f6\u7528\u8fd9\u4e2a\u7a97\u53e3\u603b\u63fd\u5168\u5c40, \u5207\u6362\u4f4d\u7f6e\u76f8\u5f53\u65b9\u4fbf, \u4eca\u5929\u544a\u8bc9\u4f60\u4e00\u4e2avim\u7684\u63d2\u4ef6: Taglist, \u53ef\u4ee5\u540c\u6837\u5b9e\u73b0\u8fd9\u4e2a\u529f\u80fd.<\/span><\/p>\n<p>\u4e0a\u4e00\u8282\u5df2\u7ecf\u544a\u8bc9\u4f60ctags\u7684\u7528\u6cd5\u4e86, ctags\u7684\u57fa\u672c\u539f\u7406\u662f\u5c06\u7a0b\u5e8f\u7a0b\u5e8f\u4e2d\u7684\u4e00\u4e9b\u5173\u952e\u5b57(\u6bd4\u5982:\u51fd\u6570\u540d, \u53d8\u91cf\u540d\u7b49)\u7684\u540d\u5b57, \u4f4d\u7f6e\u7b49\u4fe1\u606f\u901a\u8fc7\u4e00\u4e2a\u7a97\u53e3\u544a\u8bc9\u4f60, \u5982\u679c\u4f60\u5df2\u7ecf\u5b89\u88c5\u597dtaglist, \u5219\u53ef\u4ee5\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u770b\u770btaglist\u81ea\u5e26\u7684\u5e2e\u52a9\u6587\u4ef6:<\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;width: 230px;height: 32px;text-align: left\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:help taglist.txt<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';color: #ff0000\">\uff08\u5b89\u88c5taglist\uff0c\u9996\u5148\u89e3\u538b\u8be5\u6587\u4ef6\uff0c\u8981\u7528unzip -x taglist_xx.zip\u3002\u7136\u540e\u628a\u89e3\u538b\u51fa\u6765\u7684doc\u548cplugin\u6587\u4ef6\u5939\u90fd\u653e\u5230~\/.vim\u4e0b\uff0c\u5c31\u662f\u548c\u73b0\u6709\u7684doc\u548cplugin\u6587\u4ef6\u5939\u5408\u5e76\u3002\u7136\u540e\u5728\u5176\u7f51\u7ad9\u4e0a\u67e5\u770binstall detail\u3002<\/span><\/p>\n<\/div>\n<div><span style=\"font-family: arial, helvetica, sans-serif;background-color: #ffffff;font-size: medium\">1. Download the taglist.zip file and unzip the files to the $HOME\/.vim or the\u00a0<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;background-color: #ffffff;font-size: medium\">\u00a0\u00a0\u00a0\u00a0$HOME\/vimfiles or the $VIM\/vimfiles directory. After this step, you should\u00a0<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;background-color: #ffffff;font-size: medium\">\u00a0\u00a0\u00a0\u00a0have the following two files (the directory structure should be preserved):\u00a0<\/span><span style=\"font-family: arial, helvetica, sans-serif;background-color: #ffffff;font-size: medium\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 plugin\/taglist.vim &#8211; main taglist plugin file\u00a0<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;background-color: #ffffff;font-size: medium\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 doc\/taglist.txt\u00a0\u00a0\u00a0\u00a0&#8211; documentation (help) file\u00a0<\/span><span style=\"font-family: arial, helvetica, sans-serif;background-color: #ffffff;font-size: medium\">\u00a0\u00a0 Refer to the |add-plugin|, |add-global-plugin| and |runtimepath| Vim\u00a0<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;background-color: #ffffff;font-size: medium\">\u00a0\u00a0 help pages for more details about installing Vim plugins.\u00a0<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;background-color: #ffffff;font-size: medium\">2. Change to the $HOME\/.vim\/doc or $HOME\/vimfiles\/doc or $VIM\/vimfiles\/doc\u00a0<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;background-color: #ffffff;font-size: medium\">\u00a0\u00a0\u00a0\u00a0directory, start Vim and run the &#8220;:helptags .&#8221; command to process the\u00a0<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;background-color: #ffffff;font-size: medium\">\u00a0\u00a0\u00a0\u00a0taglist help file. Without this step, you cannot jump to the taglist help\u00a0<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;background-color: #ffffff;font-size: medium\">\u00a0\u00a0\u00a0\u00a0topics.\u00a0<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;background-color: #ffffff;font-size: medium\">3. If the exuberant ctags utility is not present in your PATH, then set the\u00a0<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;background-color: #ffffff;font-size: medium\">\u00a0\u00a0\u00a0\u00a0Tlist_Ctags_Cmd variable to point to the location of the exuberant ctags\u00a0<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;background-color: #ffffff;font-size: medium\">\u00a0\u00a0\u00a0\u00a0utility (not to the directory) in the .vimrc file.\u00a0<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;background-color: #ffffff;font-size: medium\">4. If you are running a terminal\/console version of Vim and the terminal\u00a0<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;background-color: #ffffff;font-size: medium\">\u00a0\u00a0\u00a0\u00a0doesn&#8217;t support changing the window width then set the\u00a0<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;background-color: #ffffff;font-size: medium\">\u00a0\u00a0\u00a0\u00a0&#8216;Tlist_Inc_Winwidth&#8217; variable to 0 in the .vimrc file.\u00a0<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;background-color: #ffffff;font-size: medium\">5. Restart Vim.\u00a0<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;background-color: #ffffff;font-size: medium\">6. You can now use the &#8220;:TlistToggle&#8221; command to open\/close the taglist\u00a0<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;background-color: #ffffff;font-size: medium\">\u00a0\u00a0\u00a0\u00a0window. You can use the &#8220;:help taglist&#8221; command to get more information\u00a0<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;background-color: #ffffff;font-size: medium\">\u00a0\u00a0\u00a0\u00a0about using the taglist plugin.\u00a0<\/span><\/div>\n<div><span class=\"Apple-style-span\" style=\"line-height: 26px;background-color: #ffffff\"><span style=\"font-family: ''Microsoft Yahei'';color: #ff0000\">\u5927\u81f4\u610f\u601d\u5982\u4e0b\uff1a\u89e3\u538b\u5b8c\u6bd5\u540e\uff0c\u8fdb\u5165~\/.vim\/doc\u76ee\u5f55\uff0c\u7136\u540e\u5f00\u542fVim\uff0c\u4e0d\u9700\u8981\u6253\u5f00\u4efb\u4f55\u6587\u4ef6\uff0c\u7136\u540e\u8f93\u5165:helptags .\u6ce8\u610f\u8981\u8f93\u5165\u201d:\u201c\u548c\u201d.\u201c\uff0c\u7136\u540e\u9000\u51favim\uff0c\u6253\u5f00\u4e00\u4e2a\u6587\u4ef6\uff0c\u6700\u597d\u662f\u5728\u4e00\u4e2a\u6709tags\u6587\u4ef6\u7684\u5de5\u7a0b\u91cc\u9762\uff0c\u6253\u5f00\u4e00\u4e2a\u6587\u4ef6\uff0c\u8fd9\u6837\u4e5f\u53ef\u4ee5\u987a\u4fbf\u6d4b\u8bd5\u4e00\u4e0bctags\u548ctaglist\uff0c\u5728vim\u4e2d\u8f93\u5165:TlistToggle\u5373\u53ef\u4ee5\u5728\u7a97\u53e3\u7684\u5de6\u4fa7\u6253\u5f00taglist\u7a97\u53e3\uff0c\u4e0d\u8fc7\u73b0\u5728\u8fd8\u6709\u4f7f\u7528\u4e0a\u7684\u4e00\u4e9b\u5c0f\u95ee\u9898\uff0c\u4e0b\u9762\u4f1a\u89e3\u51b3\uff09<\/span><\/span><\/div>\n<div><span class=\"Apple-style-span\" style=\"line-height: 26px;background-color: #ffffff\"><span class=\"Apple-style-span\" style=\"line-height: 26px;background-color: #ffffff\"><span class=\"Apple-style-span\" style=\"line-height: 26px;background-color: #ffffff\"><span style=\"color: #333333;font-family: ''Microsoft Yahei''\"><br \/>\n<\/span><span style=\"color: #333333;font-family: ''Microsoft Yahei''\">\u4e0b\u9762\u662f\u6211\u7ffb\u8bd1\u7684\u5176\u4e2d\u7684\u7b2c\u4e00\u6bb5&#8221;Overview&#8221;, \u4f9b\u5927\u5bb6\u73b0\u4e86\u89e3\u4e00\u4e0btaglist, \u7ffb\u8bd1\u7684\u4e0d\u597d, \u8bf7\u6307\u6559:<br \/>\n&#8220;Tab List&#8221;\u662f\u4e00\u4e2a\u7528\u6765\u6d4f\u89c8\u6e90\u4ee3\u7801\u7684Vim\u63d2\u4ef6, \u8fd9\u4e2a\u63d2\u4ef6\u53ef\u4ee5\u8ba9\u4f60\u9ad8\u6548\u5730\u6d4f\u89c8\u5404\u79cd\u4e0d\u540c\u8bed\u8a00\u7f16\u5199\u7684\u7684\u6e90\u4ee3\u7801, &#8220;Tag List&#8221;\u6709\u4ee5\u4e0b\u4e00\u4e9b\u7279\u70b9:<br \/>\n* \u5728Vim\u7684\u4e00\u4e2a\u5782\u76f4\u6216\u6c34\u5e73\u7684\u5206\u5272\u7a97\u53e3\u4e2d\u663e\u793a\u4e00\u4e2a\u6587\u4ef6\u4e2d\u5b9a\u4e49\u7684tags(\u51fd\u6570, \u7c7b, \u7ed3\u6784,<br \/>\n\u53d8\u91cf, \u7b49)<br \/>\n* \u5728GUI Vim\u4e2d, \u53ef\u4ee5\u9009\u62e9\u628atags\u663e\u793a\u5728\u4e0b\u62c9\u83dc\u5355\u548c\u5f39\u51fa\u83dc\u5355\u4e2d<br \/>\n* \u5f53\u4f60\u5728\u591a\u4e2a\u6e90\u6587\u4ef6\/\u7f13\u51b2\u533a\u95f4\u5207\u6362\u65f6, taglist\u7a97\u53e3\u4f1a\u81ea\u52a8\u8fdb\u884c\u76f8\u5e94\u5730\u66f4\u65b0.<br \/>\n\u5f53\u4f60\u6253\u5f00\u65b0\u6587\u4ef6\u65f6, \u65b0\u6587\u4ef6\u4e2d\u5b9a\u4e49\u7684tags\u4f1a\u88ab\u6dfb\u52a0\u5230\u5df2\u7ecf\u5b58\u5728\u7684\u6587\u4ef6\u5217\u8868\u4e2d,<br \/>\n\u5e76\u4e14\u6240\u6709\u6587\u4ef6\u4e2d\u5b9a\u4e49\u7684tags\u4f1a\u4ee5\u6587\u4ef6\u540d\u6765\u5206\u7ec4\u663e\u793a<br \/>\n* \u5f53\u4f60\u5728taglist\u7a97\u53e3\u4e2d\u9009\u4e2d\u4e00\u4e2atag\u540d\u65f6, \u6e90\u6587\u4ef6\u4e2d\u7684\u5149\u6807\u4f1a\u81ea\u52a8\u8df3\u8f6c\u5230\u8be5tag\u7684\u5b9a<br \/>\n\u4e49\u5904<br \/>\n* \u81ea\u52a8\u9ad8\u4eae\u5f53\u524d\u7684tag\u540d<br \/>\n* \u6309\u7c7b\u578b\u5206\u7ec4\u5404tag, \u5e76\u4e14\u5c06\u5404\u7ec4\u663e\u793a\u5728\u4e00\u4e2a\u53ef\u6298\u53e0\u7684\u6811\u5f62\u7ed3\u6784\u4e2d<br \/>\n* \u53ef\u4ee5\u663e\u793atag\u7684\u539f\u59cb\u7c7b\u578b\u548c\u4f5c\u7528\u57df<br \/>\n* \u5728taglist\u7a97\u53e3\u53ef\u9009\u62e9\u663e\u793atag\u7684\u539f\u59cb\u7c7b\u578b\u66ff\u4ee3tag\u540d<br \/>\n* tag\u5217\u8868\u53ef\u4ee5\u6309\u7167tag\u540d, \u6216\u8005\u65f6\u95f4\u8fdb\u884c\u6392\u5e8f<br \/>\n* \u652f\u6301\u4ee5\u4e0b\u8bed\u8a00\u7684\u6e90\u6587\u4ef6: Assembly, ASP, Awk, Beta, C,<br \/>\nC++, C#, Cobol, Eiffel, Erlang, Fortran, HTML, Java, Javascript, Lisp,<br \/>\nLua, Make, Pascal, Perl, PHP, Python, Rexx, Ruby, Scheme, Shell, Slang,<br \/>\nSML, Sql, TCL, Verilog, Vim and Yacc.<br \/>\n* \u53ef\u4ee5\u5f88\u7b80\u5355\u7684\u6269\u5c55\u652f\u6301\u65b0\u7684\u8bed\u8a00. \u5bf9\u65b0\u8bed\u8a00\u652f\u6301\u7684\u4fee\u6539\u4e5f\u5f88\u7b80\u5355.<br \/>\n* \u63d0\u4f9b\u4e86\u4e00\u4e9b\u51fd\u6570, \u53ef\u4ee5\u7528\u6765\u5728Vim\u7684\u72b6\u6001\u680f\u6216\u8005\u5728\u7a97\u53e3\u7684\u6807\u9898\u680f\u663e\u793a\u5f53\u524d\u7684tag\u540d<br \/>\n* taglist\u4e2d\u7684\u6587\u4ef6\u548ctags\u7684\u5217\u8868\u53ef\u4ee5\u5728\u88ab\u4fdd\u5b58\u548c\u5728vim\u4f1a\u8bdd\u95f4\u52a0\u8f7d<br \/>\n* \u63d0\u4f9b\u4e86\u4e00\u4e9b\u7528\u6765\u53d6\u5f97tag\u540d\u548c\u539f\u59cb\u7c7b\u578b\u7684\u547d\u4ee4<br \/>\n* \u5728\u63a7\u5236\u53f0vim\u548cGUI vim\u4e2d\u90fd\u53ef\u4ee5\u4f7f\u7528<br \/>\n* \u53ef\u4ee5\u548cwinmanager\u63d2\u4ef6\u4e00\u8d77\u4f7f\u7528. winmanager\u63d2\u4ef6\u53ef\u4ee5\u8ba9\u4f60\u540c\u65f6\u4f7f\u7528\u6587\u4ef6\u6d4f\u89c8\u5668,<br \/>\n\u7f13\u51b2\u533a\u6d4f\u89c8\u5668\u548ctaglist\u63d2\u4ef6, \u5c31\u50cf\u4e00\u4e2aIDE\u4e00\u6837.<br \/>\n* \u53ef\u4ee5\u5728Unix\u548cMS-Windows\u7cfb\u7edf\u4e2d\u4f7f\u7528<\/span><\/span><\/span><\/span>\u9996\u5148\u8bf7\u5148\u5728\u4f60\u7684~\/.vimrc\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4e0b\u9762\u4e24\u53e5:<span class=\"Apple-style-span\" style=\"line-height: 26px;background-color: #ffffff\"><span class=\"Apple-style-span\" style=\"line-height: 26px;background-color: #ffffff\"><br \/>\n<\/span><\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;width: 254px;text-align: left\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei''\">let Tlist_Show_One_File=1<br \/>\nlet Tlist_Exit_OnlyWindow=1<br \/>\n<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"color: #333333;font-family: ''Microsoft Yahei''\">\u6b64\u65f6\u7528vim\u6253\u5f00\u4e00\u4e2ac\u6e90\u6587\u4ef6\u8bd5\u8bd5:<br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;width: 260px;height: 42px;text-align: left\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei''\">$ vim ~\/vim\/src\/main.c<br \/>\n<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"color: #333333;font-family: ''Microsoft Yahei''\">\u8fdb\u5165vim\u540e\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u6253\u5f00taglist\u7a97\u53e3, \u5982\u56fe5:<br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;width: 190px;text-align: left\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei''\">:Tlist<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<span style=\"color: #333333\"><span style=\"border-color: initial\"><img style=\"border-color: initial\" src=\"http:\/\/note.youdao.com\/yws\/res\/1453\/95093EB74AAB4759BC459DF6303CA393\" title=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe4\" alt=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe4\" \/><\/span><\/span><br \/>\n<span style=\"color: #333333\">(&#8212; \u56fe5 &#8212;) \u00a0\u5b89\u88c5taglist\u540e\u7a97\u53e3\u7684\u72b6\u51b5<\/span><br \/>\n<span style=\"color: #333333\">\u5de6\u8fb9\u7684\u7a97\u53e3\u5c31\u662f\u524d\u9762\u4ecb\u7ecd\u7684TagList\u7a97\u53e3, \u5176\u4e2d\u5217\u51fa\u4e86main.c\u6587\u4ef6\u4e2d\u7684tag, \u5e76\u4e14\u6309\u7167&#8221;typedef&#8221;, &#8220;variable&#8221;, &#8220;function&#8221;\u7b49\u8fdb\u884c\u4e86\u5206\u7c7b. <\/span><span style=\"color: #ff0000\">\u5c06\u5149\u6807\u79fb\u5230VimMain\u4e0a, \u5982\u56fe\u4e2d\u5de6\u8fb9\u7ea2\u8272\u7684\u65b9\u6846, \u6309\u4e0b\u56de\u8f66\u540e, \u6e90\u7a0b\u5e8f\u4f1a\u81ea\u52a8\u8df3\u8f6c\u5230VimMain\u7684\u5b9a\u4e49\u5904<\/span><span style=\"color: #333333\">, \u5982\u56fe\u4e2d\u53f3\u8fb9\u7684\u7ea2\u8272\u65b9\u6846. \u8fd9\u5c31\u662fTagList\u6700\u57fa\u672c\u4e5f\u662f\u6700\u5e38\u7528\u7684\u64cd\u4f5c. \u518d\u6559\u4f60\u4e00\u4e2a\u5e38\u7528\u7684\u64cd\u4f5c, \u4f60\u5728\u6d4f\u89c8TagList\u7a97\u53e3\u65f6, \u5982\u679c\u8fd8\u4e0d\u60f3\u8ba9\u6e90\u7801\u8df3\u8f6c, \u4f46\u662f\u60f3\u770b\u770btag\u5728\u6e90\u7801\u4e2d\u5b8c\u6574\u7684\u8868\u8fbe, \u53ef\u4ee5\u5c06\u5149\u6807\u79fb\u5230\u4f60\u60f3\u8981\u770b\u7684tag\u4e0a, \u5982\u56fe\u4e2d\u4e0a\u8fb9\u9ec4\u8272\u7684\u65b9\u6846, \u7136\u540e\u6309\u4e0b\u7a7a\u683c\u952e, \u5728\u4e0b\u9762\u7684\u547d\u4ee4\u680f\u4e2d, \u5982\u56fe\u4e0b\u8fb9\u9ec4\u8272\u7684\u65b9\u6846, \u4f1a\u663e\u793a\u8be5tag\u5728\u6e90\u7801\u4e2d\u5b8c\u6574\u7684\u5199\u6cd5, \u800c\u4e0d\u4f1a\u8df3\u8f6c\u5230\u6e90\u7801\u5904.<\/span><\/span><\/p>\n<p><span style=\"color: #333333\">TagList\u63d2\u4ef6\u6211\u5c31\u4ecb\u7ecd\u5230\u8fd9\u91cc, \u5176\u5b9e\u5b83\u8fd8\u6709\u5f88\u591a\u7528\u6cd5\u548c\u8bbe\u7f6e, \u6211\u6ca1\u6cd5\u4e00\u4e00\u5730\u6559\u4f60\u4e86, \u597d\u5728TagList\u6709\u4e00\u4efd\u8be6\u7ec6\u7684\u5e2e\u52a9\u624b\u518c, \u7528\u4e0b\u9762\u7684\u547d\u4ee4\u6253\u5f00\u624b\u518c, \u597d\u597d\u5b66\u4e60\u4e00\u4e0b\u5427:<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;width: 230px;height: 32px;text-align: left\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei''\">:help taglist.txt<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000;font-family: ''Microsoft Yahei''\">\u5728 \/usr\/share\/vim\/\u4e2d\u7684\u6587\u4ef6vimrc\u4e2d\u6dfb\u52a0\u5173\u4e8etaglist\u7684\u5e38\u7528\u914d\u7f6e\u547d\u4ee4\u5982\u4e0b\uff1a<\/span><\/span><\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000;font-family: ''Microsoft Yahei''\">\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d<\/span><\/span><\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000;font-family: ''Microsoft Yahei''\">let Tlist_Ctags_Cmd = &#8216;\/usr\/bin\/ctags&#8217;\u00a0\u00a0 &#8220;\u8bbe\u5b9aLinux\u7cfb\u7edf\u4e2dctags\u7a0b\u5e8f\u7684\u4f4d\u7f6e<br \/>\nlet Tlist_Show_One_File=1\u00a0\u00a0\u00a0 &#8220;\u4e0d\u540c\u65f6\u663e\u793a\u591a\u4e2a\u6587\u4ef6\u7684tag\uff0c\u53ea\u663e\u793a\u5f53\u524d\u6587\u4ef6\u7684<br \/>\nlet Tlist_Exit_OnlyWindow=1\u00a0 &#8220;\u5982\u679ctaglist\u7a97\u53e3\u662f\u6700\u540e\u4e00\u4e2a\u7a97\u53e3\uff0c\u5219\u9000\u51favim<br \/>\nlet Tlist_Use_Right_Window = 1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8220;\u5728\u53f3\u4fa7\u7a97\u53e3\u4e2d\u663e\u793ataglist\u7a97\u53e3<br \/>\n&#8220;let Tlist_Use_SingleClick= 1\u00a0\u00a0\u00a0 &#8221; \u7f3a\u7701\u60c5\u51b5\u4e0b\uff0c\u5728\u53cc\u51fb\u4e00\u4e2atag\u65f6\uff0c\u624d\u4f1a\u8df3\u5230\u8be5tag\u5b9a\u4e49\u7684\u4f4d\u7f6e<\/span><\/span><\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000;font-family: ''Microsoft Yahei''\">let Tlist_Auto_Open=1\u00a0\u00a0\u00a0 &#8220;\u5728\u542f\u52a8VIM\u540e\uff0c\u81ea\u52a8\u6253\u5f00taglist\u7a97\u53e3<br \/>\nlet Tlist_Process_File_Always=1\u00a0 &#8220;taglist\u59cb\u7ec8\u89e3\u6790\u6587\u4ef6\u4e2d\u7684tag\uff0c\u4e0d\u7ba1taglist\u7a97\u53e3\u6709\u6ca1\u6709\u6253\u5f00<\/span><\/span><\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000;font-family: ''Microsoft Yahei''\">let Tlist_File_Fold_Auto_Close=1 &#8220;\u540c\u65f6\u663e\u793a\u591a\u4e2a\u6587\u4ef6\u4e2d\u7684tag\u65f6\uff0c\u53ef\u4f7ftaglist\u53ea\u663e\u793a\u5f53\u524d\u6587\u4ef6tag\uff0c\u5176\u5b83\u6587\u4ef6\u7684tag\u90fd\u88ab\u6298\u53e0\u8d77\u6765<\/span><\/span><\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000;font-family: ''Microsoft Yahei''\">\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d<\/span><\/span><\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000;font-family: ''Microsoft Yahei''\">\uff085\uff09\u4f7f\u7528<\/span><\/span><\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000;font-family: ''Microsoft Yahei''\">&lt;1&gt; \u5207\u6362\u51fd\u6570\u5217\u8868\u7684\u5f00\u3001\u5173<\/span><\/span><\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000;font-family: ''Microsoft Yahei''\">\u00a0\u00a0\u00a0\u00a0 ==&gt; \u6216\u8005\u4f7f\u7528\u00a0 \u201c:TlistToggle\u201d \u5728\u6253\u5f00\u548c\u5173\u95ed\u95f4\u5207\u6362<\/span><\/span><\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000;font-family: ''Microsoft Yahei''\">\u00a0\u00a0\u00a0\u00a0 ==&gt; \u53ef\u4ee5\u7528 \u201c:TlistOpen\u201d \u6253\u5f00taglist\u7a97\u53e3\uff0c\u7528\u201c:TlistClose\u201d\u5173\u95edtaglist\u7a97\u53e3\u3002<\/span><\/span><\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000;font-family: ''Microsoft Yahei''\">\u00a0\u00a0\u00a0\u00a0 ==&gt; \u5728vimrc\u4e2d\u4f7f\u7528\u5982\u4e0b\u9762\u7684\u6620\u5c04\uff0c\u5c31\u53ef\u4ee5\u4f7f\u7528 \u201c,tl\u201d\u00a0 \u952e\u5c31\u53ef\u4ee5\u6253\u5f00\/\u5173\u95edtaglist\u7a97\u53e3\uff1a<\/span><\/span><\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000;font-family: ''Microsoft Yahei''\">map &lt;silent&gt; &lt;leader&gt;tl :TlistToogle&lt;cr&gt;<\/span><\/span><\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000;font-family: ''Microsoft Yahei''\"><br \/>\n&lt;2&gt; \u5728\u6b63\u5e38\u7f16\u8f91\u533a\u57df\u548ctags\u533a\u57df\u4e2d\u5207\u6362<br \/>\nctrl+w+w<\/span><\/span><\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000;font-family: ''Microsoft Yahei''\">&lt;3&gt; \u5b9a\u4f4d\u6307\u5b9a\u5185\u5bb9<br \/>\n\u5728tags\u533a\u57df\u4e2d\uff0c\u628a\u5149\u6807\u79fb\u52a8\u5230\u53d8\u91cf\u3001\u51fd\u6570\u540d\u79f0\u4e0a\uff0c\u7136\u540e\u6572\u56de\u8f66(\u6216\u8005\u662f\u53cc\u51fb\u67d0\u4e2atag)\uff0c\u5c31\u4f1a\u81ea\u52a8\u5728\u6b63\u5e38\u7f16\u8f91\u533a\u57df\u4e2d\u5b9a\u4f4d\u5230\u6307\u5b9a\u5185\u5bb9\u4e86\u3002<\/span><\/span><\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000;font-family: ''Microsoft Yahei''\">\u5728taglist\u7a97\u53e3\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u7684\u5feb\u6377\u952e \uff1a<\/span><\/span><\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"background-color: transparent\"><span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<span style=\"color: #ff0000\">&lt;CR&gt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u8df3\u5230\u5149\u6807\u4e0btag\u6240\u5b9a\u4e49\u7684\u4f4d\u7f6e\uff0c\u7528\u9f20\u6807\u53cc\u51fb\u6b64tag\u529f\u80fd\u4e5f\u4e00\u6837\u00a0<\/span><br \/>\n<span style=\"color: #ff0000\">o\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u5728\u4e00\u4e2a\u65b0\u6253\u5f00\u7684\u7a97\u53e3\u4e2d\u663e\u793a\u5149\u6807\u4e0btag\u00a0<\/span><br \/>\n<span style=\"color: #ff0000\">&lt;Space&gt;\u00a0\u00a0 \uff08\u7a7a\u683c\uff09\u663e\u793a\u5149\u6807\u4e0b\u7684tag\u7684\u539f\u578b\u5b9a\u4e49\uff0c\u5728vim\u00a0<\/span><br \/>\n<span style=\"color: #00ff00\">u\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u66f4\u65b0taglist\u7a97\u53e3\u4e2d\u7684tag\u00a0<\/span><br \/>\n<span style=\"color: #ff0000\">s\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u66f4\u6539\u6392\u5e8f\u65b9\u5f0f\uff0c\u5728\u6309\u540d\u5b57\u6392\u5e8f\u548c\u6309\u51fa\u73b0\u987a\u5e8f\u6392\u5e8f\u95f4\u5207\u6362\u00a0<\/span><br \/>\n<span style=\"color: #ff0000\">x\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 taglist\u7a97\u53e3\u653e\u5927\u548c\u7f29\u5c0f\uff0c\u65b9\u4fbf\u67e5\u770b\u8f83\u957f\u7684tag\u00a0<\/span><br \/>\n<span style=\"color: #ff0000\">+\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u6253\u5f00\u4e00\u4e2a\u6298\u53e0\uff0c\u540czo\u00a0<\/span><br \/>\n<span style=\"color: #ff0000\">&#8211;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u5c06tag\u6298\u53e0\u8d77\u6765\uff0c\u540czc\u00a0<\/span><br \/>\n<span style=\"color: #ff0000\">*\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u6253\u5f00\u6240\u6709\u7684\u6298\u53e0\uff0c\u540czR\u00a0<\/span><br \/>\n<span style=\"color: #ff0000\">=\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u5c06\u6240\u6709tag\u6298\u53e0\u8d77\u6765\uff0c\u540czM\u00a0<\/span><br \/>\n<span style=\"color: #ff0000\">[[\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u8df3\u5230\u524d\u4e00\u4e2a\u6587\u4ef6\u00a0<\/span><br \/>\n<span style=\"color: #ff0000\">]]\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u8df3\u5230\u540e\u4e00\u4e2a\u6587\u4ef6\u00a0<\/span><br \/>\n<span style=\"color: #ff0000\">q\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u5173\u95edtaglist\u7a97\u53e3\u00a0<\/span><br \/>\n<span style=\"color: #ff0000\">&lt;F1&gt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u663e\u793a\u5e2e\u52a9<\/span><\/span><\/span><\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"color: #ff0000;font-family: 'Microsoft Yahei'\">Taglist\u63d2\u4ef6\u8fd8\u63d0\u4f9b\u4e86\u5f88\u591aEx\u547d\u4ee4\uff0c\u751a\u81f3\u53ef\u4ee5\u7528\u8fd9\u4e9b\u547d\u4ee4\u521b\u5efa\u4e00\u4e2ataglist\u7684\u4f1a\u8bdd\uff0c\u7136\u540e\u5728\u4e0b\u6b21\u8fdb\u5165VIM\u65f6\u52a0\u8f7d<\/span><span style=\"color: #ff0000;font-family: 'Microsoft Yahei';line-height: 1.5\">\u6b64\u4f1a\u8bdd.<\/span><\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000;font-family: ''Microsoft Yahei''\"><br \/>\n<\/span><\/span><\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000;font-family: ''Microsoft Yahei''\"><br \/>\n<\/span><\/span><\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"line-height: 26px;text-align: left;font-size: 22px;background-color: orange\"><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"line-height: 27px\">7.<\/span>\u6587\u4ef6\u6d4f\u89c8\u5668\u548c\u7a97\u53e3\u7ba1\u7406\u5668 &#8212; \u63d2\u4ef6: WinManager<\/span><\/span><\/div>\n<\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"line-height: 26px;text-align: left;background-color: orange\"><span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<\/span><\/span><\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"line-height: 26px;text-align: left;background-color: orange\"><span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<\/span><\/span><\/div>\n<div style=\"line-height: 1.5;padding: 0px;margin: 0px\"><span style=\"line-height: 26px;text-align: left\"><span style=\"line-height: 26px;text-align: left\"><span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<\/span><\/span><\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 636px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;width: 90px;background-color: #cccccc\"><span style=\"color: #000000\">\u4e0b\u8f7d\u5730\u5740<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"color: #000000\">http:\/\/www.vim.org\/scripts\/script.php?script_id=95<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\">\u7248\u672c<\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\">2.x<\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\">\u5b89\u88c5<\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\">\u5728 ~\/.vim \u76ee\u5f55\u4e0b\u89e3\u538bwinmanager.zip<\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\">\u624b\u518c<\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\">:help winmanager<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"background-color: #ffffff;color: #ff0000\"><span style=\"color: #000000\"><br \/>\n\u5728\u56fe1\u4e2d\u5927\u5bb6\u53ef\u4ee5\u770b\u5230\u5728\u56fe\u68072\u6807\u8bc6\u7684\u5730\u65b9\u662f\u4e00\u4e2a\u6587\u4ef6\u6d4f\u89c8\u5668, \u91cc\u9762\u5217\u51fa\u4e86\u5f53\u524d\u76ee\u5f55\u4e2d\u7684\u6587\u4ef6, \u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e2a\u6d4f\u89c8\u5668\u6765\u6d4f\u89c8\u5de5\u7a0b\u4e2d\u7684\u6e90\u6587\u4ef6, \u662f\u4e0d\u662f\u8d8a\u6765\u8d8a\u50cf\u5e38\u89c1\u7684IDE\u4e86, \u5f53\u5149\u6807\u505c\u5728\u67d0\u4e2a\u6587\u4ef6\u6216\u6587\u4ef6\u5939\u7684\u65f6\u5019, \u6309\u4e0b\u56de\u8f66, \u53ef\u4ee5\u6253\u5f00\u8be5\u6587\u4ef6\u6216\u6587\u4ef6\u5939.<br \/>\n\u8fd9\u4e2a\u4e1c\u4e1c\u662f\u600e\u4e48\u8c03\u51fa\u6765\u7684\u5462? \u5176\u5b9e\u8fd9\u4e2a\u4e5f\u662f\u7531\u63d2\u4ef6\u5b9e\u73b0\u7684, \u8fd9\u4e2a\u63d2\u4ef6\u662fnetrw.vim, \u53ea\u4e0d\u8fc7\u4f60\u4e0d\u7528\u4e0b\u8f7d\u548c\u5b89\u88c5, \u8fd9\u4e2a\u63d2\u4ef6\u5df2\u7ecf\u662f\u6807\u51c6\u7684vim\u63d2\u4ef6, \u5df2\u7ecf\u968fvim\u4e00\u8d77\u5b89\u88c5\u8fdb\u4f60\u7684\u7cfb\u7edf\u91cc\u4e86, \u73b0\u5728\u5148\u7b80\u5355\u6f14\u793a\u4e00\u4e0b, \u8fdb\u5165&#8221;~\/vim71&#8243;\u6587\u4ef6\u5939\u540e\u8fd0\u884cvim, \u7136\u540e\u5728vim\u4e2d\u8fd0\u884c\u547d\u4ee4:<br \/>\n<\/span><\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 190px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"color: #ff0000\"><span style=\"color: #000000\">:e ~\/vim71<\/span><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"color: #ff0000\"><span style=\"color: #000000\"><span style=\"background-color: #ffffff\">\u4f60\u5c06\u5728vim\u770b\u5230\u5982\u4e0b\u56fe\u6240\u793a\u7684\u754c\u9762:<\/span><br \/>\n<span style=\"background-color: transparent\"><img style=\"border-color: initial\" src=\"http:\/\/note.youdao.com\/yws\/res\/2127\/71AA78FE1A0249319A2E0926F4F1D810\" title=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe5\" alt=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe5\" \/><\/span><br \/>\n<\/span><\/span><span style=\"color: #333333;background-color: #ffffff\">(&#8212; \u56fe6 &#8212;)<\/span><br \/>\n<span style=\"background-color: #ffffff;color: #ff0000\"><span style=\"color: #000000\">\u5728\u8be5\u754c\u9762\u4e0a\u4f60\u53ef\u4ee5\u7528\u4e0b\u9762\u7684\u4e00\u4e9b\u547d\u4ee4\u6765\u8fdb\u884c\u5e38\u7528\u7684\u76ee\u5f55\u548c\u6587\u4ef6\u64cd\u4f5c:<br \/>\n<\/span><\/span><\/p>\n<table style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 571px;height: 304px\" border=\"1\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;width: 50px\"><span style=\"color: #ff0000\"><span style=\"color: #000000\">&lt;F1&gt;<\/span><\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"color: #ff0000\"><span style=\"color: #000000\">\u663e\u793a\u5e2e\u52a9<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"color: #ff0000\"><span style=\"color: #000000\">&lt;cr&gt;<\/span><\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"color: #ff0000\"><span style=\"color: #000000\">\u5982\u679c\u5149\u6807\u4e0b\u662f\u76ee\u5f55, \u5219\u8fdb\u5165\u8be5\u76ee\u5f55; \u5982\u679c\u5149\u6807\u4e0b\u6587\u4ef6, \u5219\u6253\u5f00\u8be5\u6587\u4ef6<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\">&#8211;<\/td>\n<td style=\"vertical-align: top\"><span style=\"color: #ff0000\"><span style=\"color: #000000\">\u8fd4\u56de\u4e0a\u7ea7\u76ee\u5f55<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\">c<\/td>\n<td style=\"vertical-align: top\"><span style=\"color: #ff0000\"><span style=\"color: #000000\">\u5207\u6362vim \u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\u6b63\u5728\u6d4f\u89c8\u7684\u76ee\u5f55<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\">d<\/td>\n<td style=\"vertical-align: top\"><span style=\"color: #ff0000\"><span style=\"color: #000000\">\u521b\u5efa\u76ee\u5f55<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\">D<\/td>\n<td style=\"vertical-align: top\"><span style=\"color: #ff0000\"><span style=\"color: #000000\">\u5220\u9664\u76ee\u5f55\u6216\u6587\u4ef6<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\">i<\/td>\n<td style=\"vertical-align: top\"><span style=\"color: #ff0000\"><span style=\"color: #000000\">\u5207\u6362\u663e\u793a\u65b9\u5f0f<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\">R<\/td>\n<td style=\"vertical-align: top\"><span style=\"color: #ff0000\"><span style=\"color: #000000\">\u6587\u4ef6\u6216\u76ee\u5f55\u91cd\u547d\u540d<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\">s<\/td>\n<td style=\"vertical-align: top\"><span style=\"color: #ff0000\"><span style=\"color: #000000\">\u9009\u62e9\u6392\u5e8f\u65b9\u5f0f<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\">x<\/td>\n<td style=\"vertical-align: top\"><span style=\"color: #ff0000\"><span style=\"color: #000000\">\u5b9a\u5236\u6d4f\u89c8\u65b9\u5f0f, \u4f7f\u7528\u4f60\u6307\u5b9a\u7684\u7a0b\u5e8f\u6253\u5f00\u8be5\u6587\u4ef6<br \/>\n<\/span><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"background-color: #ffffff;color: #ff0000\"><span style=\"color: #000000\"><br \/>\n\u6211\u8fd9\u91cc\u4e0d\u662f\u6559\u4f60\u600e\u4e48\u7528netrw.vim\u63d2\u4ef6, \u800c\u662f\u8981\u6559\u4f60\u901a\u8fc7WinManager\u63d2\u4ef6\u6765\u5c06TagList\u7a97\u53e3\u548cnetrw\u7a97\u53e3\u6574\u5408\u8d77\u6765, \u5c31\u50cf\u56fe1\u4e2d\u7684\u56fe\u68072\u548c3\u7ec4\u6210\u7684\u90a3\u4e2a\u6548\u679c<br \/>\n\u73b0\u5728\u5728\u4f60\u7684~\/.vimrc\u4e2d\u589e\u52a0\u4e0b\u9762\u4e24\u53e5<br \/>\n<\/span><\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 541px;height: 42px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"color: #ff0000\"><span style=\"color: #000000\">let g:winManagerWindowLayout=&#8217;FileExplorer|TagList&#8217;<br \/>\nnmap wm :WMToggle&lt;cr&gt;<\/span><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"background-color: #ffffff;color: #ff0000\"><span style=\"color: #000000\">\u7136\u540e\u91cd\u542fvim, \u6253\u5f00~\/vim71\/src\/main.c, \u5728normal\u72b6\u6001\u4e0b\u8f93\u5165&#8221;wm&#8221;, \u4f60\u5c06\u770b\u5230\u56fe7\u7684\u6837\u5b50:<br \/>\n<img style=\"border-color: initial\" src=\"http:\/\/note.youdao.com\/yws\/res\/2126\/3D77A64C26724F44A866BF3DA20AA2D6\" title=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe6\" alt=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe6\" \/><br \/>\n<\/span><\/span><span style=\"color: #333333;background-color: #ffffff\"><br \/>\n<\/span><\/p>\n<\/div>\n<div style=\"padding: 0px;margin: 0px\"><span style=\"text-align: left\"><span style=\"text-align: left\"><span style=\"text-align: left\"><span style=\"line-height: 26px;font-family: ''Microsoft Yahei''\"><span style=\"color: #333333;background-color: #ffffff\">(&#8212; \u56fe7 &#8212;) \u4f7f\u7528winmanager\u63d2\u4ef6<\/span><br \/>\n<span style=\"background-color: #ffffff;color: #ff0000\"><span style=\"color: #000000\">\u5176\u4e2d\u5de6\u4e0a\u8fb9\u662fnetrw\u7a97\u53e3, \u5de6\u4e0b\u8fb9\u662fTagList\u7a97\u53e3, \u5f53\u518d\u6b21\u8f93\u5165&#8221;wm&#8221;\u547d\u4ee4\u65f6\u8fd9\u4e24\u4e2a\u7a97\u53e3\u53c8\u5173\u95ed\u4e86.<\/span><\/span><\/span><\/span><\/span><\/span>WinManager\u7684\u529f\u80fd\u4e3b\u8981\u5c31\u662f\u6211\u4ecb\u7ecd\u7684\u8fd9\u4e9b, \u4f46\u662f\u5b83\u8fd8\u6709\u5176\u4ed6\u4e00\u4e9b\u9ad8\u7ea7\u529f\u80fd, \u8fd8\u53ef\u4ee5\u652f\u6301\u5176\u4ed6\u51e0\u4e2a\u63d2\u4ef6, \u5982\u679c\u4f60\u89c9\u5f97\u6211\u4ecb\u7ecd\u7684\u8fd8\u4e0d\u591f\u4f60\u7528, \u5efa\u8bae\u4f60\u628a\u5b83\u7684\u5e2e\u52a9\u624b\u518c\u597d\u597d\u7814\u7a76\u4e00\u4e0b, \u7528\u4e0b\u9762\u7684\u547d\u4ee4\u53ef\u4ee5\u8c03\u51fa\u5e2e\u52a9\u624b\u518c:<span style=\"text-align: left\"><span style=\"text-align: left\"><span style=\"line-height: 26px;font-family: ''Microsoft Yahei''\"><br \/>\n<\/span><\/span><\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 190px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"color: #ff0000\"><span style=\"color: #000000\">:help winmanager<\/span><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"text-align: left\"><span style=\"text-align: left\"><span style=\"color: #ff0000;font-family: 'Microsoft Yahei';line-height: 15px\">\u8fdb\u5165vim\u81ea\u52a8\u6253\u5f00winmanager<\/span><span style=\"color: #ff0000;font-family: 'Microsoft Yahei';line-height: 15px\">\u8fd9\u4e2a\u529f\u80fd\u4f5c\u4e3a\u53ef\u9009\u529f\u80fd\uff0c\u6211\u4eec\u53ef\u4ee5\u5728~\/.vimrc\u4e2d\u8bbe\u7f6e\uff1a<\/span><br \/>\n<\/span><\/span><\/p>\n<div class=\"cnblogs_Highlighter\" style=\"padding: 0px;margin: 0px\">\n<div style=\"padding: 0px;margin: 0px\">\n<div class=\"syntaxhighlighter  Perl\" style=\"margin-top: 1em !important;margin-right: 0px !important;margin-bottom: 1em !important;margin-left: 0px !important;width: 656px;padding: 0px\">\n<table class=\"ke-zeroborder\" style=\"margin-top: 0px;margin-right: auto;margin-bottom: 0px;margin-left: auto;border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: 656px;line-height: 2em !important;text-align: left !important;padding: 0px !important\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr style=\"border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;line-height: 2em !important;padding: 0px !important;margin: 0px !important\">\n<td class=\"gutter\" style=\"border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;padding: 3px;margin: 0px !important\">\n<div class=\"line number1 index0 alt2\" style=\"padding-top: 0px !important;padding-right: 0.5em !important;padding-bottom: 0px !important;padding-left: 1em !important;border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;margin: 0px !important\">1<\/div>\n<div class=\"line number2 index1 alt1\" style=\"padding-top: 0px !important;padding-right: 0.5em !important;padding-bottom: 0px !important;padding-left: 1em !important;border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;margin: 0px !important\"><span style=\"background-color: transparent\">2<\/span><\/div>\n<div class=\"line number3 index2 alt2\" style=\"padding-top: 0px !important;padding-right: 0.5em !important;padding-bottom: 0px !important;padding-left: 1em !important;border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;margin: 0px !important\"><span style=\"background-color: transparent\">3<\/span><\/div>\n<\/td>\n<td class=\"code\" style=\"border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: 629px;padding: 3px;margin: 0px !important\">\n<div class=\"container\" style=\"border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;padding: 0px !important;margin: 0px !important\">\n<div class=\"line number1 index0 alt2\" style=\"padding-top: 0px !important;padding-right: 1em !important;padding-bottom: 0px !important;padding-left: 1em !important;border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;margin: 0px !important\"><span style=\"font-size: medium;color: #ff0000\"><span style=\"border-style: initial !important;border-color: initial !important;height: auto !important;line-height: 2em !important;width: auto !important;background-color: transparent\">&#8220;\u5728\u8fdb\u5165vim\u65f6\u81ea\u52a8\u6253\u5f00winmanager<\/span><\/span><\/div>\n<div class=\"line number2 index1 alt1\" style=\"padding-top: 0px !important;padding-right: 1em !important;padding-bottom: 0px !important;padding-left: 1em !important;border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;margin: 0px !important\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000\">\u00a0<\/span><\/span><\/div>\n<div class=\"line number3 index2 alt2\" style=\"padding-top: 0px !important;padding-right: 1em !important;padding-bottom: 0px !important;padding-left: 1em !important;border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;margin: 0px !important\"><span style=\"border-style: initial !important;border-color: initial !important;height: auto !important;width: auto !important\"><span style=\"color: #ff0000\">let g:AutoOpenWinManager = 1<\/span><\/span><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p style=\"margin-top: 5px;margin-right: auto;margin-bottom: 5px;margin-left: auto;line-height: 15px;padding: 0px\"><span style=\"color: #ff0000;font-family: 'Microsoft Yahei'\"><span>\u5c31\u53ef\u4ee5\u8ba9winmanager\u81ea\u52a8\u6253\u5f00\u3002<\/span><\/span><\/p>\n<p style=\"margin-top: 5px;margin-right: auto;margin-bottom: 5px;margin-left: auto;line-height: 15px;padding: 0px\"><span style=\"color: #ff0000;font-family: 'Microsoft Yahei'\">\u5728winmanager.vim\u4e2d\u4fee\u6539\uff1a<\/span><\/p>\n<div style=\"padding: 0px;margin: 0px\"><span style=\"padding: 0px;margin: 0px\"><span style=\"padding: 0px;margin: 0px\"><br \/>\n<\/span><\/span><\/div>\n<div class=\"cnblogs_Highlighter\" style=\"padding: 0px;margin: 0px\">\n<div style=\"padding: 0px;margin: 0px\">\n<div class=\"syntaxhighlighter  Perl\" style=\"margin-top: 1em !important;margin-right: 0px !important;margin-bottom: 1em !important;margin-left: 0px !important;width: 656px;padding: 0px\"><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<\/span><\/span><\/p>\n<div class=\"toolbar\" style=\"background-color: transparent;color: #ff0000;border-style: initial !important;border-color: initial !important;float: none !important;height: 11px !important;vertical-align: baseline !important;width: 11px !important;line-height: 2em !important;padding: 0px !important;margin: 0px !important\"><span style=\"padding: 0px;margin: 0px\"><a class=\"toolbar_item command_help help\" href=\"http:\/\/www.cnblogs.com\/ifys\/archive\/2010\/10\/24\/1860610.html#\">?<\/a><\/span><\/div>\n<table class=\"ke-zeroborder\" style=\"margin-top: 0px;margin-right: auto;margin-bottom: 0px;margin-left: auto;border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: 656px;padding: 0px !important\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr style=\"border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;line-height: 2em !important;padding: 0px !important;margin: 0px !important\">\n<td class=\"gutter\" style=\"border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;padding: 3px;margin: 0px !important\">\n<div class=\"line number1 index0 alt2\" style=\"padding-top: 0px !important;padding-right: 0.5em !important;padding-bottom: 0px !important;padding-left: 1em !important;border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;margin: 0px !important\">1<\/div>\n<div class=\"line number2 index1 alt1\" style=\"padding-top: 0px !important;padding-right: 0.5em !important;padding-bottom: 0px !important;padding-left: 1em !important;border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;margin: 0px !important\">2<\/div>\n<div class=\"line number3 index2 alt2\" style=\"padding-top: 0px !important;padding-right: 0.5em !important;padding-bottom: 0px !important;padding-left: 1em !important;border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;margin: 0px !important\">3<\/div>\n<div class=\"line number4 index3 alt1\" style=\"padding-top: 0px !important;padding-right: 0.5em !important;padding-bottom: 0px !important;padding-left: 1em !important;border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;margin: 0px !important\">4<\/div>\n<div class=\"line number5 index4 alt2\" style=\"padding-top: 0px !important;padding-right: 0.5em !important;padding-bottom: 0px !important;padding-left: 1em !important;border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;margin: 0px !important\">5<\/div>\n<div class=\"line number6 index5 alt1\" style=\"padding-top: 0px !important;padding-right: 0.5em !important;padding-bottom: 0px !important;padding-left: 1em !important;border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;margin: 0px !important\">6<\/div>\n<div class=\"line number7 index6 alt2\" style=\"padding-top: 0px !important;padding-right: 0.5em !important;padding-bottom: 0px !important;padding-left: 1em !important;border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;margin: 0px !important\">7<\/div>\n<\/td>\n<td class=\"code\" style=\"border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: 629px;padding: 3px;margin: 0px !important\">\n<div class=\"container\" style=\"border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;padding: 0px !important;margin: 0px !important\">\n<div class=\"line number1 index0 alt2\" style=\"padding-top: 0px !important;padding-right: 1em !important;padding-bottom: 0px !important;padding-left: 1em !important;border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;margin: 0px !important\"><span style=\"color: #ff0000\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"border-style: initial !important;border-color: initial !important;height: auto !important;width: auto !important\">&#8220;set auto open<\/span> <span style=\"border-style: initial !important;border-color: initial !important;height: auto !important;width: auto !important\">Winmanager <\/span><span style=\"text-align: left\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<\/span><\/span><span style=\"text-align: left;border-style: initial !important;border-color: initial !important;height: auto !important;width: auto !important;line-height: 2em;font-size: large;font-family: 'Microsoft Yahei'\">if<\/span><span style=\"text-align: left;border-style: initial !important;border-color: initial !important;height: auto !important;width: auto !important;line-height: 2em;font-size: large;font-family: 'Microsoft Yahei'\">g:AutoOpenWinManager<\/span><\/span><\/div>\n<div class=\"line number4 index3 alt1\" style=\"padding-top: 0px !important;padding-right: 1em !important;padding-bottom: 0px !important;padding-left: 1em !important;border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;margin: 0px !important\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium;color: #ff0000\">\u00a0<\/span><\/div>\n<div class=\"line number5 index4 alt2\" style=\"padding-top: 0px !important;padding-right: 1em !important;padding-bottom: 0px !important;padding-left: 1em !important;border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;margin: 0px !important\"><span style=\"border-style: initial !important;border-color: initial !important;height: auto !important;width: auto !important\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium;color: #ff0000\">autocmd VimEnter * nested call s:ToggleWindowsManager()d w\u00a0 <\/span><\/span><\/div>\n<div class=\"line number6 index5 alt1\" style=\"padding-top: 0px !important;padding-right: 1em !important;padding-bottom: 0px !important;padding-left: 1em !important;border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;margin: 0px !important\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium;color: #ff0000\">\u00a0<\/span><\/div>\n<div class=\"line number7 index6 alt2\" style=\"padding-top: 0px !important;padding-right: 1em !important;padding-bottom: 0px !important;padding-left: 1em !important;border-style: initial !important;border-color: initial !important;float: none !important;height: auto !important;vertical-align: baseline !important;width: auto !important;margin: 0px !important\"><span style=\"border-style: initial !important;border-color: initial !important;height: auto !important;width: auto !important\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium;color: #ff0000\">endif<\/span><\/span><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div><span style=\"color: #00ff00\">\u76ee\u524d\u8fd8\u6709\u4e00\u4e2a\u95ee\u9898\uff0cwinmanager\u4e0d\u80fd\u81ea\u52a8\u5173\u95ed\uff01\uff01\uff01\uff01<\/span><\/div>\n<div><span style=\"color: #00ff00\">\u4f7f\u7528:qa\u53ef\u4ee5\u54c8\u54c8\u54c8\uff0c\u9000\u51fa\u6240\u6709\u7a97\u53e3<\/span><\/div>\n<div><span style=\"color: #00ff00\"><br \/>\n<\/span><\/div>\n<div><span style=\"color: #00ff00\"><br \/>\n<\/span><\/div>\n<div><span style=\"font-size: 22px\"><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"line-height: 26px;text-align: left;background-color: orange\">8.Cscope \u7684\u4f7f\u7528<\/span><span style=\"background-color: orange\">\u00a0\u00a0 <\/span><\/span><\/span><span style=\"color: #00ff00\">\u00a0<\/span><\/div>\n<div><span style=\"color: #333333;font-family: ''Microsoft Yahei''\"><span style=\"line-height: 26px\"><br \/>\n<\/span><\/span><\/div>\n<div><span style=\"color: #333333;font-family: ''Microsoft Yahei''\"><span style=\"line-height: 26px\"><br \/>\n<\/span><\/span><\/div>\n<div><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u8fd9\u4e0b\u66f4\u5389\u5bb3\u4e86, \u7528Cscope\u81ea\u5df1\u7684\u8bdd\u8bf4 &#8211; &#8220;\u4f60\u53ef\u4ee5\u628a\u5b83\u5f53\u505a\u662f\u8d85\u8fc7\u9891\u7684ctags&#8221;, \u5176\u529f\u80fd\u548c\u5f3a\u5927\u7a0b\u5ea6\u53ef\u89c1\u4e00\u6591\u5427, \u5173\u4e8e\u5b83\u7684\u4ecb\u7ecd\u6211\u5c31\u4e0d\u8be6\u7ec6\u8bf4\u4e86, \u5982\u679c\u4f60\u5b89\u88c5\u597d\u4e86\u524d\u6587\u4ecb\u7ecd\u7684\u4e2d\u6587\u5e2e\u52a9\u624b\u518c, \u7528\u4e0b\u9762\u7684\u547d\u4ee4\u770b\u770b\u4ecb\u7ecd\u5427:<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 192px;height: 32px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:help if_cscop.txt<br \/>\n<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u6211\u5728\u8fd9\u91cc\u7b80\u5355\u6458\u6284\u4e00\u70b9, \u4f9b\u8fd8\u5728\u72b9\u8c6b\u7684\u670b\u53cb\u770b\u770b:<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">Cscope \u662f\u4e00\u4e2a\u4ea4\u4e92\u5f0f\u7684\u5c4f\u5e55\u4e0b\u4f7f\u7528\u7684\u5de5\u5177\uff0c\u7528\u6765\u5e2e\u52a9\u4f60:<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">* \u65e0\u987b\u5728\u539a\u539a\u7684\u7a0b\u5e8f\u6e05\u5355\u4e2d\u7ffb\u6765\u7ffb\u53bb\u5c31\u53ef\u4ee5\u8ba4\u8bc6\u4e00\u4e2a C \u7a0b\u5e8f\u7684\u5de5\u4f5c\u539f\u7406\u3002<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">* \u65e0\u987b\u719f\u6089\u6574\u4e2a\u7a0b\u5e8f\u5c31\u53ef\u4ee5\u77e5\u9053\u6e05\u695a\u7a0b\u5e8f bug \u6240\u8981\u4fee\u6539\u7684\u4ee3\u7801\u4f4d\u7f6e\u3002<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">* \u68c0\u67e5\u63d0\u8bae\u7684\u6539\u52a8 (\u5982\u6dfb\u52a0\u4e00\u4e2a\u679a\u4e3e\u503c) \u53ef\u80fd\u4f1a\u4ea7\u751f\u7684\u6548\u679c\u3002<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">* \u9a8c\u8bc1\u6240\u6709\u7684\u6e90\u6587\u4ef6\u90fd\u5df2\u7ecf\u4f5c\u4e86\u9700\u8981\u7684\u4fee\u6539\uff1b\u4f8b\u5982\u7ed9\u67d0\u4e00\u4e2a\u73b0\u5b58\u7684\u51fd\u6570\u6dfb\u52a0\u4e00\u4e2a\u53c2\u6570\u3002<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">* \u5728\u6240\u6709\u76f8\u5173\u7684\u6e90\u6587\u4ef6\u4e2d\u5bf9\u4e00\u4e2a\u5168\u5c40\u53d8\u91cf\u6539\u540d\u3002<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">* \u5728\u6240\u6709\u76f8\u5173\u7684\u4f4d\u7f6e\u5c06\u4e00\u4e2a\u5e38\u6570\u6539\u4e3a\u4e00\u4e2a\u9884\u5904\u7406\u7b26\u53f7\u3002<\/span><\/span><\/p>\n<p><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u5b83\u88ab\u8bbe\u8ba1\u7528\u6765\u56de\u7b54\u4ee5\u4e0b\u7684\u95ee\u9898:<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">* \u4ec0\u4e48\u5730\u65b9\u7528\u5230\u4e86\u8fd9\u4e2a\u7b26\u53f7\uff1f<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">* \u8fd9\u662f\u5728\u4ec0\u4e48\u5730\u65b9\u5b9a\u4e49\u7684\uff1f<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">* \u8fd9\u4e2a\u53d8\u91cf\u5728\u54ea\u91cc\u88ab\u8d4b\u503c\uff1f<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">* \u8fd9\u4e2a\u5168\u5c40\u7b26\u53f7\u7684\u5b9a\u4e49\u5728\u54ea\u91cc\uff1f<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">* \u8fd9\u4e2a\u51fd\u6570\u5728\u6e90\u6587\u4ef6\u4e2d\u7684\u54ea\u4e2a\u5730\u65b9\uff1f<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">* \u54ea\u4e9b\u51fd\u6570\u8c03\u7528\u4e86\u8fd9\u4e2a\u51fd\u6570\uff1f<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">* \u8fd9\u4e2a\u51fd\u6570\u8c03\u7528\u4e86\u54ea\u4e9b\u51fd\u6570\uff1f<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">* \u4fe1\u606f &#8220;out of space&#8221; \u4ece\u54ea\u6765\uff1f<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">* \u8fd9\u4e2a\u6e90\u6587\u4ef6\u5728\u6574\u4e2a\u76ee\u5f55\u7ed3\u6784\u4e2d\u5904\u4e8e\u4ec0\u4e48\u4f4d\u7f6e\uff1f<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">* \u54ea\u4e9b\u6587\u4ef6\u5305\u542b\u8fd9\u4e2a\u5934\u6587\u4ef6\uff1f<\/span><\/p>\n<p><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u5b89\u88c5Cscope:<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u5982\u679c\u4f60\u7684\u7cfb\u7edf\u4e2d\u6709cscope\u547d\u4ee4, \u5219\u53ef\u4ee5\u8df3\u8fc7\u8fd9\u4e00\u5c0f\u6bb5, \u5982\u679c\u6ca1\u6709, \u5c31\u5148\u8ddf\u7740\u6211\u4e00\u8d77\u5b89\u88c5\u4e00\u4e2a\u5427.<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u5728Cscope\u7684\u4e3b\u9875: http:\/\/cscope.sourceforge.net \u4e0b\u8f7d\u4e00\u4e2a\u6e90\u7801\u5305, \u89e3\u538b\u540e\u7f16\u8bd1\u5b89\u88c5:<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 318px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"># .\/configure<br \/>\n# make<br \/>\n# make install<span style=\"color: #009900\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/\/ \u9700\u8981root\u6743\u9650<\/span><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #ff0000\">\u6211\u4f7f\u7528\u7684\u662f sudo apt-get install cscope<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u5148\u5728~\/vimrc\u4e2d\u589e\u52a0\u4e00\u53e5:<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 318px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:set cscopequickfix=s-,c-,d-,i-,t-,e-<br \/>\n<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u8fd9\u4e2a\u662f\u8bbe\u5b9a\u662f\u5426\u4f7f\u7528 quickfix \u7a97\u53e3\u6765\u663e\u793a cscope \u7ed3\u679c, \u7528\u6cd5\u5728\u540e\u9762\u4f1a\u8bf4\u5230\u3002<\/span><\/span><\/p>\n<p><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u8ddfCtags\u4e00\u6837, \u8981\u4f7f\u7528\u5176\u529f\u80fd\u5fc5\u987b\u5148\u4e3a\u4f60\u7684\u4ee3\u7801\u751f\u6210\u4e00\u4e2acscope\u7684\u6570\u636e\u5e93, \u5728\u9879\u76ee\u7684\u6839\u76ee\u5f55\u8fd0\u884c\u4e0b\u9762\u7684\u547d\u4ee4:<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 542px;height: 127px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">$ cd \/home\/wooin\/vim71\/<br \/>\n$ cscope -Rbq<br \/>\n<span style=\"color: #006600\"># \u6b64\u540e\u4f1a\u751f\u6210\u4e09\u4e2a\u6587\u4ef6<\/span><br \/>\n$ ll cscope.*<br \/>\n-rw-rw-r&#8211; 1 wooin wooin 1.1M 2007-09-30 10:56 cscope.in.out<br \/>\n-rw-rw-r&#8211; 1 wooin wooin 6.7M 2007-09-30 10:56 cscope.out<br \/>\n-rw-rw-r&#8211; 1 wooin wooin 5.1M 2007-09-30 10:56 cscope.po.out<br \/>\n<span style=\"color: #006600\"># \u6253\u5f00\u6587\u4ef6, \u5f00\u59cbCoding<\/span><br \/>\n$ cd src<br \/>\n$ vi main.c<br \/>\n<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u8fdb\u5165vim\u540e\u7b2c\u4e00\u4ef6\u4e8b\u662f\u8981\u628a\u521a\u624d\u751f\u6210\u7684cscope\u6587\u4ef6\u5bfc\u5165\u5230vim\u4e2d\u6765, \u7528\u4e0b\u9762\u7684\u547d\u4ee4:<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 543px;height: 32px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:cs add \/home\/wooin\/vim71\/cscope.out \/home\/wooin\/vim71<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u4e0a\u9762\u8fd9\u6761\u547d\u4ee4\u5f88\u91cd\u8981, \u5fc5\u987b\u5199\u5168, \u4e0d\u80fd\u53ea\u5199\u524d\u534a\u53e5:<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">:cs add \/home\/wooin\/vim71\/cscope.out<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u56e0\u4e3a\u6e90\u7801\u662f\u591a\u7ea7\u76ee\u5f55\u7684, \u5982\u679c\u8fd9\u6837\u5199, cscope\u662f\u65e0\u6cd5\u5728\u5b50\u76ee\u5f55\u4e2d\u7684\u6e90\u7801\u4e2d\u5de5\u4f5c\u7684, \u5f53\u7136, \u5982\u679c\u4f60\u7684\u6e90\u7801\u90fd\u5728\u540c\u4e00\u7ea7\u76ee\u5f55\u4e2d\u5c31\u65e0\u6240\u8c13\u4e86. \u5982\u679c\u4f60\u8981\u7ecf\u5e38\u7528cscope\u7684\u8bdd, \u53ef\u4ee5\u628a\u4e0a\u9762\u90a3\u53e5\u52a0\u5230~\/.vimrc\u4e2d\u53bb.<\/span><\/span><\/p>\n<p><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u4e0b\u9762\u6211\u4eec\u6765\u64cd\u7ec3\u4e00\u4e0b, \u67e5\u627e\u51fd\u6570vim_strsave()\u7684\u5b9a\u4e49, \u7528\u547d\u4ee4:<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 318px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:cs find g vim_strsave<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u5982\u4e0b\u56fe:<\/span><br \/>\n<img style=\"border-color: initial;color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\" src=\"http:\/\/note.youdao.com\/yws\/res\/2240\/819C17C460304A629688CB877CCD84AA\" title=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe7\" alt=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe7\" \/><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">(&#8212; \u56fe8 &#8212;) \u4f7f\u7528cscope<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u6309\u4e0b\u56de\u8f66\u540e\u4f1a\u81ea\u52a8\u8df3\u8f6c\u5230vim_strsave()\u7684\u5b9a\u4e49\u5904. \u6b64\u65f6\u4f60\u80af\u5b9a\u4f1a\u8bf4Ctags\u4e5f\u53ef\u4ee5\u505a\u5230\u8fd9\u4e2a\u5440, \u90a3\u4e48\u4e0b\u9762\u8bf4\u7684\u8fd9\u4e2aCtags\u5c31\u65e0\u6cd5\u505a\u5230\u4e86, \u6211\u60f3\u67e5\u627evim_strsave()\u5230\u5e95\u5728\u90a3\u4e9b\u5730\u65b9\u88ab\u8c03\u7528\u8fc7\u4e86, \u7528\u547d\u4ee4:<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 318px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:cs find c vim_strsave<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u6309\u4e0b\u56de\u8f66\u540evim\u4f1a\u81ea\u52a8\u8df3\u8f6c\u5230\u7b2c\u4e00\u4e2a\u7b26\u5408\u8981\u6c42\u7684\u5730\u65b9, \u5e76\u4e14\u5728\u547d\u4ee4\u680f\u663e\u793a\u6709\u591a\u5c11\u7b26\u5408\u8981\u6c42\u7684\u7ed3\u679c, \u5982\u56fe:<\/span><br \/>\n<img style=\"border-color: initial;color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\" src=\"http:\/\/note.youdao.com\/yws\/res\/2242\/F122DE1D4AC6426282EE5BEBF1F198BC\" title=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe8\" alt=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe8\" \/><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">(&#8212; \u56fe9 &#8212;) \u4f7f\u7528cscope<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u5982\u679c\u81ea\u52a8\u8df3\u8f6c\u7684\u4f4d\u7f6e\u4f60\u4e0d\u6ee1\u610f, \u60f3\u770b\u5176\u4ed6\u7684\u7ed3\u679c, \u53ef\u4ee5\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u6253\u5f00QuickFix\u7a97\u53e3:<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 318px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:cw<br \/>\n<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u5982\u56fe:<\/span><br \/>\n<img style=\"border-color: initial;color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\" src=\"http:\/\/note.youdao.com\/yws\/res\/2241\/BCA9DBA9A79D456D928E012910DD4E20\" title=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe9\" alt=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe9\" \/><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">(&#8212; \u56fe10 &#8212;)\u00a0<\/span><\/span> <span style=\"color: #333333;font-family: 'Microsoft Yahei';line-height: 26px;text-align: left;background-color: #ffffff\">QuickFix\u7a97\u53e3<\/span>\u00a0<span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u8fd9\u65f6\u4f60\u5c31\u53ef\u4ee5\u6162\u6162\u6311\u9009\u4e86^_^<\/span><br \/>\n\u5149\u6807\u5728<\/span> <span style=\"color: #333333;font-family: 'Microsoft Yahei';line-height: 26px;text-align: left;background-color: #ffffff\">QuickFix\u7a97\u53e3<\/span>\u65f6\u4f7f\u7528:q\u547d\u4ee4\u5373\u53ef\u4ee5\u9000\u51fa<span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">cscope\u7684\u4e3b\u8981\u529f\u80fd\u662f\u901a\u8fc7\u540c\u7684\u5b50\u547d\u4ee4&#8221;find&#8221;\u6765\u5b9e\u73b0\u7684<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">&#8220;cscope find&#8221;\u7684\u7528\u6cd5:<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">cs find c|d|e|f|g|i|s|t name<\/span><br \/>\n<\/span><\/p>\n<table style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 316px\" border=\"1\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;width: 56px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">0 \u6216 s<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u67e5\u627e\u672c C \u7b26\u53f7(\u53ef\u4ee5\u8df3\u8fc7\u6ce8\u91ca)<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">1 \u6216 g<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u67e5\u627e\u672c\u5b9a\u4e49<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">2 \u6216 d<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u67e5\u627e\u672c\u51fd\u6570\u8c03\u7528\u7684\u51fd\u6570<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">3 \u6216 c<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u67e5\u627e\u8c03\u7528\u672c\u51fd\u6570\u7684\u51fd\u6570<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">4 \u6216 t<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u67e5\u627e\u672c\u5b57\u7b26\u4e32<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">6 \u6216 e<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u67e5\u627e\u672c egrep \u6a21\u5f0f<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">7 \u6216 f<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u67e5\u627e\u672c\u6587\u4ef6<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">8 \u6216 i<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u67e5\u627e\u5305\u542b\u672c\u6587\u4ef6\u7684\u6587\u4ef6<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u5982\u679c\u6bcf\u6b21\u67e5\u627e\u90fd\u8981\u8f93\u5165\u4e00\u957f\u4e32\u547d\u4ee4\u7684\u8bdd\u8fd8\u771f\u662f\u4ef6\u8ba8\u4eba\u538c\u7684\u4e8b\u60c5, Cscope\u7684\u5e2e\u52a9\u624b\u518c\u4e2d\u63a8\u8350\u4e86\u4e00\u4e9b\u5feb\u6377\u952e\u7684\u7528\u6cd5, \u4e0b\u9762\u662f\u5176\u4e2d\u4e00\u7ec4, \u4e5f\u662f\u6211\u7528\u7684, \u5c06\u4e0b\u9762\u7684\u5185\u5bb9\u6dfb\u52a0\u5230~\/.vimrc\u4e2d, \u5e76\u91cd\u542fvim:<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 538px;height: 174px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">nmap &lt;C-_&gt;s :cs find s &lt;C-R&gt;=expand(&#8220;&lt;cword&gt;&#8221;)&lt;CR&gt;&lt;CR&gt;<br \/>\nnmap &lt;C-_&gt;g :cs find g &lt;C-R&gt;=expand(&#8220;&lt;cword&gt;&#8221;)&lt;CR&gt;&lt;CR&gt;<br \/>\nnmap &lt;C-_&gt;c :cs find c &lt;C-R&gt;=expand(&#8220;&lt;cword&gt;&#8221;)&lt;CR&gt;&lt;CR&gt;<br \/>\nnmap &lt;C-_&gt;t :cs find t &lt;C-R&gt;=expand(&#8220;&lt;cword&gt;&#8221;)&lt;CR&gt;&lt;CR&gt;<br \/>\nnmap &lt;C-_&gt;e :cs find e &lt;C-R&gt;=expand(&#8220;&lt;cword&gt;&#8221;)&lt;CR&gt;&lt;CR&gt;<br \/>\nnmap &lt;C-_&gt;f :cs find f &lt;C-R&gt;=expand(&#8220;&lt;cfile&gt;&#8221;)&lt;CR&gt;&lt;CR&gt;<br \/>\nnmap &lt;C-_&gt;i :cs find i ^&lt;C-R&gt;=expand(&#8220;&lt;cfile&gt;&#8221;)&lt;CR&gt;$&lt;CR&gt;<br \/>\nnmap &lt;C-_&gt;d :cs find d &lt;C-R&gt;=expand(&#8220;&lt;cword&gt;&#8221;)&lt;CR&gt;&lt;CR&gt;<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u5f53\u5149\u6807\u505c\u5728\u67d0\u4e2a\u4f60\u8981\u67e5\u627e\u7684\u8bcd\u4e0a\u65f6, \u6309\u4e0b&lt;C-_&gt;g, \u5c31\u662f\u67e5\u627e\u8be5\u5bf9\u8c61\u7684\u5b9a\u4e49, \u5176\u4ed6\u7684\u540c\u7406.<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u6309\u8fd9\u79cd\u7ec4\u5408\u952e\u6709\u4e00\u70b9\u6280\u5de7,\u6309\u4e86&lt;C-_&gt;\u540e\u8981\u9a6c\u4e0a\u6309\u4e0b\u4e00\u4e2a\u952e,\u5426\u5219\u5c4f\u5e55\u4e00\u95ea\u5c31\u56de\u5230nomal\u72b6\u6001\u4e86<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">&lt;C-_&gt;g\u7684\u6309\u6cd5\u662f\u5148\u6309&#8221;Ctrl+Shift+-&#8220;, \u7136\u540e\u5f88\u5feb\u518d\u6309&#8221;g&#8221;<\/span><\/span><\/p>\n<p><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u5f88\u5947\u602a, \u5176\u4e2d\u7684\u8fd9\u53e5:<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">nmap &lt;C-_&gt;i :cs find i ^&lt;C-R&gt;=expand(&#8220;&lt;cfile&gt;&#8221;)&lt;CR&gt;$&lt;CR&gt;<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u5728\u6211\u7684vim\u4e2d\u65e0\u6cd5\u5de5\u4f5c, \u4f46\u662f\u6211\u6539\u6210:<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">nmap &lt;C-_&gt;i :cs find i &lt;C-R&gt;=expand(&#8220;&lt;cfile&gt;&#8221;)&lt;CR&gt;&lt;CR&gt;<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u5c31\u53ef\u4ee5\u6b63\u5e38\u5de5\u4f5c\u4e86, \u4e0d\u77e5\u9053\u662f\u4ec0\u4e48\u539f\u56e0? \u6709\u54ea\u4f4d\u670b\u53cb\u77e5\u9053\u8bf7\u544a\u8bc9\u6211.<\/span><\/p>\n<p><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">cscope\u7684\u5176\u4ed6\u529f\u80fd\u4f60\u53ef\u4ee5\u901a\u8fc7\u5e2e\u52a9\u624b\u518c\u81ea\u5df1\u6162\u6162\u5b66\u4e60<\/span><br \/>\n<span style=\"color: #ff0000\">\u4f7f\u7528\u5feb\u6377\u952e\u7684\u65b9\u6cd5\uff0c<\/span><span style=\"color: #ff0000\"><span style=\"font-family: 'Microsoft Yahei';line-height: 26px;text-align: left;background-color: #ffffff\">\u5148\u6309&#8221;Ctrl+Shift+-&#8220;,\u677e\u5f00\uff08\u4e00\u5b9a\u8981\u677e\u5f00\u54e6\uff09\uff0c \u7136\u540e\u5f88\u5feb\u518d\u6309&#8221;g&#8221;<\/span>\u00a0<\/span><span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<span style=\"line-height: 26px;text-align: left;background-color: #ffffff;color: #ff0000\">reset : \u91cd\u65b0\u521d\u59cb\u5316\u6240\u6709\u8fde\u63a5\u3002<\/span><br \/>\n<span style=\"line-height: 26px;text-align: left;background-color: #ffffff;color: #ff0000\">\u7528\u6cd5\u00a0 : cs reset<\/span><\/span><\/p>\n<\/div>\n<div><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"line-height: 26px;text-align: left;background-color: #ffffff;color: #ff0000\"><br \/>\n<\/span><\/span><\/div>\n<div><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"line-height: 26px;text-align: left;background-color: #ffffff;color: #ff0000\"><br \/>\n<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;text-align: left;font-size: 22px;background-color: orange\"><span style=\"font-family: ''Microsoft Yahei''\"><span>9.<\/span>QuickFix \u7a97\u53e3<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;text-align: left;font-size: 22px;background-color: orange\"><span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<\/span><\/span><\/div>\n<div><span style=\"line-height: 26px;text-align: left;font-size: 22px;background-color: orange\"><span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<\/span><\/span><\/div>\n<div><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u5728\u4e0a\u4e00\u8282\u7684\u56fe10\u4e2d\u5927\u5bb6\u53ef\u4ee5\u770b\u5230\u5728\u7a97\u53e3\u4e0b\u9762\u6709\u4e00\u4e2a\u663e\u793a\u67e5\u8be2\u7ed3\u679c\u7684\u7a97\u53e3, \u8fd9\u4e2a\u7a97\u53e3\u4e2d\u5217\u51fa\u4e86\u67e5\u8be2\u547d\u4ee4\u7684\u67e5\u8be2\u7ed3\u679c, \u7528\u6237\u53ef\u4ee5\u4ece\u8fd9\u4e2a\u7a97\u53e3\u4e2d\u9009\u62e9\u6bcf\u4e2a\u7ed3\u679c\u8fdb\u884c\u67e5\u770b, \u8fd9\u4e2a\u7a97\u53e3\u53eb&#8221;QuickFix&#8221;\u7a97\u53e3, \u4ee5\u524d\u4e5f\u662f\u4e00\u4e2avim\u7684\u63d2\u4ef6\u6765\u7684, \u53ea\u4e0d\u8fc7\u73b0\u5728\u6210\u4e86vim\u7684\u6807\u51c6\u63d2\u4ef6, \u4e0d\u7528\u4f60\u5728\u53bb\u5b89\u88c5\u4e86, QuickFix\u7a97\u53e3\u7684\u4e3b\u8981\u4f5c\u7528\u5c31\u662f\u4e0a\u9762\u770b\u5230\u7684\u90a3\u4e2a\u529f\u80fd: \u8f93\u51fa\u4e00\u4e9b\u4f9b\u9009\u62e9\u7684\u7ed3\u679c, \u53ef\u4ee5\u88ab\u5f88\u591a\u547d\u4ee4\u8c03\u7528, \u66f4\u8be6\u7ec6\u7684\u4ecb\u7ecd\u548c\u4f7f\u7528\u65b9\u6cd5\u8bf7\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u6253\u5f00QuickFix\u7684\u624b\u518c\u6765\u5b66\u4e60\u5427:<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 190px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:help quickfix<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u8fd9\u91cc\u6211\u4e00\u4e2a\u5e38\u7528\u7684\u4f8b\u5b50\u6765\u518d\u4ecb\u7ecd\u4e00\u79cdQuickFix\u7a97\u53e3\u7684\u4f7f\u7528\u65b9\u6cd5. \u8fd9\u4e2a\u4f8b\u5b50\u662f\u8981\u6a21\u4eff\u5e73\u65f6\u6211\u4eec\u7f16\u7a0b\u65f6, \u5f53\u7f16\u8bd1\u51fa\u9519\u65f6, QuickFix\u4f1a\u628a\u51fa\u9519\u7684\u4fe1\u606f\u5217\u51fa\u6765, \u4f9b\u6211\u4eec\u4e00\u6761\u6761\u5730\u67e5\u770b\u548c\u4fee\u6539. \u9996\u5148\u8fd8\u662f\u7528vim\u6253\u5f00~\/vim71\/src\/main.c, \u4e8b\u5148\u6700\u597d\u5148\u7f16\u8bd1\u8fc7vim71, \u5426\u5219\u4e00\u4f1a\u513f\u7f16\u8bd1\u7684\u65f6\u5019\u6709\u70b9\u6162, \u6216\u8005\u4f60\u4e5f\u53ef\u4ee5\u81ea\u5df1\u5199\u4e00\u4e2a\u5c0f\u7684\u6709\u9519\u8bef\u7684\u7a0b\u5e8f\u6765\u8ddf\u7740\u6211\u505a\u4e0b\u9762\u7684\u6b65\u9aa4, \u89c1\u4e0b\u56fe:<\/span><br \/>\n<img style=\"border-color: initial;color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\" src=\"http:\/\/note.youdao.com\/yws\/res\/2284\/02A3B5B6DCBD4D9FBB481AE20175B06F\" title=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe10\" alt=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe10\" \/><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">(&#8212; \u56fe11 &#8212;) \u4f7f\u7528:make\u547d\u4ee4\u8fdb\u884c\u7a0b\u5e8f\u7f16\u8bd1<\/span><span style=\"line-height: 26px;text-align: left;background-color: #ffffff\"><span style=\"color: #ff0000\">\uff08\u4e0d\u8fc7\u4e00\u5b9a\u8981\u6709Makefile\u6587\u4ef6\u54e6\uff09<\/span><\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u6211\u4eec\u4fee\u6539\u4e00\u4e0bmain.c, \u4eba\u4e3a\u5730\u9020\u6210\u51e0\u5904\u9519\u8bef, \u5728\u7b2c1019\u884c\u589e\u52a0\u4e86\u4e00\u4e2abaobao_wu\u7684\u6ca1\u6709\u4efb\u4f55\u5b9a\u4e49\u7684\u5b57\u7b26\u4e32, \u5220\u9664\u4e86\u7b2c1020\u884c\u6700\u540e\u7684\u4e00\u4e2a\u62ec\u53f7&#8221;)&#8221;, \u7136\u540e\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u8fdb\u884c\u7f16\u8bd1:<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 190px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:make<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u663e\u7136\u7f16\u8bd1\u4f1a\u62a5\u5f88\u591a\u9519\u8bef, \u5f53\u7f16\u8bd1\u7ed3\u675f\u5e76\u9000\u51fa\u5230\u6e90\u7801\u754c\u9762\u65f6, \u521a\u624d\u7f16\u8bd1\u5668\u62a5\u7684\u9519\u8bef\u90fd\u5df2\u7ecf\u770b\u4e0d\u5230\u4e86, \u4f46\u662f\u6211\u4eec\u53ef\u4ee5\u7528QuickFix\u7a97\u53e3\u518d\u5c06\u9519\u8bef\u4fe1\u606f\u627e\u51fa\u6765, \u7528\u4e0b\u9762\u7684\u547d\u4ee4\u8c03\u51faQuickFix\u7a97\u53e3:<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 190px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:cw<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u6b64\u65f6\u4f60\u5c31\u53ef\u4ee5\u770b\u5982\u4e0b\u56fe\u6240\u793a\u7684QuickFix\u7a97\u53e3\u4e86:<\/span><\/span><\/p>\n<p><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">(&#8212; \u56fe12 &#8212;)<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u5728\u4e0b\u9762\u7684QuickFix\u7a97\u53e3\u4e2d\u6211\u4eec\u53ef\u4ee5\u627e\u5230\u6bcf\u4e00\u4e2a\u7f16\u8bd1\u9519\u8bef, \u540c\u6837\u4f60\u53ef\u4ee5\u7528\u9f20\u6807\u70b9\u51fb\u6bcf\u4e00\u6761\u8bb0\u5f55, \u4ee3\u7801\u4f1a\u9a6c\u4e0a\u81ea\u52a8\u8df3\u8f6c\u5230\u9519\u8bef\u5904, \u4f60\u8fd8\u53ef\u4ee5\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u6765\u8df3\u8f6c:<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 254px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:cn\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: #006600\">\/\/ \u5207\u6362\u5230\u4e0b\u4e00\u4e2a\u7ed3\u679c<\/span><br \/>\n:cp\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: #006600\">\/\/ \u5207\u6362\u5230\u4e0a\u4e00\u4e2a\u7ed3\u679c<\/span><br \/>\n<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u5982\u679c\u4f60\u7ecf\u5e38\u4f7f\u7528\u8fd9\u4e24\u4e2a\u547d\u4ee4, \u4f60\u8fd8\u53ef\u4ee5\u7ed9\u4ed6\u4eec\u8bbe\u5b9a\u5feb\u6377\u952e, \u6bd4\u5982\u5728~\/.vimrc\u4e2d\u589e\u52a0:<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 254px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">nmap &lt;F6&gt; :cn&lt;cr&gt;<br \/>\nnmap &lt;F7&gt; :cp&lt;cr&gt;<br \/>\n<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\">\u5176\u8fd8\u6709\u5176\u4ed6\u7684\u547d\u4ee4\/\u63d2\u4ef6\u4e5f\u4f1a\u7528\u5230QuickFix\u7a97\u53e3, \u4f46\u662f\u7528\u6cd5\u57fa\u672c\u4e0a\u7684\u90fd\u662f\u7c7b\u4f3c\u7684, \u672c\u6587\u540e\u9762\u8fd8\u4f1a\u7528\u5230QuickFix\u7a97\u53e3, \u63a5\u7740\u5f80\u4e0b\u770b\u5427.<\/span> <\/span><\/p>\n<\/div>\n<div><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff\"><br \/>\n<\/span><\/span><\/div>\n<div><span style=\"font-size: 22px;background-color: orange;font-family: ''Microsoft Yahei''\"><span style=\"color: #333333;line-height: 26px;text-align: left\">10.<\/span><span style=\"color: #333333;line-height: 26px;text-align: left\">\u5feb\u901f\u6d4f\u89c8\u548c\u64cd\u4f5cBuffer &#8212; \u63d2\u4ef6: MiniBufExplorer<\/span><\/span><\/div>\n<div><span style=\"color: #333333;font-family: ''Microsoft Yahei''\"><span style=\"font-size: 22px;line-height: 26px\"><br \/>\n<\/span><\/span><\/div>\n<div><span style=\"color: #333333;font-family: ''Microsoft Yahei''\"><span style=\"font-size: 22px;line-height: 26px\"><br \/>\n<\/span><\/span><\/div>\n<div>\n<table class=\"ke-zeroborder\" style=\"color: #333333;font-family: Arial;font-size: 14px;line-height: 26px;text-align: left;width: 636px;background-color: #ffffff\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;width: 90px;color: #000000;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u4e0b\u8f7d\u5730\u5740<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">http:\/\/www.vim.org\/scripts\/script.php?script_id=159<br \/>\n<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u7248\u672c<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">6.3.2<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5b89\u88c5<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"color: #ff0000\"><span style=\"color: #000000\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5c06\u4e0b\u8f7d\u7684 minibufexpl.vim\u6587\u4ef6\u4e22\u5230 ~\/.vim\/plugin \u6587\u4ef6\u5939\u4e2d\u5373\u53ef<\/span><\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u624b\u518c<br \/>\n<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"color: #ff0000\"><span style=\"color: #000000\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5728minibufexpl.vim \u6587\u4ef6\u7684\u5934\u90e8<br \/>\n<\/span><\/span><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"line-height: 26px;background-color: #ffffff;color: #ff0000\"><span style=\"color: #000000\"><br \/>\n<\/span><\/span><span style=\"color: #333333;line-height: 26px;background-color: #ffffff\">\u5728\u7f16\u7a0b\u7684\u65f6\u5019\u4e0d\u53ef\u80fd\u6c38\u8fdc\u53ea\u7f16\u8f91\u4e00\u4e2a\u6587\u4ef6, \u4f60\u80af\u5b9a\u4f1a\u6253\u5f00\u5f88\u591a\u6e90\u6587\u4ef6\u8fdb\u884c\u7f16\u8f91, \u5982\u679c\u6bcf\u4e2a\u6587\u4ef6\u90fd\u6253\u5f00\u4e00\u4e2avim\u8fdb\u884c\u7f16\u8f91\u7684\u8bdd\u90a3\u64cd\u4f5c\u8d77\u6765\u5c06\u662f\u591a\u9ebb\u70e6\u554a, \u6240\u4ee5vim\u6709buffer(\u7f13\u51b2\u533a)\u7684\u6982\u5ff5, \u53ef\u4ee5\u770bvim\u7684\u5e2e\u52a9:<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;background-color: #ffffff\">:help buffer<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;background-color: #ffffff\">vim\u81ea\u5e26\u7684buffer\u7ba1\u7406\u5de5\u5177\u53ea\u6709:ls, :bnext, :bdelete \u7b49\u7684\u547d\u4ee4, \u65e2\u4e0d\u597d\u7528, \u53c8\u4e0d\u76f4\u89c2. \u73b0\u5728\u9686\u91cd\u5411\u4f60\u63a8\u8350\u4e00\u6b3evim\u63d2\u4ef6(plugin): MiniBufExplorer<\/span><br \/>\n<span style=\"line-height: 26px;background-color: #ffffff;color: #ff0000\"><br \/>\n<span style=\"color: #000000\">\u4f7f\u7528\u65b9\u6cd5:<br \/>\n\u91cd\u65b0\u542f\u52a8vim, \u5f53\u4f60\u53ea\u7f16\u8f91\u4e00\u4e2abuffer\u7684\u65f6\u5019<\/span><\/span><span style=\"color: #333333;line-height: 26px;background-color: #ffffff\">MiniBufExplorer\u6d3e\u4e0d\u4e0a\u7528\u573a, \u5f53\u4f60\u6253\u5f00\u7b2c\u4e8c\u4e2abuffer\u7684\u65f6\u5019, MiniBufExplorer\u7a97\u53e3\u5c31\u81ea\u52a8\u5f39\u51fa\u6765\u4e86, \u89c1\u4e0b\u56fe:<\/span><br \/>\n<img style=\"border-color: initial;color: #333333;line-height: 26px;background-color: #ffffff\" src=\"http:\/\/note.youdao.com\/yws\/res\/2329\/EEDFE5EC24A84C39A4BF7AE28C9E1A05\" title=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe11\" alt=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe11\" \/><br \/>\n<span style=\"color: #333333;line-height: 26px;background-color: #ffffff\">(&#8212; \u56fe13 &#8212;)<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;background-color: #ffffff\">\u4e0a\u9762\u90a3\u4e2a\u72ed\u957f\u7684\u7a97\u53e3\u5c31\u662fMiniBufExplorer\u7a97\u53e3, \u5176\u4e2d\u5217\u51fa\u4e86\u5f53\u524d\u6240\u6709\u5df2\u7ecf\u6253\u5f00\u7684buffer, \u5f53\u4f60\u628a\u5149\u6807\u7f6e\u4e8e\u8fd9\u4e2a\u7a97\u53e3\u65f6, \u6709\u4e0b\u9762\u51e0\u4e2a\u5feb\u6377\u952e\u53ef\u4ee5\u7528:<\/span><br \/>\n<\/span><\/p>\n<table style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 443px;height: 116px\" border=\"1\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;width: 102px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">&lt;Tab&gt;<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5411\u524d\u5faa\u73af\u5207\u6362\u5230\u6bcf\u4e2abuffer\u540d\u4e0a<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">&lt;S-Tab&gt;<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5411\u540e\u5faa\u73af\u5207\u6362\u5230\u6bcf\u4e2abuffer\u540d\u4e0a<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">&lt;Enter&gt;<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5728\u6253\u5f00\u5149\u6807\u6240\u5728\u7684buffer<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">d<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5220\u9664\u5149\u6807\u6240\u5728\u7684buffer<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<span style=\"color: #333333;line-height: 26px;background-color: #ffffff\">\u4ee5\u4e0b\u7684\u4e24\u4e2a\u529f\u80fd\u9700\u8981\u5728~\/.vimrc\u4e2d\u589e\u52a0:<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 377px;height: 32px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">let g:miniBufExplMapCTabSwitchBufs = 1<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<\/span><\/p>\n<table style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 533px;height: 52px\" border=\"1\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;width: 99px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">&lt;C-Tab&gt;<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5411\u524d\u5faa\u73af\u5207\u6362\u5230\u6bcf\u4e2abuffer\u4e0a,\u5e76\u5728\u4f46\u524d\u7a97\u53e3\u6253\u5f00<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">&lt;C-S-Tab&gt;<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5411\u540e\u5faa\u73af\u5207\u6362\u5230\u6bcf\u4e2abuffer\u4e0a,\u5e76\u5728\u4f46\u524d\u7a97\u53e3\u6253\u5f00<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<span style=\"color: #333333;line-height: 26px;background-color: #ffffff\">\u5982\u679c\u5728~\/.vimrc\u4e2d\u8bbe\u7f6e\u4e86\u4e0b\u9762\u8fd9\u53e5:<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 476px;height: 32px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">let g:miniBufExplMapWindowNavVim = 1<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"color: #333333;line-height: 26px;background-color: #ffffff\">\u5219\u53ef\u4ee5\u7528&lt;C-h,j,k,l&gt;\u5207\u6362\u5230\u4e0a\u4e0b\u5de6\u53f3\u7684\u7a97\u53e3\u4e2d\u53bb,\u5c31\u50cf:<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;background-color: #ffffff\">C-w,h j k l\u00a0\u00a0\u00a0 \u5411&#8221;\u5de6,\u4e0b,\u4e0a,\u53f3&#8221;\u5207\u6362\u7a97\u53e3.<\/span><br \/>\n<span style=\"color: #333333;line-height: 26px;background-color: #ffffff\">\u5728~\/.vimrc\u4e2d\u8bbe\u7f6e:<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 476px;height: 32px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">let g:miniBufExplMapWindowNavArrows = 1<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"color: #333333;line-height: 26px;background-color: #ffffff\"><span style=\"font-family: ''Microsoft Yahei''\">\u662f\u7528&lt;C-\u7bad\u5934\u952e&gt;\u5207\u6362\u5230\u4e0a\u4e0b\u5de6\u53f3\u7a97\u53e3\u4e2d\u53bb<\/span><\/span><\/p>\n<\/div>\n<div><span style=\"color: #333333;line-height: 26px;background-color: #ffffff\"><span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<\/span><\/span><\/div>\n<div><span style=\"color: #333333;line-height: 26px;background-color: #ffffff\"><span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<\/span><\/span><\/div>\n<div><span style=\"font-family: ''Microsoft Yahei'';color: #ff0000\"><span style=\"line-height: 26px\">\u6ce8\u610f\uff1a<\/span><\/span><\/div>\n<div>\n<p style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 5px;margin-left: 0px;border-style: initial;border-color: initial;line-height: 21px;padding: 0px\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000;font-family: ''Microsoft Yahei''\">Winmanager\u4e2dFileExplorer\u603b\u662f\u4f1a\u81ea\u52a8\u53d8\u5c0f\uff0c\u8fd9\u662f\u56e0\u4e3a\u548cminibuffer\u51b2\u7a81\u5f15\u8d77\u7684\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0bminibuffer\u5728\u53ea\u6709\u4e00\u4e2a\u6587\u4ef6\u65f6\u4e0d\u4f1a\u663e\u793a\uff0c\u4ece\u800c\u4f1a\u5bfc\u81f4bufexplorer\u53d8\u5c0f\u3002\u5728_vimrc\u6587\u4ef6\u4e2d\u52a0\u5165\uff1a<\/span><\/span><\/p>\n<p style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 5px;margin-left: 0px;border-style: initial;border-color: initial;line-height: 21px;padding: 0px\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000;font-family: ''Microsoft Yahei''\">\u00a0let g:miniBufExplorerMoreThanOne = 0<\/span><\/span><\/p>\n<p style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 5px;margin-left: 0px;border-style: initial;border-color: initial;line-height: 21px;padding: 0px\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000;font-family: ''Microsoft Yahei''\">\u5373\u53ef\u89e3\u51b3\u3002<\/span><\/span><\/p>\n<p style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 5px;margin-left: 0px;border-style: initial;border-color: initial;line-height: 21px;padding: 0px\"><span style=\"background-color: transparent\"><span style=\"font-family: ''Microsoft Yahei'';color: #00ff00\">\uff08\u5feb\u6377\u952e\u4e0d\u592a\u597d\u7528\uff01\uff01\u4f7f\u7528bufexplorer\uff1f\uff09<\/span><\/span><\/p>\n<p style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 5px;margin-left: 0px;border-style: initial;border-color: initial;line-height: 21px;padding: 0px\"><span style=\"background-color: transparent\"><span style=\"font-family: ''Microsoft Yahei'';color: #00ff00\"><br \/>\n<\/span><\/span><\/p>\n<p style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 5px;margin-left: 0px;border-style: initial;border-color: initial;line-height: 21px;padding: 0px\"><span style=\"line-height: 26px;font-size: 22px;background-color: orange\"><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"line-height: 21px\">11.\u00a0<\/span>c\/h\u6587\u4ef6\u95f4\u76f8\u4e92\u5207\u6362 &#8212; \u63d2\u4ef6: A<\/span><\/span><\/p>\n<p style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 5px;margin-left: 0px;border-style: initial;border-color: initial;line-height: 21px;padding: 0px\"><span style=\"line-height: 26px;font-size: 22px;background-color: orange\"><span style=\"font-family: ''Microsoft Yahei''\"><br \/>\n<\/span><\/span><\/p>\n<p style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 5px;margin-left: 0px;border-style: initial;border-color: initial;line-height: 21px;padding: 0px\"><span style=\"line-height: 26px;background-color: orange\"><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;font-family: Arial;font-size: 14px;line-height: 26px;text-align: left;background-color: #ffffff;width: 585px;height: 24785px\" border=\"0\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><br class=\"Apple-interchange-newline\" \/><\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"width: 636px;text-align: left\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;width: 90px;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u4e0b\u8f7d\u5730\u5740<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">http:\/\/www.vim.org\/scripts\/script.php?script_id=31<br \/>\n<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u7248\u672c<br \/>\n<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><br \/>\n<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5b89\u88c5<br \/>\n<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5c06a.vim \u653e\u5230 ~\/.vim\/plugin \u6587\u4ef6\u5939\u4e2d<br \/>\n<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u624b\u518c<br \/>\n<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u65e0<br \/>\n<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><br \/>\n\u4e0b\u9762\u4ecb\u7ecd\u5b83\u7684\u7528\u6cd5:<br \/>\n\u4f5c\u4e3a\u4e00\u4e2aC\u7a0b\u5e8f\u5458, \u65e5\u5e38Coding\u65f6\u5728\u6e90\u6587\u4ef6\u4e0e\u5934\u6587\u4ef6\u95f4\u8fdb\u884c\u5207\u6362\u662f\u518d\u5e73\u5e38\u4e0d\u8fc7\u7684\u4e8b\u4e86, \u76f4\u63a5\u7528<\/span><\/p>\n<p><span style=\"font-family: '', 'Microsoft Yahei', '';font-size: medium;color: #333333\">vim\u6253\u5f00\u5176\u6e90\/\u5934\u6587\u4ef6\u5176\u5b9e\u4e5f\u4e0d\u662f\u4ec0\u4e48\u9ebb\u70e6\u4e8b, \u4f46\u662f\u53ea\u7528\u4e00\u4e2a\u6309\u952e\u5c31\u5207\u6362\u8fc7\u6765\u4e86, \u8fd9\u662f\u591a\u4e48\u8d34\u5fc3<\/span><\/p>\n<p><span style=\"font-family: '', 'Microsoft Yahei', '';font-size: medium;color: #333333\">\u7684\u529f\u80fd\u554a&#8230;.<\/span><\/p>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"> \u5b89\u88c5\u597da.vim\u540e\u6709\u4e0b\u9762\u7684\u51e0\u4e2a\u547d\u4ee4\u53ef\u4ee5\u7528\u4e86:<br \/>\n<\/span><\/p>\n<table style=\"width: 390px;height: 116px;text-align: left\" border=\"1\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;width: 30px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:A<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5728\u65b0Buffer\u4e2d\u5207\u6362\u5230c\/h\u6587\u4ef6<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:AS<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u6a2a\u5411\u5206\u5272\u7a97\u53e3\u5e76\u6253\u5f00c\/h\u6587\u4ef6<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;width: 40px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:AV<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u7eb5\u5411\u5206\u5272\u7a97\u53e3\u5e76\u6253\u5f00c\/h\u6587\u4ef6<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:AT<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u65b0\u5efa\u4e00\u4e2a\u6807\u7b7e\u9875\u5e76\u6253\u5f00c\/h\u6587\u4ef6<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5176\u4ed6\u8fd8\u6709\u4e00\u4e9b\u547d\u4ee4, \u4f60\u53ef\u4ee5\u5728\u5b83\u7684\u7f51\u9875\u4e0a\u770b\u770b, \u6211\u90fd\u6ca1\u7528\u8fc7, \u5176\u5b9e\u4e5f\u90fd\u662f\u5927\u540c\u5c0f\u5f02,<\/span><\/p>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"> \u627e\u5230\u81ea\u5df1\u6700\u987a\u624b\u7684\u5c31\u884c\u4e86.<\/span><\/p>\n<p>\u6211\u5728~\/.vimrc\u4e2d\u589e\u52a0\u4e86\u4e00\u53e5:<\/p>\n<table class=\"ke-zeroborder\" style=\"width: 318px;text-align: left\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">nnoremap &lt;silent&gt; &lt;F12&gt; :A&lt;CR&gt;<br \/>\n<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u610f\u601d\u662f\u6309F12\u65f6\u5728\u4e00\u4e2a\u65b0\u7684buffer\u4e2d\u6253\u5f00c\/h\u6587\u4ef6, \u8fd9\u6837\u5728\u5199\u7a0b\u5e8f\u7684\u65f6\u5019\u5c31\u53ef\u4ee5<\/span><\/p>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u4e0d\u5047\u601d\u7d22\u5730\u5728c\/h\u6587\u4ef6\u95f4\u8fdb\u884c\u5207\u6362, \u51cf\u5c11\u4e86\u6309\u952e\u7684\u6b21\u6570, \u601d\u8def\u4e5f\u5c31\u66f4\u6d41\u7545\u4e86, \u963f\u5f25\u9640\u4f5b&#8230;.<\/span><\/p>\n<p><span><span style=\"font-size: 22px;font-family: ''Microsoft Yahei''\"><span style=\"background-color: orange\">12.\u5728\u5de5\u7a0b\u4e2d\u67e5\u627e &#8212; \u63d2\u4ef6: Grep<\/span><br \/>\n<span style=\"background-color: transparent\"><br \/>\n<\/span><br \/>\n<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;font-size: 14px;line-height: 26px;text-align: left;background-color: #ffffff;width: 636px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;width: 90px;color: #000000;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u4e0b\u8f7d\u5730\u5740<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">http:\/\/www.vim.org\/scripts\/script.php?script_id=311<br \/>\n<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"color: #ff0000\"><span style=\"color: #000000\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u7248\u672c<\/span><\/span><\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"color: #ff0000\"><span style=\"color: #000000\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">1.8<\/span><\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5b89\u88c5<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u628agrep.vim \u6587\u4ef6\u4e22\u5230 ~\/.vim\/plugin \u6587\u4ef6\u5939\u5c31\u597d\u4e86<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u624b\u518c<br \/>\n<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5728grep.vim \u6587\u4ef6\u5934\u90e8<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000\"><br \/>\n<\/span><span>\u4e0b\u9762\u4ecb\u7ecd\u5b83\u7684\u7528\u6cd5:<\/span><\/span><br \/>\n<span style=\"background-color: #ffffff\">vim\u6709\u81ea\u5df1\u7684\u67e5\u627e\u529f\u80fd, \u4f46\u662f\u8ddfshell\u4e2d\u7684grep\u6bd4\u8d77\u6765\u8fd8\u662f\u6709\u4e9b\u5dee\u8ddd\u7684, \u6709\u65f6Coding<\/span><\/span><\/p>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: #ffffff\">\u6b63\u706b\u6025\u706b\u71ce\u7684\u65f6\u5019, \u771f\u60f3\u6309\u4e0bF3, \u5bf9\u5149\u6807\u6240\u5728\u7684\u8bcd\u6765\u4e2a\u5168\u5de5\u7a0b\u8303\u56f4\u7684grep, <\/span><\/span><\/p>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: #ffffff\">\u4e0d\u7528\u6572\u90a3\u4e9b\u7e41\u7410\u7684\u547d\u4ee4, \u73b0\u5728\u798f\u97f3\u6765\u4e86, \u8ddf\u6211\u540c\u6837\u61d2\u7684\u4eba\u4e0d\u5728\u5c11\u6570, \u5728grep.vim\u811a\u672c<\/span><\/span><\/p>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: #ffffff\">\u7684\u524d\u90e8\u53ef\u4ee5\u627e\u5230\u4e00\u4e9b\u8bf4\u660e\u6587\u6863:<\/span><br \/>\n<\/span><\/p>\n<table style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 477px;height: 312px\" border=\"1\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;width: 74px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:Grep<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u6309\u7167\u6307\u5b9a\u7684\u89c4\u5219\u5728\u6307\u5b9a\u7684\u6587\u4ef6\u4e2d\u67e5\u627e<br \/>\n<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:Rgrep<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u540c\u4e0a, \u4f46\u662f\u662f\u9012\u5f52\u7684grep<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:GrepBuffer<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5728\u6240\u6709\u6253\u5f00\u7684\u7f13\u51b2\u533a\u4e2d\u67e5\u627e<br \/>\n<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;width: 15px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:Bgrep<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u540c\u4e0a<br \/>\n<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:GrepArgs<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5728vim\u7684argument filenames (:args)\u4e2d\u67e5\u627e<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:Fgrep<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u8fd0\u884cfgrep<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:Rfgrep<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u8fd0\u884c\u9012\u5f52\u7684fgrep<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:Egrep<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u8fd0\u884cegrep<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:Regrep<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u8fd0\u884c\u9012\u5f52\u7684egrep<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:Agrep<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u8fd0\u884cagrep<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:Ragrep<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u8fd0\u884c\u9012\u5f52\u7684agrep<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><br \/>\n<span style=\"background-color: #ffffff\">\u4e0a\u9762\u7684\u547d\u4ee4\u662f\u7c7b\u4f3c\u8fd9\u6837\u8c03\u7528\u7684:<\/span><br \/>\n<\/span><\/p>\n<table style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 546px;height: 312px\" border=\"1\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:Grep\u00a0\u00a0 [&lt;grep_options&gt;] [&lt;search_pattern&gt; [&lt;file_name(s)&gt;]]<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:Rgrep\u00a0 [&lt;grep_options&gt;] [&lt;search_pattern&gt; [&lt;file_name(s)&gt;]]<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:Fgrep\u00a0 [&lt;grep_options&gt;] [&lt;search_pattern&gt; [&lt;file_name(s)&gt;]]<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:Rfgrep [&lt;grep_options&gt;] [&lt;search_pattern&gt; [&lt;file_name(s)&gt;]]<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:Egrep\u00a0 [&lt;grep_options&gt;] [&lt;search_pattern&gt; [&lt;file_name(s)&gt;]]<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:Regrep [&lt;grep_options&gt;] [&lt;search_pattern&gt; [&lt;file_name(s)&gt;]]<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:Agrep\u00a0 [&lt;grep_options&gt;] [&lt;search_pattern&gt; [&lt;file_name(s)&gt;]]<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:Ragrep [&lt;grep_options&gt;] [&lt;search_pattern&gt; [&lt;file_name(s)&gt;]]<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:GrepBuffer [&lt;grep_options&gt;] [&lt;search_pattern&gt;]<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:Bgrep [&lt;grep_options&gt;] [&lt;search_pattern&gt;]<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:GrepArgs [&lt;grep_options&gt;] [&lt;search_pattern&gt;]<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><br \/>\n<span style=\"background-color: #ffffff\">\u4f46\u662f\u6211\u4ece\u6765\u90fd\u4e0d\u7528\u6572\u4e0a\u9762\u90a3\u4e9b\u547d\u4ee4\u7684^_^, \u56e0\u4e3a\u6211\u5728~\/.vimrc\u4e2d\u589e\u52a0\u4e86\u4e0b\u9762\u8fd9\u53e5:<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 318px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">nnoremap &lt;silent&gt; &lt;F3&gt; :Grep&lt;CR&gt;<br \/>\n<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: #ffffff\">\u6bd4\u5982\u4f60\u60f3\u5728\/home\/wooin\/vim71\/src\/main.c\u4e2d\u67e5\u627e&#8221;FEAT_QUICKFIX&#8221;, \u5219<\/span><\/span><\/p>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: #ffffff\">\u5c06\u5149\u6807\u79fb\u5230&#8221;FEAT_QUICKFIX&#8221;\u4e0a, \u7136\u540e\u6309\u4e0bF3\u952e, \u5982\u4e0b\u56fe:<\/span><br \/>\n<span style=\"border-color: initial\"><img style=\"border-color: initial;background-color: #ffffff\" src=\"http:\/\/note.youdao.com\/yws\/res\/2400\/64C33DF958304CD6BC0D5C83D2AF2F3A\" title=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe12\" alt=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe12\" \/><\/span><br \/>\n<span style=\"background-color: #ffffff\">(&#8212; \u56fe14 &#8212;)<\/span><br \/>\n<span style=\"background-color: #ffffff\">\u5728\u6700\u4e0b\u9762\u7684\u547d\u4ee4\u884c\u4f1a\u663e\u793a:<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 318px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">Search for pattern: FEAT_QUICKFIX<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: #ffffff\">\u6b64\u65f6\u4f60\u8fd8\u53ef\u4ee5\u7f16\u8f91\u8be5\u884c, grep\u652f\u6301\u6b63\u5219\u8868\u8fbe\u5f0f, \u4f60\u60f3\u5168\u8bcd\u5339\u914d\u7684\u8bdd\u53ef\u4ee5\u6539\u6210:<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 527px;height: 27px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">Search for pattern: \/&lt;FEAT_QUICKFIX\/&gt;<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: #ffffff\">\u7136\u540e\u6309\u4e0b\u56de\u8f66:<\/span><br \/>\n<span style=\"border-color: initial\"><img style=\"border-color: initial;background-color: #ffffff\" src=\"http:\/\/note.youdao.com\/yws\/res\/2398\/43CE0EB92EC4421EA5C1964CCADE5FDB\" title=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe13\" alt=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe13\" \/><\/span><br \/>\n<span style=\"background-color: #ffffff\">(&#8212; \u56fe15 &#8212;)<\/span><br \/>\n<span style=\"background-color: #ffffff\">\u5728\u6700\u4e0b\u9762\u7684\u547d\u4ee4\u884c\u4f1a\u663e\u793a:<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 318px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">Search in files: *<br \/>\n<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: #ffffff\">\u662f\u95ee\u4f60\u641c\u7d22\u8303\u56f4, \u9ed8\u8ba4\u662f\u8be5\u76ee\u5f55\u4e0b\u7684\u6240\u6709\u6587\u4ef6, \u6b64\u65f6\u4f60\u8fd8\u53ef\u4ee5\u7f16\u8f91\u8be5\u884c, \u6bd4\u5982\u4f60<\/span><\/span><\/p>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: #ffffff\">\u53ea\u60f3\u641c\u7d22\u6e90\u7801\u6587\u4ef6:<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 318px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">Search in files: *.c *.h<br \/>\n<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: #ffffff\">\u7136\u540e\u5728\u6309\u4e0b\u56de\u8f66, \u4f1a\u5728\u5f39\u51fa\u7684QuickFix\u7a97\u53e3\u4e2d\u5217\u51fa\u6240\u6709\u7b26\u5408\u6761\u4ef6\u7684\u641c\u7d22\u7ed3\u679c, \u4f60<\/span><\/span><\/p>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: #ffffff\">\u53ef\u4ee5\u5728\u5176\u4e2d\u67e5\u627e\u4f60\u60f3\u8981\u7684\u7ed3\u679c, \u5982\u4e0b\u56fe:<\/span><br \/>\n<span style=\"border-color: initial\"><img style=\"border-color: initial;background-color: #ffffff\" src=\"http:\/\/note.youdao.com\/yws\/res\/2399\/51E5A777FB434539B4A8D33B0AE7990D\" title=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe14\" alt=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe14\" \/><\/span><br \/>\n<span style=\"background-color: #ffffff\">(&#8212; \u56fe16 &#8212;)<\/span><\/span><\/p>\n<p><span style=\"background-color: #ffffff\">\u5176\u5b9e\u8fd8\u6709\u4e00\u4e9b\u5176\u4ed6\u529f\u80fd\u548c\u8bbe\u7f6e, \u4f46\u662f\u6211\u90fd\u6ca1\u6709\u7528\u8fc7, \u8fd9\u4e9b\u529f\u80fd\u518d\u52a0\u4e0a\u6b63\u5219\u8868\u8fbe\u5f0f, \u5df2\u7ecf\u591f\u6211\u7528\u4e86, <\/span><\/p>\n<p><span style=\"background-color: #ffffff\">\u5176\u4ed6\u7684\u4f60\u53ef\u4ee5\u5728\u7f51\u9875\u4e0a\u770b\u770b\u5b83\u7684\u6587\u6863, \u5982\u679c\u6709\u4ec0\u4e48\u60ca\u4eba\u53d1\u73b0\u8bb0\u5f97\u8ddf\u6211\u4e92\u901a\u6709\u65e0, \u5171\u540c\u8fdb\u6b65\u54e6&#8230;.<\/span><\/p>\n<p><span><span style=\"font-size: 22px;font-family: ''Microsoft Yahei''\"><span style=\"background-color: orange\">13.\u9ad8\u4eae\u7684\u4e66\u7b7e &#8212; \u63d2\u4ef6: VisualMark<\/span><br \/>\n<span style=\"background-color: transparent\"><br \/>\n<\/span><\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 636px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;width: 90px;color: #000000;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u4e0b\u8f7d\u5730\u5740<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">http:\/\/www.vim.org\/scripts\/script.php?script_id=1026<br \/>\n<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u7248\u672c<br \/>\n<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><br \/>\n<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5b89\u88c5<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u628avisualmark.vim \u6587\u4ef6\u4e22\u5230 ~\/.vim\/plugin \u6587\u4ef6\u5939\u5c31\u597d\u4e86<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u624b\u518c<br \/>\n<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u65e0<br \/>\n<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: transparent\"><span style=\"color: #ff0000\"><br \/>\n<\/span><span>\u4e0b\u9762\u4ecb\u7ecd\u5b83\u7684\u7528\u6cd5:<\/span><\/span><br \/>\n<span style=\"background-color: #ffffff\">vim\u4e5f\u548c\u5176\u4ed6\u7f16\u8f91\u5668\u4e00\u6837\u6709&#8221;\u4e66\u7b7e&#8221;\u6982\u5ff5, \u5728vim\u4e2d\u53eb&#8221;Mark&#8221;, \u53ef\u4ee5\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u67e5\u770b\u76f8\u5173\u8bf4\u660e:<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 190px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:help Mark<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: #ffffff\">\u8be5&#8221;\u4e66\u7b7e&#8221;\u6709\u4e2a\u5f88\u5f88\u5927\u7684\u7f3a\u70b9: \u4e0d\u53ef\u89c1.<\/span><br \/>\n<span style=\"background-color: #ffffff\">\u6211\u4e0b\u9762\u8981\u4ecb\u7ecd\u7684Visual Mark\u63d2\u4ef6\u8ddfvim\u4e2d\u7684&#8221;Mark&#8221;\u6ca1\u6709\u4ec0\u4e48\u5173\u7cfb, \u5e76\u4e0d\u662f\u4f7f\u5176\u53ef\u89c1, <\/span><\/span><\/p>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: #ffffff\">\u800c\u662f\u81ea\u5df1\u672c\u8eab\u5c31\u662f&#8221;\u53ef\u89c1\u7684\u4e66\u7b7e&#8221;, \u63a5\u7740\u5f80\u4e0b\u770b\u5c31\u660e\u767d\u4e86, \u7528\u4f5c\u8005\u7684\u8bdd\u8bf4<\/span><\/span><\/p>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: #ffffff\">\u5c31\u662f&#8221;\u7c7b\u4f3cUltraEdit\u4e2d\u7684\u4e66\u7b7e&#8221;.<\/span><br \/>\n<span style=\"background-color: #ffffff\">\u53e6\u5916, \u7f51\u4e0a\u4e5f\u6709\u4f7fvim\u4e2d\u7684Mark\u53ef\u89c1\u7684\u63d2\u4ef6, \u4f46\u662f\u6211\u8bd5\u4e86\u4e00\u4e0b, <\/span><\/span><\/p>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: #ffffff\">\u597d\u50cf\u6ca1Visual Mark\u597d\u7528, \u6211\u5c31\u4e0d\u4ecb\u7ecd\u4e86.<\/span><\/span><\/p>\n<p><span style=\"background-color: #ffffff\">\u6309\u7167\u4e0a\u9762\u7684\u65b9\u6cd5\u5b89\u88c5\u597dVisual Mark\u540e, \u4f60\u4ec0\u4e48\u4e5f\u4e0d\u7528\u8bbe\u7f6e, \u5982\u679c\u662fgvim, \u76f4\u63a5\u5728\u4ee3\u7801\u4e0a\u6309\u4e0bCtrl+F2, <\/span><\/p>\n<p><span style=\"background-color: #ffffff\">\u5982\u679c\u662fvim, \u7528&#8221;mm&#8221;, \u600e\u4e48\u6837, \u53d1\u73b0\u5149\u6807\u6240\u5728\u7684\u884c\u53d8\u9ad8\u4eae\u4e86\u5427, \u89c1\u4e0b\u56fe:<\/span><br \/>\n<span style=\"border-color: initial\"><img style=\"border-color: initial;background-color: #ffffff\" src=\"http:\/\/note.youdao.com\/yws\/res\/2423\/D384D558DF9F4AC2B959C537787D33B6\" title=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe15\" alt=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe15\" \/><\/span><br \/>\n<span style=\"background-color: #ffffff\">(&#8212; \u56fe17 &#8212;)<\/span><br \/>\n<span style=\"background-color: #ffffff\">\u5982\u679c\u4f60\u8bbe\u7f6e\u4e86\u591a\u4e2a\u4e66\u7b7e, \u4f60\u53ef\u4ee5\u7528F2\u952e\u6b63\u5411\u5728\u671f\u95f4\u5207\u6362, \u7528Shift+F2\u53cd\u5411\u5728\u671f\u95f4\u5207\u6362.<\/span><br \/>\n<span style=\"background-color: #ffffff\">\u597d\u4e86, \u6211Visual Mark\u4ecb\u7ecd\u5b8c\u4e86, \u591f\u7b80\u5355\u5427^_^.<\/span><\/p>\n<p><span style=\"background-color: #ffffff\">\u5982\u679c\u4f60\u5acc\u4e66\u7b7e\u7684\u989c\u8272\u4e0d\u597d\u770b, \u4f60\u8fd8\u53ef\u4ee5\u81ea\u5df1\u5b9a\u4e49, \u4e0d\u8fc7\u662f\u4fee\u6539\u8fd9\u4e2a\u63d2\u4ef6\u811a\u672c\u7684\u7684\u6e90\u7801, <\/span><\/p>\n<p><span style=\"background-color: #ffffff\">\u5728\u76ee\u5f55~\/.vim\/plugin\/\u4e2d\u627e\u5230\u5e76\u6253\u5f00visualmark.vim, \u627e\u5230\u4e0b\u9762\u8fd9\u6bb5\u4ee3\u7801:<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;background-color: #ffffff;width: 636px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">if &amp;bg == &#8220;dark&#8221;\u00a0\u00a0<span style=\"color: #006600\">\/\/ \u6839\u636e\u4f60\u7684\u80cc\u666f\u8272\u98ce\u683c\u6765\u8bbe\u7f6e\u4e0d\u540c\u7684\u4e66\u7b7e\u989c\u8272<\/span><br \/>\nhighlight SignColor ctermfg=white ctermbg=blue guifg=wheat\u00a0<span style=\"color: #ff6666\">guibg<\/span>=peru<br \/>\nelse\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: #006600\">\/\/ \u4e3b\u8981\u5c31\u662f\u4fee\u6539guibg\u7684\u503c\u6765\u8bbe\u7f6e\u4e66\u7b7e\u7684\u989c\u8272<\/span><br \/>\nhighlight SignColor ctermbg=white ctermfg=blue\u00a0<span style=\"color: #ff6666\">guibg<\/span>=grey guifg=RoyalBlue3<br \/>\nendif<br \/>\n<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><br \/>\n<span style=\"background-color: #ffffff\">\u6211\u8fd8\u6709\u51e0\u4e2a\u4e0d\u6ee1\u610f\u7684\u5730\u65b9:<\/span><br \/>\n<span style=\"background-color: #ffffff\">1 \u8fd9\u4e2a\u4e66\u7b7e\u4e0d\u80fd\u81ea\u52a8\u4fdd\u5b58, \u5173\u95edvim\u5c31\u6ca1\u4e86.\u00a0<\/span><br \/>\n<span style=\"background-color: #ffffff\">2 \u5207\u6362\u4e66\u7b7e\u65f6\u4e0d\u80fd\u5728\u4e0d\u540c\u6587\u4ef6\u95f4\u5207\u6362, \u53ea\u80fd\u5728\u540c\u4e00\u4e2a\u6587\u4ef6\u4e2d\u5207\u6362<\/span><\/span><\/p>\n<p><span style=\"background-color: #ffffff\">\u5982\u679c\u54ea\u4f4d\u670b\u53cb\u80fd\u89e3\u51b3\u8fd9\u4e24\u4e2a\u95ee\u9898, \u8bf7\u4e00\u5b9a\u8981\u544a\u8bc9\u5be1\u4eba\u554a&#8230;.<br \/>\n<span style=\"color: #00ff00\">\uff08\u6b64\u63d2\u4ef6\u4e0d\u592a\u597d\u7528\uff09<\/span><\/span><\/p>\n<p><span><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"background-color: orange;font-size: 22px\">14.\u81ea\u52a8\u8865\u5168<\/span><br \/>\n<span style=\"background-color: transparent\"><br \/>\n<\/span><span style=\"font-size: medium\"><span style=\"background-color: transparent\"><span>\u7528\u8fc7Microsoft Visual Studio\u7684\u670b\u53cb\u4e00\u5b9a\u77e5\u9053\u4ee3\u7801\u8865\u5168\u529f\u80fd, <\/span><\/span><\/span><\/span><\/span><\/p>\n<p><span><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"font-size: medium\"><span style=\"background-color: transparent\"><span>\u8f93\u5165\u4e00\u4e2a\u5bf9\u8c61\u540d\u540e\u518d\u8f93\u5165&#8221;.&#8221;\u6216\u8005&#8221;-&gt;&#8221;, \u5219\u5176\u6210\u5458\u540d\u90fd\u53ef\u4ee5\u5217\u51fa\u6765, \u4f7fCoding\u6d41\u7545\u4e86\u8bb8\u591a,<\/span><\/span><\/span><\/span><\/span><\/p>\n<p><span><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"font-size: medium\"><span style=\"background-color: transparent\"><span>\u5b9e\u73b0\u5f88\u591a\u61d2\u4eba\u7684\u68a6\u60f3, \u73b0\u5728\u6211\u8981\u544a\u8bc9\u4f60, \u8fd9\u4e0d\u518d\u662fMicrosoft Visual Studio\u7684\u4e13\u5229\u4e86, <\/span><\/span><\/span><\/span><\/span><\/p>\n<p><span><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"font-size: medium\"><span style=\"background-color: transparent\"><span>vim\u4e5f\u53ef\u4ee5\u505a\u5230! \u4e0b\u9762\u7531\u6211\u6765\u6559\u4f60, \u8be5\u529f\u80fd\u8981tags\u6587\u4ef6\u7684\u652f\u6301, \u5e76\u4e14\u662fctags 5.6\u7248\u672c, <\/span><\/span><\/span><\/span><\/span><\/p>\n<p><span><span style=\"font-family: ''Microsoft Yahei''\"><span style=\"font-size: medium\"><span style=\"background-color: transparent\"><span>\u53ef\u4ee5\u770b\u770b\u524d\u6587\u4ecb\u7ecdtags\u6587\u4ef6\u7684\u7ae0\u8282.<\/span><\/span><\/span><\/span><\/span><\/p>\n<p><span>\u6211\u8fd9\u91cc\u8981\u4ecb\u7ecd\u7684\u529f\u80fd\u53eb&#8221;new-omni-completion(\u5168\u80fd\u8865\u5168)&#8221;, \u4f60\u53ef\u4ee5\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u770b\u770b\u4ecb\u7ecd:<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;width: 254px;background-color: #ffffff\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:help new-omni-completion<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: transparent\"><br \/>\n<span>\u4f60\u8fd8\u9700\u8981\u5728~\/.vimrc\u6587\u4ef6\u4e2d\u589e\u52a0\u4e0b\u9762\u4e24\u53e5:<\/span><\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;width: 254px;background-color: #ffffff\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">filetype plugin indent on<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: transparent\">\u6253\u5f00\u6587\u4ef6\u7c7b\u578b\u68c0\u6d4b, \u52a0\u4e86\u8fd9\u53e5\u624d\u53ef\u4ee5\u7528\u667a\u80fd\u8865\u5168<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;width: 426px;height: 27px;background-color: #ffffff\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">set completeopt=longest,menu<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: transparent\"><span>\u5173\u6389\u667a\u80fd\u8865\u5168\u65f6\u7684\u9884\u89c8\u7a97\u53e3<\/span><\/span><\/span><\/p>\n<p><span>\u8bf7\u786e\u5b9a\u4f60\u7684Ctags 5.6\u5df2\u7ecf\u5b89\u88c5\u597d, \u5e76\u4e14\u751f\u6210\u7684tags\u6587\u4ef6\u5df2\u7ecf\u53ef\u4ee5\u7528\u4e86, \u90a3\u4e48\u6211\u4eec\u5c31\u8981\u6284\u5bb6\u4f19\u5f00\u641e\u4e86.<\/span><br \/>\n<span>\u7528vim\u6253\u5f00\u6e90\u6587\u4ef6<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;width: 344px;height: 15px;background-color: #ffffff\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">$ vi \/home\/wooin\/vim71\/src\/main.c<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: transparent\">\u8bbe\u7f6etags\u6587\u4ef6<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;width: 341px;height: 1px;background-color: #ffffff\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">:set tags=\/home\/wooin\/vim71\/tags<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"background-color: transparent;font-family: ''Microsoft Yahei'';font-size: medium\"><span>\u968f\u4fbf\u627e\u4e00\u4e2a\u6709\u6210\u5458\u53d8\u91cf\u7684\u5bf9\u8c61, \u6bd4\u5982&#8221;parmp&#8221;, \u8fdb\u5165Insert\u6a21\u5f0f, \u5c06\u5149\u6807\u653e\u5728&#8221;-&gt;&#8221;\u540e\u9762,\u00a0<\/span><br \/>\n<span>\u7136\u540e\u6309\u4e0b&#8221;Ctrl+X Ctrl+O&#8221;<span style=\"color: #ff0000\">\uff08\u662f\u6309\u4e24\u4e2a\u7ec4\u5408\u952e\u54e6\uff09<\/span>, \u6b64\u65f6\u4f1a\u5f39\u51fa\u4e00\u4e2a\u4e0b\u5217\u83dc\u5355, <\/span><\/span><\/p>\n<p><span style=\"background-color: transparent;font-family: ''Microsoft Yahei'';font-size: medium\"><span>\u663e\u793a\u6240\u6709\u5339\u914d\u7684\u6807\u7b7e, \u5982\u4e0b\u56fe:<\/span><br \/>\n<span style=\"border-color: initial\"><img style=\"border-color: initial\" src=\"http:\/\/note.youdao.com\/yws\/res\/2445\/10E35CA3FAE24B21BFFB113D4689216F\" title=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe16\" alt=\"\u628aVim\u6539\u88c5\u6210\u4e00\u4e2aIDE\u7f16\u7a0b\u73af\u5883\u63d2\u56fe16\" \/><\/span><br \/>\n<span>(&#8212; \u56fe18 &#8212;)<\/span><br \/>\n<span>\u6b64\u65f6\u6709\u4e00\u4e9b\u5feb\u6377\u952e\u53ef\u4ee5\u7528:<\/span><br \/>\n<\/span><\/p>\n<table style=\"color: #333333;line-height: 26px;text-align: left;width: 427px;height: 136px\" border=\"1\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;width: 77px\"><span style=\"background-color: transparent;font-family: ''Microsoft Yahei'';font-size: medium\">Ctrl+P<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"background-color: transparent;font-family: ''Microsoft Yahei'';font-size: medium\">\u5411\u524d\u5207\u6362\u6210\u5458<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"background-color: transparent;font-family: ''Microsoft Yahei'';font-size: medium\">Ctrl+N<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"background-color: transparent;font-family: ''Microsoft Yahei'';font-size: medium\">\u5411\u540e\u5207\u6362\u6210\u5458<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"background-color: transparent;font-family: ''Microsoft Yahei'';font-size: medium\">Ctrl+E<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"background-color: transparent;font-family: ''Microsoft Yahei'';font-size: medium\">\u8868\u793a\u9000\u51fa\u4e0b\u62c9\u7a97\u53e3, \u5e76\u9000\u56de\u5230\u539f\u6765\u5f55\u5165\u7684\u6587\u5b57<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"background-color: transparent;font-family: ''Microsoft Yahei'';font-size: medium\">Ctrl+Y<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"background-color: transparent;font-family: ''Microsoft Yahei'';font-size: medium\">\u8868\u793a\u9000\u51fa\u4e0b\u62c9\u7a97\u53e3, \u5e76\u63a5\u53d7\u5f53\u524d\u9009\u9879<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"background-color: transparent;font-family: ''Microsoft Yahei'';font-size: medium\"><br \/>\n<span>\u5982\u679c\u4f60\u589e\u52a0\u4e86\u4e00\u4e9b\u6210\u5458\u53d8\u91cf, \u5168\u80fd\u8865\u5168\u8fd8\u4e0d\u80fd\u9a6c\u4e0a\u5c06\u65b0\u6210\u5458\u8865\u5168, <\/span><\/span><\/p>\n<p><span style=\"background-color: transparent;font-family: ''Microsoft Yahei'';font-size: medium\"><span>\u9700\u8981\u4f60\u91cd\u65b0\u751f\u6210\u4e00\u4e0btags\u6587\u4ef6, \u4f46\u662f\u4f60\u4e0d\u7528\u91cd\u542fvim, <\/span><\/span><\/p>\n<p><span style=\"background-color: transparent;font-family: ''Microsoft Yahei'';font-size: medium\"><span>\u53ea\u662f\u91cd\u65b0\u751f\u6210\u4e00\u4e0btags\u6587\u4ef6\u5c31\u884c\u4e86, \u8fd9\u65f6\u5168\u80fd\u8865\u5168\u5df2\u7ecf\u53ef\u4ee5\u81ea\u52a8\u8865\u5168\u4e86, <\/span><\/span><\/p>\n<p><span style=\"background-color: transparent;font-family: ''Microsoft Yahei'';font-size: medium\"><span>\u8fd8\u771f\u591f&#8221;\u5168\u80fd&#8221;\u5427.<\/span><\/span><\/p>\n<p><span>vim\u4e2d\u7684\u5176\u4ed6\u8865\u5168\u65b9\u5f0f\u8fd8\u6709:<\/span><\/p>\n<table style=\"color: #333333;line-height: 26px;text-align: left;width: 426px;height: 332px;background-color: #ffffff\" border=\"1\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;width: 161px\"><span style=\"background-color: transparent;font-family: ''Microsoft Yahei'';font-size: medium\">Ctrl+X Ctrl+L<br \/>\n<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"background-color: transparent;font-family: ''Microsoft Yahei'';font-size: medium\">\u6574\u884c\u8865\u5168<br \/>\n<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"background-color: transparent;font-family: ''Microsoft Yahei'';font-size: medium\">Ctrl+X Ctrl+N<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"background-color: transparent;font-family: ''Microsoft Yahei'';font-size: medium\">\u6839\u636e\u5f53\u524d\u6587\u4ef6\u91cc\u5173\u952e\u5b57\u8865\u5168<br \/>\n<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"background-color: transparent;font-family: ''Microsoft Yahei'';font-size: medium\">Ctrl+X Ctrl+K<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"background-color: transparent\">\u6839\u636e\u5b57\u5178\u8865\u5168<\/span><br \/>\n<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">Ctrl+X Ctrl+T<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u6839\u636e\u540c\u4e49\u8bcd\u5b57\u5178\u8865\u5168<br \/>\n<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">Ctrl+X Ctrl+I<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u6839\u636e\u5934\u6587\u4ef6\u5185\u5173\u952e\u5b57\u8865\u5168<br \/>\n<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">Ctrl+X Ctrl+]<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u6839\u636e\u6807\u7b7e\u8865\u5168<br \/>\n<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">Ctrl+X Ctrl+F<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u8865\u5168\u6587\u4ef6\u540d<br \/>\n<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">Ctrl+X Ctrl+D<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u8865\u5168\u5b8f\u5b9a\u4e49<br \/>\n<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">Ctrl+X Ctrl+V<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u8865\u5168vim\u547d\u4ee4<br \/>\n<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">Ctrl+X Ctrl+U<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u7528\u6237\u81ea\u5b9a\u4e49\u8865\u5168\u65b9\u5f0f<br \/>\n<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">Ctrl+X Ctrl+S<\/span><\/td>\n<td style=\"vertical-align: top\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u62fc\u5199\u5efa\u8bae<br \/>\n<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-size: 22px;background-color: orange;font-family: ''Microsoft Yahei''\"><span>15.\u52a0\u901f\u4f60\u7684\u8865\u5168 &#8212; \u63d2\u4ef6: SuperTab<\/span><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;font-size: 14px;line-height: 26px;text-align: left;width: 636px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;width: 90px;color: #000000;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u4e0b\u8f7d\u5730\u5740<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">http:\/\/www.vim.org\/scripts\/script.php?script_id=1643<br \/>\n<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"color: #ff0000\"><span style=\"color: #000000\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u7248\u672c<\/span><\/span><\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"color: #ff0000\"><span style=\"color: #000000\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">0.43<\/span><\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5b89\u88c5<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u628asupertab.vim \u6587\u4ef6\u4e22\u5230 ~\/.vim\/plugin \u6587\u4ef6\u5939\u5c31\u597d\u4e86<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u624b\u518c<br \/>\n<\/span><\/td>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">supertab.vim \u6587\u4ef6\u5934\u90e8, \u548c\u547d\u4ee4 &#8220;:SuperTabHelp&#8221;<br \/>\n<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"color: #ff0000\"><br \/>\n<\/span><span>\u5728\u4e0a\u9762\u4e00\u8282\u4e2d\u4f60\u5e94\u8be5\u5b66\u4f1a\u4e86\u81ea\u52a8\u8865\u5168\u4ee3\u7801\u7684\u529f\u80fd, \u6309\u4e0b&#8221;Ctrl+X Ctrl+O&#8221;\u5c31\u641e\u5b9a\u4e86,<\/span><\/span><\/p>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span> \u5982\u679c\u4f60\u591f\u61d2\u7684\u8bdd\u80af\u5b9a\u4f1a\u8bf4&#8221;\u8fd9\u4e48\u9ebb\u70e6\u554a, \u5c45\u7136\u8981\u6309\u56db\u4e2a\u952e&#8221;, \u4e0d\u5fc5\u4e3a\u6b64\u81ea\u8d23, <\/span><\/span><\/p>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span>\u56e0\u4e3aGergely Kontra \u548c Eric Van Dewoestine\u4e5f\u8ddf\u4f60\u5dee\u4e0d\u591a, <\/span><\/span><\/p>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span>\u53ea\u4e0d\u8fc7\u4eba\u5bb6\u5f00\u53d1\u4e86supertab.vim\u8fd9\u4e2a\u63d2\u4ef6, \u53ef\u4ee5\u6c38\u8fdc\u61d2\u4e0b\u53bb\u4e86, \u4e0b\u9762\u6211\u6765\u6559\u4f60\u5077\u61d2\u5427.<\/span><\/span><\/p>\n<p><span>\u5728\u4f60\u7684~\/.vimrc\u6587\u4ef6\u4e2d\u52a0\u4e0a\u8fd9\u4e24\u53e5:<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;width: 536px;height: 57px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">let g:SuperTabRetainCompletionType=2<br \/>\nlet g:SuperTabDefaultCompletionType=&#8221;&lt;C-X&gt;&lt;C-O&gt;&#8221;<br \/>\n<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span>\u4ee5\u540e\u5f53\u4f60\u51c6\u5907\u6309&#8221;Ctrl+X Ctrl+O&#8221;\u7684\u65f6\u5019\u76f4\u63a5\u6309&lt;Tab&gt;\u5c31\u597d\u4e86, \u591f\u723d\u5427 &#8230;.<\/span><\/span><\/p>\n<p><span>\u6211\u7a0d\u5fae\u518d\u4ecb\u7ecd\u4e00\u4e0b\u4e0a\u9762\u90a3\u4e24\u53e5\u914d\u7f6e\u4fe1\u606f:<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;width: 533px;height: 132px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">let g:SuperTabDefaultCompletionType=&#8221;&lt;C-X&gt;&lt;C-O&gt;&#8221;<br \/>\n<span style=\"color: #006600\">&#8221; \u8bbe\u7f6e\u6309\u4e0b&lt;Tab&gt;\u540e\u9ed8\u8ba4\u7684\u8865\u5168\u65b9\u5f0f, \u9ed8\u8ba4\u662f&lt;C-P&gt;,<br \/>\n&#8221; \u73b0\u5728\u6539\u4e3a&lt;C-X&gt;&lt;C-O&gt;. \u5173\u4e8e&lt;C-P&gt;\u7684\u8865\u5168\u65b9\u5f0f,\u00a0<\/span><br \/>\n<span style=\"color: #006600\">&#8221; \u8fd8\u6709\u5176\u4ed6\u7684\u8865\u5168\u65b9\u5f0f, \u4f60\u53ef\u4ee5\u770b\u770b\u4e0b\u9762\u7684\u4e00\u4e9b\u5e2e\u52a9:<\/span><br \/>\n<span style=\"color: #006600\">&#8221; :help ins-completion<\/span><br \/>\n<span style=\"color: #006600\">&#8221; :help compl-omni<\/span><br \/>\n<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><br \/>\n<\/span><\/p>\n<table class=\"ke-zeroborder\" style=\"color: #333333;line-height: 26px;text-align: left;width: 529px;height: 90px\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;background-color: #cccccc\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">let g:SuperTabRetainCompletionType=2<br \/>\n<span style=\"color: #006600\">&#8221; 0 &#8211; \u4e0d\u8bb0\u5f55\u4e0a\u6b21\u7684\u8865\u5168\u65b9\u5f0f<\/span><br \/>\n<span style=\"color: #006600\">&#8221; 1 &#8211; \u8bb0\u4f4f\u4e0a\u6b21\u7684\u8865\u5168\u65b9\u5f0f,\u76f4\u5230\u7528\u5176\u4ed6\u7684\u8865\u5168\u547d\u4ee4\u6539\u53d8\u5b83<\/span><br \/>\n<span style=\"color: #006600\">&#8221; 2 &#8211; \u8bb0\u4f4f\u4e0a\u6b21\u7684\u8865\u5168\u65b9\u5f0f,\u76f4\u5230\u6309ESC\u9000\u51fa\u63d2\u5165\u6a21\u5f0f\u4e3a\u6b62<\/span><br \/>\n<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><br \/>\n<span>\u95ee\u9898:<\/span><br \/>\n<span>\u4f46\u662f\u73b0\u5728\u6211\u7684&lt;Tab&gt;\u952e\u4e0d\u597d\u7528\u4e86, \u6211\u4ee5\u524d\u7231\u7528&lt;Tab&gt;\u8fdb\u884c\u7f29\u8fdb, <\/span><\/span><\/p>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span>\u5982\u679c\u524d\u9762\u6709\u5b57\u7b26\u6309\u4e0b&lt;Tab&gt;\u952e\u540e\u5c31\u4f1a\u8fdb\u884c\u8865\u5168, \u800c\u4e0d\u662f\u6211\u60f3\u8981\u7684\u7f29\u8fdb\u529f\u80fd, <\/span><\/span><\/p>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span>\u4e0d\u77e5\u9053\u6709\u6ca1\u6709\u5feb\u6377\u952e\u53ef\u4ee5\u6682\u65f6\u5173\u95ed\u548c\u6fc0\u6d3bSuperTab\u952e\u7684\u529f\u80fd. <\/span><\/span><\/p>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span>\u5982\u679c\u54ea\u4f4d\u670b\u53cb\u77e5\u9053, \u8bf7\u4e00\u5b9a\u8bb0\u5f97\u544a\u8bc9\u6211\u554a&#8230;<br \/>\n<\/span><\/span><span style=\"font-family: ''Microsoft Yahei'';font-size: medium;color: #ff0000\">\uff08\u63d2\u4ef6\u6709\u66f4\u65b0\uff0c\u76ee\u524d\u8fd8\u6ca1\u7528\u5230\u8be5\u63d2\u4ef6\uff09<br \/>\n<\/span><\/p>\n<p style=\"color: #000000;padding: 0px;margin: 0px\"><strong><br class=\"Apple-interchange-newline\" \/><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u300e\u4e0b\u8f7d\u548c\u5b89\u88c5\u300f<\/span><\/strong><\/p>\n<p style=\"color: #000000;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u4ece<a href=\"http:\/\/www.vim.org\/scripts\/script.php?script_id=1643\">http:\/\/www.vim.org\/scripts\/script.php?script_id=1643<\/a>\u4e0b\u8f7d\u5b89\u88c5\u7248\u3002<\/span><\/p>\n<p style=\"color: #000000;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u8fd9\u4e2a\u5b89\u88c5\u5305\u8ddf\u5148\u524d\u7684\u51e0\u4e2aVim\u63d2\u4ef6\u4e0d\u540c\uff0c\u5b83\u662f\u4e00\u4e2avba\u6587\u4ef6\uff0c\u5373Vimball\u683c\u5f0f\u7684\u5b89\u88c5\u5305\uff0c<\/span><\/p>\n<p style=\"color: #000000;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u8fd9\u79cd\u683c\u5f0f\u5b89\u88c5\u5305\u63d0\u4f9b\u50bb\u74dc\u5f0f\u7684\u5b89\u88c5\u63d2\u4ef6\u7684\u65b9\u6cd5\u3002<\/span><\/p>\n<p style=\"color: #000000;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u00a0 \u00a0 \u00a0 \u00a01\uff09\u7528Vim\u6253\u5f00.vba\u5b89\u88c5\u5305\u6587\u4ef6\u3002<\/span><\/p>\n<p style=\"color: #000000;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u00a0 \u00a0 \u00a0 \u00a02\uff09\u5728Vim\u547d\u4ee4\u884c\u4e0b\u8fd0\u884c\u547d\u4ee4\u201cUseVimball ~\/.vim\u201d\u3002\u6b64\u547d\u4ee4\u5c06\u5b89\u88c5\u5305<\/span><\/p>\n<p style=\"color: #000000;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u89e3\u538b\u7f29\u5230~\/.vim\u76ee\u5f55\u3002<\/span><span style=\"font-family: '', 'Microsoft Yahei', '';font-size: medium\">VImball\u5b89\u88c5\u65b9\u5f0f\u7684\u4fbf\u5229\u4e4b\u5904\u5728\u4e8e\u4f60\u53ef\u4ee5\u5728\u4efb\u4f55\u76ee\u5f55<\/span><\/p>\n<p style=\"color: #000000;padding: 0px;margin: 0px\"><span style=\"font-family: '', 'Microsoft Yahei', '';font-size: medium\">\u6253\u5f00.vba\u5305\u5b89\u88c5\uff0c\u800c\u4e0d\u7528\u5207\u6362\u5230\u5b89\u88c5\u76ee\u7684\u5730\u76ee\u5f55\u3002<\/span><span style=\"font-family: '', 'Microsoft Yahei', '';font-size: medium\">\u800c\u4e14\u4e0d\u7528\u8fd0\u884chelptags<\/span><\/p>\n<p style=\"color: #000000;padding: 0px;margin: 0px\"><span style=\"font-family: '', 'Microsoft Yahei', '';font-size: medium\">\u547d\u4ee4\u5b89\u88c5\u5e2e\u52a9\u6587\u6863\u3002<\/span><\/p>\n<p style=\"color: #000000;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u00a0 \u00a0 \u00a0 \u00a03\uff09\u5728~\/.vimrc\u6587\u4ef6\u4e2d\u52a0\u5165\u4ee5\u4e0b\u8fd9\u884c\uff1a<\/span><\/p>\n<div class=\"dp-highlighter bg_html\" style=\"width: 1115px;margin-top: 18px !important;margin-right: 0px !important;margin-bottom: 18px !important;margin-left: 0px !important;padding-top: 1px;color: #000000\">\n<div class=\"bar\" style=\"padding-left: 45px\">\n<div class=\"tools\" style=\"padding-top: 3px;padding-right: 8px;padding-left: 10px;line-height: normal;color: silver;padding-bottom: 10px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><strong>[html]<\/strong>\u00a0<a class=\"ViewSource\" title=\"view plain\" href=\"http:\/\/blog.csdn.net\/duguteng\/article\/details\/7417264#\">view plain<\/a><a class=\"CopyToClipboard\" title=\"copy\" href=\"http:\/\/blog.csdn.net\/duguteng\/article\/details\/7417264#\">copy<\/a><a class=\"PrintSource\" title=\"print\" href=\"http:\/\/blog.csdn.net\/duguteng\/article\/details\/7417264#\">print<\/a><a class=\"About\" title=\"?\" href=\"http:\/\/blog.csdn.net\/duguteng\/article\/details\/7417264#\">?<\/a><\/span><\/div>\n<\/div>\n<ol class=\"dp-xml\" style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 1px !important;margin-left: 45px !important;border-color: initial;color: #5c5c5c;padding: 0px\" start=\"1\">\n<li class=\"alt\"><span style=\"border-color: initial;color: black;background-color: inherit;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><span style=\"border-color: initial;background-color: inherit;padding: 0px;margin: 0px\">let\u00a0<\/span><span class=\"attribute\" style=\"border-color: initial;color: red;background-color: inherit;padding: 0px;margin: 0px\">g:SuperTabDefaultCompletionType<\/span><span style=\"border-color: initial;background-color: inherit;padding: 0px;margin: 0px\">=<\/span><span class=\"attribute-value\" style=\"border-color: initial;color: blue;background-color: inherit;padding: 0px;margin: 0px\">&#8220;context&#8221;<\/span><span style=\"border-color: initial;background-color: inherit;padding: 0px;margin: 0px\">\u00a0\u00a0\u00a0<\/span><\/span><\/span><\/li>\n<\/ol>\n<\/div>\n<p><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><br \/>\n<span style=\"color: #000000\"><strong>\u300e\u57fa\u672c\u529f\u80fd\u4f7f\u7528\u65b9\u6cd5\u300f<\/strong><\/span><\/span><\/p>\n<p style=\"color: #000000;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">SuperTab\u4f7f\u7528\u5f88\u7b80\u5355\uff0c\u53ea\u8981\u5728\u8f93\u5165\u53d8\u91cf\u540d\u6216\u8def\u5f84\u540d\u7b49\u7b26\u53f7\u4e2d\u9014\u6309Tab\u952e\uff0c<\/span><\/p>\n<p style=\"color: #000000;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\">\u5c31\u80fd\u5f97\u5230\u4ee5\u524d\u8f93\u5165\u8fc7\u7684\u7b26\u53f7\u5217\u8868\uff0c\u5e76\u901a\u8fc7Tab\u952e\u5faa\u73af\u9009\u62e9\u3002<\/span><\/p>\n<p style=\"color: #000000;padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium\"><br \/>\n<\/span><\/p>\n<p style=\"padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium;color: #ff0000\">\u5982\u679c\u901a\u8fc7\u7ec8\u7aefssh\u8fde\u63a5\u670d\u52a1\u5668\u53ef\u80fd\u51fa\u73b0\u989c\u8272\u5c11\u7684\u95ee\u9898\uff0c\u89e3\u51b3\u65b9\u6cd5\u89c1<\/span><\/p>\n<p style=\"padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium;color: #ff0000\">secureCRT\u989c\u8272\u89e3\u51b3\u65b9\u6cd5\u3002<\/span><\/p>\n<p style=\"padding: 0px;margin: 0px\"><span style=\"font-family: ''Microsoft Yahei'';font-size: medium;color: #ff0000\"><br \/>\n<\/span><\/p>\n<p style=\"padding: 0px;margin: 0px\"><span style=\"background-color: orange;font-size: 22px;color: #000000\"><span style=\"font-family: ''Microsoft Yahei''\">16.\u4f7f\u7528<\/span><span><span style=\"font-family: ''Microsoft Yahei''\">omnicomplete\u63d2\u4ef6\u8fdb\u884cc++\u6807\u51c6\u5e93\u7684\u81ea\u52a8\u8865\u5168<\/span><\/span><\/span><\/p>\n<p style=\"padding: 0px;margin: 0px\"><span style=\"background-color: orange;font-size: 22px;color: #000000\"><span><span style=\"font-family: ''Microsoft Yahei''\">\uff08\u540c\u6837\u53ef\u4f7f\u7528\u8be5\u63d2\u4ef6\u5bf9\u5176\u4ed6\u5e93\u8fdb\u884c\u81ea\u52a8\u8865\u5168\uff09<\/span><\/span><\/span><\/p>\n<p style=\"color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">OmniComplete \u5e76\u4e0d\u662f\u63d2\u4ef6\u7684\u540d\u5b57\uff0c\u800c\u662f Vim \u4f17\u591a\u8865\u5168\u65b9\u5f0f\u4e2d\u7684\u4e00\u79cd\uff08\u5168\u80fd\u8865\u5168\uff09\u3002<\/p>\n<p style=\"color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\u8bf4\u767d\u4e86 OmniComplete \u5176\u5b9e\u5c31\u662f\u6839\u636e\u5149\u6807\u524d\u7684\u5185\u5bb9\u731c\u6d4b\u5149\u6807\u540e\u7684\u5185\u5bb9\uff0c\u5177\u4f53\u600e\u4e48\u731c\u53d6\u51b3\u4e8e\u6240\u91c7\u7528\u7684\u811a\u672c\u3002<\/p>\n<p style=\"color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\u800c OmniCppComplete \u5c31\u662f\u4e13\u4e3a C\/C++ \u7f16\u5199\u7684 OmniComplete \u4e00\u4e2a\u8865\u5168\u811a\u672c\u3002<\/p>\n<p style=\"color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\u90a3\u4e48\u7ecf\u5e38\u548c OmniCppComplete \u4e00\u8d77\u51fa\u6ca1\u7684 Ctags \u53c8\u662f\u4ec0\u4e48\u5462\uff1fCtags \u5168\u540d Exuberant Ctags\uff0c<\/p>\n<p style=\"color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\u662f\u4e00\u4e2a\u72ec\u7acb\u7684\u7a0b\u5e8f\uff08\u4e5f\u5c31\u662f\u8bf4\uff0c\u5176\u5b9e\u548c Vim \u4e00\u70b9\u5173\u7cfb\u90fd\u6ca1\u6709\uff09\u3002\u5b83\u53ef\u4ee5\u4e3a\u5404\u79cd\u8bed\u8a00\u7684\u6e90\u4ee3\u7801\u751f\u6210\u8bed\u8a00\u5143\u7d20<\/p>\n<p style=\"color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\uff08language object\uff09\u7d22\u5f15\u6587\u4ef6\u3002\u5bf9\u4e8e C\/C++ \u6765\u8bf4\uff0c\u5c31\u662f\u628a\u6e90\u4ee3\u7801\u4e2d\u7684\u5404\u79cd\u5b8f\u3001\u51fd\u6570\u3001\u7c7b\u3001\u7c7b\u6210\u5458\u7b49\u7b49\u5143\u7d20<\/p>\n<p style=\"color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\u548c\u5b83\u4eec\u7684\u76f8\u5173\u4fe1\u606f\u751f\u6210\u7d22\u5f15\u6587\u4ef6\uff0c\u4f9b\u5176\u5b83\u7a0b\u5e8f\u4f7f\u7528\u3002<\/p>\n<p style=\"color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">OmniCppComplete \u811a\u672c\u5c31\u662f\u6839\u636e Ctags \u751f\u6210\u7684\u7d22\u5f15\u6587\u4ef6\u8fdb\u884c\u8865\u5168\u7684\u3002<\/p>\n<p>\u597d\u4e86\uff0c\u80cc\u666f\u77e5\u8bc6\u5c31\u662f\u8fd9\u6837\uff0c\u5b89\u88c5\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<h3 style=\"color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 0.4em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\u5b89\u88c5 Ctags<\/h3>\n<ol style=\"color: #444444;margin-top: 0px;margin-right: 0px;margin-bottom: 1.5em;margin-left: 1em;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\n<li>\u4ece\u5b98\u7f51\u4e0b\u8f7d Ctags \u53ef\u6267\u884c\u6587\u4ef6\uff0c\u7f51\u7ad9\u662f\u00a0<a title=\"Exuberant Ctags\" href=\"http:\/\/ctags.sourceforge.net\/\" target=\"_blank\">http:\/\/ctags.sourceforge.net\/<\/a><\/li>\n<li>\u5c06\u4e0b\u8f7d\u5230\u7684\u6587\u4ef6\uff08\u4ec5 EXE \u6587\u4ef6\u5373\u53ef\uff09\u89e3\u538b\u5230\u4e00\u4e2a\u76ee\u5f55\uff0c\u4f8b\u5982 D:\/ctags<\/li>\n<li>\u5c06\u8be5\u76ee\u5f55\u52a0\u5165\u73af\u5883\u53d8\u91cf\u00a0<code>PATH<\/code><\/li>\n<\/ol>\n<h3 style=\"color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 0.4em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\u51c6\u5907\u7d22\u5f15\u6587\u4ef6<\/h3>\n<p style=\"color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\u4ee5\u751f\u6210 C++ \u6807\u51c6\u5e93\u7d22\u5f15\u6587\u4ef6\u4e3a\u4f8b\uff1a<\/p>\n<ol style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 1.5em;margin-left: 1em;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\n<li>\u4e0b\u8f7d\u4e13\u4e3a Ctags \u4fee\u6539\u8fc7\u7684\u00a0<a title=\"tags for std c++ (STL, streams, ...) - Modified libstdc++ headers for use with ctags : vim online\" href=\"http:\/\/www.vim.org\/scripts\/script.php?script_id=2358\" target=\"_blank\">libstdc++ \u5934\u6587\u4ef6<\/a><\/li>\n<li><span style=\"color: #444444\">\u5c06\u5176\u89e3\u538b\u5230\u4e00\u4e2a\u76ee\u5f55\uff0c\u4f8b\u5982 ~.vim\/cpp_src<\/span><span style=\"color: #ff0000\">(bunzip2,tar\u8fdb\u884c\u89e3\u538b)<\/span><\/li>\n<li>\u4f7f\u7528\u547d\u4ee4\u884c\u8fdb\u5165\u00a0 <span>~.vim\/cpp_src<\/span>\u00a0\u00a0\u540e\u6267\u884c\uff1a\n<pre><code style=\"border-style: initial;border-color: initial;vertical-align: baseline;background-color: initial;padding: 0px;margin: 0px\">ctags -R --c++-kinds=+p --fields=+iaS --extra=+q --language-force=C++ <\/code><\/pre>\n<\/li>\n<\/ol>\n<p><span style=\"background-color: transparent;color: #444444;font-family: 'Microsoft Yahei';font-size: large;line-height: 20px\">\u5efa\u8bae\u5c06\u4e0a\u4e00\u6b65\u751f\u6210\u7684\u00a0<\/span><span style=\"background-color: transparent;color: #444444;font-family: 'Microsoft Yahei';font-size: large;line-height: 20px\">~.vim\/cpp_src\/tags<\/span><span style=\"background-color: transparent;color: #444444;font-family: 'Microsoft Yahei';font-size: large;line-height: 20px\">\u00a0\u91cd\u547d\u540d\u4e3acpp<\/span><span style=\"background-color: transparent;color: #444444;font-family: 'Microsoft Yahei';font-size: large;line-height: 20px\">\u00a0\u6587\u4ef6\u653e\u5230\u4e00\u4e2a\u4e13\u95e8\u653e\u7f6e<\/span><\/p>\n<p><span style=\"background-color: transparent;color: #444444;font-family: 'Microsoft Yahei';font-size: large;line-height: 20px\">\u7d22<\/span><span style=\"background-color: transparent;color: #444444;font-family: 'Microsoft Yahei';font-size: large;line-height: 20px\">\u5f15\u6587\u4ef6\u7684\u76ee\u5f55\u4ee5\u4fbf\u540e\u9762\u7684\u7edf\u4e00\u8bbe\u7f6e\uff0c\u4f8b\u5982\u653e\u5230\u00a0<\/span><span style=\"background-color: transparent;color: #444444;font-family: 'Microsoft Yahei';font-size: large;line-height: 20px\">~.vim<\/span><span style=\"background-color: transparent;color: #444444;font-family: 'Microsoft Yahei';font-size: large;line-height: 20px\">\/tags<\/span><\/p>\n<p style=\"line-height: 20px;font-size: large;color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\u5176\u5b83\u5e93\u7684\u7d22\u5f15\u6587\u4ef6\u4e5f\u53ef\u4ee5\u4f9d\u6cd5\u70ae\u5236\uff0c\u53ea\u9700\u5207\u6362\u5230\u8be5\u5e93\u7684 include \u6587\u4ef6\u5939\uff0c\u6267\u884c\uff1a<\/p>\n<pre><code style=\"border-style: initial;border-color: initial;vertical-align: baseline;background-color: initial;padding: 0px;margin: 0px\">ctags -R --sort=yes --c++-kinds=+p --fields=+iaS --extra=+q --language-force=C++ -f &lt;\u6587\u4ef6\u540d&gt; .<\/code><\/pre>\n<h3 style=\"line-height: 20px;font-size: large;color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 0.4em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\u5b89\u88c5 OmniCppComplete<\/h3>\n<ol style=\"line-height: 20px;font-size: large;color: #444444;margin-top: 0px;margin-right: 0px;margin-bottom: 1.5em;margin-left: 1em;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\n<li>\u4e0b\u8f7d\u00a0<a title=\"OmniCppComplete - C\/C++ omni-completion with ctags database : vim online\" href=\"http:\/\/www.vim.org\/scripts\/script.php?script_id=1520\" target=\"_blank\">OmniCppComplete<\/a><\/li>\n<li>\u5c06\u4e0b\u8f7d\u5230\u7684\u6587\u4ef6\u89e3\u538b\u5230 Vim \u5b89\u88c5\u76ee\u5f55\u7684 vimfiles \u6587\u4ef6\u5939<\/li>\n<li>\u5728 vimrc \u6587\u4ef6\u4e2d\u52a0\u5165\n<pre><code style=\"border-style: initial;border-color: initial;vertical-align: baseline;background-color: initial;padding: 0px;margin: 0px\">\" ctags \u7d22\u5f15\u6587\u4ef6 (\u6839\u636e\u5df2\u7ecf\u751f\u6210\u7684\u7d22\u5f15\u6587\u4ef6\u6dfb\u52a0\u5373\u53ef,\u00a0<\/code><\/pre>\n<pre><code style=\"border-style: initial;border-color: initial;vertical-align: baseline;background-color: initial;padding: 0px;margin: 0px\">\u8fd9\u91cc\u6211\u989d\u5916\u6dfb\u52a0\u4e86 hge \u548c curl \u7684\u7d22\u5f15\u6587\u4ef6)\u00a0<\/code><\/pre>\n<pre><code style=\"border-style: initial;border-color: initial;vertical-align: baseline;background-color: initial;padding: 0px;margin: 0px\">set tags+=~.vim\/tags\/cpp \" OmniCppComplete\u00a0<\/code><\/pre>\n<pre><code style=\"border-style: initial;border-color: initial;vertical-align: baseline;background-color: initial;padding: 0px;margin: 0px\">let OmniCpp_NamespaceSearch = 1\u00a0<\/code><\/pre>\n<pre><code style=\"border-style: initial;border-color: initial;vertical-align: baseline;background-color: initial;padding: 0px;margin: 0px\">let OmniCpp_GlobalScopeSearch = 1\u00a0<\/code><\/pre>\n<pre><code style=\"border-style: initial;border-color: initial;vertical-align: baseline;background-color: initial;padding: 0px;margin: 0px\">let OmniCpp_ShowAccess = 1\u00a0<\/code><\/pre>\n<pre><code style=\"border-style: initial;border-color: initial;vertical-align: baseline;background-color: initial;padding: 0px;margin: 0px\">let OmniCpp_ShowPrototypeInAbbr = 1\u00a0<\/code><\/pre>\n<pre><code style=\"border-style: initial;border-color: initial;vertical-align: baseline;background-color: initial;padding: 0px;margin: 0px\">\" \u663e\u793a\u51fd\u6570\u53c2\u6570\u5217\u8868\u00a0<\/code><\/pre>\n<pre><code style=\"border-style: initial;border-color: initial;vertical-align: baseline;background-color: initial;padding: 0px;margin: 0px\">let OmniCpp_MayCompleteDot = 1 \u00a0\u00a0<\/code><\/pre>\n<pre><code style=\"border-style: initial;border-color: initial;vertical-align: baseline;background-color: initial;padding: 0px;margin: 0px\">\" \u8f93\u5165 . \u00a0\u540e\u81ea\u52a8\u8865\u5168\u00a0<\/code><\/pre>\n<pre><code style=\"border-style: initial;border-color: initial;vertical-align: baseline;background-color: initial;padding: 0px;margin: 0px\">let OmniCpp_MayCompleteArrow = 1\u00a0<\/code><\/pre>\n<pre><code style=\"border-style: initial;border-color: initial;vertical-align: baseline;background-color: initial;padding: 0px;margin: 0px\">\" \u8f93\u5165 -&gt; \u540e\u81ea\u52a8\u8865\u5168\u00a0<\/code><\/pre>\n<pre><code style=\"border-style: initial;border-color: initial;vertical-align: baseline;background-color: initial;padding: 0px;margin: 0px\">let OmniCpp_MayCompleteScope = 1\u00a0<\/code><\/pre>\n<pre><code style=\"border-style: initial;border-color: initial;vertical-align: baseline;background-color: initial;padding: 0px;margin: 0px\">\" \u8f93\u5165 :: \u540e\u81ea\u52a8\u8865\u5168\u00a0<\/code><\/pre>\n<pre><code style=\"border-style: initial;border-color: initial;vertical-align: baseline;background-color: initial;padding: 0px;margin: 0px\">let OmniCpp_DefaultNamespaces = [\"std\", \"_GLIBCXX_STD\"]\u00a0<\/code><\/pre>\n<pre><code style=\"border-style: initial;border-color: initial;vertical-align: baseline;background-color: initial;padding: 0px;margin: 0px\">\" \u81ea\u52a8\u5173\u95ed\u8865\u5168\u7a97\u53e3\u00a0<\/code><\/pre>\n<pre><code style=\"border-style: initial;border-color: initial;vertical-align: baseline;background-color: initial;padding: 0px;margin: 0px\">au CursorMovedI,InsertLeave * if pumvisible() == 0|silent! pclose|endif\u00a0<\/code><\/pre>\n<pre><code style=\"border-style: initial;border-color: initial;vertical-align: baseline;background-color: initial;padding: 0px;margin: 0px\">set completeopt=menuone,menu,longest<\/code><\/pre>\n<\/li>\n<\/ol>\n<p style=\"line-height: 20px;font-size: large;color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\u53e6\u5916\uff0c\u8fd8\u9700\u786e\u8ba4\u5728 vimrc \u4e2d\u5f00\u542f\u4e86\u00a0<code>filetype<\/code>\u00a0\u9009\u9879\uff0c\u4e0d\u7136 OmniComplete<\/p>\n<p style=\"line-height: 20px;font-size: large;color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\u65e0\u6cd5\u81ea\u52a8\u8bc6\u522b C\/C++ \u6587\u4ef6\u7c7b\u578b\u8fdb\u884c\u8865\u5168\u3002<\/p>\n<p style=\"line-height: 20px;font-size: large;color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\u8fd9\u6837\uff0c\u5728\u63d2\u5165\u6a21\u5f0f\u7f16\u8f91 C\/C++ \u6e90\u6587\u4ef6\u65f6\u6309\u4e0b\u00a0<code>.<\/code>\u00a0\u6216\u00a0<code>-&gt;<\/code>\u00a0\u6216\u00a0<code>::<\/code>\uff0c\u6216\u8005<\/p>\n<p style=\"line-height: 20px;font-size: large;color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\u624b\u52a8\u6309\u4e0b Ctrl+X Ctrl+O \u540e\u5c31\u4f1a\u5f39\u51fa\u81ea\u52a8\u8865\u5168\u7a97\u53e3\uff0c<\/p>\n<p style=\"line-height: 20px;font-size: large;color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\u6b64\u65f6\u53ef\u4ee5\u7528 Ctrl+N \u548c Ctrl+P \u4e0a\u4e0b\u79fb\u52a8\u5149\u6807\u8fdb\u884c\u9009\u62e9\u3002<\/p>\n<h3 style=\"line-height: 20px;font-size: large;color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 0.4em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\u7f8e\u5316\uff1f<\/h3>\n<p style=\"line-height: 20px;font-size: large;color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\u4e5f\u8bb8\u4f60\u4e5f\u5df2\u7ecf\u6ce8\u610f\u5230\u4e86\u4e00\u4e2a\u95ee\u9898\uff0c\u90a3\u5c31\u662f\u300c\u81ea\u52a8\u8865\u5168\u7a97\u53e3\u7684\u914d\u8272\u975e\u5e38\u4e4b\u4e11\u300d\uff0c<\/p>\n<p style=\"line-height: 20px;font-size: large;color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">Vim \u81ea\u5e26\u7684\u51e0\u4e2a\u914d\u8272\u65b9\u6848\u4e2d\u53ea\u6709\u4e24\u4e09\u79cd\u914d\u8272\u6539\u6389\u4e86\u81ea\u52a8\u8865\u5168\u7a97\u53e3\u4e11\u964b\u7684\u7d2b\u8272\uff0c<\/p>\n<p style=\"line-height: 20px;font-size: large;color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\u5176\u5b83\u7684\u57fa\u672c\u4e0a\u90fd\u662f\u5f88\u9006\u5929\u7684\u7528\u7070\u8272\u8868\u793a\u5f53\u524d\u9009\u4e2d\u9879\u3001\u7d2b\u8272\u8868\u793a\u5176\u4ed6\u9879\u3002<\/p>\n<p style=\"line-height: 20px;font-size: large;color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\u8981\u6539\u53d8\u81ea\u52a8\u8865\u5168\u7a97\u53e3\u7684\u914d\u8272\u53ef\u4ee5\u5728 vimrc \u4e2d\u52a0\u4e0a\uff1a<\/p>\n<pre><code style=\"border-style: initial;border-color: initial;vertical-align: baseline;background-color: initial;padding: 0px;margin: 0px\">highlight Pmenu guibg=darkgrey \u00a0guifg=black highlight PmenuSel guibg=lightgrey guifg=black<\/code><\/pre>\n<p style=\"line-height: 20px;font-size: large;color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\"><code>Pmenu<\/code>\u00a0\u662f\u6240\u6709\u9879\u7684\u914d\u8272\uff0c<code>PmenuSel<\/code>\u00a0\u662f\u9009\u4e2d\u9879\u7684\u914d\u8272\uff0c<code>guibg<\/code>\u00a0\u548c\u00a0<code>guifg<\/code><\/p>\n<p style=\"line-height: 20px;font-size: large;color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;background-color: transparent;padding: 0px\">\u5206\u522b\u5bf9\u5e94\u80cc\u666f\u8272\u548c\u524d\u666f\u8272\u3002<\/p>\n<p style=\"line-height: 20px;color: #444444;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"font-size: 22px;background-color: orange\">17. C++\u81ea\u52a8\u7f29\u8fdb<\/span><\/p>\n<p style=\"font-size: large;background-color: transparent;line-height: 20px;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\">set autoindent<\/p>\n<p style=\"font-size: large;background-color: transparent;line-height: 20px;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\">&#8220;C\/C++\u81ea\u52a8\u7f29\u8fdb<\/p>\n<p style=\"font-size: large;background-color: transparent;line-height: 20px;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\">set tabstop=4<\/p>\n<p style=\"font-size: large;background-color: transparent;line-height: 20px;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\">set softtabstop=4<\/p>\n<p style=\"font-size: large;background-color: transparent;line-height: 20px;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\">set shiftwidth=4<\/p>\n<p style=\"font-size: large;background-color: transparent;line-height: 20px;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\">set cindent<\/p>\n<p style=\"font-size: large;background-color: transparent;line-height: 20px;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\">set cinoptions={0,1s,t0,n-2,p2s,(03s,=.5s,&gt;1s,=1s,:1s<\/p>\n<p style=\"line-height: 20px;margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"font-size: 22px;background-color: orange\">18. \u62ec\u53f7\u81ea\u52a8\u8865\u5168<\/span><\/p>\n<p style=\"margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"line-height: 20px\">&#8220;\u62ec\u53f7\u81ea\u52a8\u8865\u5168<\/span><\/p>\n<p style=\"margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"line-height: 20px\">:inoremap ( ()&lt;ESC&gt;i<\/span><\/p>\n<p style=\"margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"line-height: 20px\">&#8220;:inoremap ) &lt;c-r&gt;=ClosePair(&#8216;)&#8217;)&lt;CR&gt;<\/span><\/p>\n<p style=\"margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"line-height: 20px\">:inoremap ) &lt;ESC&gt;la<\/span><\/p>\n<p style=\"margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"line-height: 20px\">:inoremap { {}&lt;ESC&gt;i&lt;CR&gt;&lt;ESC&gt;O<\/span><\/p>\n<p style=\"margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"line-height: 20px\">&#8220;:inoremap } &lt;c-r&gt;=ClosePair(&#8216;}&#8217;)&lt;CR&gt;<\/span><\/p>\n<p style=\"margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"line-height: 20px\">:inoremap } &lt;ESC&gt;jo<\/span><\/p>\n<p style=\"margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"line-height: 20px\">:inoremap [ []&lt;ESC&gt;i<\/span><\/p>\n<p style=\"margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"line-height: 20px\">:inoremap ] &lt;ESC&gt;la<\/span><\/p>\n<p style=\"margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"line-height: 20px\">&#8220;:inoremap ] &lt;c-r&gt;=ClosePair(&#8216;]&#8217;)&lt;CR&gt;<\/span><\/p>\n<p style=\"margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"line-height: 20px\">:inoremap &lt; &lt;&gt;&lt;ESC&gt;i<\/span><\/p>\n<p style=\"margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"line-height: 20px\">&#8220;:inoremap &gt; &lt;ESC&gt;la<\/span><\/p>\n<p style=\"margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"line-height: 20px\">:inoremap &gt; &lt;c-r&gt;=ClosePair(&#8216;&gt;&#8217;)&lt;CR&gt;<\/span><\/p>\n<p style=\"margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"line-height: 20px\"><br \/>\n<\/span><\/p>\n<p style=\"margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"line-height: 20px\">function ClosePair(char)<\/span><\/p>\n<p style=\"margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"line-height: 20px\">if getline(&#8216;.&#8217;)[col(&#8216;.&#8217;) &#8211; 1] == a:char<\/span><\/p>\n<p style=\"margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"line-height: 20px\">return &#8220;\/&lt;RIGHT&gt;&#8221;<\/span><\/p>\n<p style=\"margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"line-height: 20px\">else<\/span><\/p>\n<p style=\"margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"line-height: 20px\">return a:char<\/span><\/p>\n<p style=\"margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"line-height: 20px\">endif<\/span><\/p>\n<p style=\"margin-top: 1.2em;margin-right: 0px;margin-bottom: 1.2em;margin-left: 0px;border-style: initial;border-color: initial;vertical-align: baseline;padding: 0px\"><span style=\"line-height: 20px\">endf<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; 1.\u5199\u5728\u524d\u9762 \u6211\u7684\u5de5\u4f5c\u73af\u5883\u662f:Fedora release 12\u548cUbuntu 11.10\u00a0 &#038; [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/www.icnlab.cn\/index.php?rest_route=\/wp\/v2\/posts\/893"}],"collection":[{"href":"https:\/\/www.icnlab.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.icnlab.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.icnlab.cn\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.icnlab.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=893"}],"version-history":[{"count":9,"href":"https:\/\/www.icnlab.cn\/index.php?rest_route=\/wp\/v2\/posts\/893\/revisions"}],"predecessor-version":[{"id":895,"href":"https:\/\/www.icnlab.cn\/index.php?rest_route=\/wp\/v2\/posts\/893\/revisions\/895"}],"wp:attachment":[{"href":"https:\/\/www.icnlab.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=893"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.icnlab.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=893"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.icnlab.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}