Last active
March 20, 2017 17:23
-
-
Save hgfischer/8610078 to your computer and use it in GitHub Desktop.
Shell Shortcuts (emacs mode)
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 first char | |
ctrl + e: mode cursor to last char | |
ctrl + u: cut to the first char | |
ctrl + k: cut to the last char | |
ctrl + y: paste the clipboard of ctrl+k or ctrl+u | |
ctrl + r: history reverse search | |
ctrl + l: clear screen | |
ctrl + w: delete word to the left | |
ctrl + t: swap the last two chars and move cursor to the right | |
ctrl + v + tab: insert tab in shell | |
alt + f: move cursor to next word | |
alt + b: move cursor to previous word | |
alt + .: paste the last argument of the last entered command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment