summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/10-km-pkg.el32
-rw-r--r--init/km-babel.el21
-rw-r--r--init/km-modes.el3
3 files changed, 26 insertions, 30 deletions
diff --git a/init/10-km-pkg.el b/init/10-km-pkg.el
index a139740..e4efa32 100644
--- a/init/10-km-pkg.el
+++ b/init/10-km-pkg.el
@@ -6,23 +6,21 @@
(package-initialize)
(require 'cl)
-(defvar km/packages '(
- undo-tree
- key-chord
- org
- ess
- lua-mode
- haskell-mode
- markdown-mode
- less-css-mode
- auctex
- magit
- smex
- paredit
- yasnippet
- wrap-region
- ace-jump-mode
- )
+(defvar km/packages '(undo-tree
+ key-chord
+ org
+ ess
+ lua-mode
+ haskell-mode
+ markdown-mode
+ less-css-mode
+ auctex
+ magit
+ smex
+ paredit
+ yasnippet
+ wrap-region
+ ace-jump-mode)
"Default packages")
(defun km/packages-installed-p ()
diff --git a/init/km-babel.el b/init/km-babel.el
index 0a72278..4bd25c8 100644
--- a/init/km-babel.el
+++ b/init/km-babel.el
@@ -1,13 +1,13 @@
;; set up babel languages
(org-babel-do-load-languages
'org-babel-load-languages
- '( (perl . t)
- (sh . t)
- (python . t)
- (R . t)
- (emacs-lisp . t)
- (latex . t)
- ))
+ '((perl . t)
+ (sh . t)
+ (python . t)
+ (R . t)
+ (emacs-lisp . t)
+ (latex . t)))
+
;; don't ask for confirmation before running code
(setq org-confirm-babel-evaluate nil)
@@ -16,11 +16,10 @@
;; http://orgmode.org/worg/org-tutorials/org-latex-export.html
(setq org-export-latex-listings 'minted)
(setq org-export-latex-custom-lang-environments
- '(
- (R "rcode")
+ '((R "rcode")
(sh "shcode")
- (python "pythoncode")
- ))
+ (python "pythoncode")))
+
;; (setq org-export-latex-minted-options
;; '(("frame" "lines")
;; ("fontsize" "\\scriptsize")
diff --git a/init/km-modes.el b/init/km-modes.el
index 51b1b46..97021cd 100644
--- a/init/km-modes.el
+++ b/init/km-modes.el
@@ -5,8 +5,7 @@
("\\.zsh$" . shell-script-mode)
("\\.*rc$" . conf-unix-mode)
("\\.org.txt$" . org-mode)
- ("PKGBUILD" . shell-script-mode)
- )
+ ("PKGBUILD" . shell-script-mode))
"Auto mode mappings")
(mapcar