From d978dc744515a24d68e139349b244354e2623696 Mon Sep 17 00:00:00 2001
From: Sergey Matveev <stargrave@stargrave.org>
Date: Fri, 26 Apr 2024 09:29:39 +0300
Subject: [PATCH] Have not used zshfe for years

---
 .../stargrave/start/zshfe/autoload/zshfe.vim   |  7 -------
 .../stargrave/start/zshfe/plugin/zshfe.vim     | 18 ------------------
 .../stargrave/start/zshfe/plugin/zshfe.zsh     |  8 --------
 3 files changed, 33 deletions(-)
 delete mode 100644 vim/.vim/pack/stargrave/start/zshfe/autoload/zshfe.vim
 delete mode 100644 vim/.vim/pack/stargrave/start/zshfe/plugin/zshfe.vim
 delete mode 100755 vim/.vim/pack/stargrave/start/zshfe/plugin/zshfe.zsh

diff --git a/vim/.vim/pack/stargrave/start/zshfe/autoload/zshfe.vim b/vim/.vim/pack/stargrave/start/zshfe/autoload/zshfe.vim
deleted file mode 100644
index bb94dd6..0000000
--- a/vim/.vim/pack/stargrave/start/zshfe/autoload/zshfe.vim
+++ /dev/null
@@ -1,7 +0,0 @@
-vim9script
-
-export def Do(query: string, opencmd: string)
-    silent var result = systemlist(g:zshfe_path .. " " .. query)
-    if len(result) == 0 | return | endif
-    execute opencmd .. " " .. result[0][: -2]
-enddef
diff --git a/vim/.vim/pack/stargrave/start/zshfe/plugin/zshfe.vim b/vim/.vim/pack/stargrave/start/zshfe/plugin/zshfe.vim
deleted file mode 100644
index cb05d99..0000000
--- a/vim/.vim/pack/stargrave/start/zshfe/plugin/zshfe.vim
+++ /dev/null
@@ -1,18 +0,0 @@
-vim9script
-
-# zsh file completion caller
-# Maintainer: Sergey Matveev <stargrave@stargrave.org>
-# License: GNU General Public License version 3 of the License or later
-
-if exists("*zshfe#Do") | finish | endif
-if !exists("g:zshfe_path")
-    g:zshfe_path = expand("<sfile>:p:h") .. "/zshfe.zsh"
-endif
-
-command! -nargs=1 Fe call zshfe#Do(<f-args>, "edit")
-command! -nargs=1 Fsp call zshfe#Do(<f-args>, "split")
-command! -nargs=1 Fvs call zshfe#Do(<f-args>, "vsplit")
-
-nmap <Leader>e :Fe 
-nmap <Leader><space> :Fsp 
-nmap <Leader>v :Fvs 
diff --git a/vim/.vim/pack/stargrave/start/zshfe/plugin/zshfe.zsh b/vim/.vim/pack/stargrave/start/zshfe/plugin/zshfe.zsh
deleted file mode 100755
index 9222054..0000000
--- a/vim/.vim/pack/stargrave/start/zshfe/plugin/zshfe.zsh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/usr/bin/env zsh
-
-setopt ERR_EXIT
-zmodload zsh/zpty
-zpty zshfe zsh
-zpty -w zshfe "print ZSHFE $*"$'\t EFHSZ\nexit\n'
-zpty -r zshfe zshfe "*exit"
-print -- $zshfe | sed -n "s/^ZSHFE \(.*\) EFHSZ/\1/p"
-- 
2.51.0