Eric Torres 3bf21a54e6 Revert "Rename zsh plugins so they are detected by zsh"
This reverts commit 4890ff8aaa7b06e46888bcf67311a17d089c8123.
2020-06-21 22:53:45 -07:00

16 lines
225 B
Bash

# Fuzzy find a file and then edit it
_fedit() {
fedit && zle reset-prompt
}
_etcedit() {
fedit --etc && zle reset-prompt
}
zle -N _fedit
bindkey -M viins '^o' _fedit
zle -N _etcedit
bindkey -M viins '^e' _etcedit