[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: context around incremental search
From: |
Michael Heerdegen |
Subject: |
Re: context around incremental search |
Date: |
Wed, 06 Nov 2013 20:08:08 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Josh Stratton <strattonbrazil@gmail.com> writes:
> Is there a way to restrict the incremental search such that a selected item
> is always centered? A lot of times I'm search for text and the item I jump
> to is at the bottom of the window and I'd like to see stuff under it. This
> seems to happen a lot depending on how code is laid out.
As Drew said, setting `isearch-allow-scroll' non-nil will enable you to
scroll yourself without leaving isearch.
If you want automatic scrolling, consider binding `scroll-margin' to
something > 0.
Regards,
Michael.
Re: context around incremental search,
Michael Heerdegen <=