嗨,我是vim的新手,我不知道缓冲区和窗口是什么。我找不到任何关于如何理解这两个的教程,所以这是我的问题:
答案 0 :(得分:8)
这会回答你的问题吗?
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.
我认为最好的教程是vim的帮助文件。
修改
您可以通过:help window