zsh-users
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: Anthony Heading <anthony@ajrh.net>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: visual line movement
Date: Fri, 27 Jul 2018 11:53:59 +0200	[thread overview]
Message-ID: <CAHYJk3SmCvXdXemGyQPn6uPgCs73+aSatefX0gGMnJ+fcJ2BbQ@mail.gmail.com> (raw)
In-Reply-To: <1532675437.2645470.1454547640.6843860B@webmail.messagingengine.com>

On Fri, Jul 27, 2018 at 9:10 AM, Anthony Heading <anthony@ajrh.net> wrote:
> Is there a good way to make zle up-/down-line etc operate visually, i.e. have the cursor position move across wrapped lines on the screen rather than considering only embedded '\n's in the buffer?   I'm guessing not, but would like to be sure.

If you make a custom widget that moves $COLUMNS characters left/right,
the effect should be approximately the same.

-- 
Mikael Magnusson


  parent reply	other threads:[~2018-07-27  9:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20180727072228epcas5p35fc9a81df04715c148d0b7a9cf582efd@epcas5p3.samsung.com>
2018-07-27  7:10 ` Anthony Heading
2018-07-27  8:30   ` Peter Stephenson
2018-07-27  9:13     ` Daniel Shahaf
2018-07-27  9:53   ` Mikael Magnusson [this message]
2018-07-27 11:50     ` Anthony Heading
2018-07-27 12:48       ` Peter Stephenson

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=CAHYJk3SmCvXdXemGyQPn6uPgCs73+aSatefX0gGMnJ+fcJ2BbQ@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=anthony@ajrh.net \
    --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).