USAGE: AESTHETIC [OPTION]... OPTIONS: -f INPUT FILENAME (uses STDIN if omitted) -h HELP: THIS MESSAGE NOTES: Runs in INTERACTIVE MODE when STDIN is the TTY. Press Ctrl+D to send an EOF character to exit.
https://github.com/BourgeoisBear/A-E-S-T-H-E-T-I-C
Put the following in your .vimrc, then save:
vnoremap <leader>a :!AESTHETIC<CR>
// TRANSLATE TO TITLE CAPS
while( 1 ) {
chr = fgetc(pFile);
if( chr == EOF )
break;
// ASCII CHARS
if( (chr >= 0x21) && (chr <= 0x7E) ) {
fput_utf8cp((chr - 0x21) + 0xff01, stdout);
}
// SPACE
else if (chr == ' ') {
fput_utf8cp(0x3000, stdout);
}
// OTHER
else {
fputc(chr, stdout);
}
};
$ ./AESTHETIC INTERACTIVE MODE (PRESS CTRL+D TO EXIT): > figlet-y headings figlet-y headings > VAPORWAVE VAPORWAVE > why would you do that? why would you do that? > Testing, 1 2 3 4... Testing, 1 2 3 4...
Copyright ©2023, Hilltop Software LLC.
Software Development in Eubank, KY.