Skip to content

Instantly share code, notes, and snippets.

@alander
Created October 29, 2010 02:20
Show Gist options
  • Save alander/652761 to your computer and use it in GitHub Desktop.
Save alander/652761 to your computer and use it in GitHub Desktop.
Handy keystrokes to change the width of the current frame
; C-x 5 + means "wider", and C-x 5 - means narrower (back to normal, actually)
(global-set-key (kbd "C-x 5 +") '(lambda () (interactive) (set-frame-width (selected-frame) 170)))
(global-set-key (kbd "C-x 5 -") '(lambda () (interactive) (set-frame-width (selected-frame) 120)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment