Having nothing better to do, I've learned that if you open the following text on vim:
...............X..........................................
...............X..........................................
................XX........................................
..................XX......................................
....................XX....................................
......................XXX.................................
.........................XXX..............................
............................XX............................
..............................XX..........................
................................XX........................
..................................X.......................
...................................X......................
...................................X......................
...................................X......................
..................................X.......................
................................XX........................
..............................XX..........................
............................XX............................
.........................XXX..............................
......................XXX.................................
....................XX....................................
..................XX......................................
................XX........................................
...............X..........................................
...............X..........................................
...............X..........................................
................XX........................................
..................XX......................................
....................XX....................................
......................XXX.................................
.........................XXX..............................
............................XX............................
..............................XX..........................
................................XX........................
..................................X.......................
...................................X......................
...................................X......................
...................................X......................
..................................X.......................
................................XX........................
..............................XX..........................
............................XX............................
.........................XXX..............................
......................XXX.................................
....................XX....................................
..................XX......................................
................XX........................................
...............X..........................................
... set the following map:
:noremap t ddGpgg
... and hold the "t" key down, you'll watch a cool sine waving.
This, on other hand:
:noremap t ddGpMddGpgg
Will candy your eyes with a cool DNA-spinning animation. What other neat looking animations are possible with VIM mappings? Is it possible to simulate a cellular automaton?
Linus Akesson's created some cool (somewhat related) things: http://www.linusakesson.net/programming/vim/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With