Vim's package system
Questions tagged [packages]
24 questions
8
votes
1 answer
Vim 8 packages, how do I overwrite a default package?
I have installed Dr. Chip's netrw from his homepage, since it is newer and more often updated than the files that are part of the main Vim distribution.
Before Vim 8 I always sued the Vimball install method, by opening the .vba and running :source…
grochmal
- 1,656
- 14
- 35
5
votes
2 answers
Can I have multiple `pack` directories?
I'm trying to understand how the packages feature in Vim 8 works. The documentation suggests doing the following:
% mkdir -p ~/.vim/pack/foo
% cd ~/.vim/pack/foo
% unzip /tmp/foopack.zip
The directory name "foo" is arbitrary, you can…
nelstrom
- 289
- 2
- 8
3
votes
1 answer
dein package manager not installing plugins
I'm very confused by the documentation in dein. It says:
dein#add({repo}[, {options}])
Initialize a plugin.
{repo} is the repository URI or local repository directory
path. If {repo} starts with github user name (ex:
…
StevieD
- 1,492
- 1
- 16
- 24
3
votes
1 answer
Can I make Vim add `pack/*/start/*` directories to `runtimepath` without restarting?
Let's say that I've got a package set up like this:
~/.vim/pack/bundle/start/
vim-unimpaired/
vim-surround/
When Vim starts up, it automatically adds the vim-surround and vim-unimpaired directories…
nelstrom
- 289
- 2
- 8
2
votes
1 answer
Why packadd from ftplugin does not work the same way as from vimrc
I am trying to load plugins based on file type. I have the following in ftplugin/python.vim:
packadd SimpylFold
When a python file is opened, not folding is done. If I issue the same command from the python buffer :packadd SimpylFold, no effect…
Konstantin Glukhov
- 268
- 1
- 11