Skip to content

Commit

Permalink
Make CTRL+U delete the whole typed command
Browse files Browse the repository at this point in the history
  • Loading branch information
mcornella committed Mar 31, 2021
1 parent 5cabbe1 commit e263d5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ alias bindkey='noglob bindkey'

## Key bindings

# delete whole buffer
bindkey '^U' kill-buffer
# ALT + i more accessible Undo
bindkey '^[i' undo
# ALT + DEL deletes whole forward-word
Expand Down

0 comments on commit e263d5e

Please sign in to comment.