{"id":38502,"date":"2023-01-22T21:36:20","date_gmt":"2023-01-22T13:36:20","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=38502"},"modified":"2023-01-22T21:36:37","modified_gmt":"2023-01-22T13:36:37","slug":"vim-plug-in-developers01","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/vim-plug-in-developers01.html","title":{"rendered":"\u5b9e\u7528\uff01\u5f00\u53d1\u8005\u7684 Vim \u63d2\u4ef6\uff08\u4e00\uff09"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u4f5c\u4e3a Vi \u7684\u5347\u7ea7\u7248\uff0cVim \u6beb\u65e0\u4e89\u8bae\u662f Linux \u4e2d\u6700\u53d7\u6b22\u8fce\u7684\u547d\u4ee4\u884c\u7f16\u8f91\u5668\u4e4b\u4e00\u3002\u9664\u4e86\u662f\u4e00\u4e2a\u591a\u529f\u80fd\u7f16\u8f91\u5668\u5916\uff0c\u4e16\u754c\u5404\u5730\u7684\u8f6f\u4ef6\u5f00\u53d1\u8005\u5c06 Vim \u5f53\u505a IDE(\u96c6\u6210\u5f00\u53d1\u73af\u5883Integrated Development Environment)\u6765\u4f7f\u7528\u3002\u4e8b\u5b9e\u4e0a\uff0c\u56e0\u4e3a Vim \u53ef\u4ee5\u901a\u8fc7\u63d2\u4ef6\u6765\u6269\u5c55\u5176\u81ea\u8eab\u529f\u80fd\u624d\u4f7f\u5f97\u5b83\u5982\u6b64\u529f\u80fd\u5f3a\u5927\u3002\u4e0d\u7528\u8bf4\uff0c\u80af\u5b9a\u6709\u90a3\u4e48\u51e0\u4e2a Vim \u63d2\u4ef6\u662f\u65e8\u5728\u63d0\u9ad8\u7528\u6237\u7684\u7f16\u7a0b\u4f53\u9a8c\u7684\u3002\u7279\u522b\u662f\u5bf9\u4e8e\u521a\u521a\u4f7f\u7528 Vim \u6216\u8005\u4f7f\u7528 Vim \u505a\u5f00\u53d1\u7684\u7684\u8f6f\u4ef6\u5f00\u53d1\u8005\u6765\u8bf4\uff0c\u6211\u4eec\u5c06\u5728\u672c\u6559\u7a0b\u4e2d\u8ba8\u8bba\u4e00\u4e9b\u975e\u5e38\u6709\u7528\u7684 Vim \u63d2\u4ef6\uff0c\u5177\u4f53\u8bf7\u770b\u4f8b\u793a\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u8bf7\u6ce8\u610f\uff1a\u672c\u6559\u7a0b\u4e2d\u5217\u4e3e\u7684\u6240\u6709\u4f8b\u793a\u3001\u547d\u4ee4\u548c\u8bf4\u660e\u90fd\u662f\u5728 Ubuntu 16.04 \u73af\u5883\u4e0b\u8fdb\u884c\u6d4b\u8bd5\u7684\uff0c\u5e76\u4e14\uff0c\u6211\u4eec\u4f7f\u7528\u7684 Vim \u7248\u672c\u662f 7.4\u3002<\/p>\n \u63d2\u4ef6\u5b89\u88c5\u8bbe\u7f6e<\/strong><\/div>\n \u8fd9\u662f\u4e3a\u65b0\u7528\u6237\u51c6\u5907\u7684\uff0c\u5047\u8bbe\u4ed6\u4eec\u4e0d\u77e5\u9053\u5982\u4f55\u5b89\u88c5 Vim \u63d2\u4ef6\u3002\u6240\u4ee5\uff0c\u9996\u5148\uff0c\u5c31\u662f\u7ed9\u51fa\u4e00\u4e9b\u5b8c\u6210\u5b89\u88c5\u8bbe\u7f6e\u7684\u6b65\u9aa4\u3002<\/p>\n \u5728\u4f60\u7684\u5bb6\u76ee\u5f55\u4e0b\u521b\u5efa\".vim\"\u76ee\u5f55\uff0c\u5e76\u5728\u5176\u4e2d\u521b\u5efa\u5b50\u76ee\u5f55\"autoload\"\u548c\"bundle\"\u3002<\/p>\n \u7136\u540e\u5728\"autoload\"\u653e\u7f6e\"pathogen.vim\"\u6587\u4ef6\uff0c\u8fd9\u4e2a\u6587\u4ef6\u53ef\u4ee5\u4ece\"https:\/\/raw.githubusercontent.com\/tpope\/vim-pathogen\/master\/autoload\/pathogen.vim\"\u6b64\u5904\u4e0b\u8f7d\u3002<\/p>\n \u6700\u540e\u5728\u4f60\u7684\u5bb6\u76ee\u5f55\u521b\u5efa\".vimrc\"\u6587\u4ef6\uff0c\u5e76\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9\u3002<\/p>\n 1. call\u00a0pathogen#infect()<\/pre>\n |