Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emacsorphanage/zoom-window
Zoom and Unzoom window
https://github.com/emacsorphanage/zoom-window
emacs emacs-lisp window
Last synced: 2 months ago
JSON representation
Zoom and Unzoom window
- Host: GitHub
- URL: https://github.com/emacsorphanage/zoom-window
- Owner: emacsorphanage
- Created: 2013-09-13T15:17:25.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-05-08T06:43:50.000Z (9 months ago)
- Last Synced: 2024-08-05T06:06:23.139Z (6 months ago)
- Topics: emacs, emacs-lisp, window
- Language: Emacs Lisp
- Size: 236 KB
- Stars: 102
- Watchers: 7
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
Awesome Lists containing this project
README
[![melpa badge][melpa-badge]][melpa-link]
[![melpa stable badge][melpa-stable-badge]][melpa-stable-link]# zoom-window.el
[![CI](https://github.com/emacsorphanage/zoom-window/actions/workflows/test.yml/badge.svg)](https://github.com/emacsorphanage/zoom-window/actions/workflows/test.yml)
## Introduction
`zoom-window` provides window zoom like tmux zoom and unzoom.
## Screenshot
![Screenshot of zoom-window.el](image/zoom-window.gif)
Background color of `mode-line` is changed when zoomed
## Requirements
- Emacs 24.3 or higher
`zoom-window.el` supports elscreen and persp-mode.
## Features
- Support elscreen
- Support persp-mode
- Support multiple frames(This feature cannot use with elscreen and persp-mode yet)## Installation
`zoom-window` is available on [MELPA](https://melpa.org/) and [MELPA stable](https://stable.melpa.org/)
You can install `zoom-window` with the following command.
M-x package-install [RET] zoom-window [RET]
## Basic Usage
#### `zoom-window-zoom`
Toggle between zooming current window and unzooming
#### `zoom-window-next`
Switch to next buffer which is in zoomed frame/screen/perspective.
## Customization
### `zoom-window-mode-line-color`(Default is `"green"`)
Color of `mode-line` when zoom-window is enabled
### `zoom-window-use-elscreen`(Default is `nil`)
Set `non-nil` if you use `elscreen`
### `zoom-window-use-persp`(Default is `nil`)
Set `non-nil` if you use `persp-mode`
## Example
```lisp
(require 'zoom-window)
(global-set-key (kbd "C-x C-z") 'zoom-window-zoom)
(custom-set-variables
'(zoom-window-mode-line-color "DarkGreen"))
```### zoom-window with [elscreen](https://github.com/knu/elscreen)
```lisp
(require 'elscreen)
(elscreen-start)(require 'zoom-window)
(setq zoom-window-use-elscreen t)
(zoom-window-setup)(global-set-key (kbd "C-x C-z") 'zoom-window-zoom)
```### zoom-window with [persp-mode](https://github.com/Bad-ptr/persp-mode.el)
```lisp
(with-eval-after-load "persp-mode-autoloads"
(add-hook 'after-init-hook #'(lambda () (persp-mode 1))))(require 'zoom-window)
(custom-set-variables
'(zoom-window-use-persp t))
(zoom-window-setup)(global-set-key (kbd "C-x C-z") 'zoom-window-zoom)
```[melpa-link]: https://melpa.org/#/zoom-window
[melpa-stable-link]: https://stable.melpa.org/#/zoom-window
[melpa-badge]: https://melpa.org/packages/zoom-window-badge.svg
[melpa-stable-badge]: https://stable.melpa.org/packages/zoom-window-badge.svg