all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Valera Rozuvan <valera.rozuvan@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Scrolling the screen vertically
Date: Wed, 4 Jul 2012 17:29:22 +0300	[thread overview]
Message-ID: <CAM8kQFxP-+zR-4QT9NL+0i+9xCz_-k0BgSrGZU1_Q+b0zTQOag@mail.gmail.com> (raw)

Hi all,

While horizontal scrolling of a screen is easy with the default key
combos C-v and M-v, most times I run into the problem of quickly
scrolling sideways. This is a problem for me because I use

(setq truncate-lines t)

in my ~/.emacs

There is the C-a to go to the beginning of the line, and also the C-e
to go to the end of the line. But if the line is very long, I would
like fine-grained control - to scroll by the screen's width with an
overlap of a few characters. Currently I use M-f and M-b to go right
or left by words (this is faster then just using the right and left
keys on the keyboard to move by a single character), but this method
is still slow.

Ideally I would like to write some key combo which lets me peek on any
off-screen text (lines that are longer than the screen's width), and
then go back to the location of the cursor (ideally the cursor
shouldn't move). Is it possible to shift the "view-port" (don't know
how to properly call it) 50 characters left or right?

Any input on this problem will be appreciated.

Regards,
Valera Rozuvan



             reply	other threads:[~2012-07-04 14:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-04 14:29 Valera Rozuvan [this message]
2012-07-04 15:34 ` Scrolling the screen vertically Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2012-07-04 18:19 Valera Rozuvan
2012-07-04 20:20 ` Eli Zaretskii
2012-07-06 15:38 Valera Rozuvan

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=CAM8kQFxP-+zR-4QT9NL+0i+9xCz_-k0BgSrGZU1_Q+b0zTQOag@mail.gmail.com \
    --to=valera.rozuvan@gmail.com \
    --cc=help-gnu-emacs@gnu.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.