Adapt spacemacs configuration

This commit is contained in:
2019-02-25 13:32:23 +01:00
parent 251c791003
commit 9ab098b68a
+25 -8
View File
@@ -31,10 +31,13 @@ values."
;; List of configuration layers to load. ;; List of configuration layers to load.
dotspacemacs-configuration-layers dotspacemacs-configuration-layers
'( '(
auto-completion
yaml yaml
spacemacs-org
markdown markdown
swift swift
python python
ipython-notebook
git git
;; ---------------------------------------------------------------- ;; ----------------------------------------------------------------
;; Example of useful layers you may want to use right away. ;; Example of useful layers you may want to use right away.
@@ -42,7 +45,6 @@ values."
;; <M-m f e R> (Emacs style) to install them. ;; <M-m f e R> (Emacs style) to install them.
;; ---------------------------------------------------------------- ;; ----------------------------------------------------------------
helm helm
auto-completion
docker docker
;; better-defaults ;; better-defaults
emacs-lisp emacs-lisp
@@ -312,23 +314,38 @@ initialization after layers configuration. This is the place
where most of your configurations should be done. Unless it is where most of your configurations should be done. Unless it is
explicitly specified that a variable should be set before a explicitly specified that a variable should be set before a
package is loaded, you should place your code here." package is loaded, you should place your code here."
(defun my/org-mode-hook ()
"Stop the org-level headers from increasing in height relative to the other text."
(dolist (face '(org-level-1
org-level-2
org-level-3
org-level-4
org-level-5))
(set-face-attribute face nil :weight 'semi-bold :height 1.0)))
(add-hook 'org-mode-hook 'my/org-mode-hook)
(setq tramp-ssh-controlmaster-options nil)
(with-eval-after-load 'org (with-eval-after-load 'org
(global-set-key "\C-cl" 'org-store-link) (global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda) (global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cc" 'org-capture) (global-set-key "\C-cc" 'org-capture)
(global-set-key "\C-cb" 'org-iswitchb) (global-set-key "\C-cb" 'org-iswitchb)
(custom-set-variables (custom-set-variables
'(org-agenda-files (list "~/Documents/docs-private/orgmode/org-mode.org" '(org-agenda-files (list "~/Documents/docs-private/orgmode/"
"~/Documents/docs-sm/organisation/projects.om"))) "~/Documents/docs-sm/organisation/projects.org")))
'(org-enable-priority-commands t) '(org-enable-priority-commands t)
'(org-highest-priority ?A) '(org-highest-priority ?A)
'(org-lowest-priority ?Z) '(org-lowest-priority ?G)
'(org-default-priority ?U) '(org-default-priority ?E)
) )
(setq org-agenda-log-mode-items '(closed)) (setq org-image-actual-width 400)
(setq org-agenda-log-mode-items '(closed state))
(setq org-agenda-custom-commands (setq org-agenda-custom-commands
'(("b" "Purchases List" tags-todo "BUY") '(("b" "Purchases List" tags-todo "BUY")
("B" "Big Spendings List" tags-todo "+BIGSPENDS") ("B" "Big Spendings List" tags-todo "+BIGSPENDSBUY")
("p" "Private Todo List" tags "PR")
("h" "Home Todo List" tags "HOME")) ("h" "Home Todo List" tags "HOME"))
) )
) )
@@ -362,7 +379,7 @@ package is loaded, you should place your code here."
'(org-lowest-priority 90) '(org-lowest-priority 90)
'(package-selected-packages '(package-selected-packages
(quote (quote
(dockerfile-mode docker json-mode tablist docker-tramp json-snatcher json-reformat helm-company helm-c-yasnippet fuzzy company-statistics company-anaconda company auto-yasnippet yasnippet ac-ispell auto-complete smeargle orgit magit-gitflow helm-gitignore gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link evil-magit realgud magit yaml-mode pandoc pandoc-mode mmm-mode markdown-toc markdown-mode gh-md swift3-mode swift-mode org-projectile org-category-capture org-present org-pomodoro alert log4e gntp org-mime org-download htmlize gnuplot yapfify pyvenv pytest pyenv-mode py-isort pip-requirements live-py-mode hy-mode dash-functional helm-pydoc cython-mode anaconda-mode pythonic ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint indent-guide hydra hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation helm-themes helm-swoop helm-projectile helm-mode-manager helm-make projectile pkg-info epl helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu highlight elisp-slime-nav dumb-jump f dash s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async)))) (ein skewer-mode deferred websocket js2-mode simple-httpd exec-path-from-shell dockerfile-mode docker json-mode tablist docker-tramp json-snatcher json-reformat helm-company helm-c-yasnippet fuzzy company-statistics company-anaconda company auto-yasnippet yasnippet ac-ispell auto-complete smeargle orgit magit-gitflow helm-gitignore gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link evil-magit realgud magit yaml-mode pandoc pandoc-mode mmm-mode markdown-toc markdown-mode gh-md swift3-mode swift-mode org-projectile org-category-capture org-present org-pomodoro alert log4e gntp org-mime org-download htmlize gnuplot yapfify pyvenv pytest pyenv-mode py-isort pip-requirements live-py-mode hy-mode dash-functional helm-pydoc cython-mode anaconda-mode pythonic ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint indent-guide hydra hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation helm-themes helm-swoop helm-projectile helm-mode-manager helm-make projectile pkg-info epl helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu highlight elisp-slime-nav dumb-jump f dash s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async))))
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.