Vim 这些术语的含义是什么;“缓冲区”;及;“窗口”;在维姆?
嗨,我是vim的新手,我不知道缓冲区和窗口是什么。我找不到任何关于如何理解这两个方面的教程,因此以下是我的问题:Vim 这些术语的含义是什么;“缓冲区”;及;“窗口”;在维姆?,vim,Vim,嗨,我是vim的新手,我不知道缓冲区和窗口是什么。我找不到任何关于如何理解这两个方面的教程,因此以下是我的问题: 缓冲区是什么?它与窗口有何不同 缓冲区可以用来做什么?还有窗口(我假设它只用于编辑) 在哪里可以找到关于如何使用缓冲区和窗口的好教程 这回答了你的问题吗 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
这回答了你的问题吗
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
找到上面的帮助信息。这有点令人讨厌,但这张图片总结得很好,是来自freenode上的#vim频道上的机器人的一个因素:我想您应该注意如何使用帮助,在这种情况下,:h window
或:h windows intro
(删除了我的答案)。