zsh: change keybind to config-edit to ctrl+alt+e

the old keybind ctrl+e was conflicting with the zsh keybind to go to the end
of the current command
This commit is contained in:
Guilherme Rugai Freire 2021-10-09 11:47:59 -03:00
parent e442ddf1aa
commit dee2e3fac0
No known key found for this signature in database
GPG Key ID: 0F9FE41723A8A297

2
.zshrc
View File

@ -43,7 +43,7 @@ alias apacs="paru -Slq | fzf --multi --preview 'paru -Si {1}' | xargs -ro paru -
# Config/scripts Edit # Config/scripts Edit
alias ce="echo \"\$(/bin/ls \$HOME/.scripts/bin | sed \"s|^|\$(realpath \$HOME/.scripts/bin/ --relative-to=.)/|\")\n\$((cd \$HOME && config ls-tree -r master --name-only \$HOME) | sed \"s|^|\$(realpath \$HOME --relative-to=.)/|\" | sed 's|^\./||')\" | fzf --info=inline --prompt='Select a file: ' --preview='bat --paging=never --style=plain --color=always {}' | xargs -r \$EDITOR" alias ce="echo \"\$(/bin/ls \$HOME/.scripts/bin | sed \"s|^|\$(realpath \$HOME/.scripts/bin/ --relative-to=.)/|\")\n\$((cd \$HOME && config ls-tree -r master --name-only \$HOME) | sed \"s|^|\$(realpath \$HOME --relative-to=.)/|\" | sed 's|^\./||')\" | fzf --info=inline --prompt='Select a file: ' --preview='bat --paging=never --style=plain --color=always {}' | xargs -r \$EDITOR"
bindkey -s '^e' 'ce\n' bindkey -s '^[^E' 'ce\n'
# Alias for python3 # Alias for python3
alias python="python3" alias python="python3"