Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
vi-mode zle: how to delete past the start char of insert mode (like VIM 'backspace'=start option)
- X-seq: zsh-users 14434
- From: Anton Sharonov <anton.sharonov@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: vi-mode zle: how to delete past the start char of insert mode (like VIM 'backspace'=start option)
- Date: Sun, 27 Sep 2009 16:03:53 +0200
- Cc: Anton Sharonov <anton.sharonov@xxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=8TrAxUQMK9L5mMijY4qtliP3uZrTw66hNSC0nXecl60=; b=HrmXLv+54sr8k8+rB/0ffRWdBj676EGGsoy5JsU2nY9avCdwhuuKO2ARKKdvsiaGvq 2HH0zN6k5fBSQ02NlFZGRkMm2BNek747G9BiLT4WcVMHDSgorq01hBQF/2/2vrmheDoA 2tHSjPBiTLQoqD/ZpRrU63oMIL3YgMh6dOXoA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=h18uj3hemJH8/tKrp6lMUK/TXj7K4osI9Yaxf7SouB5IGpftJuVB8M9D9PUq+Y/jaN Rh+erH73T26BNgHwwMsBrT7aiolH9b45N56Oua+ZZGbVkI70lCbdfjZBzk4i985YpPPV P0MZv3HZ0GHIlQiHDQfnQxbA4j5uTLiI11dH0=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi group.
Background: I am middle-experienced VIM+bash user, and now I'm
evaluating zsh.
Question:
in my ~/.zshrc I have vi-mode command line editing enabled:
bindkey -e
After I type some text, leave insert mode, and enter it again,
and try to delete the text I entered, for instance:
ls ~/bin<ESC>a<C-W><BS><C-W><C-U><BS><C-W><C-U><BS><BS>...
I got cursor only till the point, where insert mode is started
(in this example right after the "~/bin").
Desired behaviour: <C-W>, <BS>, <C-U> should remove the WORD,
symbol, to the begin of line, respectively. (In VIM the
corresponding option is 'backspace', value "start" controls this
behaviour)
How can I tell zshzle that I like to be able to delete past the
point of _start_ of the insert mode ?
--
Anton
Messages sorted by:
Reverse Date,
Date,
Thread,
Author