{"id":4402,"date":"2020-03-30T04:20:45","date_gmt":"2020-03-29T20:20:45","guid":{"rendered":"https:\/\/vip.fxxkpython.com\/?p=4402"},"modified":"2020-03-30T04:25:38","modified_gmt":"2020-03-29T20:25:38","slug":"%e5%b7%a5%e5%85%b7%e7%af%87-%e6%95%99%e4%bd%a0%e5%bc%84%e4%b8%80%e4%b8%aa%e9%85%b7%e7%82%ab%e7%9a%84-python-vim%e7%bc%96%e8%be%91%e5%99%a8-%e5%9c%a8-vim-%e4%b8%ad%e8%b0%83%e8%af%95","status":"publish","type":"post","link":"https:\/\/vip.fxxkpython.com\/?p=4402","title":{"rendered":"\u5de5\u5177\u7bc7 | \u6559\u4f60\u5f04\u4e00\u4e2a\u9177\u70ab\u7684 Python Vim\u7f16\u8f91\u5668 \u2014\u2014\u5728 Vim \u4e2d\u8c03\u8bd5\u4f60\u7684 Python \u4ee3\u7801"},"content":{"rendered":"\n<p>\u5728\u4e00\u822c\u7684\u7f16\u8f91\u5668\u6bd4\u5982 Pycharm \u4e2d\u90fd\u6709 debug \u7684\u529f\u80fd\uff0c\u53ef\u4ee5\u5bf9\u4ee3\u7801\u6253\u65ad\u70b9\u8c03\u8bd5\uff0c\u5728 Vim \u4e2d\u5982\u4f55\u505a\u5230\u8fd9\u4e00\u70b9\u5462\uff1f\u4eca\u5929\u8fd9\u4e00\u7bc7\u5c31\u662f\u4e13\u95e8\u6765\u8ddf\u4f60\u8bf4\u8bf4\u5982\u4f55\u5728 Vim \u4e2d\u8c03\u8bd5\u4f60\u7684 Python \u4ee3\u7801\u3002<\/p>\n\n\n\n<h2>\u5b89\u88c5\u4ee3\u7801\u8c03\u8bd5\u63d2\u4ef6<\/h2>\n\n\n\n<p>\u5728\u4f60\u7684 vimrc \u4e2d\u914d\u7f6e\u5982\u4e0b\u63d2\u4ef6\u8fdb\u884c\u5b89\u88c5\uff1a<div style=\"text-align:center;border:1px dashed #FF9A9A;padding:8px;margin:10px auto;color:#FF6666;\">\u672c\u6587\u9690\u85cf\u5185\u5bb9 <a href=\"https:\/\/vip.fxxkpython.com\/wp-login.php?redirect_to=https%3A%2F%2Fvip.fxxkpython.com%2F%3Fp%3D4402\">\u767b\u9646<\/a> \u540e\u624d\u53ef\u4ee5\u6d4f\u89c8<\/div>\u5b89\u88c5\u5b8c\u4e4b\u540e\uff0c\u4f7f\u7528 vim \u6253\u5f00\u4f60\u7684 Python \u6587\u4ef6\uff0c\u5728\u4f60\u60f3\u8981\u6253\u65ad\u70b9\u7684\u5730\u65b9\u6309\u4e0b F12 \uff0c\u63a5\u7740\u53ef\u4ee5\u4ece\u8fd9\u91cc\u5f00\u59cb\u6309 F6 \u8fdb\u884c\u9010\u884c\u8c03\u8bd5\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"1364\" height=\"793\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/03\/Peek-2020-03-30-04-14.gif\" alt=\"\" class=\"wp-image-4407\"\/><figcaption><br><\/figcaption><\/figure><\/div>\n\n\n\n<p>\u8fd9\u91cc\u7684 terminal \u6211\u7528\u7684\u662f ipython \uff0c\u6211\u7684\u8c03\u8bd5\u63d2\u4ef6\u7684\u914d\u7f6e\u5982\u4e0b\uff0c\u4f9b\u4f60\u53c2\u8003\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"737\" height=\"250\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/03\/Screenshot-from-2020-03-30-04-17-08.png\" alt=\"\" class=\"wp-image-4408\" srcset=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/03\/Screenshot-from-2020-03-30-04-17-08.png 737w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/03\/Screenshot-from-2020-03-30-04-17-08-300x102.png 300w\" sizes=\"(max-width: 737px) 100vw, 737px\" \/><\/figure><\/div>\n\n\n\n<p>\u4ee5\u4e0a\u5c31\u662f\u5728 Vim \u4e2d\u8c03\u8bd5\u4f60\u7684 Python \u4ee3\u7801\u7684\u65b9\u6cd5\uff0c\u5e0c\u671b\u5bf9\u4f60\u6709\u5e2e\u52a9\uff0c\u6211\u4eec\u4e0b\u56de\u89c1\uff0cpeace\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u4e00\u822c\u7684\u7f16\u8f91\u5668\u6bd4\u5982 Pycharm \u4e2d\u90fd\u6709 debug \u7684\u529f\u80fd\uff0c\u53ef\u4ee5\u5bf9\u4ee3\u7801\u6253\u65ad\u70b9\u8c03\u8bd5\uff0c\u5728 Vim \u4e2d\u5982\u4f55\u505a\u5230\u8fd9\u4e00\u70b9\u5462\uff1f\u4eca\u5929\u8fd9\u4e00\u7bc7\u5c31\u662f\u4e13\u95e8\u6765\u8ddf\u4f60\u8bf4\u8bf4\u5982\u4f55\u5728 Vim \u4e2d\u8c03\u8bd5\u4f60\u7684 Python \u4ee3\u7801\u3002 \u5b89\u88c5\u4ee3\u7801\u8c03\u8bd5\u63d2\u4ef6 \u5728\u4f60\u7684 vimrc \u4e2d\u914d\u7f6e\u5982\u4e0b\u63d2\u4ef6\u8fdb&hellip;<\/p>\n","protected":false},"author":1,"featured_media":4413,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[343],"tags":[206,371,372,369,370],"_links":{"self":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/4402"}],"collection":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4402"}],"version-history":[{"count":3,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/4402\/revisions"}],"predecessor-version":[{"id":4411,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/4402\/revisions\/4411"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/media\/4413"}],"wp:attachment":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}