Move plugins to plugin directory

This commit is contained in:
Eric Torres
2019-03-01 16:49:17 -08:00
parent aaea526054
commit 9d46615a56
5 changed files with 18 additions and 36 deletions

17
zsh/plugins/fedit.zsh Normal file
View File

@@ -0,0 +1,17 @@
# Fuzzy find a file and then edit it
_fedit() {
/usr/bin/fedit
zle reset-prompt
}
_etcedit() {
/usr/bin/fedit --etc
zle reset-prompt
}
zle -N _fedit
bindkey -M viins '^o' _fedit
zle -N _etcedit
bindkey -M viins '^e' _etcedit