Skip to content

Instantly share code, notes, and snippets.

@abuiles
Created December 16, 2009 19:39
Show Gist options
  • Save abuiles/258108 to your computer and use it in GitHub Desktop.
Save abuiles/258108 to your computer and use it in GitHub Desktop.
;; hiding toolbar menubar scrollbar
(if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))
(if (fboundp 'tool-bar-mode) (tool-bar-mode -1))
(if (fboundp 'menu-bar-mode) (menu-bar-mode -1))
;;Full screen
(defun toggle-fullscreen ()
(interactive)
(set-frame-parameter nil 'fullscreen (if (frame-parameter nil 'fullscreen)
nil
'fullboth)))
(global-set-key [(meta return)] 'toggle-fullscreen)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment