vimoutliner on Ununtu 10.10/Maverick

by

So, helpfully, when you install vim-vimoutliner on Ubuntu, per Debian policy, it doesn’t actually work[1]. Unfortunately, following the instructions in /usr/share/doc/vim-vimoutliner/README.Debian

vim-addons install ADDON

doesn’t help, ever after replacing ADDON with vimoutliner (not vim-vimoutliner, which is the package name). In particular, none of the vimoutliner commands appear to work at all and the folding commands (zo/zc) fail to recognise the OTL folds, instead reporting “E490: No fold found”. Your .vimrc must also contain (or your /etc/vim/vimrc must have uncommented[2]):

filetype plugin indent on

1: The reason for this is not obvious; if there’s a problem with potential conflicts then, like all other conflicts in the Debian universe, they should be reflected in the .deb. If there’s a concern about the extraordinarily unusual case where a Debian/Ubuntu machine actually has multiple users and those users actually have conflicting preferences about which vim addons to enable then this should be special-cased. It would seem that a better approach would be to (a) have all addons depend upon vim-addons (because they’re useless until enabled via vim-addons) and (b) have a “default” option called by all post-installers (vim-addons default $MODULE) and an option for the vim-addons command to treat “default” as disabled.

2: Why is this commented out? What is the situation in which you’d want addons that you’d (a) installed and (b) explicitly enabled with vim-addons to still not work?

Advertisements

One Response to “vimoutliner on Ununtu 10.10/Maverick”

  1. Niall Parker Says:

    Thanks very much for that, my previous install of vimoutliner didn’t need any intervention with vim-addons so I really didn’t have a clue about it.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: