]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Have not used zshfe for years master
authorSergey Matveev <stargrave@stargrave.org>
Fri, 26 Apr 2024 06:29:39 +0000 (09:29 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 26 Apr 2024 06:29:39 +0000 (09:29 +0300)
vim/.vim/pack/stargrave/start/zshfe/autoload/zshfe.vim [deleted file]
vim/.vim/pack/stargrave/start/zshfe/plugin/zshfe.vim [deleted file]
vim/.vim/pack/stargrave/start/zshfe/plugin/zshfe.zsh [deleted file]

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 (file)
index bb94dd6..0000000
+++ /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 (file)
index cb05d99..0000000
+++ /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 (executable)
index 9222054..0000000
+++ /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"