Make your words more AESTHETIC
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.
- Install semi-recent versions of
gcc
andmake
for your OS. - Run
make
. - Put the path to the binary
AESTHETIC
somewhere on your$PATH
. - enjoy
- Put the following in your
.vimrc
, then save:
vnoremap <leader>a :!AESTHETIC<CR>
- Reload vim config with
:source $MYVIMRC
. - Select text in visual mode,
<leader>a
will transform the selection.
// 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...