[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-detail-687597-en":59,"doc-seo-687597-105":220,"doc-similar-687597":283},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":5,"data":60},{"doc_id":61,"user_id":62,"nickname":63,"user_avatar":64,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":66,"doc_content":67,"file_id":68,"file_url":69,"file_type":70,"file_size":71,"view_count":34,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":72,"language":73,"language_code":74,"site_id":75,"html_lang":74,"table_of_contents":76,"faqs":77,"seo_title":78,"seo_description":66,"update_tm":79,"read_time":80,"preview_page_count":41,"preview_urls":81},687597,687212321768,"Guten tag","https://ap-avatar.wpscdn.com/avatar/a0010bdbe886d2fe77?x-image-process=image/resize,m_fixed,w_180,h_180&k=1789897067658708522","Learning the Vi Text Editor - Chapter 1 - Getting Started","Chapter 1 introduces the vi text editor on UNIX systems and explains how different editor types (line editors, screen editors, and X Window editors) compare in workflow. It defines vi’s command mode and insert mode, highlights why vi can feel unintuitive at first yet becomes efficient through shortcuts, and contrasts vi with WYSIWYG word processors. The chapter also outlines core editing components such as inserting, deleting, changing, moving, and copying text, and describes how basic commands work using single characters.","Chapter 1. The vi Text Editor  \nUNIX has a number of editors that can process the contents of text files, whether those files contain data, source code, or sentences. There are line editors, such as ed and ex, which display a line of the file on the screen; and there are screen editors, such as vi and emacs, which display a part of the file on your terminal screen. Text editors based on the X Window System are also commonly available, and are becoming increasing popular. Both GNU emacs and its derivative xemacs provide multiple X windows; an interesting alternative is the sam editor from Bell Labs. All but oneof the vi clones described in Part II of this book also provide Xbased interfaces.  \nvi is the most useful standard text editor on your system. (vi is short for visual editor and is pronounced \"vee-eye.\") Unlike emacs, it is available in nearly identical form on almost every UNIX system, thus providing a kind of text-editing lingua franca.[1] The same might be said of ed and ex, but screen editors are generally much easier to use. With a screen editor, you can scroll the page, move the cursor, delete lines, insert characters, and more, while seeing the results of your edits as you make them. Screen editors are very popular, since they allow you to make changes as you read through a file, like you would edit a printed copy, only faster.  \n[1] Actually, these days, GNU emacs is pretty much the universal version of emacs; the only problem is it doesn't come standard with most commercial UNIX systems; you must retrieve and install it yourself.  \nTo many beginners, vi looks unintuitive and cumbersome—instead of using special control keys for word processing functions and just letting you type normally, it uses all of the regular keyboard keys for issuing commands. When the keyboard keys are issuing commands, vi is said to be in command mode. You must be in a special insert mode before you can type actual text on the screen. In addition, there seem to be so many commands.  \nOnce you start learning, however, you realize that vi is well designed. You need only a few keystrokes to tell vi to do complex tasks. As you learn vi, you learn shortcuts that transfer more and more of the editing work to the computer—where it belongs.  \nvi (like any text editor) is not a \"what you see is what you get\" word processor. If you want to produce formatted documents, you must type in codes that are used by another formatting program to control the appearance of the printed copy. If you want to indent several paragraphs, for instance, you put a code where the indent begins and ends. Formatting codes allow you to experiment with or  \nchange the appearance of your printed files, and in many ways, give you much more control over the appearance of your documents than a word processor. UNIX supports the troff formatting package.[2] The and formatters are popular, commonly available alternatives.  \n[2] troff is for laser printers and typesetters. Its \"twin brother\" is nroff, for line printers and terminals . Both accept the same input language. Following common UNIX convention, we refer to both with the name troff.  \n(vi does support some simple formatting mechanisms. For example, you can tell it to automatically wrap when you come to the end of aline, or to automatically indent new lines.)  \nAs with any skill, the more editing you do, the easier the basics become, and the more you can accomplish. Once you are used to all the powers you have while editing with vi, you may never want to return to any \"simpler\" editor.  \nWhat are the components of editing? First, you want to insert text (a forgotten word or a missing sentence), and you want to delete text (a stray character or an entire paragraph) . You also need to change letters and words (to correct misspellings or to reflect a change of mind about a term) . You might want to move text from one place to another part of your file. And, on occasion, you want to copy text to duplicate it in another part o","cbCaiaq5z1ZkZEoG","https://ap.wps.com/l/cbCaiaq5z1ZkZEoG","pdf",1992369,295,"English","en",105,"# Chapter 1. The vi Text Editor\n## Opening and Closing Files","[{\"question\":\"How do vi’s command mode and insert mode work?\",\"answer\":\"In vi, command mode is the initial/default mode where keystrokes issue editing commands. To type real text, you must switch to a special insert mode before typing.\"},{\"question\":\"Why do editors like vi differ from word processors?\",\"answer\":\"vi is not WYSIWYG; producing formatted output requires entering formatting codes for another formatter, such as troff.\"},{\"question\":\"What core editing actions does vi support?\",\"answer\":\"The chapter describes inserting, deleting, changing letters and words, moving text within the file, and copying text to duplicate it elsewhere.\"}]","Learning the Vi Text Editor - Chapter 1 - Getting Started | PDF",1794084232,743,[82,86,90,95,99,103,107,111,115,119,123,128,133,138,143,148,153,158,163,167,171,176,181,186,191,196,201,206,211,216],{"page_no":8,"url":83,"width":84,"height":85},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/3ecdeb55f71c264e6b9210ba8e1c1883.webp",983,1391,{"page_no":14,"url":87,"width":88,"height":89},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/0482b9f095cc953a1595d3598a5039e3.webp",982,1389,{"page_no":91,"url":92,"width":93,"height":94},3,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/41719b73a5edc1b7c7d097ef9c981075.webp",981,1388,{"page_no":19,"url":96,"width":97,"height":98},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/e61512fdea2d0909721a3296e347b270.webp",980,1386,{"page_no":24,"url":100,"width":101,"height":102},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/e8b7b49f320f55285edd2cac9fb7703b.webp",979,1385,{"page_no":29,"url":104,"width":105,"height":106},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/6609252d7c01589c351d0c7e5894984a.webp",978,1383,{"page_no":34,"url":108,"width":109,"height":110},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/3cce4bdb589559d7134966987245c2e3.webp",977,1382,{"page_no":39,"url":112,"width":113,"height":114},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/fe8333561206500387d0b8a4dc9346c2.webp",976,1381,{"page_no":44,"url":116,"width":117,"height":118},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/c9048028d6ecb84b1100d18f427d2094.webp",975,1379,{"page_no":52,"url":120,"width":121,"height":122},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/b990b3fe014acb02dd122ee0e96bdc14.webp",974,1378,{"page_no":124,"url":125,"width":126,"height":127},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/46ef7e424ed53478922775fe8a99a336.webp",973,1376,{"page_no":129,"url":130,"width":131,"height":132},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/bfe5e9b34bca195f762eaf44b60c7181.webp",972,1375,{"page_no":134,"url":135,"width":136,"height":137},13,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/27573a493710aa93f35e88444b711b37.webp",971,1374,{"page_no":139,"url":140,"width":141,"height":142},14,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/28399bc5c2eed3ee1fbcac06e7c2ad46.webp",970,1372,{"page_no":144,"url":145,"width":146,"height":147},15,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/9789893140a4660e79cecc08fb6e47b9.webp",969,1371,{"page_no":149,"url":150,"width":151,"height":152},16,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/92f6cac041d33dcc64bc9a12d2afae1c.webp",968,1369,{"page_no":154,"url":155,"width":156,"height":157},17,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/9b339813c288437728dbf03a30ccac8b.webp",967,1368,{"page_no":159,"url":160,"width":161,"height":162},18,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/1b3338a4c73983969eb6f88e39ec36c0.webp",966,1366,{"page_no":56,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/81733fc5ac902404aee6da0785a168db.webp",965,1365,{"page_no":46,"url":168,"width":169,"height":170},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/b09cb9616d003e936f654baa70d4852a.webp",964,1364,{"page_no":172,"url":173,"width":174,"height":175},21,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/9b3cdfe82b534c7e03411186dc7fff46.webp",963,1362,{"page_no":177,"url":178,"width":179,"height":180},22,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/c9c0123f74cbc2b14fd5b8ba984cb5e2.webp",962,1361,{"page_no":182,"url":183,"width":184,"height":185},23,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/5ebf858ffae7eddf745e6e61818e23fb.webp",961,1359,{"page_no":187,"url":188,"width":189,"height":190},24,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/24783bf47efbef481b50ad6728a7b068.webp",960,1358,{"page_no":192,"url":193,"width":194,"height":195},25,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/f3be888cc163b05658f88e6ac9290d21.webp",959,1357,{"page_no":197,"url":198,"width":199,"height":200},26,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/f729f7b407f4fee9833a5adf45c567e4.webp",958,1355,{"page_no":202,"url":203,"width":204,"height":205},27,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/77b401868b1671f8f337deae4d1d8f4e.webp",957,1354,{"page_no":207,"url":208,"width":209,"height":210},28,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/5d8a6056d0b2120c25556ee7affb4ee9.webp",956,1352,{"page_no":212,"url":213,"width":214,"height":215},29,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/68d6c026af956e616859a382eef6d698.webp",955,1351,{"page_no":41,"url":217,"width":218,"height":219},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/198ea7e8475d21c59a9bf3b4d87027de.webp",954,1349,{"code":4,"msg":221,"data":222},"ok",{"site_id":75,"language":74,"slug":223,"title":65,"keywords":224,"description":66,"schema_data":225,"social_meta":278,"head_meta":280,"extra_data":282,"updated_unix":79},"learning-the-vi-text-editor-chapter-1-getting-started","",{"@graph":226,"@context":277},[227,240,260],{"@type":228,"itemListElement":229},"BreadcrumbList",[230,234,236,238],{"item":231,"name":232,"@type":233,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":235,"name":9,"@type":233,"position":14},"https://docshare.wps.com/document/",{"item":237,"name":30,"@type":233,"position":91},"https://docshare.wps.com/document/technology/",{"item":239,"name":65,"@type":233,"position":19},"https://docshare.wps.com/document/learning-the-vi-text-editor-chapter-1-getting-started/687597/",{"url":239,"name":65,"@type":241,"image":242,"author":247,"headline":65,"publisher":249,"fileFormat":252,"inLanguage":74,"description":66,"dateModified":253,"datePublished":254,"encodingFormat":252,"isAccessibleForFree":255,"interactionStatistic":256},"DigitalDocument",{"url":243,"@type":244,"width":245,"height":246},"https://docshare.wps.com/thumbnails/learning-the-vi-text-editor-chapter-1-getting-started/687597.png","ImageObject",300,407,{"name":63,"@type":248},"Person",{"url":231,"name":250,"@type":251},"DocShare","Organization","application/pdf","2026-11-12","2026-11-07",true,{"@type":257,"interactionType":258,"userInteractionCount":34},"InteractionCounter",{"@type":259},"ViewAction",{"@type":261,"mainEntity":262},"FAQPage",[263,269,273],{"name":264,"@type":265,"acceptedAnswer":266},"How do vi’s command mode and insert mode work?","Question",{"text":267,"@type":268},"In vi, command mode is the initial/default mode where keystrokes issue editing commands. To type real text, you must switch to a special insert mode before typing.","Answer",{"name":270,"@type":265,"acceptedAnswer":271},"Why do editors like vi differ from word processors?",{"text":272,"@type":268},"vi is not WYSIWYG; producing formatted output requires entering formatting codes for another formatter, such as troff.",{"name":274,"@type":265,"acceptedAnswer":275},"What core editing actions does vi support?",{"text":276,"@type":268},"The chapter describes inserting, deleting, changing letters and words, moving text within the file, and copying text to duplicate it elsewhere.","https://schema.org",{"og:url":239,"og:type":279,"og:title":65,"og:site_name":250,"og:description":66},"article",{"robots":281,"canonical":239},"index,follow",{"doc_id":61,"site_id":75},{"list":284,"token":224},[285,291,297,303,309,315,321,327,333,339],{"doc_id":286,"doc_title":287,"file_type":70,"home_preview_img_url":288,"slug":289,"view_count":19,"category_name":30,"create_tm":290},687596,"Learning The Vi Editor - Mastering Text Editing with Vim and Vi Skills","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001262682/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=58aXBGVFKlwGxYE7dPLuv5ynORY%3D","learning-the-vi-editor-mastering-text-editing-with-vim-and-vi-skills",1794084230,{"doc_id":292,"doc_title":293,"file_type":70,"home_preview_img_url":294,"slug":295,"view_count":24,"category_name":30,"create_tm":296},689147,"Learning the vi and Vim Editors - Seventh Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001521964/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=QqBKUP%2FjzIWuRM%2F3F4y0fWf3T8A%3D","learning-the-vi-and-vim-editors-seventh-edition",1794097598,{"doc_id":298,"doc_title":299,"file_type":70,"home_preview_img_url":300,"slug":301,"view_count":29,"category_name":30,"create_tm":302},687585,"Vim Editor Tutorial - Chapter 1 Basic Editing","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001262640/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=3qKlURGuUjimk1zirOzbnazzkKA%3D","vim-editor-tutorial-chapter-1-basic-editing",1794084209,{"doc_id":304,"doc_title":305,"file_type":70,"home_preview_img_url":306,"slug":307,"view_count":39,"category_name":30,"create_tm":308},687606,"Linux Text Editors - Part 3 - Commands and Text Editors","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001262816/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=gPJuXF2YWROCLeonWllQWJgwGfM%3D","linux-text-editors-part-3-commands-and-text-editors",1794084268,{"doc_id":310,"doc_title":311,"file_type":70,"home_preview_img_url":312,"slug":313,"view_count":91,"category_name":30,"create_tm":314},689140,"Vim Reference Guide - Learn Vim Editing and Navigation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001521890/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=ZHtNnTjs8T7OT64klE%2BdyZNYxKk%3D","vim-reference-guide-learn-vim-editing-and-navigation",1794097583,{"doc_id":316,"doc_title":317,"file_type":70,"home_preview_img_url":318,"slug":319,"view_count":29,"category_name":30,"create_tm":320},345779,"GNU TeXmacs - A free, structured, wysiwyg and technical text editor","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910912561/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=%2FXzgt%2FEVkXHI6fS9TjHg2rvLk%2Bk%3D","gnu-texmacs-a-free-structured-wysiwyg-and-technical-text-editor",1790058855,{"doc_id":322,"doc_title":323,"file_type":70,"home_preview_img_url":324,"slug":325,"view_count":44,"category_name":30,"create_tm":326},670638,"Excel Fundamentals - read online free","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988696945/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=80sG1h%2BAR9h6yJPzqJ9%2FXSGu0lI%3D","excel-fundamentals-read-online-free",1793570536,{"doc_id":328,"doc_title":329,"file_type":70,"home_preview_img_url":330,"slug":331,"view_count":91,"category_name":30,"create_tm":332},689142,"Editing with gVim","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001521916/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=mg%2B%2BThwGxHP%2BOgU9PIjHmI0QZhA%3D","editing-with-gvim",1794097588,{"doc_id":334,"doc_title":335,"file_type":70,"home_preview_img_url":336,"slug":337,"view_count":24,"category_name":30,"create_tm":338},687390,"Copying and Pasting with Canvas - Course Content Update","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001259576/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=O84YS1lonMTHMN2OCPhdbqzunQs%3D","copying-and-pasting-with-canvas-course-content-update",1794083308,{"doc_id":340,"doc_title":341,"file_type":70,"home_preview_img_url":342,"slug":343,"view_count":139,"category_name":30,"create_tm":344},343836,"Microsoft Excel 2010 - Program Fundamentals and Worksheets","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910788124/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=pbRBvHYn%2BpjtVHEB%2FYGyujVTMRg%3D","microsoft-excel-2010-program-fundamentals-and-worksheets",1790052279]