Skip to content

Instantly share code, notes, and snippets.

@ciniglio
Created October 18, 2012 16:43
Show Gist options
  • Save ciniglio/3913131 to your computer and use it in GitHub Desktop.
Save ciniglio/3913131 to your computer and use it in GitHub Desktop.
Scroll half a screen
(global-set-key (kbd "C-c V") (lambda ()
(interactive)
(scroll-up-command (/ (window-total-height) 2))))
@ciniglio
Copy link
Author

Change the keymapping to whatever. E.g. (kbd "C-v") would replace the fullscreen scroll with just the half screen scroll.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment