Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2007 12:59:36 -0400
From:      "N.J. Thomas" <njt@ayvali.org>
To:        freebsd-questions@freebsd.org
Cc:        Gary Kline <kline@tao.thought.org>
Subject:   vim undo (was Re: remote [ssh] Backspace] key gives me "^?")
Message-ID:  <20070917165935.GG698@ayvali.org>
In-Reply-To: <20070917022908.GB72910@thought.org>
References:  <20070915010103.GA54302@thought.org> <20070914134128.GB33051@demeter.hydra> <46EC1D5C.3000208@u.washington.edu> <20070915202822.GA61976@thought.org> <20070915011204.GD35321@demeter.hydra> <20070916031452.GA64079@thought.org> <46ED6A70.7080108@dir.bg> <20070915203139.GA39803@demeter.hydra> <20070917022908.GB72910@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Gary Kline <kline@tao.thought.org> [2007-09-16 19:29:08 -0700]:
> There are Lots of thing I like about vim, but after having fouled up
> with the undo's and lost some critical writing or code, I went back to
> what I've usedsince Bill Joy pointed me at vi.

Presumably, you are talking about vi's (and vim's) habit of writing over
changes that have been undone.

This problem has been nullified in Vim 7 by the addition of undo
branches. You can now go back to the text after any change -- even if
they were undone.

Another nice thing is that changes are also now timestamped. You can go
backward/forwawrd in time in the buffer (e.g. ":earlier 10m" goes to the
text as it was ten minutes earlier).

hth,
Thomas

-- 
N.J. Thomas
njt@ayvali.org
Etiamsi occiderit me, in ipso sperabo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070917165935.GG698>