Skip to content

Instantly share code, notes, and snippets.

@srijan
Created August 15, 2013 19:00
Show Gist options
  • Save srijan/6243716 to your computer and use it in GitHub Desktop.
Save srijan/6243716 to your computer and use it in GitHub Desktop.
; init.el
; Remove GUI extras
(menu-bar-mode -1)
(tool-bar-mode -1)
(scroll-bar-mode -1)
; Add line numbers
(global-linum-mode 1)
; Hide splash screen and banner
(setq
inhibit-startup-message t
inhibit-startup-echo-area-message t)
(define-key global-map (kbd "RET") 'newline-and-indent)
; Set up marmalade
(require 'package)
(add-to-list 'package-archives
'("marmalade" .
"http://marmalade-repo.org/packages/"))
(package-initialize)
; Make window maximized
(shell-command "wmctrl -r :ACTIVE: -btoggle,maximized_vert,maximized_horz")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment