sponsor Vim development Vim logo Vim Book Ad

FIGlet.vim : Finally, the power of Vim + FIGlet!

 script karma  Rating 40/13, Downloaded by 700    Comments, bugs, improvements  Vim wiki

created by
erik falor
script type
Use the g@ operator or the :FIGlet command to filter your text through figlet, in-place!
:FIGlet has a completion function that will complete on installed font names, too.

Plus, there is a Windows/MS-DOS version of FIGlet, so everybody can get in on the fun!

Q: Can't I do this same thing with the :! command?
A: Basically, sure

Q: What does this plugin give me that Vim's built-in filtering doesn't?
A1. Convenience - through variables it can remember your preferences
A2. Completion - so you don't have to memorize all of the commands or font names
A3. Text-objects - use the g@ operator with text-objects for blazing fast transformations that will knock shoulder-surfer's socks off
A4. A font sample buffer to help you pick out the perfect font for the occasion

Q: Okay, I'm sold.  But what is this FIGlet you speak of?
A: This:
  __ _       _      _  
/ _(_) __ _| | ___| |_
| |_| |/ _` | |/ _ \ __|
|  _| | (_| | |  __/ |_
|_| |_|\__, |_|\___|\__|

Er, that wasn't quite as impressive as I was hoping.  Check out http://www.figlet.org/ to get with the times.
install details
Make sure you've got the figlet program installed on your $PATH
Copy script into your .vim/plugin directory

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
FIGlet.vim 3.0 2015-09-12 7.0 erik falor I cannot thank Suraj N. Kurapati enough for submitting a patch that sets the                                                                                                        '[ and '] marks around the FIGlet-ified text. Thank you for your great work. If it weren't for you there wouldn't be a version 3.0!

This version also changes the spelling of the commands from :Figlet* to :FIGlet* in keeping with the style of www.figlet.org.
Figlet.vim 2.0 2011-06-23 7.0 erik falor :FigletFontDemo can be given a small sample of text to render; this lets you easily compare fonts
Figlet.vim 1.1 2010-12-13 7.0 erik falor Add :FigletFontDemo - open a buffer with generated samples of installed fonts

Bugfixes; use shellescape() on text sent to figlet; better able to cope with figlet crashes, work around broken DOS build of figlet
Figlet.vim 1.0 2010-12-11 7.0 erik falor Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo