You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
298 B

2 years ago
2 years ago
  1. WORDCHARS='~!#$%^&*(){}[]<>?+;'
  2. MOTION_WORDCHARS='~!#$%^&*(){}[]<>?+;'
  3. ''{back,for}ward-word() WORDCHARS=$MOTION_WORDCHARS zle .$WIDGET
  4. bindkey '^[[1;3C' forward-word
  5. bindkey '^[[1;3D' backward-word
  6. bindkey '^[[1;5C' forward-word
  7. bindkey '^[[1;5D' backward-word
  8. bindkey '^[^?' backward-kill-word