Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I feel dense asking this but I've been playing with the "textfilter" plugin for Vim, but for the life of me I can't get it to work.

I have a text file open just now, and I want to find the longest line by using the plugin but I can't seem to run it.

I've tried: :textfilter, |textfilter-find-longest-line|, and a few others but it won't seem to run although I'm sure it's installed correctly as it's just a case of extracting to the correct location. It also reacts fine to help textfilter, but getting the help page is as close as I get to running it.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

How to use a plugin should be documented along with the code that implements the plugin, there is no standard way to use plugins in general.

The help for that specific plugin indicates that it is for use from the GUI only, and it appears that it creates menu items for the various functions that it implements. There may be undocumented ways to use the functions without the menu items, or it could be that the plugin just doesn't load at all if you're not using the GUI.

share|improve this answer
    
Yeah, turns out it worked with GVim! Thank you! :) –  Geesh_SO Dec 6 '12 at 21:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.