Explorar o código

Add more keybindings to zsh

Thomas Dy %!s(int64=9) %!d(string=hai) anos
pai
achega
cbdd286b1a
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      .zsh/config.zsh

+ 3 - 0
.zsh/config.zsh

@@ -55,6 +55,9 @@ bindkey '^R' zaw-history
 
 bindkey "${terminfo[khome]}" beginning-of-line
 bindkey "${terminfo[kend]}" end-of-line
+bindkey "${terminfo[kdch1]}" delete-char # Del
+bindkey "${terminfo[kpp]}" backward-word # PageUp
+bindkey "${terminfo[knp]}" forward-word # PageDown
 
 alias l="k -h"
 alias ssh="TERM=xterm-256color ssh"