From abc3ace45e35f2c5c85c7a43d684c5d30f34762f Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Mon, 4 Jan 2016 19:38:37 +0100 Subject: [PATCH] Add "Buffers, windows, tabs?" --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/README.md b/README.md index f9be717..3cb7629 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ --- #### Basics +- [Buffers, windows, tabs?](#buffers-windows-tabs) - [Colorschemes?](#colorschemes) #### Usage @@ -12,6 +13,35 @@ ## Usage +#### Buffers, windows, tabs? + +Vim is a text editor. Everytime text is shown, the text is part of a **buffer**. +Each file will be opened in its own buffer. Plugins show stuff in their own +buffers etc. + +Buffers have many attributes, e.g. whether the text it contains is modifiable, +or whether it is associated with a file and thus needs to be synchronized to +disk on saving. + +**Windows** are viewports _into_ buffers. If you want to view several files at +the same time or even different locations of the same file, you use windows. + +And please, please don't call them _splits_. You can split a window in two, but +that doesn't make them _splits_. + +Windows can be split vertically or horizontally and the heights and widths of +existing windows can be altered, too. Therefore you can use whatever window +layout you prefer. + +A **tab page** (or just tab) is a collection of windows. Thus, if you want to +use multiple window layouts, use tabs. + +Putting it in a nutshell, if you start Vim without arguments, you'll have one +tab page that holds one window that shows one buffer. + +By the way, the buffer list is global and you can access any buffer from any +tab. + #### Colorschemes? Colorschemes are the way to style your Vim. Vim consists of many components and