Tuesday, July 31, 2012

RE: How to turn off auto-indentation?

Yves S. Garret wrote:
> How do I turn of _all_ auto-indentation and just
> have me worry about that stuff?

See:
http://vim.wikia.com/wiki/How_to_stop_auto_indenting

> What am I doing wrong and what is the purpose of :close?

The :close command closes the current window, whereas you want
to "close" (that is, delete) the current buffer. There is a
diagram showing what's what here:
http://vim.wikia.com/wiki/Buffers

As well as entering :bd to delete the current buffer (if it has
been saved), you can enter :ls to list buffers then issue a
command like this to delete several of them (the numbers are
read from the :ls list):
:bd 5 13 2

John

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: