Skip to content

Commit

Permalink
bind delete to last slash to control Y
Browse files Browse the repository at this point in the history
  • Loading branch information
seebi committed May 17, 2016
1 parent dcd38f4 commit 2d85929
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -179,5 +179,5 @@ backward-delete-to-slash () {
zle .backward-delete-word
}
zle -N backward-delete-to-slash
# bind to control backslash
bindkey "^?" backward-delete-to-slash
# bind to control Y
bindkey "^Y" backward-delete-to-slash

0 comments on commit 2d85929

Please sign in to comment.