Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug: zsh vim textobjects and slash
- X-seq: zsh-workers 42811
- From: Itay Shakury <itaysk@xxxxxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Subject: Re: Bug: zsh vim textobjects and slash
- Date: Wed, 23 May 2018 17:00:50 +0300
- Cc: Oliver Kiddle <okiddle@xxxxxxxxxxx>, zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codefresh-io.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=T/NQ81CpBNuh7tu5dKGe0QBvmKGBrhKOEwJWFG8jEis=; b=Qot7keAFqmTQFzRvHPfeu6ZSosNwBDrwQrhjek1Q7fPlD2cIQ9fgwcIy9SnzxFZ45Y cwPwnNTmvWL/vVmSu/4KDrvF3cJ1e/d74M3FYwNhupNwNLlrfYGkGyLSj+Y3MgnxnpwI NRtEKnV3nyDW5ZEnTJV/NJnfw5CZ9Srp2b+1lrdMhgkP8PpwJ9Sye6zbbcI2fSQ/4TNT T+Zgb7pFLPIEdROkYqjbf2wczl/fsuon/PxYHwewDbX69Y16fWvsS+YRgzCLsVDnPInj w/3u/bwTDB3n11VqdNKBWzpvJ3DoNxs42fDXDWlGyQA2Nte9idCEXVioUS3fRuwpKKvO n06w==
- In-reply-to: <1526738219.2733132.1377749752.27A19735@webmail.messagingengine.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAHOaShs8sVQmQ=GikZGvH+XXe9q_L5Hh+hHD4skftqVgiuLPhg@mail.gmail.com> <29015.1526646368@thecus> <CAHOaShue=1uvWqvyqwNvDOiEHUfBJpKLbkRFrAaWYOtZidjwKw@mail.gmail.com> <CAHOaShu0-8GO9hn=M+70M8g-CyAcb-obfFP3H48qmd1SW=oHZw@mail.gmail.com> <1526738219.2733132.1377749752.27A19735@webmail.messagingengine.com>
Daniel - Thanks!
These little tips are life changing for me :) wish there was some doc with
all those vim related "fixes" for the common user.
Again - thanks for the quick and helpful response.
Itay
On Sat, May 19, 2018 at 4:57 PM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
wrote:
> Itay Shakury wrote on Sat, 19 May 2018 15:19 +0300:
> > I type 'kubectl get pods', and want to delete the word 'get'. in normal
> > mode I move the cursor to right after the word 'get', then 'i' for insert
> > mode and and press backspace - doesn't work.
>
> That's vi compatible behaviour. (Vim does it too in its Vi-compatible
> mode, see :help 'backspace' there.) You can avoid it by binding your
> backspace key to backward-delete-char rather than vi-delete-char:
>
> eval "$(bindkey -M viins -L | sed -n -e
> 's/vi-backward-delete-char/backward-delete-char/p')"
>
> Cheers,
>
> Daniel
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author