commit 7962c010b7f107efe489f815a6537cbc41762a34 parent d04875b3642022f30fa76ecdac705e7e4844c6e2 Author: Yuval Langer <yuval.langer@gmail.com> Date: Tue, 6 Dec 2016 14:37:21 +0200 Add more customizations to emacs ob-ipython, org-mode, elpy Diffstat:
M | emacs/emacs | | | 20 | +++++++++++++------- |
M | python3/requests.txt | | | 2 | ++ |
2 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/emacs/emacs b/emacs/emacs @@ -2,24 +2,30 @@ (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) -(when (< emacs-major-version 24) (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))) (package-initialize) -(require 'evil) (evil-mode 1) -(require 'helm-config) (global-set-key (kbd "M-x") 'helm-M-x) -(require 'sublimity) -(require 'sublimity-scroll) -(require 'sublimity-map) +(elpy-enable) +(elpy-use-ipython) -(elpy-enable) +(setq org-confirm-babel-evaluate nil) ;don't prompt me to confirm + ;everytime I want to evaluate + ;a block + +;;; display/update images in the buffer after I evaluate +(add-hook 'org-babel-after-execute-hook + 'org-display-inline-images 'append) + +(org-babel-do-load-languages 'org-babel-load-languages '((ipython + . t))) + (custom-set-variables ;; custom-set-variables was added by Custom. diff --git a/python3/requests.txt b/python3/requests.txt @@ -1,11 +1,13 @@ bipython bpython cmigemo +deadlock httpie jupyter pandas percol ptpython +safety six toga youtube-dl