Skip to content

fadein/vim-FIGlet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

  _____ ___ ____ _      _        _  __        
 |  ___|_ _/ ___| | ___| |_     (_)/ _|_   _  
 | |_   | | |  _| |/ _ \ __|____| | |_| | | | 
 |  _|  | | |_| | |  __/ ||_____| |  _| |_| | 
 |_|   |___\____|_|\___|\__|    |_|_|  \__, | 
                                       |___/  
                ,        ,           , .     , .       
   . _ . .._.  -+- _ \./-+-  .    ,*-+-|_   -+-|_  _   
 \_|(_)(_|[     | (/,/'\ |    \/\/ | | [ )   | [ )(/,  
 ._|                                                   
                          @@@@@@@@@          
                        @@:::::::::@@        
                      @@:::::::::::::@@      
    ggggggggg   ggggg@:::::::@@@:::::::@     
   g:::::::::ggg::::g@::::::@   @::::::@     
  g:::::::::::::::::g@:::::@  @@@@:::::@     
 g::::::ggggg::::::gg@:::::@  @::::::::@     
 g:::::g     g:::::g @:::::@  @::::::::@     
 g:::::g     g:::::g @:::::@  @:::::::@@     
 g:::::g     g:::::g @:::::@  @@@@@@@@       
 g::::::g    g:::::g @::::::@                
 g:::::::ggggg:::::g @:::::::@@@@@@@@        
  g::::::::::::::::g  @@:::::::::::::@       
   gg::::::::::::::g    @@:::::::::::@       
     gggggggg::::::g      @@@@@@@@@@@        
             g:::::g                         
 gggggg      g:::::g                         
 g:::::gg   gg:::::g                         
  g::::::ggg:::::::g                         
   gg:::::::::::::g                          
     ggg::::::ggg                            
        gggggg                               

                               .-.             
                              .' `.            
  .--. .---.  .--. .--.  .--. `. .'.--. .--.   
 ' .; :: .; `' '_.': ..'' .; ; : :' .; :: ..'  
 `.__.': ._.'`.__.':_;  `.__,_;:_;`.__.':_;    
       : :                                     
       :_;                                     

 o                  |    |o|    o              |             |    |         
 .,---.    ,---.,---|,---|.|--- .,---.,---.    |--- ,---.    |--- |---.,---.
 ||   |    ,---||   ||   |||    ||   ||   |    |    |   |    |    |   ||---'
 ``   '    `---^`---'`---'``---'``---'`   '    `---'`---'    `---'`   '`---'

      ______________________________    _____ 
 ________  ____/___  _/_  ____/__  /______  /_
 ___(_)_  /_    __  / _  / __ __  /_  _ \  __/
 ___  _  __/   __/ /  / /_/ / _  / /  __/ /_  
 _(_) /_/      /___/  \____/  /_/  \___/\__/  
                                              
                                                                 888 
  e88'888  e88 88e  888 888 8e  888 888 8e   ,"Y88b 888 8e   e88 888 
 d888  '8 d888 888b 888 888 88b 888 888 88b "8" 888 888 88b d888 888 
 Y888   , Y888 888P 888 888 888 888 888 888 ,ee 888 888 888 Y888 888 
  "88,e8'  "88 88"  888 888 888 888 888 888 "88 888 888 888  "88 888 
 
 
                                   .-._.).--.            
                       `-=-.`-=-. (   )/      `-=-.`-=-. 
                                   `-'/                  

                (o)__(o)\\  //                wWw  wWw\\\  ///,
                (__  __)(o)(o)  wWw     wWw   (O)  (O)((O)(O)) 
                  (  )  ||  ||  (O)_    (O)_  / )  ( \ | \ ||  
                   )(   |(__)| .' __)  .' __)/ /    \ \||\\||  
                  (  )  /.--.\(  _)   (  _)  | \____/ ||| \ |  
                   )/  -'    `-`.__)   )/    '. `--' .`||  ||  
                  (                   (        `-..-' (_/  \_) 
           ___  ___  ___  ____   ________ __  __   __    __ ___ _  _
           ||\\//|| // \\ || \\ ||   || \\||\ ||   ||    ||// \\\\//
           || \/ ||((   ))||  ))||== ||_//||\\||   \\ /\ //||=|| )/ 
           ||    || \\_// ||_// ||___|| \\|| \||    \V/\V/ || ||//  
                          _                     _        
                        _| |_ ___  ._ _ _  ___ | |__ ___ 
                         | | / . \ | ' ' |<_> || / // ._>
                         |_| \___/ |_|_|_|<___||_\_\\___.
                                                            
                        _    _                _              _ 
                   ___ | | _| | ___  ___ ___ | |_  ___  ___ | |
                  / . \| |/ . ||___|<_-</ | '| . |/ . \/ . \| |
                  \___/|_|\___|     /__/\_|_.|_|_|\___/\___/|_|
                                                               
               _                                       _            
              (_)                                     (_)           
            _ (_) _  _    _  _  _  _   _         _  _ (_) _  _      
           (_)(_)(_)(_)  (_)(_)(_)(_)_(_) _   _ (_)(_)(_)(_)(_)     
              (_)       (_) _  _  _ (_)  (_)_(_)      (_)           
              (_)     _ (_)(_)(_)(_)(_)   _(_)_       (_)     _     
              (_)_  _(_)(_)_  _  _  _  _ (_) (_) _    (_)_  _(_)    
                (_)(_)    (_)(_)(_)(_)(_)       (_)     (_)(_)      
                                                                    
                                                                    
                _  _   _     _  _                                    
              _(_)(_) (_)   (_)(_)                                   
           _ (_) _  _  _       (_)    _  _  _  _      _  _  _  _     
          (_)(_)(_)(_)(_)      (_)   (_)(_)(_)(_)_  _(_)(_)(_)(_)    
             (_)      (_)      (_)  (_) _  _  _ (_)(_)_  _  _  _     
             (_)      (_)      (_)  (_)(_)(_)(_)(_)  (_)(_)(_)(_)_   
             (_)    _ (_) _  _ (_) _(_)_  _  _  _     _  _  _  _(_)  
             (_)   (_)(_)(_)(_)(_)(_) (_)(_)(_)(_)   (_)(_)(_)(_)    
 

 ___  _   _     ____ ____ _ _  _    ____ ____ _    ____ ____    
 |__]  \_/  .   |___ |__/ | |_/     |___ |__| |    |  | |__/    
 |__]   |   .   |___ |  \ | | \_    |    |  | |___ |__| |  \    
 

 ****************************************************************************

 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 plugin requires that the fully awesome program `figlet' be installed on
 your system. http://www.figlet.org/

 If you're on Windows, hope is not lost.  There is a figlet port for MS-DOS
 here: ftp://ftp.figlet.org/pub/figlet/program/ms-dos/figdos22.zip.
 Be sure to specify the font directory in your _vimrc through the
 g:filgetOpts variable.

 FIGlet for MS-DOS is an old program, so you should make sure that your font
 files conform to FAT-16 style 8.3 filenames, and don't use fancy paths with
 spaces:

 let g:figletFontDir = 'C:\PROGRA~1\FIGLET\FONTS'

     _ ,                                         
   ,- -               ,                          
  _||_          _    ||                          
 ' ||    _-_   < \, =||= \\ \\ ,._-_  _-_   _-_,  <>
   ||   || \\  /-||  ||  || ||  ||   || \\ ||_.     
   |,   ||/   (( ||  ||  || ||  ||   ||/    ~ ||    
 _-/    \\,/   \/\\  \\, \\/\\  \\,  \\,/  ,-_-   <>

1.	If figlet fails to run, your original text is put back w/o messing up your
	undo history too much (you can still redo to the oopsie).

2.	:FIGlet command accepts a range, of lines and has completion. Hit tab
   after typing the -f switch to list available fonts.
	Get a lot of fonts at http://www.figlet.org/fontdb.cgi

	Ex. Render lines 1 through 7 in the tengwar font:
	:1,7FIGlet -f tengwar

	Ex. Render the visual selection in the doom font, centered in 90 columns:
	'<,'>FIGlet -w 90 -c -f doom

3.	Width is inferred from your 'textwidth' (except on Windows with the DOS
	build of figlet, as noted above).

4.	The :FIGletFontDemo command will show you a sample of each font installed
	in your font directory.  By default this command will render each font
	eponymously, or you may specify a snippet of text to render so as to allow
	comparison between fonts.

	Ex. See what the word "Supercalifragilisticexpialidocious" looks like in each font:
	:FIGletFontDemo Supercalifragilisticexpialidocious

5.	The g@ operator takes all of the chosen text (selected with motion
	commands or text-objects) and puts it all into the same paragraph.
	the :FIGlet command works one line at a time.  It makes a difference
	when rendering text like this:

1.
2.

	:FIGlet outputs:
  _    
 / |   
 | |   
 | |_  
 |_(_) 
       
  ____     
 |___ \    
   __) |   
  / __/ _  
 |_____(_) 
           
	g@ instead outputs:
  _     ____     
 / |   |___ \    
 | |     __) |   
 | |_   / __/ _  
 |_(_) |_____(_)

About

FIGlet plugin for vim

Resources

Stars

Watchers

Forks

Packages

No packages published