We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current automatic installation script in wiki is not compatible with Windows, mostly due to these two problems:
autoload
~/vimfiles
~/.vim
C:/Windows/System32/curl.exe
~
!
I wrote a compatible version, tested to solve these two problems, making it compatible with Windows:
let data_dir = has('nvim') ? stdpath('data') . '/site' : has('win32') ? '~/vimfiles' : '~/.vim' if empty(glob(data_dir . '/autoload/plug.vim')) silent execute '!curl -fLo '.fnamemodify(data_dir.'/autoload/plug.vim', ':p:S').' --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' autocmd VimEnter * PlugInstall --sync | source $MYVIMRC endif
Only few words changed.
If we get this updated to wiki, we can benefit the users.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current automatic installation script in wiki is not compatible with Windows, mostly due to these two problems:
autoload
should be in~/vimfiles
instead of~/.vim
on Windows.C:/Windows/System32/curl.exe
) and cmd.exe/PowerShell will not expand~
with!
invocation.I wrote a compatible version, tested to solve these two problems, making it compatible with Windows:
Only few words changed.
If we get this updated to wiki, we can benefit the users.
The text was updated successfully, but these errors were encountered: