Created
October 2, 2011 03:34
-
-
Save pmagwene/1256995 to your computer and use it in GitHub Desktop.
basic .emacs for emacs24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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-enabled-themes (quote (wombat)))) | |
;; default font size is 14pt | |
(set-face-attribute 'default nil :height 140) | |
;; recent files menu | |
(require 'recentf) | |
(recentf-mode 1) | |
;; don't show the splash screen every time | |
(setq inhibit-splash-screen t) | |
;; following lines are always needed. Choose your own keys. | |
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) | |
(global-font-lock-mode 1) | |
(global-set-key "\C-cl" 'org-store-link) | |
(global-set-key "\C-ca" 'org-agenda) | |
(global-set-key "\C-cb" 'org-iswitchb) | |
;; view nicely indented and wrapped | |
(setq org-startup-indented t) | |
;; Make the following languages available to org-babel | |
(org-babel-do-load-languages | |
'org-babel-load-languages | |
'((R . t) | |
(ditaa . t) | |
(dot . t) | |
(emacs-lisp . t) | |
(gnuplot . t) | |
(haskell . nil) | |
(python . t) | |
(ruby . t) | |
(screen . nil) | |
(sh . t))) | |
(setq org-confirm-babel-evaluate nil) | |
;; set path for texbin and others | |
(setenv "PATH" (concat (getenv "PATH") ":/usr/texbin:/usr/local/bin")) | |
(setq exec-path (append exec-path '("/usr/texbin" "/usr/local/bin"))) | |
;; AucTeX stuff | |
;(require 'tex-site) | |
;(load "auctex.el" nil t t) | |
;(load "preview-latex.el" nil t t) | |
;; Use PDF mode by default | |
;(setq-default TeX-PDF-mode t) | |
;; Make emacs aware of multi-file projects | |
;(setq-default TeX-master nil) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment