资源描述:
《vimtutor教程中文版(vimtutor tutorial chinese version)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、vimtutor教程中文版(VimtutorTutorialChineseversion)VIMisaverypowerfuleditorwithmanycommands.Limitedtospace,inthistutorialIt'snotdetailed.Thegoalofthistutorialistotellyouaboutthebasiccommandsyouneed,andmasterthisWithsomecommands,youcaneasilyuseVIMasauniversaluniversaleditor.Itta
2、kesabout25-30minutestocompletethistutorial,dependingonthetimeyoutrain.Thecommandoperationofeachsectionwillchangethisarticle.Itisrecommendedthatyoucopyacopyofthisarticle,andthencopyitonthecopyTotrain(ifyoustartthetutorialby"vimtutor",thenthisisacopy.Remember:theideaofthist
3、utorialistolearninuse.Thatistosay,youneedtogothroughExecutecommandstolearntheproperuseofthem.Ifyoujustreadanddon'toperate,thenyoumayThesecommandswillsoonbeforgotten!Okay,nowmakesureyourShift-Lock(writelock)isnotpressed,andthenpressthekeyboardThenumberofletterkeysJisenough
4、tomovethecursoruntilthefirstsectionisfullyfilledwiththescreen.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Lecture1:movingcursor"Atomovethecursor,pleasefollowtheinstructionswereh,J,K,presstheLkey."A^Khint:H'skeyisontheleft,anditmovestothel
5、efteverytimeitpresses.ThekeyofLisontheright,anditmovestotherighteverytimeitispressed.Thejjkeylooksverymuchlikeanarrowpointingdownward.V1.pleasemovethecursoranywhereinthescreenuntilyoufeelcomfortable.2.pressdownthekey(J)untilthecursorrepeatsdown.>nowyoushouldhavelearne
6、dhowtomovetothenextlecture.3.nowusethedownbuttontomovethecursortosecond.Hint:ifyouareunsureofthelettersyoupress,pressHint:thecursorkeysshouldalsoworkproperly.Butwiththehjklkey,you'llbeabletodoitquicklyafteryougetusedtoitThecursormovesaroundthescreen.~~~~~~~~~~~~~~~~~~~~~~
7、~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Lecture1secondsection:entryandexitofVIMSpecialnotice:pleasereadthefullcontentsofthissectionbeforeyoucanexecutetheinstructionsdescribedbelow.1.pleasepress2.andtheninput::q!>theexiteditorinthiswaywillneversaveth
8、echangesyou'vemadesinceyouenteredtheeditor.Ifyouwanttosavethechangesandexit,pleaseenter::WQ