Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plugin-vim-plug]

Questions about vim-plug: a minimalist plugin manager.

0
votes
1answer
145 views

Vim-Plug: Can't install plugins. Invalid plug directory

I'm new to vim. The problem happens when I type :PlugInstall I get: [vim-plug] Invalid plug directory: /Users/joqsan/.vim/plugged. Try to call plug#begin with a valid directory This is how I ...
0
votes
1answer
541 views

Sourcing Vimplug plugins in a separate file

I am using the minimalistic Vimplug as the plugin manager for Vim. Installing plugins through Vimplug involves putting the following code inside the vimrc file. call plug#begin('~/.vim/plugged') ...
1
vote
1answer
117 views

Detecting whether colorscheme is available [duplicate]

How can I detect whether a color scheme installed via a vim-plug plug-in is available? For context, I'm trying to automate my Vim setup on a new machine, pulling the vimrc from a git repository. The ...
1
vote
0answers
595 views

Using Vim-Plug with portable version of gvim (windows)

My university does not (quite understandably) provide administrative rights to users on their public machines (which run only MS Windows 7 OS). As a regular vim user, I use a lot of plugins (...
2
votes
0answers
53 views

How do I pass a full filepath to a function in a Vim plug-in?

I have an exe program that checks for certain errors in a text file. I want to create a shortcut (like \+M) to run that exe file against the text file. My exe file's path is C:\Users\xyz\Documents\...
1
vote
1answer
347 views

Unable to start Vdebug

I am unable to start Vdebug. I am using Vim-Plug to handle my plugins, :PlugStatus on a PHP file gives a status of OK. However, when I press F5, Vdebug is not started. Does anyone has any idea what ...
2
votes
1answer
40 views

What are suggested ways to modify a plugin that was installed by vim-plug?

Suppose there is a particular plugin that I wanna tweak part of its functionality (and it is not under active development anymore), I'd like to test the modified version without pushing to my forked ...
2
votes
1answer
365 views

Why does `vim-plug` add the .vim file to .vim/autoload and not .vim/plugin?

I am new to Vim plugins and am looking to use the vim-plug plugin manager. The installation instruction advises me to download the .vim file and add it to ~/.vim/autoload. curl -fLo ~/.vim/autoload/...
1
vote
0answers
119 views

Vim Plugin Path Issue

I'm trying to get Vim all decked out with some fancy plugins on my work laptop but I am running into some issues. Using echo &rtp I can see that Vim will look in several directories for startup ...
1
vote
1answer
123 views

How can I list the plugins currently *active* when using VIM-Plug?

Oftentimes I'll want to put remaps in my .vimrc that use plugin commands. When a plugin happens to not be installed, these remaps will result in errors. A simple workaround would be to put an if-...
1
vote
1answer
3k views

Why won't vim-plug install my plugins? [typo] [closed]

I'm pretty new to Vim and vim-plug and I can't get the latter to install my plugins. I think I've set everything up—see my files below. But when I start Vim and enter :PlugStatus, it shows a blank ...
1
vote
1answer
2k views

How to install fzf.vim with Vundle?

I use Vundle to manage my vim plugins. However I just came across fzf, and its installation instructions require that I use vim-plug. How do I make this happen? Wouldn't there be a conflict between ...
1
vote
2answers
1k views

Neovim: plugins installed but not working

I am using Ubuntu 16.04. I installed Neovim using apt-get. I downloaded the plug.vim script & put it into the autoload folder in ~/.config/nvim. I put the following in my init.vim: call plug#...
0
votes
1answer
724 views

vim not loading vim-plug plugins

Vim is not loading vim-plug plugins. When I run vim and do :PlugInstall, it installs the plugins and applies them: This is what happens when I quit vim-plug interface using :q, vim goes back to ...
3
votes
0answers
3k views

Can't make vim-plug work [closed]

I'm using Ubuntu 17.04. I've decided to start using Vim, so I needed a plugin manager. I found vim-plug and I really liked it. But I can't make it work. I followed the installation guide: curl -fLo ~/...
4
votes
1answer
2k views

VimPlug unknown function plug#begin in NeoVim

Recently I decided to switch from Vundle to VimPlug, and I noticed that after installing it... putting the plug.vim in my autoload directory ~/.vim/autoload/ and making sure that my vim and neovim ...
4
votes
2answers
227 views

Can I get vim-plug to skip installing a plugin, based on some Vimscript condition?

I'm using vim-plug for managing plugins, primarily for its lazy-loading capabilities. This lets me do: Plug 'Valloric/YouCompleteMe', { 'do': 'python2 ./install.py --clang-completer --gocode-...
17
votes
3answers
9k views

What's the correct way to install YouComplete using vim-plug in vim/nvim?

The only documentation for installing YCM seems to be for Vundle and I'm fairly new to vim-plug and plugins in general so I'm not sure how well it translates to vim-plug.
6
votes
1answer
656 views

What does an `autocmd User` do?

I switched to vim-plug recently. In the README, there's this snippet for using YouCompleteMe with vim-plug: " Code to execute when the plugin is loaded on demand Plug 'Valloric/YouCompleteMe', { 'for'...
1
vote
0answers
241 views

Conceal not working with tex files and vim-plug

Normally, :syn match Entity "e" conceal and :set conceallevel=3 results in all es being concealed. But, if I use vim-plug, this does not work in a tex-file …
0
votes
1answer
126 views

How can I stop a system ftplugin file from overriding the keybindings from a plugin I manage via vim-plug?

I am using the merlin plugin for Ocaml and right now I set the runtimepath by hand, as per their installation instructions: call plug#begin('~/.vim/plugins') "other plugins go here... call plug#end(...
4
votes
1answer
886 views

How to load plugins from my vimrc and from another file?

I have my dotfiles synchronized on github which is a current practice. As I use several machines I want to be able to have some part of my configuration not synched on my github repo. To do so I ...