+++ /dev/null
-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
+++ /dev/null
-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
+++ /dev/null
-#!/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"