{"id":4027,"date":"2013-11-01T11:11:50","date_gmt":"2013-11-01T03:11:50","guid":{"rendered":"http:\/\/lttt.blog.ustc.edu.cn\/?p=4027"},"modified":"2013-11-01T11:11:50","modified_gmt":"2013-11-01T03:11:50","slug":"%e8%bd%ac%e8%bd%bdvim%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4","status":"publish","type":"post","link":"https:\/\/lttt.vanabel.cn\/?p=4027","title":{"rendered":"[\u8f6c\u8f7d]vim\u5e38\u7528\u547d\u4ee4"},"content":{"rendered":"<p>\u539f\u6587\u94fe\u63a5:<a href=\"http:\/\/t1constantine.blogspot.com\/2013\/10\/130-vim.html\">Add\u32a3\u2122~<\/a><\/p>\n<p>Vim \u662f\u4ece vi \u53d1\u5c55\u51fa\u6765\u7684\u4e00\u4e2a\u6587\u672c\u7f16\u8f91\u5668\u3002\u4ee3\u7801\u8865\u5b8c\u3001\u7f16\u8bd1\u53ca\u9519\u8bef\u8df3\u8f6c\u7b49\u65b9\u4fbf\u7f16\u7a0b\u7684\u529f\u80fd\u7279\u522b\u4e30\u5bcc\uff0c\u5728\u7a0b\u5e8f\u5458\u4e2d\u88ab\u5e7f\u6cdb\u4f7f\u7528\u3002\u548c Emacs \u5e76\u5217\u6210\u4e3a\u7c7b Unix \u7cfb\u7edf\u7528\u6237\u6700\u559c\u6b22\u7684\u7f16\u8f91\u5668\u3002\u8fd9\u91cc\u6536\u5f55\u4e86130+\u7a0b\u5e8f\u5458\u5fc5\u5907\u7684 vim \u547d\u4ee4\uff0c\u5e2e\u52a9\u4f60\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u3002<!--more--><br \/>\n\\tableofcontents<br \/>\n\\section{\u57fa\u672c\u547d\u4ee4}<\/p>\n<table>\n<thead>\n<tr>\n<th>\u547d\u4ee4<\/th>\n<th>\u529f\u80fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>:e filename<\/td>\n<td>Open filename for edition<\/td>\n<\/tr>\n<tr>\n<td>:w<\/td>\n<td>Save file<\/td>\n<\/tr>\n<tr>\n<td>:q<\/td>\n<td>Exit Vim<\/td>\n<\/tr>\n<tr>\n<td>:q!<\/td>\n<td>Quit without saving<\/td>\n<\/tr>\n<tr>\n<td>\ud83d\ude21<\/td>\n<td>Write file (if changes has been made) and exit<\/td>\n<\/tr>\n<tr>\n<td>:sav filename<\/td>\n<td>Saves file as filename<\/td>\n<\/tr>\n<tr>\n<td>.<\/td>\n<td>Repeats the last change made in normal mode<\/td>\n<\/tr>\n<tr>\n<td>5.<\/td>\n<td>Repeats 5 times the last change made in normal mode<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\\section{\u5728\u6587\u4ef6\u4e2d\u79fb\u52a8}<\/p>\n<table>\n<thead>\n<tr>\n<th>\u547d\u4ee4<\/th>\n<th>\u529f\u80fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>k or Up Arrow<\/td>\n<td>move the cursor up one line<\/td>\n<\/tr>\n<tr>\n<td>j or Down Arrow<\/td>\n<td>move the cursor down one line<\/td>\n<\/tr>\n<tr>\n<td>e<\/td>\n<td>move the cursor to the end of the word<\/td>\n<\/tr>\n<tr>\n<td>b<\/td>\n<td>move the cursor to the begining of the word<\/td>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>move the cursor to the begining of the line<\/td>\n<\/tr>\n<tr>\n<td>G<\/td>\n<td>move the cursor to the end of the file<\/td>\n<\/tr>\n<tr>\n<td>gg<\/td>\n<td>move the cursor to the begining of the file<\/td>\n<\/tr>\n<tr>\n<td>L<\/td>\n<td>move the cursor to the bottom of the screen<\/td>\n<\/tr>\n<tr>\n<td>:59<\/td>\n<td>move cursor to line 59. Replace 59 by the desired line number.<\/td>\n<\/tr>\n<tr>\n<td>20<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>%<\/td>\n<td>Move cursor to matching parenthesis<\/td>\n<\/tr>\n<tr>\n<td>[[<\/td>\n<td>Jump to function start<\/td>\n<\/tr>\n<tr>\n<td>[{<\/td>\n<td>Jump to block start<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\\section{\u526a\u5207\u3001\u62f7\u8d1d\u548c\u7c98\u8d34}<\/p>\n<table>\n<thead>\n<tr>\n<th>\u547d\u4ee4<\/th>\n<th>\u529f\u80fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>y<\/td>\n<td>Copy the selected text to clipboard<\/td>\n<\/tr>\n<tr>\n<td>p<\/td>\n<td>Paste clipboard contents<\/td>\n<\/tr>\n<tr>\n<td>dd<\/td>\n<td>Cut current line<\/td>\n<\/tr>\n<tr>\n<td>yy<\/td>\n<td>Copy current line<\/td>\n<\/tr>\n<tr>\n<td>y$<\/td>\n<td>Copy to end of line<\/td>\n<\/tr>\n<tr>\n<td>D<\/td>\n<td>Cut to end of line<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\\section{\u641c\u7d22}<\/p>\n<table>\n<thead>\n<tr>\n<th>\u547d\u4ee4<\/th>\n<th>\u529f\u80fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\/word<\/td>\n<td>Search word from top to bottom<\/td>\n<\/tr>\n<tr>\n<td>?word<\/td>\n<td>Search word from bottom to top<\/td>\n<\/tr>\n<tr>\n<td>*<\/td>\n<td>Search the word under cursor<\/td>\n<\/tr>\n<tr>\n<td>\/\\cstring<\/td>\n<td>Search STRING or string, case insensitive<\/td>\n<\/tr>\n<tr>\n<td>\/jo[ha]n<\/td>\n<td>Search john or joan<\/td>\n<\/tr>\n<tr>\n<td>\/\\&lt; the<\/td>\n<td>Search the, theatre or then<\/td>\n<\/tr>\n<tr>\n<td>\/the&gt;<\/td>\n<td>Search the or breathe<\/td>\n<\/tr>\n<tr>\n<td>\/\\&lt; the&gt;<\/td>\n<td>Search the<\/td>\n<\/tr>\n<tr>\n<td>\/\\&lt; \u00a6.&gt;<\/td>\n<td>Search all words of 4 letters<\/td>\n<\/tr>\n<tr>\n<td>\/\\\/<\/td>\n<td>Search fred but not alfred or frederick<\/td>\n<\/tr>\n<tr>\n<td>\/fred|joe<\/td>\n<td>Search fred or joe<\/td>\n<\/tr>\n<tr>\n<td>\/\\&lt;\\d\\d\\d\\d&gt;<\/td>\n<td>Search exactly 4 digits<\/td>\n<\/tr>\n<tr>\n<td>\/^\\n{3}<\/td>\n<td>Find 3 empty lines<\/td>\n<\/tr>\n<tr>\n<td>:bufdo \/searchstr\/<\/td>\n<td>Search in all open files<\/td>\n<\/tr>\n<tr>\n<td>bufdo %s\/something\/somethingelse\/g<\/td>\n<td>Search something in all the open buffers and replace it with somethingelse<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\\section{\u66ff\u6362}<\/p>\n<table>\n<thead>\n<tr>\n<th>\u547d\u4ee4<\/th>\n<th>\u529f\u80fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>:%s\/old\/new\/g<\/td>\n<td>Replace all occurences of old by new in file<\/td>\n<\/tr>\n<tr>\n<td>:%s\/onward\/forward\/gi<\/td>\n<td>Replace onward by forward, case unsensitive<\/td>\n<\/tr>\n<tr>\n<td>:%s\/old\/new\/gc<\/td>\n<td>Replace all occurences with confirmation<\/td>\n<\/tr>\n<tr>\n<td>:2,35s\/old\/new\/g<\/td>\n<td>Replace all occurences between lines 2 and 35<\/td>\n<\/tr>\n<tr>\n<td>:5,<span>$<\/span>s\/old\/new\/g<\/td>\n<td>Replace all occurences from line 5 to EOF<\/td>\n<\/tr>\n<tr>\n<td>:%s\/^\/hello\/g<\/td>\n<td>Replace the begining of each line by hello<\/td>\n<\/tr>\n<tr>\n<td>:%s\/<span>$<\/span>\/Harry\/g<\/td>\n<td>Replace the end of each line by Harry<\/td>\n<\/tr>\n<tr>\n<td>:%s\/onward\/forward\/gi<\/td>\n<td>Replace onward by forward, case unsensitive<\/td>\n<\/tr>\n<tr>\n<td>:%s\/ *<span>$<\/span>\/\/g<\/td>\n<td>Delete all white spaces<\/td>\n<\/tr>\n<tr>\n<td>:g\/string\/d<\/td>\n<td>Delete all lines containing string<\/td>\n<\/tr>\n<tr>\n<td>:v\/string\/d<\/td>\n<td>Delete all lines containing which didn\u2019t contain string<\/td>\n<\/tr>\n<tr>\n<td>:s\/Bill\/Steve\/<\/td>\n<td>Replace the first occurence of Bill by Steve in current line<\/td>\n<\/tr>\n<tr>\n<td>:s\/Bill\/Steve\/g<\/td>\n<td>Replace Bill by Steve in current line<\/td>\n<\/tr>\n<tr>\n<td>:%s\/Bill\/Steve\/g<\/td>\n<td>Replace Bill by Steve in all the file<\/td>\n<\/tr>\n<tr>\n<td>:%s\/^M\/\/g<\/td>\n<td>Delete DOS carriage returns (^M)<\/td>\n<\/tr>\n<tr>\n<td>:%s\/\\r\/\\r\/g<\/td>\n<td>Transform DOS carriage returns in returns<\/td>\n<\/tr>\n<tr>\n<td>:%s#&lt;[^&gt;]+&gt;##g<\/td>\n<td>Delete HTML tags but keeps text<\/td>\n<\/tr>\n<tr>\n<td>:%s\/^(.*)\\n\\1$\/\\1\/<\/td>\n<td>Delete lines which appears twice<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+a<\/td>\n<td>Increment number under the cursor<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+x<\/td>\n<td>Decrement number under cursor<\/td>\n<\/tr>\n<tr>\n<td>ggVGg?<\/td>\n<td>Change text to Rot13<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\\section{\u5927\u5c0f\u5199}<\/p>\n<table>\n<thead>\n<tr>\n<th>\u547d\u4ee4<\/th>\n<th>\u529f\u80fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Vu<\/td>\n<td>Lowercase line<\/td>\n<\/tr>\n<tr>\n<td>VU<\/td>\n<td>Uppercase line<\/td>\n<\/tr>\n<tr>\n<td>g~~<\/td>\n<td>Invert case<\/td>\n<\/tr>\n<tr>\n<td>vEU<\/td>\n<td>Switch word to uppercase<\/td>\n<\/tr>\n<tr>\n<td>vE~<\/td>\n<td>Modify word case<\/td>\n<\/tr>\n<tr>\n<td>ggguG<\/td>\n<td>Set all text to lowercase<\/td>\n<\/tr>\n<tr>\n<td>gggUG<\/td>\n<td>Set all text to uppercase<\/td>\n<\/tr>\n<tr>\n<td>:set ignorecase<\/td>\n<td>Ignore case in searches<\/td>\n<\/tr>\n<tr>\n<td>:set smartcase<\/td>\n<td>Ignore case in searches excepted if an uppercase letter is used<\/td>\n<\/tr>\n<tr>\n<td>:%s\/\\&lt;.\/\\u&amp;\/g<\/td>\n<td>Sets first letter of each word to uppercase<\/td>\n<\/tr>\n<tr>\n<td>:%s\/\\&lt;.\/\\l&amp;\/g<\/td>\n<td>Sets first letter of each word to lowercase<\/td>\n<\/tr>\n<tr>\n<td>:%s\/.*\/\\u&amp;<\/td>\n<td>Sets first letter of each line to uppercase<\/td>\n<\/tr>\n<tr>\n<td>:%s\/.*\/\\l&amp;<\/td>\n<td>Sets first letter of each line to lowercase<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\\section{\u8bfb\u5199\u6587\u4ef6}<\/p>\n<table>\n<thead>\n<tr>\n<th>\u547d\u4ee4<\/th>\n<th>\u529f\u80fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>:1,10 w outfile<\/td>\n<td>Saves lines 1 to 10 in outfile<\/td>\n<\/tr>\n<tr>\n<td>:1,10 w &gt;&gt; outfile<\/td>\n<td>Appends lines 1 to 10 to outfile<\/td>\n<\/tr>\n<tr>\n<td>:r infile<\/td>\n<td>Insert the content of infile<\/td>\n<\/tr>\n<tr>\n<td>:23r infile<\/td>\n<td>Insert the content of infile under line 23<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\\section{\u6587\u4ef6\u6d4f\u89c8\u5668}<\/p>\n<table>\n<thead>\n<tr>\n<th>\u547d\u4ee4<\/th>\n<th>\u529f\u80fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>:e .<\/td>\n<td>Open integrated file explorer<\/td>\n<\/tr>\n<tr>\n<td>:Sex<\/td>\n<td>Split window and open integrated file explorer<\/td>\n<\/tr>\n<tr>\n<td>:Sex!<\/td>\n<td>Same as :Sex but split window vertically<\/td>\n<\/tr>\n<tr>\n<td>:browse e<\/td>\n<td>Graphical file explorer<\/td>\n<\/tr>\n<tr>\n<td>:ls<\/td>\n<td>List buffers<\/td>\n<\/tr>\n<tr>\n<td>:cd ..<\/td>\n<td>Move to parent directory<\/td>\n<\/tr>\n<tr>\n<td>:args<\/td>\n<td>List files<\/td>\n<\/tr>\n<tr>\n<td>:args *.php<\/td>\n<td>Open file list<\/td>\n<\/tr>\n<tr>\n<td>:grep expression *.php<\/td>\n<td>Returns a list of .php files contening expression<\/td>\n<\/tr>\n<tr>\n<td>gf<\/td>\n<td>Open file name under cursor<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\\section{\u548c Unix \u7cfb\u7edf\u4ea4\u4e92}<\/p>\n<table>\n<thead>\n<tr>\n<th>\u547d\u4ee4<\/th>\n<th>\u529f\u80fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>:!pwd<\/td>\n<td>Execute the pwd unix command, then returns to Vi<\/td>\n<\/tr>\n<tr>\n<td>!!pwd<\/td>\n<td>Execute the pwd unix command and insert output in file<\/td>\n<\/tr>\n<tr>\n<td>:sh<\/td>\n<td>Temporary returns to Unix<\/td>\n<\/tr>\n<tr>\n<td>$exit<\/td>\n<td>Retourns to Vi<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\\section{\u5bf9\u9f50}<\/p>\n<table>\n<thead>\n<tr>\n<th>\u547d\u4ee4<\/th>\n<th>\u529f\u80fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>:%!fmt<\/td>\n<td>Align all lines<\/td>\n<\/tr>\n<tr>\n<td>!}fmt<\/td>\n<td>Align all lines at the current position<\/td>\n<\/tr>\n<tr>\n<td>5!!fmt<\/td>\n<td>Align the next 5 lines<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\\section{\u9009\u9879\u5361\/\u7a97\u53e3}<\/p>\n<table>\n<thead>\n<tr>\n<th>\u547d\u4ee4<\/th>\n<th>\u529f\u80fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>:tabnew<\/td>\n<td>Creates a new tab<\/td>\n<\/tr>\n<tr>\n<td>gt<\/td>\n<td>Show next tab<\/td>\n<\/tr>\n<tr>\n<td>:tabfirst<\/td>\n<td>Show first tab<\/td>\n<\/tr>\n<tr>\n<td>:tablast<\/td>\n<td>Show last tab<\/td>\n<\/tr>\n<tr>\n<td>:tabm n(position)<\/td>\n<td>Rearrange tabs<\/td>\n<\/tr>\n<tr>\n<td>:tabdo %s\/foo\/bar\/g<\/td>\n<td>Execute a command in all tabs<\/td>\n<\/tr>\n<tr>\n<td>:tab ball<\/td>\n<td>Puts all open files in tabs<\/td>\n<\/tr>\n<tr>\n<td>:new abc.txt<\/td>\n<td>Edit abc.txt in new window<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\\section{\u5206\u5c4f\u663e\u793a}<\/p>\n<table>\n<thead>\n<tr>\n<th>\u547d\u4ee4<\/th>\n<th>\u529f\u80fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>:e filename<\/td>\n<td>Edit filename in current window<\/td>\n<\/tr>\n<tr>\n<td>:split filename<\/td>\n<td>Split the window and open filename<\/td>\n<\/tr>\n<tr>\n<td>ctrl-w up arrow<\/td>\n<td>Puts cursor in top window<\/td>\n<\/tr>\n<tr>\n<td>ctrl-w ctrl-w<\/td>\n<td>Puts cursor in next window<\/td>\n<\/tr>\n<tr>\n<td>ctrl-w_<\/td>\n<td>Maximize current window vertically<\/td>\n<\/tr>\n<tr>\n<td>ctrl-w<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>ctrl-w=<\/td>\n<td>Gives the same size to all windows<\/td>\n<\/tr>\n<tr>\n<td>10 ctrl-w+<\/td>\n<td>Add 10 lines to current window<\/td>\n<\/tr>\n<tr>\n<td>:vsplit file<\/td>\n<td>Split window vertically<\/td>\n<\/tr>\n<tr>\n<td>:sview file<\/td>\n<td>Same as :split in readonly mode<\/td>\n<\/tr>\n<tr>\n<td>:hide<\/td>\n<td>Close current window<\/td>\n<\/tr>\n<tr>\n<td>:\u00adnly<\/td>\n<td>Close all windows, excepted current<\/td>\n<\/tr>\n<tr>\n<td>:b 2<\/td>\n<td>Open #2 in this window<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\\section{\u81ea\u52a8\u5b8c\u6210}<\/p>\n<table>\n<thead>\n<tr>\n<th>\u547d\u4ee4<\/th>\n<th>\u529f\u80fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Ctrl+n Ctrl+p (in insert mode)<\/td>\n<td>Complete word<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+x Ctrl+l<\/td>\n<td>Complete line<\/td>\n<\/tr>\n<tr>\n<td>:set dictionary=dict<\/td>\n<td>Define dict as a dictionnary<\/td>\n<\/tr>\n<tr>\n<td>Ctrl+x Ctrl+k<\/td>\n<td>Complete with dictionnary<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\\section{\u6807\u8bb0}<\/p>\n<table>\n<thead>\n<tr>\n<th>\u547d\u4ee4<\/th>\n<th>\u529f\u80fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>m {a-z}<\/td>\n<td>Marks current position as {a-z}<\/td>\n<\/tr>\n<tr>\n<td>\u2019 {a-z}<\/td>\n<td>Move to position {a-z}<\/td>\n<\/tr>\n<tr>\n<td>\u201d<\/td>\n<td>Move to previous position<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\\section{\u7f29\u5199}<\/p>\n<table>\n<thead>\n<tr>\n<th>\u547d\u4ee4<\/th>\n<th>\u529f\u80fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>:ab mail mail@provider.org<\/td>\n<td>Define mail as abbreviation of mail@provider.org<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\\section{\u6587\u672c\u7f29\u8fdb}<\/p>\n<table>\n<thead>\n<tr>\n<th>\u547d\u4ee4<\/th>\n<th>\u529f\u80fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>:set autoindent<\/td>\n<td>Turn on auto-indent<\/td>\n<\/tr>\n<tr>\n<td>:set smartindent<\/td>\n<td>Turn on intelligent auto-indent<\/td>\n<\/tr>\n<tr>\n<td>:set shiftwidth=4<\/td>\n<td>Defines 4 spaces as indent size<\/td>\n<\/tr>\n<tr>\n<td>ctrl-t, ctrl-d<\/td>\n<td>Indent\/un-indent in insert mode<\/td>\n<\/tr>\n<tr>\n<td>&gt;&gt;<\/td>\n<td>Indent<\/td>\n<\/tr>\n<tr>\n<td>&lt;&lt;<\/td>\n<td>Un-indent<\/td>\n<\/tr>\n<tr>\n<td>=%<\/td>\n<td>Indent the code between parenthesis<\/td>\n<\/tr>\n<tr>\n<td>1GVG=<\/td>\n<td>Indent the whole file<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\\section{\u4ee3\u7801\u9ad8\u4eae}<\/p>\n<table>\n<thead>\n<tr>\n<th>\u547d\u4ee4<\/th>\n<th>\u529f\u80fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>:syntax on<\/td>\n<td>Turn on syntax highlighting<\/td>\n<\/tr>\n<tr>\n<td>:syntax off<\/td>\n<td>Turn off syntax highlighting<\/td>\n<\/tr>\n<tr>\n<td>:set syntax=perl<\/td>\n<td>Force syntax highlighting<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<blockquote><p>Written with <a href=\"https:\/\/stackedit.io\/\">StackEdit<\/a>.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u539f\u6587\u94fe\u63a5:Add\u32a3\u2122~ Vim \u662f\u4ece vi \u53d1\u5c55\u51fa\u6765\u7684\u4e00\u4e2a\u6587\u672c\u7f16\u8f91\u5668\u3002\u4ee3\u7801\u8865\u5b8c\u3001 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/lttt.vanabel.cn\/?p=4027\"> <span class=\"screen-reader-text\">[\u8f6c\u8f7d]vim\u5e38\u7528\u547d\u4ee4<\/span> \u9605\u8bfb\u66f4\u591a &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[662],"class_list":["post-4027","post","type-post","status-publish","format-standard","hentry","category-admin","tag-vim"],"_links":{"self":[{"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=\/wp\/v2\/posts\/4027","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4027"}],"version-history":[{"count":0,"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=\/wp\/v2\/posts\/4027\/revisions"}],"wp:attachment":[{"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4027"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4027"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4027"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}