Skip to content

Instantly share code, notes, and snippets.

@shadeslayer
Created April 18, 2011 17:04
Show Gist options
  • Save shadeslayer/925707 to your computer and use it in GitHub Desktop.
Save shadeslayer/925707 to your computer and use it in GitHub Desktop.
My emacs config file ;)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(scroll-bar-mode nil)
'(tooltip-mode nil)
'(menu-bar-mode nil)
'(tool-bar-mode nil)
'(x-select-enable-clipboard t))
(load-file "~/.emacs.d/plugins/color-theme-almost-monokai.el")
(color-theme-almost-monokai)
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
(defun fullscreen (&optional f)
(interactive)
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
'(2 "_NET_WM_STATE_MAXIMIZED_VERT" 0))
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
'(2 "_NET_WM_STATE_MAXIMIZED_HORZ" 0)))
(global-set-key [f11] 'fullscreen)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment