> Hi Tim,
> The neat thing about VI is that the more you work with it the more
> neat things
> you learn about it, mostly through experimenting rather than reading
> lengthy documentation.
> Well I wasn't sure what kind of terminal I had - but you're right,
> it's Gnome 2.16.0.
> I'm pretty used to using this terminal so I don't know if I want to
> install/configure rxvt or xterm. I'm using CentOS so I don't know if
> these are available for it.
> Registers I'm fairly comfortable with - it's just that these terms
> are often overloaded - something like "buffer", to me at least, means
> a temporary storage location, which I kind of think of as registers.
I started programming in the late sixties, and in those times a buffer
was a memory area used to hold the data being read from a file but not
yet handled, or the data already handled and about to be written to a
file (for instance, in both cases, the next tape block, or the next disk
physical record, or the next Hollerith card, or...). Vim just extended
this concept by making its buffers big enough to hold the whole file and
its metadata.
> I think what I was getting confused with is the concept of Windows
> versus tabs.
> Like if I do a ":new", is that a new "window" or a new "tab". Ok, I
> guess if I'm using "ctrl+___W___", then that probably means it's a new
> "__W__indow"
>
> Thanks,
> Ven
A tab or tab page is the set of windows visible at the same time in a
single instance of Vim. A window (or split-window) is a viewport into a
buffer (i.e., usually, into a file). A tab can be split in one or more
windows, a buffer can be displayed in zero or more windows. Using :new
you create an additional window in the current tab, a window displaying
either an empty buffer or the file (or, with netrw, the directory) named
as argument to :new. Similarly with :split you split the current window
in two, both on the same buffer. Then you can (if you want to) scroll
them separately to display different parts of that buffer, but (until
you issue :e or :view etc. in one of them) it is still the same buffer
(the same editfile) and any change made in one of these windows is
reflected in the other.
Best regards,
Tony.
--
"She is descended from a long line that her mother listened to."
-- Gypsy Rose Lee
--
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:
Post a Comment