emacs (964B)
1 (setq org-src-tab-acts-natively t) 2 (when window-system 3 (menu-bar-mode -1) 4 (tool-bar-mode -1) 5 (scroll-bar-mode -1) 6 (tooltip-mode -1)) 7 8 (setq inhibit-startup-message t) 9 (setq initial-scratch-message "") 10 11 ;;; Set up package 12 (require 'package) 13 (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t) 14 (add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t) 15 (package-initialize) 16 17 ;;; Bootstrap use-package 18 ;; Install use-package if it's not already installed. 19 ;; use-package is used to configure the rest of the packages. 20 (unless (or (package-installed-p 'use-package) 21 (package-installed-p 'diminish)) 22 (package-refresh-contents) 23 (package-install 'use-package) 24 (package-install 'diminish)) 25 26 ;; From use-package README 27 (eval-when-compile 28 (require 'use-package)) 29 30 ;; Tangle configuration 31 (setq vc-follow-symlinks t) 32 (org-babel-load-file (expand-file-name "config.org" user-emacs-directory)) 33 (garbage-collect)