From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14922 invoked by alias); 7 Dec 2014 00:33:02 -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: 33895 Received: (qmail 5481 invoked from network); 7 Dec 2014 00:32:58 -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=-1.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=no version=3.3.2 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-workers@zsh.org From: Christian Neukirchen Subject: Re: vi mode question. Date: Sun, 07 Dec 2014 01:32:40 +0100 Message-ID: <87sigs47vb.fsf@gmail.com> References: <17052.1417717710@thecus.kiddle.eu> <141204231735.ZM9532@torch.brasslantern.com> <21098.1417785962@thecus.kiddle.eu> <5481EF6D.4060800@eastlink.ca> <548215B2.50108@eastlink.ca> <141206140938.ZM2298@torch.brasslantern.com> <548386E2.6050504@eastlink.ca> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p5491e8be.dip0.t-ipconnect.de In-Reply-To: <548386E2.6050504@eastlink.ca> (Ray Andrews's message of "Sat, 06 Dec 2014 14:44:50 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Ray Andrews writes: > On 12/06/2014 02:09 PM, Bart Schaefer wrote: >> Anyone who knows vi(m) will already know this, but for Ray et al.: > ... > > Thanks for that. I wonder why there isn't (*if* there isn't) a compromise: > All the most basic editing/moving primitives working in insert mode > like emacs or > the (what DOS/Windows people would call) 'normal' human editors, but > still having a command mode for the complexities (where emacs goes > nuts with all those combinations). You'd mostly be in 'normal' mode, but > when you needed to do some heavy lifting, 'command mode' would still > be there. I haven't tried vi for a long time, I should try again. bindkey -e bindkey '^[' vi-cmd-mode Effectively combines emacs as insert-mode with vi as command mode. -- Christian Neukirchen http://chneukirchen.org