Created
July 7, 2017 23:18
-
-
Save Shourai/accc11173a8320c53314311b7fb6676c to your computer and use it in GitHub Desktop.
zsh backup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## enable changes inside brackets e.g. <di+)>, <ci+[> | |
# autoload -U select-bracketed | |
# autoload -U select-quoted | |
# zle -N select-quoted | |
# zle -N select-bracketed | |
# for km in visual viopp; do | |
# bindkey -M $km -- '-' vi-up-line-or-history | |
# for c in {a,i}${(s..)^:-\'\"\`\|,./:;-=+@}; do | |
# bindkey -M $km $c select-quoted | |
# done | |
# for c in {a,i}${(s..)^:-'()[]{}<>bB'}; do | |
# bindkey -M $km $c select-bracketed | |
# done | |
# done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment