gpt4 book ai didi

vim - 使用 VIM 映射模拟元胞自动机?

转载 作者:行者123 更新时间:2023-12-04 21:18:26 27 4
gpt4 key购买 nike

无事可做,我了解到如果您在 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..........................................

...设置以下 map :
:noremap t ddGpgg

...并按住“t”键,你会看到一个很酷的正弦波。

另一方面,这:
:noremap t ddGpMddGpgg

用一个很酷的 DNA 旋转动画来吸引你的眼球。 VIM 映射还可以实现哪些其他整洁的动画?是否可以模拟元胞自动机?

最佳答案

Linus Akesson 创造了一些很酷(有些相关)的东西:http://www.linusakesson.net/programming/vim/

关于vim - 使用 VIM 映射模拟元胞自动机?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17437648/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com