{"id":426413,"date":"2021-04-06T02:06:11","date_gmt":"2021-04-05T18:06:11","guid":{"rendered":"http:\/\/4563.org\/?p=426413"},"modified":"2021-04-06T02:06:11","modified_gmt":"2021-04-05T18:06:11","slug":"neovim-%e7%9a%84%e8%ae%be%e7%bd%ae%e6%96%87%e4%bb%b6%e6%88%96%e8%80%85%e6%8f%92%e4%bb%b6%e7%9b%ae%e5%bd%95%ef%bc%8c%e6%80%8e%e4%b9%88%e8%ae%be%e7%bd%ae%e6%88%90%e5%9c%a8-mac-windows-%e4%b8%8b","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=426413","title":{"rendered":"neovim \u7684\u8bbe\u7f6e\u6587\u4ef6\u6216\u8005\u63d2\u4ef6\u76ee\u5f55\uff0c\u600e\u4e48\u8bbe\u7f6e\u6210\u5728 mac &amp; windows \u4e0b\u9762\u901a\u7528\u554a\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  neovim \u7684\u8bbe\u7f6e\u6587\u4ef6\u6216\u8005\u63d2\u4ef6\u76ee\u5f55\uff0c\u600e\u4e48\u8bbe\u7f6e\u6210\u5728 mac &amp; windows \u4e0b\u9762\u901a\u7528\u554a\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yazoox <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u8fd9\u4e2a\u662f\u4e3b\u7684 nvim \u7684\u63d2\u4ef6\u76ee\u5f55\u76f8\u5173\u8bbe\u7f6e\uff0c\u5728 mac \u4e0b\u9762\u662f\u6b63\u5e38\u5de5\u4f5c\u7684\u3002\u4f46\u662f\uff0c\u62ff\u5230 windows \u4e0b\u9762\uff0c\u5c31\u4e0d\u884c\u4e86\u3002<\/p>\n<pre><code>if empty(glob('~\/.vim\/autoload\/plug.vim'))     silent !curl -fLo ~\/.vim\/autoload\/plug.vim --create-dirs                  https:\/\/raw.githubusercontent.com\/junegunn\/vim-plug\/master\/plug.vim     autocmd VimEnter * PlugInstall --sync | source $MYVIMRC endif  \" Specify a directory for plugins \" - For Neovim: stdpath('data') . '\/plugged' \" - Avoid using standard Vim directory names like 'plugin' call plug#begin('~\/.vim\/plugged') <\/code><\/pre>\n<p>\u624b\u5de5\u5148\u628a init.vim \u62f7\u8d1d\u5230 AppDataLocalnviminit.vim<\/p>\n<p>\u7136\u540e\u6253\u5f00 nvim\uff0c\u7ed3\u679c\u4e00\u5927\u5806\u9519\u8bef\uff0c\u90fd\u662f plugin \u76f8\u5173\u7684\u3002\u6211\u4f30\u8ba1\u662f\u8def\u5f84\u8bbe\u7f6e\u4e0d\u5bf9\u3002<\/p>\n<p>\u5982\u679c\u6211\u628a~\/.vim \u6539\u6210 windows \u4e0b\u9762\u7684\u6bd4\u5982 c:usersyazoox.vim \u7b49\u7b49\uff0c\u90a3\u6211\u5f97\u7ef4\u62a4\u4e24\u5957 init.vim \u6587\u4ef6\u4e86&#8230;&#8230;<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>0<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>neovim \u7684\u8bbe\u7f6e\u6587\u4ef6\u6216\u8005\u63d2\u4ef6\u76ee&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/426413"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=426413"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/426413\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=426413"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=426413"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=426413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}