Update fedit and fless functions
This commit is contained in:
parent
2f99658289
commit
3616cc3c7a
@ -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
|
||||
|
@ -1,3 +1,7 @@
|
||||
# key bindings for fless script
|
||||
_fless() {
|
||||
/usr/bin/fless
|
||||
}
|
||||
|
||||
zle -N fless
|
||||
bindkey -M viins '^n' fless
|
||||
|
Loading…
x
Reference in New Issue
Block a user