[英]gVim display nothing when I open an existing file
When I type vim hello.py
in the command prompt to open my file the command prompt the gVim editor opens up however it does not display the one line of text contained in the hello.py file. 当我在命令提示符下键入
vim hello.py
打开文件时,命令提示符将打开gVim编辑器,但是它不显示hello.py文件中包含的一行文本。 Why is this? 为什么是这样? I just want to edit the file.
我只想编辑文件。
Are you sure you are in the same directory as hello.py? 您确定与hello.py位于同一目录吗?
Otherwise, gVim will open a new buffer called "hello.py", which on save will be written to whatever directory you are currently in. 否则,gVim将打开一个名为“ hello.py”的新缓冲区,保存时该缓冲区将被写入当前所在目录中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.