Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.19 KB

README.org

File metadata and controls

37 lines (23 loc) · 1.19 KB

occur-context-resize.el

http://melpa.org/packages/occur-context-resize-badge.svg

context-resize.gif

Usage

Allows dynamic re-sizing the surrounding context in an occur mode buffer. This is similar to the diff resizing in magit. The following key bindings are enabled in occur-mode:

KeyFunction
+occur-context-resize-larger
-occur-context-resize-smaller
0occur-context-resize-default

occur-context-resize-default reverts the context size to nil, which reverts to using list-matching-lines-default-context-lines for default context size.

Install

Using the MELPA package archive,

M-x package-install [RET] occur-context-resize [RET]

And then add the following somewhere in your emacs initialization

(add-hook 'occur-mode-hook 'occur-context-resize-mode)

License

Copyright © 2014-2021 Charles L.G. Comstock

Distributed under the GNU General Public License, version 3