Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vim: Recommendations for vimball plugins in pathogen

Tags:

vim

I plan to switch to vim 7.3 in the next days on my windows box - linux will soon follow. I also plan to switch my vim setup and let pathogen handle my plugins. I've googled but not yet found a solution how to handle plugins using vimball technique for setup. Any hints?

like image 239
vbd Avatar asked Sep 22 '10 07:09

vbd


People also ask

What is Vimball?

A vimball is a ViM-readable archive format that holds the plugin files and commands to install them. A plugin downloaded as a Vimball typically has a file extension of . vba or . vimball, say Foobar. vba .

What do vim plugins do?

vim is a plugin that wraps the command-line fuzzy finder program fzf, allowing you to use it directly within Vim. Fzf is a fast and portable fuzzy finder application written in Go. It is a requirement for the Vim plugin, so make sure you install it first.

What is pathogen run?

vim-pathogen is a runtimepath manager created by Tim Pope to make it easy to install plugins and runtime files in their own private directories.


1 Answers

You are looking for :UseVimball [path]

Open the vimball up with vim. Instead of sourcing it with :so % do

$ vim somthing.vba :!mkdir ~/.vim/bundle/bundle-dir-name-here :UseVimball ~/.vim/bundle/bundle-dir-name-here 

Note you will have to make sure the path exists before you execute this command.

:h :UseVimball 
like image 79
Peter Rincker Avatar answered Oct 17 '22 13:10

Peter Rincker