Browse Source

theme

master
marc 6 years ago
parent
commit
665e055ec0
1 changed files with 24 additions and 9 deletions
  1. 33
      config.org

33
config.org

@ -28,6 +28,12 @@ customize settings in [[file:init.el][init.el]].
* Theme
** Font
#+begin_src emacs-lisp
(set-face-attribute 'default nil :font "Hack-12")
#+end_src
** Material Theme
The [[https://github.com/cpaulik/emacs-material-theme][Material Theme]] comes in a dark and a light variant. Not too dark
to be strenious though.
@ -37,11 +43,22 @@ to be strenious though.
:if (window-system)
:defer t
:ensure t
:init
(load-theme 'material t)
;; :init
;; (load-theme 'material t)
)
#+end_src
** Apropospriate Theme
Variants dark and light
#+begin_src emacs-lisp
(use-package apropospriate-theme
:if (window-system)
:defer t
:ensure t
:init
(load-theme 'apropospriate-dark t)
)
#+end_src
* Sane defaults
Sources for this section include [[https://github.com/magnars/.emacs.d/blob/master/settings/sane-defaults.el][Magnars Sveen]] and [[http://pages.sachachua.com/.emacs.d/Sacha.html][Sacha Chua]]
@ -376,6 +393,9 @@ Addon to sort suggestions by usage
#+end_src
Get a popup with documentation of the completion candidate.
For the popups the package pos-tip.el is used and automatically installed.
[[https://github.com/expez/company-quickhelp][Company Quickhelp]]
[[https://www.emacswiki.org/emacs/PosTip][See here for Pos-Tip details]]
#+begin_src emacs-lisp
(use-package company-quickhelp
@ -492,7 +512,7 @@ apt install
(defun my/post-activate-hook()
(setq jedi:environment-root pyvenv-virtual-env)
(setq jedi:environment-virtualenv pyvenv-virtual-env)
(setq jedi:tooltip-method nil)
(setq jedi:tooltip-method '(nil)) ;; variants: nil or pos-tip and/or popup
(setq python-shell-virtualenv-root pyvenv-virtual-env)
;; default traceback, other option M-x jedi:toggle-log-traceback
;; traceback is in jedi:pop-to-epc-buffer
@ -507,12 +527,7 @@ apt install
)
#+end_src
just a wild guess to get better popups for jedi
#+begin_src emacs-lisp
(use-package popup
:ensure t
)
#+end_src
I want Emacs to automatically start the proper virtual environment.
Required is a .python-version file with, content in the first line being /path/to/virtualenv/
[[https://github.com/marcwebbie/auto-virtualenv][Github source]]

Loading…
Cancel
Save