From 3616cc3c7a4935240ceeb3dcbad84714059e2c35 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Thu, 3 Jan 2019 13:50:47 -0800 Subject: [PATCH] Update fedit and fless functions --- zsh/plugins.d/fedit.zsh | 8 ++++++-- zsh/plugins.d/fless.zsh | 4 ++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/zsh/plugins.d/fedit.zsh b/zsh/plugins.d/fedit.zsh index b6ea9d3..7b5a2b3 100644 --- a/zsh/plugins.d/fedit.zsh +++ b/zsh/plugins.d/fedit.zsh @@ -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 diff --git a/zsh/plugins.d/fless.zsh b/zsh/plugins.d/fless.zsh index 85179f0..7b96542 100644 --- a/zsh/plugins.d/fless.zsh +++ b/zsh/plugins.d/fless.zsh @@ -1,3 +1,7 @@ # key bindings for fless script +_fless() { + /usr/bin/fless +} + zle -N fless bindkey -M viins '^n' fless