]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/plugin/zshfe.vim
Long netrw's style seems to be useful
[dotfiles.git] / vim / .vim / plugin / zshfe.vim
diff --git a/vim/.vim/plugin/zshfe.vim b/vim/.vim/plugin/zshfe.vim
deleted file mode 100644 (file)
index af3540b..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-" zsh file completion caller
-" Maintainer: Sergey Matveev <stargrave@stargrave.org>
-" License: GNU General Public License version 3 of the License or later
-
-if exists("*<SID>zshfe") | finish | endif
-if !exists("g:zshfe_path") | let g:zshfe_path=expand("~/.vim/plugin/zshfe.zsh") | endif
-
-function! s:zshfe(query, opencmd)
-    silent let result = systemlist(g:zshfe_path . " " . a:query)
-    if len(result) == 0 | return | endif
-    exec a:opencmd . " " . result[0][:-2]
-endfunction
-
-command! -nargs=1 Fe call s:zshfe(<f-args>, "edit")
-command! -nargs=1 Fsp call s:zshfe(<f-args>, "split")
-command! -nargs=1 Fvs call s:zshfe(<f-args>, "vsplit")
-
-nmap <Leader>e :Fe 
-nmap <Leader><space> :Fsp 
-nmap <Leader>v :Fvs