The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [packages]

Vim's package system

Filter by
Sorted by
Tagged with
2
votes
1answer
24 views

Vim 8.1 on Windows 10 Won't Detect Packages in $HOME

Take a plugin like Flake8. It instructs users to install using Vim 8's package manager by: mkdir -p ~/.vim/pack/flake8/start/ cd ~/.vim/pack/flake8/start/ git clone https://github.com/nvie/vim-flake8....
2
votes
1answer
113 views

how to load vim8 optional packages in vimrc?

I am trying to load my optional language packages based on filetype. I am using vim8 native package feature. In vim I can load them with :packadd vim-javascript. However, I read in :help packadd - (...
1
vote
1answer
41 views

Why are helptags not shipped with plugins?

Part of the job performed by virtually all plugin managers in Vim is to create helptags, which will index the help files shipped with the plugins and will allow searching for commands and mappings ...
3
votes
0answers
115 views

How to load vim-javascript using Vim 8 native package manager?

I am long time Vim (Windows 10, gVim 8.1) user, happy as a clam with Vim 7. I have not used any of the plugin managers, just the one-off plugin from vim.org. I went looking for plugins to help with ...
1
vote
1answer
38 views

How do I get help for a specific package?

I am at a phase of cleaning up my choice of plugins and I want to read the documentation provided by a package through vim it self. With that in mind, I don't know a way to: get to the top of the ...
1
vote
1answer
326 views

How to load a “local” plugin with Minpac properly?

After moving from Vim-plug to Minpac, the only missing functionality has been to be able to load local paths. Actually I managed to make it work (details below), but I've got the feeling that there ...
-1
votes
2answers
192 views

Shortcut for automatic execution

I've found the following command to execute Python or Matlab or any other language as far as I understand to execute code nnoremap <buffer> <F9> :exec '!python' shellescape(@%, 1)<cr&...
0
votes
1answer
634 views

How to properly initialize plugins with new vim 8 packages feature?

I'm using denite plugin and I have some intialization for it. call denite#custom#source( \ 'file_rec', 'matchers', ['matcher_fuzzy', 'matcher_project_files']) call denite#custom#var('file_rec/git'...
0
votes
1answer
844 views

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 ...
4
votes
2answers
297 views

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 ...
7
votes
1answer
502 views

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 ...
3
votes
2answers
328 views

How can I run a ft-plugin with the new built-in package manager in Vim?

I'm testing the new built-in package manager. From :h packages: When Vim starts up, after processing your .vimrc, it scans all directories in 'packpath' for plugins under the "pack/*/start" directory....