Browse Source

various empty lines between headings, minor fixes

master
Marc 3 years ago
parent
commit
46617ccf9b
1 changed files with 33 additions and 4 deletions
  1. 37
      init.org

37
init.org

@ -26,6 +26,7 @@
- beancount configuration from config.org - beancount configuration from config.org
- CONTINUE TODO from config.org at Programming - CONTINUE TODO from config.org at Programming
- all-the-icons? - all-the-icons?
* Header * Header
:PROPERTIES: :PROPERTIES:
:ID: a14d7c89-24ea-41ae-b185-944bab49aa02 :ID: a14d7c89-24ea-41ae-b185-944bab49aa02
@ -34,6 +35,7 @@ Emacs variables are dynamically scoped. That's unusual for most languages, so di
#+begin_src emacs-lisp #+begin_src emacs-lisp
;;; init.el --- -*- lexical-binding: t -*- ;;; init.el --- -*- lexical-binding: t -*-
#+end_src #+end_src
* First start * First start
:PROPERTIES: :PROPERTIES:
:ID: 1c24d48e-0124-4a0b-8e78-82e4c531e818 :ID: 1c24d48e-0124-4a0b-8e78-82e4c531e818
@ -116,6 +118,7 @@ Maybe turn it on again at some point before the next major emacs upgrade
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq byte-compile-warnings '(cl-functions)) (setq byte-compile-warnings '(cl-functions))
#+end_src #+end_src
* Default settings * Default settings
:PROPERTIES: :PROPERTIES:
:ID: 3512d679-d111-4ccd-8372-6fc2acbc0374 :ID: 3512d679-d111-4ccd-8372-6fc2acbc0374
@ -244,6 +247,7 @@ Some windows specific stuff
(when (boundp 'w32-get-true-file-attributes) (when (boundp 'w32-get-true-file-attributes)
(setq w32-get-true-file-attributes nil))) (setq w32-get-true-file-attributes nil)))
#+END_SRC #+END_SRC
* visuals * visuals
** Font ** Font
:PROPERTIES: :PROPERTIES:
@ -282,6 +286,7 @@ Windows Theme:
(when *sys/linux* (when *sys/linux*
(load-theme 'plastic)) (load-theme 'plastic))
#+END_SRC #+END_SRC
** line wrappings ** line wrappings
:PROPERTIES: :PROPERTIES:
:ID: 14ae933e-2941-4cc3-82de-38f90f91bfd3 :ID: 14ae933e-2941-4cc3-82de-38f90f91bfd3
@ -300,6 +305,7 @@ Windows Theme:
; (adaptive-wrap-prefix-mode (if visual-line-mode 1 -1))) ; (adaptive-wrap-prefix-mode (if visual-line-mode 1 -1)))
; (add-hook 'visual-line-mode-hook 'my/activate-adaptive-wrap-prefix-mode))) ; (add-hook 'visual-line-mode-hook 'my/activate-adaptive-wrap-prefix-mode)))
#+END_SRC #+END_SRC
** line numbers ** line numbers
:PROPERTIES: :PROPERTIES:
:ID: 7b969436-98c9-4b61-ba7a-9fb22c9781ad :ID: 7b969436-98c9-4b61-ba7a-9fb22c9781ad
@ -316,6 +322,7 @@ Windows Theme:
display-line-numbers-widen t)) display-line-numbers-widen t))
; (add-hook 'emacs-lisp-mode-hook 'display-line-numbers-mode) ; (add-hook 'emacs-lisp-mode-hook 'display-line-numbers-mode)
#+END_SRC #+END_SRC
** misc ** misc
:PROPERTIES: :PROPERTIES:
:ID: a2873138-16ee-4990-89a2-26eab778ea74 :ID: a2873138-16ee-4990-89a2-26eab778ea74
@ -335,6 +342,7 @@ Windows Theme:
:ensure t :ensure t
:hook ((prog-mode . rainbow-delimiters-mode))) :hook ((prog-mode . rainbow-delimiters-mode)))
#+END_SRC #+END_SRC
* undo * undo
:PROPERTIES: :PROPERTIES:
:ID: d57621b2-5472-4c89-a520-b4133db0b9af :ID: d57621b2-5472-4c89-a520-b4133db0b9af
@ -346,6 +354,7 @@ Windows Theme:
:init :init
(global-undo-tree-mode 1)) (global-undo-tree-mode 1))
#+END_SRC #+END_SRC
* ace-window * ace-window
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package ace-window (use-package ace-window
@ -354,6 +363,7 @@ Windows Theme:
(:map global-map (:map global-map
("C-x o" . ace-window))) ("C-x o" . ace-window)))
#+end_src #+end_src
* imenu-list * imenu-list
:PROPERTIES: :PROPERTIES:
:ID: 0ae27ec9-5d77-43cf-ac76-5e12cc959046 :ID: 0ae27ec9-5d77-43cf-ac76-5e12cc959046
@ -373,8 +383,11 @@ Windows Theme:
:bind :bind
(:map global-map (:map global-map
([f9] . imenu-list-smart-toggle)) ([f9] . imenu-list-smart-toggle))
:custom
(org-imenu-depth 4)
) )
#+END_SRC #+END_SRC
* which-key * which-key
:PROPERTIES: :PROPERTIES:
:ID: a880f079-b3a3-4706-bf1e-5f6c680101f1 :ID: a880f079-b3a3-4706-bf1e-5f6c680101f1
@ -403,6 +416,7 @@ Windows Theme:
:config :config
(evil-mode 1)) (evil-mode 1))
#+END_SRC #+END_SRC
* General (key mapper) * General (key mapper)
:PROPERTIES: :PROPERTIES:
:ID: a20f183f-d41a-4dff-bc37-3bc4e25c8036 :ID: a20f183f-d41a-4dff-bc37-3bc4e25c8036
@ -412,12 +426,14 @@ Windows Theme:
:ensure t) :ensure t)
(general-define-key (general-define-key
:states 'normal
:keymaps 'imenu-list-major-mode-map :keymaps 'imenu-list-major-mode-map
(kbd "RET") '(imenu-list-goto-entry :which-key "goto")
(kbd "TAB") '(hs-toggle-hiding :which-key "collapse")
"RET" '(imenu-list-goto-entry :which-key "goto")
"TAB" '(hs-toggle-hiding :which-key "collapse")
"d" '(imenu-list-display-entry :which-key "show") "d" '(imenu-list-display-entry :which-key "show")
"q" '(imenu-list-quit-window :which-key "quit")) "q" '(imenu-list-quit-window :which-key "quit"))
#+END_SRC #+END_SRC
* ivy / counsel / swiper * ivy / counsel / swiper
:PROPERTIES: :PROPERTIES:
:ID: 55c74ba9-7761-4545-8ddd-087d6ee33e4b :ID: 55c74ba9-7761-4545-8ddd-087d6ee33e4b
@ -477,6 +493,7 @@ Windows Theme:
(use-package autorevert (use-package autorevert
:diminish auto-revert-mode) :diminish auto-revert-mode)
#+end_src #+end_src
* company * company
:PROPERTIES: :PROPERTIES:
:ID: 944563b6-b04a-44f2-9b21-a6a3e200867c :ID: 944563b6-b04a-44f2-9b21-a6a3e200867c
@ -526,7 +543,7 @@ Windows Theme:
:defer t :defer t
:init :init
(add-hook 'company-mode-hook 'company-box-mode)) (add-hook 'company-mode-hook 'company-box-mode))
#+END_SRC
#+END_SRC
** company backends ** company backends
:PROPERTIES: :PROPERTIES:
@ -549,6 +566,7 @@ Windows Theme:
(set (make-local-variable 'company-backends) (set (make-local-variable 'company-backends)
'(company-beancount))) '(company-beancount)))
#+END_SRC #+END_SRC
* orgmode * orgmode
** org ** org
:PROPERTIES: :PROPERTIES:
@ -694,6 +712,7 @@ Another setup, because org-babel-do-load-languages requires eager loading
(org-babel-execute:scheme (org-babel-execute:scheme
org-babel-expand-body:scheme)) org-babel-expand-body:scheme))
#+end_src #+end_src
** habits ** habits
:PROPERTIES: :PROPERTIES:
:ID: fcc91d0a-d040-4910-b2cf-3221496a3842 :ID: fcc91d0a-d040-4910-b2cf-3221496a3842
@ -706,6 +725,7 @@ Another setup, because org-babel-do-load-languages requires eager loading
org-habit-following-days 7 org-habit-following-days 7
org-habit-show-habits-only-for-today nil) org-habit-show-habits-only-for-today nil)
#+END_SRC #+END_SRC
** org-id ** org-id
:PROPERTIES: :PROPERTIES:
:ID: c4017c45-d650-410c-8bd4-bc3cf42bbbb9 :ID: c4017c45-d650-410c-8bd4-bc3cf42bbbb9
@ -791,6 +811,7 @@ Vorerst deaktiviert, Nutzen evtl. nicht vorhanden
;; org-caldav-inbox (expand-file-name "~/Archiv/Organisieren/caldav-inbox") ;; org-caldav-inbox (expand-file-name "~/Archiv/Organisieren/caldav-inbox")
;; org-caldav-files (concat MY--PATH_ORG_FILES "tasks"))) ;; org-caldav-files (concat MY--PATH_ORG_FILES "tasks")))
#+END_SRC #+END_SRC
** journal ** journal
:PROPERTIES: :PROPERTIES:
:ID: a1951e18-d862-4198-9652-016e979053c8 :ID: a1951e18-d862-4198-9652-016e979053c8
@ -817,6 +838,7 @@ Vorerst deaktiviert, Nutzen evtl. nicht vorhanden
:diminish eldoc-mode :diminish eldoc-mode
:defer t) :defer t)
#+end_src #+end_src
** Magit / Git ** Magit / Git
:PROPERTIES: :PROPERTIES:
:ID: d3589460-317f-40f6-9056-053be9ba3217 :ID: d3589460-317f-40f6-9056-053be9ba3217
@ -867,7 +889,8 @@ TODO Unterverzeichnisse wurden noch nicht getestet
(lsp-prefer-flymake nil) ; use flycheck instead (lsp-prefer-flymake nil) ; use flycheck instead
(lsp-file-watch-threshold 5000) (lsp-file-watch-threshold 5000)
(lsb-print-performance t) (lsb-print-performance t)
(lsp-log-io t)
(lsp-log-io nil) ; enable log only for debug
(lsp-enable-folding t) ; default, maybe evil-matchit instead for performance?
(lsp-diagnostics-modeline-scope :project) (lsp-diagnostics-modeline-scope :project)
(lsp-enable-file-watchers nil) (lsp-enable-file-watchers nil)
:bind (:map lsp-mode-map ("C-c C-f" . lsp-format-buffer)) :bind (:map lsp-mode-map ("C-c C-f" . lsp-format-buffer))
@ -946,6 +969,7 @@ With hippie expand I am able to use yasnippet and emmet at the same time with th
(setq hippie-expand-try-functions-list (setq hippie-expand-try-functions-list
'(yas-hippie-try-expand emmet-expand-line))) '(yas-hippie-try-expand emmet-expand-line)))
#+end_src #+end_src
** flycheck ** flycheck
:PROPERTIES: :PROPERTIES:
:ID: 3d8f2547-c5b3-46d0-91b0-9667f9ee5c47 :ID: 3d8f2547-c5b3-46d0-91b0-9667f9ee5c47
@ -1029,6 +1053,7 @@ Manage projects and jump quickly between its files
(require 'smartparens-config)) (require 'smartparens-config))
#+END_SRC #+END_SRC
** lisp ** lisp
:PROPERTIES: :PROPERTIES:
:ID: a2bc3e08-b203-49d3-b337-fb186a14eecb :ID: a2bc3e08-b203-49d3-b337-fb186a14eecb
@ -1036,6 +1061,7 @@ Manage projects and jump quickly between its files
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(add-hook 'emacs-lisp-mode-hook 'company/elisp-mode-hook) (add-hook 'emacs-lisp-mode-hook 'company/elisp-mode-hook)
#+END_SRC #+END_SRC
** web ** web
:PROPERTIES: :PROPERTIES:
:ID: c0b0b4e4-2162-429f-b80d-6e5334b1290e :ID: c0b0b4e4-2162-429f-b80d-6e5334b1290e
@ -1083,6 +1109,7 @@ Default completion is C-j
:config :config
(unbind-key "C-<return>" emmet-mode-keymap)) (unbind-key "C-<return>" emmet-mode-keymap))
#+end_src #+end_src
** YAML ** YAML
:PROPERTIES: :PROPERTIES:
:ID: 95413247-04d5-4e02-8431-06c162ec8f3b :ID: 95413247-04d5-4e02-8431-06c162ec8f3b
@ -1094,6 +1121,7 @@ Default completion is C-j
:defer t :defer t
:mode ("\\.yml$" . yaml-mode)) :mode ("\\.yml$" . yaml-mode))
#+end_src #+end_src
** R ** R
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package ess (use-package ess
@ -1254,6 +1282,7 @@ Start fava with fava my_file.beancount
It is accessable on this URL: [[http://127.0.0.1:5000][Fava]] It is accessable on this URL: [[http://127.0.0.1:5000][Fava]]
Beancount-mode can start fava and open the URL right away. Beancount-mode can start fava and open the URL right away.
* Stuff after everything else * Stuff after everything else
Set garbage collector to a smaller value to let it kick in faster. Set garbage collector to a smaller value to let it kick in faster.
Maybe a problem on Windows? Maybe a problem on Windows?

Loading…
Cancel
Save