Questions tagged [plugin-vim-plug]

Questions about vim-plug: a minimalist plugin manager.

Filter by
Sorted by
Tagged with
17
votes
3answers
11k 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
822 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'...
4
votes
2answers
282 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-...
4
votes
1answer
3k 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
1answer
1k 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 ...
3
votes
0answers
4k 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 ~/...
2
votes
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 ...
2
votes
1answer
475 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/...
2
votes
1answer
43 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
72 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
2answers
26 views

Unable to conditionally test for presence of a plugin command & invoke it

I have the following code in my vimrc if exists(":Goyo") augroup LatexGoyo autocmd! autocmd BufReadPost,BufNewFile *.tex Goyo augroup END else augroup LatexColumnSet ...
1
vote
1answer
495 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
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#...
1
vote
1answer
190 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
78 views

Same plugins for every .vimrc file (vim-plug)

I have a question regarding the following situation: I want to use a default .vimrc and a vimrc (name it .vimrc2) for a special purpose. However, when I start vim with vim -u ~/.vimrc2 I have the ...
1
vote
1answer
4k 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
431 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 ...
1
vote
0answers
19 views

Vim-plugin error which goes away when using sudo

After resisting for a bit, I decided to try the plugin manager vim-plug. It seemed to work well when installing the GhostText plugin, except that I had to do the installation in a sudo nvim session, ...
1
vote
0answers
141 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
0answers
664 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 (...
1
vote
0answers
286 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
736 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
134 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(...
0
votes
0answers
19 views

How can I create a customized vim [in my own pc] and could install it on every server that I use in future?

I like my own plugin full vim that I use, but every time I ssh to a server I have to reinstall those plugins and customizations. Does anyone have an easy method to install my own customized vim on ...
0
votes
0answers
64 views

coc not working in latest vim

I've installed coc following the instruction, using Vim-Plug (before that I did it without installing yarn and with kite still (partially) installed. I got a 'javascript file not found' error So I ...
0
votes
1answer
44 views

YouCompleteMe does not work as expected

My process so far: Brew unlink vim Brew install macvim Brew link macvim Installing YCM with vim-plug. Running ./install.py from YCM folder. mkdir ycm_build cmake -G "Unix Makefiles" . ~/.vim/Plugged/...
0
votes
2answers
691 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') ...
0
votes
1answer
1k 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 ...