💾 Archived View for perso.pw › blog › articles › zoom.gmi captured on 2023-06-16 at 16:54:27. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-05-24)

-=-=-=-=-=-=-

Zooming with emacs, tmux or stumpwm

Comment on Mastodon

Hey ! You use stumpwm, emacs or tmux and your screen (not the GNU

screen) split in lot of parts ? There is a solution to improve

that. **ZOOMING !**

Each of them work with a screen divided into panes/windows (the

meaning of theses words change between the program), sometime you want

want to have the one where your work in fullscreen. An option exists

in each of them to get fullscreen temporarly on a window.

Emacs: (not native)

This is not native in emacs, you will need to install `zoom-window`

from your favorite repository.

Add the thoses lines in your *~/.emacs*:

(require 'zoom-window)

(global-set-key (kbd "C-x C-z") 'zoom-window-zoom)

Type C-x C-z to zoom/unzoom your current frame

Tmux

Toogle zoom (in or out)

C-b z

Stumpwm

Add this to your ~/.stumpwmrc

(define-key *root-map* (kbd "z") "fullscreen")

Using "**prefix** z" the current window will toggle fullscreen.