{"id":1900,"date":"2012-07-22T15:25:00","date_gmt":"2012-07-22T07:25:00","guid":{"rendered":""},"modified":"2013-11-22T09:10:23","modified_gmt":"2013-11-22T01:10:23","slug":"%e7%94%a8vundle%e7%ae%a1%e7%90%86vim%e6%8f%92%e4%bb%b6","status":"publish","type":"post","link":"https:\/\/kyle.ai\/blog\/1900.html","title":{"rendered":"\u7528Vundle\u7ba1\u7406Vim\u63d2\u4ef6"},"content":{"rendered":"<p>\u4e00\u76f4\u4ee5\u6765, \u7ba1\u7406Vim\u63d2\u4ef6\u5bf9\u6211\u6765\u8bf4\u90fd\u662f\u4e2a\u56f0\u6270, \u5b89\u88c5, \u66f4\u65b0\u548c\u5378\u8f7d, \u4e00\u4e2a\u6bd4\u4e00\u4e2a\u9ebb\u70e6. \u6211\u4e5f\u5c1d\u8bd5\u8fc7\u5f88\u591a\u63d2\u4ef6\u7ba1\u7406\u5de5\u5177, \u4f46\u662f\u90fd\u4e0d\u5982\u610f, \u76f4\u81f3\u9047\u5230\u4e86<a href=\"https:\/\/github.com\/gmarik\/vundle\">Vundle<\/a>.<\/p>\n<div>\n<p>Vundle\u5229\u7528git, \u63d2\u4ef6\u7684git repo\u4ee5\u53ca<a href=\"http:\/\/vim-scripts.org\/\">vim-scripts<\/a>\u7ef4\u62a4\u7684<a href=\"https:\/\/github.com\/vim-scripts\">GitHub repo<\/a>, \u81ea\u52a8\u5b89\u88c5, \u66f4\u65b0\u548c\u5378\u8f7d\u63d2\u4ef6. \u5b83\u628a\u8fd9\u4e9b\u7e41\u6742\u7684\u5de5\u4f5c\u53d8\u5f97\u7b80\u5355, \u751a\u81f3, \u6210\u4e3a\u4e00\u79cd\u4eab\u53d7.<\/p>\n<p>Vundle\u7684\u5b89\u88c5\u540c\u6837\u65b9\u4fbf, \u53ea\u9700\u8981\u6267\u884c:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ngit clone http:\/\/github.com\/gmarik\/vundle.git ~\/.vim\/bundle\/vundle\r\n<\/pre>\n<p>\u7136\u540e\u5c06\u4e0b\u5217\u4ee3\u7801\u52a0\u5165vimrc\u4e2d\u5373\u53ef. (\u63d2\u4ef6\u540d\u5b57\u7531git repo\u51b3\u5b9a, \u53ef\u4ee5\u5728<a href=\"http:\/\/vim-scripts.org\/vim\/scripts.html\">http:\/\/vim-scripts.org\/vim\/scripts.html<\/a>\u9875\u9762\u4e2d\u67e5\u627e)<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nset nocompatible &quot; be iMprovedfil\r\netype off &quot; required!\r\nset rtp+=~\/.vim\/bundle\/vundle\/\r\ncall vundle#rc()\r\n&quot; let Vundle manage Vundle\r\n&quot; required!\r\nBundle 'gmarik\/vundle'\r\n&quot; vim-scripts repos\r\nBundle 'vim-plugin-foo'\r\nBundle 'vim-plugin-bar'\r\nfiletype plugin indent on &quot; required!\r\n<\/pre>\n<p>\u7136\u540e, \u5b89\u88c5\u63d2\u4ef6:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n:BundleInstall\r\n<\/pre>\n<p>\u66f4\u65b0\u63d2\u4ef6:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n:BundleInstall!\r\n<\/pre>\n<p>\u5378\u8f7d\u4e0d\u5728\u5217\u8868\u4e2d\u7684\u63d2\u4ef6:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n:BundleClean\r\n<\/pre>\n<p>\u5c31\u662f\u8fd9\u4e48\u7b80\u5355, \u65b9\u4fbf. Enjoy it!<\/p>\n<p>Bundle \u652f\u6301\u7684\u683c\u5f0f\u6709\u4e09\u79cd\uff1a<\/p>\n<ol>\n<li>\u7b2c\u4e00\u79cd\u662f\u4e00\u4e2a\u666e\u901a\u7684\u5b57\u7b26\u4e32\uff0c\u5c31\u662f vim \u63d2\u4ef6\u9875\u9762\u91cc\u5de6\u4e0a\u89d2\u7684\u63d2\u4ef6\u540d\u5b57\uff0c\u5982\u679c\u63d2\u4ef6\u540d\u6709\u7a7a\u683c\uff0c\u4f7f\u7528 &#8211; \u66ff\u6362\u3002<\/li>\n<li>\u7b2c\u4e8c\u79cd\u662fgithub\u5e10\u53f7\/\u9879\u76ee\u540d\u3002<\/li>\n<li>\u7b2c\u4e09\u79cd\u5c31\u662fgit repository<\/li>\n<\/ol>\n<p>\u5b89\u88c5\u65b0\u7684Bundle\u63d2\u4ef6\uff0c\u76f4\u63a5\u5728vimrc\u4e2d\u52a0\u5165\uff1a<\/p>\n<p>Bundle &#8216;rosenfeld\/conque-term&#8217;<\/p>\n<p>\u5373\u52a0\u5165\u00a0<a href=\"https:\/\/github.com\/rosenfeld\/conque-term\">https:\/\/github.com\/rosenfeld\/conque-term<\/a>\u00a0 \u63d2\u4ef6<\/p>\n<p>\u7136\u540e\u5728VIM\u4e2d\u8f93\u5165\u547d\u4ee4 \u00a0:BundleInstall \u5c31\u53ef\u5b89\u88c5\u65b0\u7684\u63d2\u4ef6\u3002<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u76f4\u4ee5\u6765, \u7ba1\u7406Vim\u63d2\u4ef6\u5bf9\u6211\u6765\u8bf4\u90fd\u662f\u4e2a\u56f0\u6270, \u5b89\u88c5, \u66f4\u65b0\u548c\u5378\u8f7d, \u4e00\u4e2a\u6bd4\u4e00\u4e2a\u9ebb\u70e6. \u6211\u4e5f\u5c1d\u8bd5\u8fc7\u5f88\u591a\u63d2\u4ef6\u7ba1\u7406 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1900","post","type-post","status-publish","format-standard","hentry","category-skill"],"_links":{"self":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts\/1900","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/comments?post=1900"}],"version-history":[{"count":2,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts\/1900\/revisions"}],"predecessor-version":[{"id":5023,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts\/1900\/revisions\/5023"}],"wp:attachment":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/media?parent=1900"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/categories?post=1900"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/tags?post=1900"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}