diff options
-rw-r--r-- | init-el.org | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/init-el.org b/init-el.org index e197610..987c24e 100644 --- a/init-el.org +++ b/init-el.org @@ -154,7 +154,7 @@ I'm using melpa and elpa package archives. (def-my-command my-leader-command '((?/ "[/] swiper" swiper) ;(?? "[?] imenu" imenu-list) - (?r "[r] replace" query-replace) + (?r "[r]eplace" query-replace) (?e "[e]diting" my-special-edit-command) (?' "['] shell" persp-shell--jump-to-persp-shell) (?b "[b]uffers" my-buffer-command) @@ -1371,7 +1371,7 @@ association one shell with each perspective layout (put 'format 'common-lisp-indent-function 2) ;; customizations for `def` and other common tools I use -(put 'fast 'common-lisp-indent-function 3) +(put 'fast 'common-lisp-indent-function 4) (put 'const 'common-lisp-indent-function 2) (put 'var 'common-lisp-indent-function 1) @@ -1473,32 +1473,33 @@ libraries should be available : ‘haxe-mode’ is already installed -** COMMENT Python +** Python #+name: python-config #+begin_src elisp :noweb no-export :results none -(package-install 'pyvenv) -(setenv "WORKON_HOME" "~/miniconda3/envs") -(pyvenv-mode 1) - - (package-install 'elpy) -(elpy-enable) - -(setq python-shell-interpreter "jupyter" - python-shell-interpreter-args "console --simple-prompt" - python-shell-prompt-detect-failure-warning nil) - - -(add-to-list 'python-shell-completion-native-disabled-interpreters - "jupyter") - +(package-install 'flycheck) +(elpy-enable) +(package-install 'conda) +(require 'conda) +;; if you want interactive shell support, include: +(conda-env-initialize-interactive-shells) +;; if you want eshell support, include: +(conda-env-initialize-eshell) +;; if you want auto-activation (see below for details), include: +(conda-env-autoactivate-mode t) + +(when (require 'flycheck nil t) + (setq elpy-modules (delq 'elpy-module-flymake elpy-modules)) + (add-hook 'elpy-mode-hook 'flycheck-mode)) + +(package-install 'ein) + +(setq ein:output-area-inlined-images t) + #+end_src -#+RESULTS: python-config :results none - -#+RESULTS: python-config * Tools ** Export Emacs Buffer |