Update fedit and fless functions

This commit is contained in:
Eric Torres 2019-01-03 13:50:47 -08:00
parent 2f99658289
commit 3616cc3c7a
2 changed files with 10 additions and 2 deletions

View File

@ -1,10 +1,14 @@
# call the fedit script
_fedit() {
/usr/bin/fedit
}
_etcedit() {
fedit -e
/usr/bin/fedit -e
}
zle -N fedit
bindkey -M viins '^o' fedit
bindkey -M viins '^o' _fedit
zle -N _etcedit
bindkey -M viins '^e' _etcedit

View File

@ -1,3 +1,7 @@
# key bindings for fless script
_fless() {
/usr/bin/fless
}
zle -N fless
bindkey -M viins '^n' fless