Thursday, August 25, 2016

Re: managing dotfiles and plugins on remote server

Hi Luis!

On Do, 25 Aug 2016, Luis Henriquez-Perez wrote:

> I'm setting up my dotfiles on github (https://github.com/Luis-Henriquez-Perez/dotfiles.git) so that i can clone them on any unix-based remote server with internet. http://blog.smalleycreative.com/tutorials/using-git-and-github-to-manage-your-dotfiles/
>
> I use vim-plug. When I cloned my files on a server I and started vim, vim-plug was not working. I would get error messages saying "Plug" is not a vim command. I thought maybe I'd need to use this command that's on the vim-plug github page:
>
> curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
> https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
>
> but "curl" doesn't work on the remote server. Does anyone have an idea of how to get the plugins set up on a remote server?

If curl isn't available, wget should also do it. It won't however create
the directories.
Also since you already cloned vim-plug, you should be able to simply
copy the file to ~/.vim/autoload/plugin.vim manually.


Best,
Christian
--
Menschen, die immer daran denken, was andere von ihnen halten, wären
sehr überrascht, wenn sie wüßten, wie wenig die anderen über sie
nachdenken.
-- Bertrand A. W. Russell

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: