{"id":25509,"date":"2022-12-16T21:50:01","date_gmt":"2022-12-16T13:50:01","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=25509"},"modified":"2022-12-16T21:50:47","modified_gmt":"2022-12-16T13:50:47","slug":"vim-five-skills","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/vim-five-skills.html","title":{"rendered":"Vim\u7f16\u8f91\u5668\u8fd0\u7528\u7684\u4e94\u4e2a\u6280\u5de7"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u5982\u4eca Vim \u662f\u6bcf\u4e2a\u4eba\u6700\u559c\u6b22\u7684 Linux \u6587\u672c\u7f16\u8f91\u5668\uff0c\u4e5f\u662f\u5f00\u53d1\u8005\u548c\u7cfb\u7edf\u7ba1\u7406\u8005\u6700\u559c\u7231\u7684\u5f00\u6e90\u5de5\u5177\u3002\u5927\u591a\u6570\u4eba\u53ea\u662f\u719f\u6089Vim\u7684\u6700\u6700\u57fa\u672c\u7684\u64cd\u4f5c\uff0c\u53ea\u80fd\u5728\u7ec8\u7aef\u4f7f\u7528 Vim \u4fee\u6539\u6587\u672c\uff0c\u4f46\u662f\u5b83\u5e76\u6ca1\u6709\u4efb\u4f55\u4e00\u4e2a\u6211\u60f3\u8c61\u4e2d\u5f3a\u5927\u7684\u6587\u672c\u5904\u7406\u529f\u80fd\u3002\u540c\u6837\u65e0\u6cd5\u7528 Vim \u53d1\u6325\u51fa\u80dc\u51fa Pico \u548c Nano \u7684\u80fd\u529b\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"0_1304681529hhji\"<\/p>\n

\u6211\u4f7f\u7528\u4e86\u8fd9\u4e48\u591a\u5e74\u7684 Linux \uff0c\u6211\u4f1a\u7684\u4e5f\u4ec5\u4ec5\u53ea\u662f\u6253\u5f00\u4e00\u4e2a\u6587\u4ef6\uff0c\u4f7f\u7528\u4e0a\u4e0b\u5de6\u53f3\u7bad\u5934\u6309\u952e\u6765\u79fb\u52a8\u5149\u6807\uff0c\u5207\u6362\u5230\u63d2\u5165\u6a21\u5f0f\uff0c\u66f4\u6539\u4e00\u4e9b\u6587\u672c\uff0c\u4fdd\u5b58\uff0c\u7136\u540e\u9000\u51fa\u3002\u4f46\u90a3\u53ea\u662f Vim \u7684\u6700\u6700\u57fa\u672c\u7684\u64cd\u4f5c\u3002<\/p>\n

\u6240\u4ee5\u5230\u5e95\u4e3a\u4ec0\u4e48\u8981\u5b66\u4e60 Vim\uff1f\u56e0\u4e3a\u6211\u82b1\u8d39\u4e86\u76f8\u5f53\u591a\u7684\u65f6\u95f4\u7528\u4e8e\u7f16\u8f91\u6587\u672c\uff0c\u800c\u4e14\u6211\u77e5\u9053\u8fd8\u6709\u5f88\u5927\u7684\u6548\u7387\u63d0\u5347\u7a7a\u95f4\u3002\u4e3a\u4ec0\u4e48\u4e0d\u9009\u62e9 Emacs\uff0c\u6216\u8005\u662f\u66f4\u4e3a\u73b0\u4ee3\u5316\u7684\u7f16\u8f91\u5668\u4f8b\u5982 Atom\uff1f\u56e0\u4e3a Vim \u9002\u5408\u6211\uff0c\u81f3\u5c11\u6211\u6709\u4e00\u4e01\u70b9\u7684\u4f7f\u7528\u7ecf\u9a8c\u3002\u800c\u4e14\uff0c\u5f88\u91cd\u8981\u7684\u4e00\u70b9\u5c31\u662f\uff0c\u5728\u6211\u9700\u8981\u5904\u7406\u7684\u7cfb\u7edf\u4e0a\u5f88\u5c11\u78b0\u89c1\u6ca1\u6709\u88c5 Vim \u6216\u8005\u5b83\u7684\u5f31\u5316\u7248\uff08Vi\uff09\u3002\u5982\u679c\u4f60\u6709\u5f3a\u70c8\u7684\u6b32\u671b\u60f3\u5b66\u4e60\u5bf9\u4f60\u6765\u8bf4\u66f4\u7ed9\u529b\u7684 Emacs\uff0c\u6211\u5e0c\u671b\u8fd9\u4e9b\u5bf9\u4e8e Emacs \u540c\u7c7b\u7f16\u8f91\u5668\u7684\u5efa\u8bae\u80fd\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\u3002<\/p>\n

\u82b1\u4e86\u51e0\u5468\u7684\u65f6\u95f4\u4e13\u6ce8\u63d0\u9ad8\u6211\u7684 Vim \u4f7f\u7528\u6280\u5de7\u4e4b\u540e\uff0c\u6211\u60f3\u5206\u4eab\u7684\u7b2c\u4e00\u4e2a\u5efa\u8bae\u5c31\u662f\u5fc5\u987b\u4f7f\u7528\u5b83\u3002\u867d\u7136\u8fd9\u770b\u8d77\u6765\u5c31\u662f\u660e\u77e5\u6545\u95ee\u7684\u56de\u7b54\uff0c\u4f46\u4e8b\u5b9e\u4e0a\u5b83\u6bd4\u6211\u6240\u9884\u60f3\u7684\u8ba1\u5212\u8981\u56f0\u96be\u4e00\u4e9b\u3002\u6211\u7684\u5927\u591a\u6570\u5de5\u4f5c\u662f\u5728\u7f51\u9875\u6d4f\u89c8\u5668\u4e0a\u8fdb\u884c\u7684\uff0c\u800c\u4e14\u6bcf\u6b21\u6211\u9700\u8981\u5728\u6d4f\u89c8\u5668\u4e4b\u5916\u6253\u5f00\u5e76\u7f16\u8f91\u4e00\u6bb5\u6587\u672c\u65f6\uff0c\u5c31\u9700\u8981\u907f\u514d\u4e0b\u610f\u8bc6\u5730\u6253\u5f00 Gedit\u3002Gedit \u5df2\u7ecf\u653e\u5728\u4e86\u6211\u7684\u5feb\u901f\u542f\u52a8\u680f\u4e2d\uff0c\u6240\u4ee5\u7b2c\u4e00\u6b65\u5c31\u662f\u79fb\u9664\u8fd9\u4e2a\u5feb\u6377\u65b9\u5f0f\uff0c\u7136\u540e\u66ff\u6362\u6210 Vim \u7684\u3002<\/p>\n

\u4e3a\u4e86\u66f4\u597d\u7684\u5b66\u4e60 Vim\uff0c\u6211\u5c1d\u8bd5\u4e86\u5f88\u591a\u3002\u5982\u679c\u4f60\u4e5f\u6b63\u60f3\u5b66\u4e60\uff0c\u4ee5\u4e0b\u5217\u4e3e\u4e86\u4e00\u4e9b\u4f5c\u4e3a\u63a8\u8350\u3002<\/p>\n

Vimtutor<\/strong><\/div>\n

\u901a\u5e38\u5982\u4f55\u5f00\u59cb\u5b66\u4e60\u6700\u597d\u5c31\u662f\u4f7f\u7528\u5e94\u7528\u672c\u8eab\u3002\u6211\u627e\u5230\u4e00\u4e2a\u5c0f\u7684\u5e94\u7528\u53eb Vimtutor\uff0c\u5f53\u4f60\u5728\u5b66\u4e60\u7f16\u8f91\u4e00\u4e2a\u6587\u672c\u65f6\u5b83\u80fd\u8f85\u5bfc\u4f60\u4e00\u4e9b\u57fa\u7840\u77e5\u8bc6\uff0c\u5b83\u5411\u6211\u5c55\u793a\u4e86\u5f88\u591a\u6211\u8fd9\u4e9b\u5e74\u90fd\u5ffd\u89c6\u7684\u57fa\u7840\u547d\u4ee4\u3002Vimtutor \u4e00\u822c\u5728\u6709 Vim \u7684\u5730\u65b9\u90fd\u80fd\u627e\u5230\u5b83\uff0c\u5982\u679c\u4f60\u7684\u7cfb\u7edf\u4e0a\u6ca1\u6709 Vimtutor\uff0cVimtutor \u53ef\u4ee5\u5f88\u5bb9\u6613\u4ece\u4f60\u7684\u5305\u7ba1\u7406\u5668\u4e0a\u5b89\u88c5\u3002<\/p>\n

GVim<\/strong><\/div>\n

\u6211\u77e5\u9053\u5e76\u4e0d\u662f\u6bcf\u4e2a\u4eba\u90fd\u8ba4\u540c\u8fd9\u4e2a\uff0c\u4f46\u5c31\u662f\u5b83\u8ba9\u6211\u4ece\u4f7f\u7528\u7ec8\u7aef\u4e2d\u7684 Vim \u8f6c\u6218\u5230\u4f7f\u7528 GVim \u6765\u6ee1\u8db3\u6211\u57fa\u672c\u7f16\u8f91\u9700\u6c42\u3002\u53cd\u5bf9\u8005\u8868\u793a GVim \u9f13\u52b1\u4f7f\u7528\u9f20\u6807\uff0c\u800c Vim \u4e3b\u8981\u662f\u4e3a\u952e\u76d8\u515a\u8bbe\u8ba1\u7684\u3002\u4f46\u662f\u6211\u80fd\u901a\u8fc7 GVim \u7684\u4e0b\u62c9\u83dc\u5355\u5feb\u901f\u627e\u5230\u60f3\u627e\u7684\u6307\u4ee4\uff0c\u5e76\u4e14 GVim \u53ef\u4ee5\u63d0\u9192\u6211\u6b63\u786e\u7684\u6307\u4ee4\u7136\u540e\u901a\u8fc7\u6572\u952e\u76d8\u6267\u884c\u5b83\u3002\u52aa\u529b\u5b66\u4e60\u4e00\u4e2a\u65b0\u7684\u7f16\u8f91\u5668\u7136\u540e\u9677\u5165\u65e0\u6cd5\u89e3\u51b3\u7684\u56f0\u5883\uff0c\u8fd9\u79cd\u611f\u89c9\u5e76\u4e0d\u597d\u53d7\u3002\u6bcf\u9694\u51e0\u5206\u949f\u8bfb\u4e00\u4e0b man \u51fa\u6765\u7684\u6587\u5b57\u6216\u8005\u4f7f\u7528\u641c\u7d22\u5f15\u64ce\u6765\u63d0\u9192\u4f60\u8be5\u7528\u7684\u6309\u952e\u5e8f\u5217\u4e5f\u5e76\u4e0d\u662f\u6700\u597d\u7684\u5b66\u4e60\u65b0\u4e8b\u7269\u7684\u65b9\u6cd5\u3002<\/p>\n

\u952e\u76d8\u8868<\/strong><\/div>\n

\u5f53\u6211\u8f6c\u6218 GVim\uff0c\u6211\u53d1\u73b0\u6709\u4e00\u4e2a\u952e\u76d8\u7684\u201c\u901f\u67e5\u8868\u201d\u6765\u63d0\u9192\u6211\u6700\u57fa\u7840\u7684\u6309\u952e\u5f88\u662f\u4fbf\u5229\u3002\u7f51\u4e0a\u6709\u5f88\u591a\u8fd9\u79cd\u53ef\u7528\u7684\u8868\uff0c\u4f60\u53ef\u4ee5\u4e0b\u8f7d\u3001\u6253\u5370\uff0c\u7136\u540e\u8d34\u5728\u4f60\u8eab\u8fb9\u7684\u67d0\u4e00\u5904\u5730\u65b9\u3002\u4f46\u662f\u4e3a\u4e86\u6211\u7684\u7b14\u8bb0\u672c\u952e\u76d8\uff0c\u6211\u9009\u62e9\u4e70\u4e00\u6c93\u4fbf\u7b7e\u7eb8\u3002\u8fd9\u4e9b\u4fbf\u7b7e\u7eb8\u5728\u7f8e\u56fd\u4e0d\u5230 10 \u7f8e\u5143\uff0c\u5f53\u6211\u4f7f\u7528\u952e\u76d8\u7f16\u8f91\u6587\u672c\uff0c\u5c1d\u8bd5\u65b0\u7684\u547d\u4ee4\u7684\u65f6\u5019\uff0c\u53ef\u4ee5\u968f\u65f6\u63d0\u9192\u6211\u3002<\/p>\n

\"Vim<\/p>\n

Vimium<\/strong><\/div>\n

\u4e0a\u6587\u63d0\u5230\uff0c\u6211\u5de5\u4f5c\u90fd\u5728\u6d4f\u89c8\u5668\u4e0a\u8fdb\u884c\u3002\u5176\u4e2d\u4e00\u6761\u6211\u89c9\u5f97\u5f88\u6709\u5e2e\u52a9\u7684\u5efa\u8bae\u5c31\u662f\uff0c\u4f7f\u7528Vimium\u6765\u7528\u589e\u5f3a\u4f7f\u7528 Vim \u7684\u4f53\u9a8c\u3002Vimium \u662f Chrome \u6d4f\u89c8\u5668\u4e0a\u7684\u4e00\u4e2a\u5f00\u6e90\u63d2\u4ef6\uff0c\u80fd\u7528 Vim \u7684\u6307\u4ee4\u5feb\u6377\u64cd\u4f5c Chrome\u3002\u6211\u53d1\u73b0\u6211\u53ea\u7528\u4e86\u51e0\u6b21\u4f7f\u7528\u5feb\u6377\u952e\u5207\u6362\u4e0a\u4e0b\u6587\uff0c\u5c31\u597d\u50cf\u6bd4\u4e4b\u524d\u66f4\u719f\u6089\u8fd9\u4e9b\u5feb\u6377\u952e\u4e86\u3002\u540c\u6837\u7684\u6269\u5c55 Firefox \u4e0a\u4e5f\u6709\uff0c\u4f8b\u5982 Vimerator\u3002<\/p>\n

\"Vim<\/p>\n

\u6beb\u65e0\u7591\u95ee\uff0c\u6700\u597d\u7684\u5b66\u4e60\u65b9\u6cd5\u5c31\u662f\u6c42\u52a9\u4e8e\u5728\u4f60\u4e4b\u524d\u63a2\u7d22\u8fc7\u7684\u4eba\uff0c\u8ba9\u4ed6\u7ed9\u4f60\u5efa\u8bae\u3001\u53cd\u9988\u548c\u89e3\u51b3\u65b9\u6cd5\u3002<\/p>\n

\u5982\u679c\u4f60\u4f4f\u5728\u4e00\u4e2a\u5927\u57ce\u5e02\uff0c\u90a3\u4e48\u9644\u8fd1\u53ef\u80fd\u4f1a\u6709\u4e00\u4e2a Vim meetup \u5c0f\u7ec4\uff0c\u6216\u8005\u8fd8\u6709 Freenode IRC \u4e0a\u7684 #vim \u9891\u9053\u3002#vim \u9891\u9053\u662f Freenode \u4e0a\u6700\u6d3b\u8dc3\u7684\u9891\u9053\u4e4b\u4e00\uff0c\u90a3\u4e0a\u9762\u53ef\u4ee5\u9488\u5bf9\u4f60\u4e2a\u4eba\u7684\u95ee\u9898\u6765\u63d0\u4f9b\u5e2e\u52a9\u3002\u542c\u4e0a\u9762\u7684\u4eba\u53d1\u53d1\u7262\u9a9a\u6216\u8005\u770b\u770b\u522b\u4eba\u5c1d\u8bd5\u89e3\u51b3\u81ea\u5df1\u6ca1\u6709\u9047\u5230\u8fc7\u7684\u95ee\u9898\uff0c\u4ec5\u4ec5\u662f\u8fd9\u6837\u6211\u90fd\u89c9\u5f97\u5f88\u6709\u8da3\u3002<\/p>\n

\u90a3\u4e48\uff0c\u73b0\u5728\u600e\u4e48\u6837\u4e86\uff1f\u5230\u73b0\u5728\u4e3a\u6b62\u8fd8\u4e0d\u9519\u3002\u4e3a\u5b83\u6240\u82b1\u7684\u65f6\u95f4\u662f\u5426\u503c\u5f97\u5c31\u5728\u4e8e\u4e4b\u540e\u5b83\u4e3a\u4f60\u8282\u7701\u4e86\u591a\u5c11\u65f6\u95f4\u3002\u4f46\u662f\u5f53\u6211\u53d1\u73b0\u4e00\u4e2a\u65b0\u7684\u6309\u952e\u5e8f\u5217\u53ef\u4ee5\u6765\u8df3\u8fc7\u8bcd\uff0c\u6216\u8005\u4e00\u4e9b\u76f8\u4f3c\u7684\u5c0f\u6280\u5de7\uff0c\u6211\u7ecf\u5e38\u4f1a\u6536\u83b7\u610f\u5916\u7684\u60ca\u559c\u4e0e\u5feb\u4e50\u3002\u6bcf\u5929\u6211\u81f3\u5c11\u53ef\u4ee5\u770b\u89c1\uff0c\u4e00\u70b9\u70b9\u7684\u56de\u62a5\uff0c\u6b63\u5728\u9010\u6e10\u914d\u5f97\u4e0a\u5f53\u521d\u7684\u4ed8\u51fa\u3002<\/p>\n

\"Vim<\/p>\n

\u5b66\u4e60 Vim \u5e76\u4e0d\u4ec5\u4ec5\u53ea\u6709\u8fd9\u4e9b\u5efa\u8bae\uff0c\u8fd8\u6709\u5f88\u591a\u3002\u6211\u5f88\u559c\u6b22\u6307\u5f15\u522b\u4eba\u53bbVim Advantures\uff0c\u5b83\u662f\u4e00\u79cd\u4f7f\u7528 Vim \u6309\u952e\u65b9\u5f0f\u8fdb\u884c\u79fb\u52a8\u7684\u5728\u7ebf\u6e38\u620f\u3002\u800c\u5728\u53e6\u5916\u4e00\u5929\u6211\u5728Vimgifts.com \u53d1\u73b0\u4e86\u4e00\u4e2a\u975e\u5e38\u795e\u5947\u7684\u865a\u62df\u5b66\u4e60\u5de5\u5177\uff0c\u90a3\u53ef\u80fd\u5c31\u662f\u4f60\u771f\u6b63\u60f3\u8981\u7684\uff1a\u7528\u4e00\u4e2a\u5c0f\u5c0f\u7684 gif \u52a8\u56fe\u6765\u63cf\u8ff0 Vim \u64cd\u4f5c\u3002<\/p>\n

\u4f60\u6709\u82b1\u65f6\u95f4\u5b66\u4e60 Vim \u5417\uff1f\u6216\u8005\u662f\u4efb\u4f55\u9700\u8981\u5927\u91cf\u952e\u76d8\u64cd\u4f5c\u7684\u7a0b\u5e8f\uff1f\u90a3\u4e9b\u7ecf\u8fc7\u4f60\u52aa\u529b\u540e\u638c\u63e1\u7684\u5de5\u5177\uff0c\u4f60\u8ba4\u4e3a\u8fd9\u4e9b\u52aa\u529b\u503c\u5f97\u5417\uff1f\u6548\u7387\u7684\u63d0\u9ad8\u6709\u6ca1\u6709\u8fbe\u5230\u4f60\u7684\u9884\u671f\uff1f<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-7643-1.html<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1ahttp:\/\/lrxjmw.cn\/vim-five-skills.html<\/a>\u7f16\u8f91\u5458\uff1a\u90ed\u5efa\u9e4f\uff0c\u5ba1\u6838\u5458\uff1a\u738b\u8f89<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u591a\u5e74\u6765\uff0c\u6211\u4e00\u76f4\u60f3\u5b66 Vim\u3002\u5982\u4eca Vim \u662f\u6211\u6700\u559c\u6b22\u7684 Linux \u6587\u672c\u7f16\u8f91\u5668\uff0c\u4e5f\u662f\u5f00\u53d1\u8005\u548c\u7cfb\u7edf\u7ba1\u7406\u8005\u6700\u559c\u7231\u7684\u5f00\u6e90\u5de5\u5177\u3002\u6211\u8bf4\u7684\u5b66\u4e60\uff0c\u6307\u7684\u662f\u771f\u6b63\u610f\u4e49\u4e0a\u7684\u5b66\u4e60\u3002\u60f3\u8981\u7cbe\u901a\u786e\u5b9e\u5f88\u96be\uff0c\u6240\u4ee5\u6211\u53ea\u60f3\u8981\u8fbe\u5230\u719f\u7ec3\u7684\u6c34\u5e73\u3002\u6211\u4f7f\u7528\u4e86\u8fd9\u4e48\u591a\u5e74\u7684 Linux \uff0c\u6211\u4f1a\u7684\u4e5f\u4ec5\u4ec5\u53ea\u662f\u6253\u5f00\u4e00\u4e2a\u6587\u4ef6\uff0c\u4f7f\u7528\u4e0a\u4e0b\u5de6\u53f3\u7bad\u5934\u6309\u952e\u6765\u79fb\u52a8\u5149\u6807\uff0c\u5207\u6362\u5230\u63d2\u5165\u6a21\u5f0f\uff0c\u66f4\u6539\u4e00\u4e9b\u6587\u672c\uff0c\u4fdd\u5b58\uff0c\u7136\u540e\u9000\u51fa\u3002<\/p>\n","protected":false},"author":323,"featured_media":25806,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-25509","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/25509","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/323"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=25509"}],"version-history":[{"count":18,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/25509\/revisions"}],"predecessor-version":[{"id":259481,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/25509\/revisions\/259481"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/25806"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=25509"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=25509"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=25509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}