|
@ -139,7 +139,6 @@ This function updates init.el whenever changes in init.org are made. The update |
|
|
(defconst MY--PATH_ORG_FILES_MOBILE nil) ;; hacky way to prevent "free variable" compiler error |
|
|
(defconst MY--PATH_ORG_FILES_MOBILE nil) ;; hacky way to prevent "free variable" compiler error |
|
|
(defconst MY--PATH_ORG_JOURNAL nil) ;; hacky way to prevent "free variable" compiler error |
|
|
(defconst MY--PATH_ORG_JOURNAL nil) ;; hacky way to prevent "free variable" compiler error |
|
|
(defconst MY--PATH_START "p:/Eigene Dateien/Notizen/")) |
|
|
(defconst MY--PATH_START "p:/Eigene Dateien/Notizen/")) |
|
|
(setq bookmark-default-file (concat MY--PATH_USER_LOCAL "bookmarks")) |
|
|
|
|
|
(setq recentf-save-file (concat MY--PATH_USER_LOCAL "recentf")) |
|
|
(setq recentf-save-file (concat MY--PATH_USER_LOCAL "recentf")) |
|
|
(setq custom-file (concat MY--PATH_USER_LOCAL "custom.el")) ;; don't spam init.e with saved customization settings |
|
|
(setq custom-file (concat MY--PATH_USER_LOCAL "custom.el")) ;; don't spam init.e with saved customization settings |
|
|
(setq abbrev-file-name (concat MY--PATH_USER_GLOBAL "abbrev_defs")) |
|
|
(setq abbrev-file-name (concat MY--PATH_USER_GLOBAL "abbrev_defs")) |
|
@ -178,6 +177,24 @@ This function updates init.el whenever changes in init.org are made. The update |
|
|
(scroll-bar-mode 0) ;; disable scroll bar |
|
|
(scroll-bar-mode 0) ;; disable scroll bar |
|
|
#+END_SRC |
|
|
#+END_SRC |
|
|
|
|
|
|
|
|
|
|
|
Bookmarks |
|
|
|
|
|
Usage: |
|
|
|
|
|
- C-x r m (bookmark-set): add bookmark |
|
|
|
|
|
- C-x r l (list-bookmark): list bookmarks |
|
|
|
|
|
- C-x r b (bookmark-jump): open bookmark |
|
|
|
|
|
|
|
|
|
|
|
Edit bookmarks (while in bookmark file): |
|
|
|
|
|
- d: mark current item |
|
|
|
|
|
- x: delete marked items |
|
|
|
|
|
- r: rename current item |
|
|
|
|
|
- s: save changes |
|
|
|
|
|
|
|
|
|
|
|
#+begin_src emacs-lisp |
|
|
|
|
|
(use-package bookmark |
|
|
|
|
|
:custom |
|
|
|
|
|
(bookmark-default-file (concat MY--PATH_USER_LOCAL "bookmarks"))) |
|
|
|
|
|
#+end_src |
|
|
|
|
|
|
|
|
Some windows specific stuff |
|
|
Some windows specific stuff |
|
|
#+BEGIN_SRC emacs-lisp |
|
|
#+BEGIN_SRC emacs-lisp |
|
|
(when *sys/windows* |
|
|
(when *sys/windows* |
|
@ -199,7 +216,7 @@ Some windows specific stuff |
|
|
:END: |
|
|
:END: |
|
|
#+BEGIN_SRC emacs-lisp |
|
|
#+BEGIN_SRC emacs-lisp |
|
|
(when *sys/linux* |
|
|
(when *sys/linux* |
|
|
(set-face-font 'default "Hack-10")) |
|
|
|
|
|
|
|
|
(set-face-font 'default "Hack Nerd Font-10")) |
|
|
(when *work_remote* |
|
|
(when *work_remote* |
|
|
(set-face-font 'default "Lucida Sans Typewriter-11")) |
|
|
(set-face-font 'default "Lucida Sans Typewriter-11")) |
|
|
#+END_SRC |
|
|
#+END_SRC |
|
@ -448,7 +465,7 @@ Windows Theme: |
|
|
|
|
|
|
|
|
(defun company/elisp-mode-hook() |
|
|
(defun company/elisp-mode-hook() |
|
|
(set (make-local-variable 'company-backends) |
|
|
(set (make-local-variable 'company-backends) |
|
|
'((company-elisp company-dabbrev) company-capf company-files)) |
|
|
|
|
|
|
|
|
'(company-capf company-files)) |
|
|
(message "company/elisp-mode-hook")) |
|
|
(message "company/elisp-mode-hook")) |
|
|
|
|
|
|
|
|
(defun company/beancount-mode-hook() |
|
|
(defun company/beancount-mode-hook() |
|
@ -926,8 +943,14 @@ Default completion is C-j |
|
|
|
|
|
|
|
|
(use-package lsp-python-ms |
|
|
(use-package lsp-python-ms |
|
|
:ensure t |
|
|
:ensure t |
|
|
:after lsp-mode python)) |
|
|
|
|
|
; :custom (lsp-python-executable-cmd "python3")) |
|
|
|
|
|
|
|
|
;:after lsp-mode python |
|
|
|
|
|
:hook (python-mode . (lambda() |
|
|
|
|
|
(require 'lsp-python-ms) |
|
|
|
|
|
(lsp))) |
|
|
|
|
|
:init |
|
|
|
|
|
(setq lsp-python-ms-executable |
|
|
|
|
|
"~/.emacs.d/mspyls/Microsoft.Python.LanguageServer") |
|
|
|
|
|
:custom (lsp-python-executable-cmd "python3"))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#+END_SRC |
|
|
#+END_SRC |
|
@ -999,4 +1022,4 @@ deactivate |
|
|
Start fava with fava my_file.beancount |
|
|
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. |