Vim plugin Align fails to work. Can it be installed without vimball?

Posted by Leonard on Stack Overflow See other posts from Stack Overflow or by Leonard
Published on 2012-03-30T04:35:30Z Indexed on 2012/03/31 5:28 UTC
Read the original article Hit count: 186

Filed under:

I've happily installed the vim Align plugin on my home computer, but on the Red Hat servers at work, the installation doesn't work. The servers at work have a very old copy (2006) of vimball, which from Googling I know doesn't support more recent vimballs, including Align. I can't get the systems group (IT department) to upgrade vimball, so I thought perhaps I could simply copy the various files into ~/.vim/plugin by hand. I copied the 3 files from my home system AlignMapsPlugin.vim AlignPlugin.vim cecutil.vim, but when I attempt to use Align from within vim I get the following error message

E117: Unknown function: Align#Align

I know that it's seeing the plugin, because when I remove the plugin the error message is different (it says "Not an editor command Align").

Is there a workaround for this? I love "Align" and would sure like to use it at work as well as at home.

© Stack Overflow or respective owner