-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathREADME
More file actions
190 lines (156 loc) · 8.37 KB
/
README
File metadata and controls
190 lines (156 loc) · 8.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
_____ ___ ____ _ _ _ __
| ___|_ _/ ___| | ___| |_ (_)/ _|_ _
| |_ | | | _| |/ _ \ __|____| | |_| | | |
| _| | | |_| | | __/ ||_____| | _| |_| |
|_| |___\____|_|\___|\__| |_|_| \__, |
|___/
, , , . , .
. _ . .._. -+- _ \./-+- . ,*-+-|_ -+-|_ _
\_|(_)(_|[ | (/,/'\ | \/\/ | | [ ) | [ )(/,
._|
@@@@@@@@@
@@:::::::::@@
@@:::::::::::::@@
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:
_ ____
/ | |___ \
| | __) |
| |_ / __/ _
|_(_) |_____(_)