Skip to content

Instantly share code, notes, and snippets.

@exlee
Created August 27, 2014 10:49
Show Gist options
  • Save exlee/81250d5bfbe095fa0cee to your computer and use it in GitHub Desktop.
Save exlee/81250d5bfbe095fa0cee to your computer and use it in GitHub Desktop.
;Setting the package archives
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
("marmalade" . "http://marmalade-repo.org/packages/")
("melpa" . "http://melpa.milkbox.net/packages/")))
(setq package-enable-at-startup nil)
(package-initialize)
(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.
'(custom-safe-themes (quote ("51bea7765ddaee2aac2983fac8099ec7d62dff47b708aa3595ad29899e9e9e44" default))))
(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.
)
; Change so that it'll look a bit better
(load-theme 'base16-ocean t)
(set-frame-font "Inconsolata 14")
(tool-bar-mode -1)
(scroll-bar-mode -1)
; Unbind right alt for polish letters
(setq ns-right-alternate-modifier nil)
; EMACS should see files located in /usr/local/bin
(setq exec-path (append exec-path '("/usr/local/bin")))
; Setting global leys
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)
; Hooks for text-mode
(add-hook 'text-mode-hook 'turn-on-auto-fill)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment