Skip to content

Instantly share code, notes, and snippets.

@ashee
Created July 15, 2021 11:15
Show Gist options
  • Save ashee/7721493213119667891fb08d2af9ae95 to your computer and use it in GitHub Desktop.
Save ashee/7721493213119667891fb08d2af9ae95 to your computer and use it in GitHub Desktop.
readline zle key shortcuts
# useful key shortcuts in bash readline or zle
"^X^V" vi-cmd-mode
"^X^U" undo
"^X^B" vi-match-bracket
"^X^E" edit-command-line
"^X^F" vi-find-next-char
"^X^J" vi-join
"^X^K" kill-buffer
"^@" set-mark-command
"^X^X" exchange-point-and-mark
# Get all bindings
```
bindkey
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment