mikijov / vim-figlet Goto Github PK
View Code? Open in Web Editor NEWThis project forked from fadein/vim-figlet
FIGlet plugin for vim
This project forked from fadein/vim-figlet
FIGlet plugin for vim
_____ ___ ____ _ _ _ __ | ___|_ _/ ___| | ___| |_ (_)/ _|_ _ | |_ | | | _| |/ _ \ __|____| | |_| | | | | _| | | |_| | | __/ ||_____| | _| |_| | |_| |___\____|_|\___|\__| |_|_| \__, | |___/ , , , . , . . _ . .._. -+- _ \./-+- . ,*-+-|_ -+-|_ _ \_|(_)(_|[ | (/,/'\ | \/\/ | | [ ) | [ )(/, ._| @@@@@@@@@ @@:::::::::@@ @@:::::::::::::@@ 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: _ ____ / | |___ \ | | __) | | |_ / __/ _ |_(_) |_____(_)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.