[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-571588-105":53,"doc-detail-571588-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","bash-vi-editing-mode-cheat-sheet-default-keyboard-shortcuts","Bash VI Editing Mode Cheat Sheet - Default Keyboard Shortcuts","","Bash readline VI editing mode cheat sheet listing default keyboard shortcuts for command mode and input mode workflows. Covers switching between modes, entering and editing text, cursor movement and character search/find commands, deletion operations, undo/redo and copy-paste actions, command history navigation, search through history, and completion features. Includes miscellaneous utilities and practical examples showing how movement commands compose with editing commands. Also references related documentation via man pages.",{"@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/bash-vi-editing-mode-cheat-sheet-default-keyboard-shortcuts/571588/",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/bash-vi-editing-mode-cheat-sheet-default-keyboard-shortcuts/571588.png","ImageObject",442,249,{"name":88,"@type":89},"Chumphorn","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",10,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"How do I switch from input mode to command mode in Bash readline VI mode?","Question",{"text":109,"@type":110},"Press ESC to switch to command mode.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"What commands can I use to edit text while in command mode?",{"text":114,"@type":110},"Use i/a/I/A to insert relative to the cursor or line. Use c \u003Cmovement> or C to change text, and r or R to replace characters.",{"name":116,"@type":107,"acceptedAnswer":117},"How can I search command history and complete commands?",{"text":118,"@type":110},"Use /string or CTRL-r to search backward, and ?string or CTRL-s to search forward. Use TAB, CTRL-i, or = to list possible completions, and * to insert all possible completions.","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},571588,1792101017,{"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":73,"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":9},2336475401981,"https://ap-avatar.wpscdn.com/avatar/22000c94efd8d5204d?x-image-process=image/resize,m_fixed,w_180,h_180&k=1786935347598174694","Readline VI Editing Mode Cheat Sheet Default Keyboard Shortcuts for Bash  \n\n| Shortcut | Description |\n| --- | --- |\n| Switching to Command Mode: |  |\n| ESC | Switch to command mode. |\n| Commands for Entering Input mode: |  |\n| i | Insert before cursor. |\n| a | Insert after cursor. |\n| I | Insert at the beginning of line. |\n| A | Insert at the end of line. |\n| c \u003Cmovement command> | Change text of a movement command \u003Cmovement command> (see below) . |\n| C | Change text to the end of line (equivalent to c$) . |\n| cc or S | Change current line (equivalent to 0c$) . |\n| s | Delete a single character under the cursor and enter input mode (equivalent toc[SPACE]) . |\n| r | Replaces a single character under the cursor (without leaving command mode) . |\n| R | Replaces characters under the cursor. |\n| v | Edit (and execute) the current command in a text editor (an editor in $VISUAL and $EDITOR variables or vi) . |\n| Basic Movement Commands (in command mode): |  |\n| l or SPACE | Move one character right. |\n| h | Move one character left. |\n| w | Move one word or token right. |\n| b | Move one word or token left. |\n| W | Move one non-blank word right. |\n| B | Move one non-blank word left. |\n| e | Move to the end of the current word. |\n| E | Move to the end of the current non-blank word. |\n| 0 | Move to the beginning of line. |\n| ^ | Move to the 􀀌rst non-blank character of line. |\n| $ | Move to the end of line. |\n| % | Move to the corresponding opening/closing bracket (()'s, []'s and fg's) . |\n| Character Finding Commands (these are also Movement Commands): |  |\n| fc | Move right to the next occurance of c. |\n| Fc | Move left to the previous occurance of c. |\n| tc | Move right to the next occurance of c, then one char backward. |\n| Tc | Move left to the previous occurance of c, then one char forward. |\n| ; | Redo the last character 􀀌nding command. |\n| , | Redo the last character 􀀌nding command in opposite direction. |\n| j | Move to the n-th column (you may specify the argument n by typing it on number keys, for example, 20j) . |\n\nA cheat sheet by Peter Krumins ([peter@catonmat.net](peter@catonmat.net), @pkrumins on twitter).  \n[www.catonmat.net](www.catonmat.net { good)[ { good](www.catonmat.net { good) coders code, great coders reuse Released under GNU Free Document License.  \n\n| Deletion Commands: |  |\n| --- | --- |\n| x | Delete a single character under the cursor. |\n| X | Delete a character before the cursor. |\n| d \u003Cmovement command> | Delete text of a movement command \u003Cmovement command> (see above) . |\n| D | Delete to the end of the line (equivalent to d$) . |\n| dd | Delete current line (equivalent to 0d$) . |\n| CTRL-w | Delete the previous word. |\n| CTRL-u | Delete from the cursor to the beginning of line. |\n| Undo, Redo and Copy/Paste Commands: |  |\n| u | Undo previous text modi􀀌cation. |\n| U | Undo all previous text modi􀀌cations on the line. |\n| . | Redo the last text modi􀀌cation. |\n| y \u003Cmovement command> | Yank a movement into bu􀀋er (copy) . |\n| yy | Yank the whole line. |\n| p | Insert the yanked text at the cursor (paste) . |\n| P | Insert the yanked text before the cursor. |\n| Commands for Command History: |  |\n| k | Move backward one command in history. |\n| j | Move forward one command in history. |\n| G | Move to the history line n (you may specify the argument n by typing it on number keys, for example, 15G) . |\n| /string or CTRL-r | Search history backward for a command matching string. |\n| ?string or CTRL-s | Search history forward for a command matching string (remember that on most machines CTRL-s stops the output to the terminal (CTRL-q starts output) and you might need to change it with stty command) . |\n| n | Repeat search in the same direction as previous. |\n| N | Repeat search in the opposite direction as previous. |\n| Completion Commands: |  |\n| TAB or CTRL-i or = | List possible completions. |\n| * | Insert all possible completions. |\n| Miscellaneous Commands: |  |\n| 􀀘 | Invert the case of the character under cursor, and","cbCaioXhe1Vq4iYL","https://ap.wps.com/l/cbCaioXhe1Vq4iYL","pdf",138024,"English","# Switching to Command Mode\n# Input Mode Editing Commands\n# Basic Movement Commands\n# Character Finding Commands\n# Deletion Commands\n# Undo, Redo and Copy/Paste Commands\n# Command History and Searching\n# Completion Commands\n# Miscellaneous Commands\n# Examples and Tips","[{\"question\":\"How do I switch from input mode to command mode in Bash readline VI mode?\",\"answer\":\"Press ESC to switch to command mode.\"},{\"question\":\"What commands can I use to edit text while in command mode?\",\"answer\":\"Use i/a/I/A to insert relative to the cursor or line. Use c \\u003cmovement\\u003e or C to change text, and r or R to replace characters.\"},{\"question\":\"How can I search command history and complete commands?\",\"answer\":\"Use /string or CTRL-r to search backward, and ?string or CTRL-s to search forward. Use TAB, CTRL-i, or = to list possible completions, and * to insert all possible completions.\"}]","Bash VI Editing Mode Cheat Sheet - Default Keyboard Shortcuts | PDF",1791922513]