[英]What is the meaning of the terms “buffer” and “window” in vim?
Hi I'm new to vim and I don't know what buffers and windows are. 嗨,我是vim的新手,我不知道缓冲区和窗口是什么。 I can't find any tutorials on how to understand these two, so here are my questions: 我找不到任何关于如何理解这两个的教程,所以这是我的问题:
does this answer your question? 这回答了你的问题了吗?
A buffer is the in-memory text of a file.
A window is a viewport on a buffer.
A tab page is a collection of windows.
A window is a viewport onto a buffer. You can use multiple windows on one
buffer, or several windows on different buffers.
A buffer is a file loaded into memory for editing. The original file remains
unchanged until you write the buffer to the file.
I think the best tutorial is vim's help file. 我认为最好的教程是vim的帮助文件。
EDIT 编辑
the above help info you could find by :help window
您可以通过:help window
找到上述帮助信息:help window
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.