From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10759 invoked by alias); 5 Dec 2014 07:56:24 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 33851 Received: (qmail 11327 invoked from network); 5 Dec 2014 07:56:22 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham version=3.3.2 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-workers@zsh.org From: Jan Larres Subject: Re: PATCH: default vi-mode key bindings Date: Fri, 05 Dec 2014 20:56:05 +1300 Message-ID: References: <17052.1417717710@thecus.kiddle.eu> <141204231735.ZM9532@torch.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: yass.opencloud.co.nz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 In-Reply-To: On 05/12/14 20:35, Mikael Magnusson wrote: > On Fri, Dec 5, 2014 at 8:17 AM, Bart Schaefer wrote: >> I will bow to the majority opinion on this because I rarely use vi-mode >> in zsh, but I will say that I have lost more work to vim's multi-level >> undo than to practically any other catastrophe I can think of. > > If you accidentally undo a bunch of stuff, and then type something in > vim, you can use :undolist to bring up the discarded redo history, and > jump between various redo/undo tree branches (extremely confusing, but > probably easier than grepping /dev/mem). This is getting a bit off-topic, but if you use the Gundo plugin in Vim it will show you a graphical representation of the undo/redo history tree that allows you to easily restore certain "branches". -Jan