Browse Source

Set dracula theme in custom.el and beginning to do python customizations

master
Raphael Roberts 6 years ago
parent
commit
434f3e0ce5
  1. 1
      custom.el
  2. 5
      init.el
  3. 12
      settings.org

1
custom.el

@ -3,6 +3,7 @@
;; 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 (dracula)))
'(custom-safe-themes
(quote
("274fa62b00d732d093fc3f120aca1b31a6bb484492f31081c1814a858e25c72e" default)))

5
init.el

@ -1,6 +1,3 @@
(setq custom-file "~/.emacs.d/custom.el")
(load custom-file 'noerror)
(require 'package)
(add-to-list 'package-archives
@ -14,6 +11,8 @@
(package-install package)))
package-selected-packages)
(require 'org)
(setq custom-file "~/.emacs.d/custom.el")
(load custom-file 'noerror)
(org-babel-load-file
(expand-file-name "settings.org"
user-emacs-directory))

12
settings.org

@ -9,11 +9,11 @@
** Python
*** Platform specific
#+BEGIN_SRC emacs-lisp
(cond
((string-equal system-type "gnu/linux")
(progn
(custom-set-variables python-shell-interpreter "python3")
)))
(cond
((string-equal system-type "gnu/linux")
"python3")
((string-equal system-type "windows-nt")
"python.exe"))
#+END_SRC
*** custom feature
*** bindings/settings
@ -36,5 +36,5 @@
** Lispy
#+BEGIN_SRC emacs-lisp
(use-package lispy
:hook (emacs-lisp-mode))
:hook ((emacs-lisp-mode) . lispy-mode))
#+END_SRC
Loading…
Cancel
Save