[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-571589-105":53,"doc-detail-571589-en":127},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":120,"head_meta":122,"extra_data":124,"updated_unix":126},105,"en","vi-vim-graphical-cheat-sheet","vi-vim Graphical Cheat Sheet","","This graphical cheat sheet provides a comprehensive overview of essential commands for the vi and Vim text editors. It categorizes commands based on their functional purpose, including cursor movement, operator-based actions, insert modes, and ex-mode commands. The document serves as a quick-reference guide for navigating files, text manipulation, and advanced editing features such as register usage, macro recording, and visual mode operations, catering to users looking to enhance their efficiency in the command-line interface.",{"@graph":63,"@context":119},[64,80,102],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":51,"@type":70,"position":76},"https://docshare.wps.com/template/general/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/vi-vim-graphical-cheat-sheet/571589/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/vi-vim-graphical-cheat-sheet/571589.png","ImageObject",442,249,{"name":88,"@type":89},"Đào","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-25","2026-10-13",true,{"@type":98,"interactionType":99,"userInteractionCount":101},"InteractionCounter",{"@type":100},"ViewAction",6,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"How can I save and quit in Vim?","Question",{"text":109,"@type":110},"You can use the 'ZZ' command to save and quit, or 'ZQ' to quit without saving.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"What is the purpose of visual mode in Vim?",{"text":114,"@type":110},"Visual mode allows you to move the cursor to select a specific region of text and then apply an operator to act upon that selected region.",{"name":116,"@type":107,"acceptedAnswer":117},"How do you perform a file-wide search and replace in Vim?",{"text":118,"@type":110},"Use the ex-mode command ':%s/x/y/g', where 'x' is the string to be replaced, 'y' is the new string, and 'g' ensures all occurrences are replaced.","https://schema.org",{"og:url":78,"og:type":121,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":123,"canonical":78},"index,follow",{"doc_id":125,"site_id":56},571589,1792086199,{"code":4,"msg":5,"data":128},{"doc_id":125,"user_id":129,"nickname":88,"user_avatar":130,"doc_module":9,"category_id":50,"category_name":51,"doc_title":59,"doc_description":61,"doc_content":131,"file_id":132,"file_url":133,"file_type":134,"file_size":135,"view_count":101,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":9,"language":136,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":137,"faqs":138,"seo_title":139,"seo_description":61,"update_tm":140,"read_time":4},1374402968488,"https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","Esc  \nnormal mode  \nvi/vim graphical cheat sheet  \nmoves the cursor, or deﬁnesthe range for an operator direct action command, if red, it enters insert mode requires a motion afterwards, operates between cursor and destination  \nspecial functions,  \nrequires extra input commands with a dot need a char argument afterwards  \nbol = beginning of line, eol = end of line, mk = mark, par = paragraph, yank = copy words: quux (foo , bar , baz ) ;  \nWORDS: quux(foo, bar, baz) ;  \nMain command line commands (’ex’):  \n:w (save), :q (quit), :q! (quit w/o saving):tabe f (open ﬁle f in new tab),  \n:e f (open ﬁle f), :gt (next tab),  \n:%s/x/y/g (replace ‘x’by‘y’ﬁlewide),:h (help in vim), :new (new ﬁle in vim)  \nOther important commands:  \nCtrl-R: redo (vim),  \nCtrl-F/-B: page up/down,  \nCtrl-E/-Y: scroll line up/down, Ctrl-V: block-visual mode (vim only)  \nVisual mode:  \nMove around and type operator to acton selected region (vim only)  \nNotes:  \n(1) use ''x before a yank/paste/del command to use that register (’clipboard’) (x=a...z,*)(e.g.: ''ay$ to copy rest of line to reg 'a')  \n(2) type in a number before any action to repeat it that number of times (e.g.: 2p, d2w, 5i, d4j)  \n(3) duplicate operator to act on current line (dd = delete line, >> = indent line)  \n(4) ZZ to save and quit, ZQ to quit w/o saving  \n(5) zt: scroll cursor to top, zb: bottom, zz: center  \n(6) gg: top of ﬁle (vim only),  \ngf: open ﬁle under cursor (vim only)","cbCaimU2mS1TI6kY","https://ap.wps.com/l/cbCaimU2mS1TI6kY","pdf",130868,"English","# Essential Commands\n## Main command line commands (ex)\n## Other important commands\n## Visual mode\n## Notes","[{\"question\":\"How can I save and quit in Vim?\",\"answer\":\"You can use the 'ZZ' command to save and quit, or 'ZQ' to quit without saving.\"},{\"question\":\"What is the purpose of visual mode in Vim?\",\"answer\":\"Visual mode allows you to move the cursor to select a specific region of text and then apply an operator to act upon that selected region.\"},{\"question\":\"How do you perform a file-wide search and replace in Vim?\",\"answer\":\"Use the ex-mode command ':%s/x/y/g', where 'x' is the string to be replaced, 'y' is the new string, and 'g' ensures all occurrences are replaced.\"}]","vi-vim Graphical Cheat Sheet | PDF",1791922516]