commit 07a6a05e0b19606571efea9df455e75296b5f527
parent 95b925a7b2110c2c169197aaaf8f51abfcf1cff1
Author: Anders Damsgaard <andersd@riseup.net>
Date: Fri, 20 Oct 2017 21:37:44 -0400
fix zsh-widget names
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/links/.zshrc b/links/.zshrc
@@ -62,12 +62,12 @@ zle -N _editor
bindkey '^e' _editor
# launch vim+fzf with Ctrl-f
-_editor() {
+_editor_fuzzy_find() {
BUFFER="vim -c ':FZF'"
zle accept-line
}
-zle -N _editor
-bindkey '^f' _editor
+zle -N _editor_fuzzy_find
+bindkey '^f' _editor_fuzzy_find
if [[ "$ARCH" != 'Darwin' ]]; then
function open() { xdg-open $1 &> /dev/null &disown; }