Created
April 21, 2017 01:39
-
-
Save paresharma/2f489954c5ace0f63022595166e12c6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ctrl+a Move cursor to start of line | |
Ctrl+e Move cursor to end of line | |
Ctrl+b Move back one character | |
Alt+b Move back one word | |
Ctrl+f Move forward one character | |
Alt+f Move forward one word | |
Ctrl+d Delete current character | |
Ctrl+w Cut the last word | |
Ctrl+k Cut everything after the cursor | |
Alt+d Cut word after the cursor | |
Alt+w Cut word before the cursor | |
Ctrl+y Paste the last deleted command | |
Ctrl+_ Undo | |
Ctrl+u Cut everything before the cursor | |
Ctrl+xx Toggle between first and current position | |
Ctrl+l Clear the terminal | |
Ctrl+c Cancel the command | |
Ctrl+r Search command in history - type the search term | |
Ctrl+j End the search at current history entry | |
Ctrl+g Cancel the search and restore original line | |
Ctrl+n Next command from the History | |
Ctrl+p previous command from the History |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://www.catonmat.net/download/bash-vi-editing-mode-cheat-sheet.pdf