junegunn / vim-plug

:hibiscus: Minimalist Vim Plugin Manager
https://junegunn.github.io/vim-plug/
MIT License
33.89k stars 1.9k forks source link

Termux Neovim Vim-plug Support - plug.vim PATH #1235

Open gokayburuc opened 1 year ago

gokayburuc commented 1 year ago

I am using Termux on my Tablet and Android. I installed Neovim from this app and works properly well. I wanted to use vim-plug with my neovim on my tablet

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

For VIM and NEOVIM installation in termux I get system error because "/.vim" path does not exist.

Instead i found using fzf :

usr/share/vim/vim90/autoload/ 
usr/share/nvim/runtime/autoload/

I have several questions:

  1. Do i need to create a plug.vim file in these paths?
  2. Do i need to find another .config folder in termux?

ghost commented 1 year ago

@gokayburuc Could you try to create ~/.vim directory or change install directory. e.g. $ mkdir ~/.vim or

$ sudo curl -fLo /usr/share/{vim | nvim}/{vim90|runtime}/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim