From: "René Wilhelm" <asdf@uni-koblenz.de>
To: Sebastian Gniazdowski <sgniazdowski@gmail.com>
Cc: Bart Schaefer <schaefer@brasslantern.com>, Zsh Users <zsh-users@zsh.org>
Subject: Re: Rotate shell words widget
Date: Sun, 15 May 2016 00:41:44 +0200 [thread overview]
Message-ID: <CA+oFM6LcoQu_e1UTjWRKV1yuKDXSUuDTwH4i8Ux1d6kAKBeFMg@mail.gmail.com> (raw)
In-Reply-To: <CAKc7PVDJ6pSnqJ-four4mPgWm+PoAPzA==y1DxT9R6Luw0=rqw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 786 bytes --]
On 14 May 2016 at 23:30, Sebastian Gniazdowski <sgniazdowski@gmail.com>
wrote:
> I thought about it as an extension of transpose-words, which I use
> instead of Alt-b pressed once. Now I see transpose-words can be used
> to e.g. revert "mv" command by doing opposite rename (not that I
> didn't use it that way). Well, I always preferred transposing than
> Alt-b-jumping and cursor keys. Careful positioning with Alt-b and
> cursor keys, and then Ctrl-E to continue at the end, I don't like it.
>
You can prefix most things with a number, like <ESC 2 ESC b> to move the
cursor two words backwards. In conjunction with a little intuitive counting
(https://en.wikipedia.org/wiki/Subitizing), this should allow for pretty
good cursor positioning. Hope that helps.
next prev parent reply other threads:[~2016-05-14 22:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-11 8:39 Sebastian Gniazdowski
2016-05-11 21:21 ` Bart Schaefer
2016-05-12 7:07 ` Sebastian Gniazdowski
2016-05-13 9:23 ` Bart Schaefer
2016-05-14 21:30 ` Sebastian Gniazdowski
2016-05-14 22:41 ` René Wilhelm [this message]
2016-05-15 10:49 ` Bart Schaefer
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=CA+oFM6LcoQu_e1UTjWRKV1yuKDXSUuDTwH4i8Ux1d6kAKBeFMg@mail.gmail.com \
--to=asdf@uni-koblenz.de \
--cc=schaefer@brasslantern.com \
--cc=sgniazdowski@gmail.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).