{"id":1139,"date":"2011-11-24T12:14:00","date_gmt":"2011-11-24T04:14:00","guid":{"rendered":"\/?p=1139"},"modified":"2011-11-24T12:14:00","modified_gmt":"2011-11-24T12:14:00","slug":"1139","status":"publish","type":"post","link":"https:\/\/blog.vimge.com\/archives\/other\/1139.html","title":{"rendered":"XP\u4e0b\u5b89\u88c5VIM\u4e2d\u6587\u5e2e\u52a9\u624b\u518c\u540e\u4e71\u7801\u95ee\u9898"},"content":{"rendered":"

VIM\u4e2d\u6587\u7248\u9879\u76ee\u5730\u5740\uff1ahttp:\/\/sourceforge.net\/projects\/vimcdoc\/files\/<\/a><\/p>\n

\u5b89\u88c5\u5b8c\u540e\u51fa\u73b0\u83dc\u5355\u4e71\u7801\uff08\u6211\u7684\u7248\u672c\u662fgvim7.2\uff09<\/p>\n

<\/span><\/p>\n

\u65b9\u6cd51\u662f\u7f51\u53cbHawly<\/a>\u5206\u4eab\uff0c\u7ecf\u9a8c\u8bc1\u53ea\u5bf9\u4ece\u7a0b\u5e8f\u83dc\u5355\u4e2d\u6216\u6587\u4ef6\u53f3\u952e\u542f\u52a8VIM\u6709\u6548\u3002\u5bf9\u4e8e\u4ece\u547d\u4ee4\u884c\u542f\u52a8VIM\u7684\u7ae5\u978b\u53ef\u4ee5\u8bd5\u8bd5\u65b9\u6cd52<\/p>\n

\u65b9\u6cd51\uff1a<\/b><\/p>\n

\u5728\u4f60\u7684\u5b89\u88c5\u76ee\u5f55\u4e0b\uff08\u5728\u672c\u6587\u7686\u7528Home\u8868\u793a\uff0c\u6bd4\u5982\u6211\u628avim\u5b89\u88c5\u5728\u4e86C:\\Program Files\u4e0b\uff0c\u5219Home\\vim\u4ee3\u8868C:\\Program Files\\Vim\uff09\uff0c\u5373Home\\vim\u4e0b\u627e\u5230_vimrc,\u7528\u8bb0\u4e8b\u672c\u6253\u5f00\uff08\u9274\u4e8e\u4f60\u8fd8\u4e0d\u719f\u6089vim\uff0c\u8fd9\u513f\u6743\u4e14\u7528\u8bb0\u4e8b\u672c\uff0c\u5f53\u4f60\u719f\u6089vim\u4e4b\u540e\uff0c\u5c31\u53ef\u4ee5\u7528vim\u7f16\u8f91\u4e86\uff09\u6309\u5982\u4e0b\u6b65\u9aa4\u4fee\u6539\uff1a<\/p>\n

\u5c06\u4e00\u4e0b\u4ee3\u7801\u590d\u5236\u5230_vimrc\u4e2d\uff0c\u4fdd\u5b58\u9000\u51fa\uff0c\u518d\u91cd\u65b0\u6253\u5f00\uff0c\u600e\u4e48\u6837\uff0c\u83dc\u5355\u680f\u6b63\u786e\u663e\u793a\u4e86\u5427\u3002<\/p>\n

""""""""""""""""""""""""""""""""<\/span><\/em><\/p>\n

"\u89e3\u51b3\u4e2d\u6587\u4e71\u7801\u95ee\u9898<\/span><\/em><\/p>\n

set fenc=chinese<\/span><\/em><\/p>\n

 "\u5904\u7406\u6587\u672c\u4e2d\u663e\u793a\u4e71\u7801<\/span><\/em><\/p>\n

 set encoding=utf-8
<\/span><\/em> set fileencodings=utf-8,chinese,latin-1<\/span><\/em><\/p>\n

 if has("win32")<\/span><\/em><\/p>\n

 set fileencoding=chinese<\/span><\/em><\/p>\n

 else<\/span><\/em><\/p>\n

 set fileencoding=utf-8<\/span><\/em><\/p>\n

endif<\/span><\/em><\/p>\n

 "\u5904\u7406\u83dc\u5355\u53ca\u53f3\u952e\u83dc\u5355\u4e71\u7801<\/span><\/em><\/p>\n

 source $VIMRUNTIME\/delmenu.vim<\/span><\/em><\/p>\n

 source $VIMRUNTIME\/menu.vim<\/span><\/em><\/p>\n

   <\/span><\/em><\/p>\n

"\u5904\u7406consle\u8f93\u51fa\u4e71\u7801<\/span><\/em><\/p>\n

 language messages zh_CN.utf-8<\/span><\/em><\/p>\n

"\u4e2d\u6587\u4e71\u7801\u7ed3\u675f<\/span><\/em><\/p>\n

"""""""""""""""""""""""""""""""""""""""""""""""<\/span><\/em><\/p>\n

\u6ce8\uff1a"\u540e\u7684\u4e1c\u897f\u662f\u6ce8\u91ca\uff0c\u5982\u679c\u4f60\u5b66\u8fc7c++\u8bed\u8a00\uff0c\u8fd9\u513f\u7684"\u5c31\u7c7b\u4f3c\u4e8e\/\/\u3002<\/p>\n

 <\/p>\n

\u65b9\u6cd52\uff1a<\/b><\/p>\n

\u91c7\u7528\u547d\u4ee4\u884c\u65b9\u5f0f\u542f\u52a8VIM(\u5c06VIM\u5b89\u88c5\u8def\u5f84\u52a0\u5165XP\u7684$PATH\u73af\u5883\u53d8\u91cf\u4e2d\uff0c\u53ef\u5b9e\u73b0CMD\u4e0b\u8f93\u5165vim\u542f\u52a8gvim)\u7684\u7ae5\u978b\u89e3\u51b3\u4e71\u7801\u95ee\u9898\u65b9\u6cd5\u5982\u4e0b<\/p>\n<\/p>\n

VIM\u4e2d\u6587\u5e2e\u52a9\u4f1a\u9ed8\u8ba4\u5b89\u88c5\u4e00\u4e2a\u5168\u5c40\u63d2\u4ef6vim\\vimfiles\\plugin\\vimcdoc.vim<\/p>\n

\u91cc\u9762\u6709\u4e2a\u8bed\u8a00\u8bbe\u7f6eset encoding=utf-8\uff0c\u56e0\u4e3awindows \u4f7f\u7528GBK\u5b57\u7b26\u96c6\uff0c\u6240\u4ee5\u4e71\u7801\u4e86\uff0c\u6ce8\u91ca\u8fd9\u4e2a\u9009\u9879\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n

<\/span><\/p>\n

 <\/p>\n

\u597d\u4e86\uff0c\u770b\u4e00\u4e0b\u6700\u7ec8\u6548\u679c\u5427\uff1a<\/p>\n

<\/span><\/p>\n<\/p>\n

 <\/p><\/p>\n","protected":false},"excerpt":{"rendered":"

VIM\u4e2d\u6587\u7248\u9879\u76ee\u5730\u5740\uff1ahttp:\/\/sourceforge.net\/projects\/vimcdoc\/files\/<\/a><\/p>\n

\u5b89\u88c5\u5b8c\u540e\u51fa\u73b0\u83dc\u5355\u4e71\u7801\uff08\u6211\u7684\u7248\u672c\u662fgvim7.2\uff09<\/p>\n

<\/span><\/p>\n

\u65b9\u6cd51\u662f\u7f51\u53cbHawly<\/a>\u5206\u4eab\uff0c\u7ecf\u9a8c\u8bc1\u53ea\u5bf9<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/posts\/1139"}],"collection":[{"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/comments?post=1139"}],"version-history":[{"count":0,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/posts\/1139\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/media?parent=1139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/categories?post=1139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/tags?post=1139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}