Bash Cheat Sheet -- Vi Editing Mode Cheat Sheet

2,780 views

Published on

Made at http://www.catonmat.net

The cheat sheet includes: Commands for entering input mode, Basic movement commands, Character finding commands, Character finding commands, Deletion commands, Undo, redo and copy/paste commands, Commands for history manipulation, Completion commands, A few misc. commands, and Tips and examples.

The cheat sheet was created by examining bash source code, so it is very precise and complete!

Visit http://www.catonmat.net for more cheat sheets!

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,780
On SlideShare
0
From Embeds
0
Number of Embeds
28
Actions
Shares
0
Downloads
63
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Bash Cheat Sheet -- Vi Editing Mode Cheat Sheet

  1. 1. Readline VI Editing Mode Cheat Sheet Default Keyboard Shortcuts for Bash Shortcut Description Switching to Command Mode: ESC Switch to command mode. Commands for Entering Input mode: i Insert before cursor. a Insert after cursor. I Insert at the beginning of line. A Insert at the end of line. c<movement> Change text of a movement command <movement> (see below). C Change text to the end of line (equivalent to c$). cc or S Change current line (equivalent to 0c$). s Delete a single character under the cursor and enter input mode (equivalent to c[SPACE]) . r Rep</movement></movement>

×