by dools · 3y ago · 0 comments
then I typed:
vi newfile.txt
it spewed out a bunch of tildes
Then I typed "i" and it just returns a blank box.
Now whatever I type it returns a black box and I can't quit vim.
So ChatGPT is definitely capable of simulating what it's like to accidentially open vim on a linux terminal and not know how to quit!
> [Start code]
abc
[end code]
:%s/b/Z/g
>[Start code]
aZc
[end code]
{close VIM}
>As a large language model trained by OpenAI, I do not have the ability to act as a text editor, such as VIM, or execute commands within it. I exist solely as a text-generating program [...]
---------------
It has working regex engine!