vim9script # zsh file completion caller # Maintainer: Sergey Matveev # 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(":p:h") .. "/zshfe.zsh" endif command! -nargs=1 Fe call zshfe#Do(, "edit") command! -nargs=1 Fsp call zshfe#Do(, "split") command! -nargs=1 Fvs call zshfe#Do(, "vsplit") nmap e :Fe nmap :Fsp nmap v :Fvs