[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vile] empty unmodified buffers
From: |
Brendan O'Dea |
Subject: |
Re: [vile] empty unmodified buffers |
Date: |
Fri, 19 Nov 2010 03:12:24 +1100 |
On 19 November 2010 02:30, Paul Fox <address@hidden> wrote:
> anyone know how emacs deals with this? vim?
In emacs, opening two files will give you two buffers whether they exist or not:
C-x C-f /tmp/foo
C-x C-f /tmp/foop
C-x C-b
the buffer list will contain a "foo" and a "foop" buffer.
vim doesn't really have the distinction between the name of a buffer
and the path to the file it contains (unless you count % and # as
peripatetic buffer names). This sequence however:
:e /tmp/foo
:e /tmp/foop
:files
will have both "/tmp/foo" and "/tmp/foop" in the output.