zsh-users
 help / color / mirror / code / Atom feed
From: shawn wilson <ag4ve.us@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: change inside
Date: Sat, 27 Oct 2012 09:16:57 +0000	[thread overview]
Message-ID: <CAH_OBicxt5FFWH2FQ=8SVMX43bGPPP-G2VzsV_oKHYRjLC6nYw@mail.gmail.com> (raw)
In-Reply-To: <CAH+w=7a9hZs-uw-haD4-V3GWnugiHf037JYnSi62bU4Mh4Sa=Q@mail.gmail.com>

On Sat, Oct 27, 2012 at 6:38 AM, Bart Schaefer
<schaefer@brasslantern.com> wrote:
> On Friday, October 26, 2012, shawn wilson wrote:
>
>> i use vim bindkeys and am quite happy with it. however one feature
>> that i use a lot in vim is the 'inside' feature - di, ci, yi, etc. and
>> i don't seem to have this on the shell. what's the best way to make
>> something like this work and/or could this be implemented to make this
>> more like native vim?
>>
>
> You will need to create a custom zle widget, or rather, a set of them.

thanks for the pointers. i'll look at what it'll take to script this
out. however, (and i didn't ask this directly because i was unsure if
there was just a feature i had missed) what is the general idea behind
the vi mode in zsh? is this a feature that is meant to stay compatible
with bash/tcsh/etc? or is this meant to bring as much of the vim
command set as possible, but without being cumbersome into zsh?

if the philosophy is the former, than maybe a pull request to
oh-my-zsh is the way to go (who is ~10 months behind on merges).
however, if it is the later, than this should really be a feature
request.


  reply	other threads:[~2012-10-27  9:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-26 18:06 shawn wilson
2012-10-27  6:38 ` Bart Schaefer
2012-10-27  9:16   ` shawn wilson [this message]
2012-10-27 17:42     ` Bart Schaefer
2012-10-27 18:14       ` Ray Andrews
2012-10-27 20:18         ` shawn wilson
2012-10-27 23:55 ` Takeshi Banse
2012-11-16  9:23 ` zzapper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH_OBicxt5FFWH2FQ=8SVMX43bGPPP-G2VzsV_oKHYRjLC6nYw@mail.gmail.com' \
    --to=ag4ve.us@gmail.com \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).