move everything from Dropbox to Nextcloud
This commit is contained in:
parent
72819450bf
commit
356d933236
1 changed files with 78 additions and 34 deletions
112
init.org
112
init.org
|
@ -354,6 +354,33 @@ It provides a minor-mode
|
||||||
#+RESULTS:
|
#+RESULTS:
|
||||||
: [nil 26285 20099 685413 nil elpaca-process-queues nil nil 626000 nil]
|
: [nil 26285 20099 685413 nil elpaca-process-queues nil nil 626000 nil]
|
||||||
|
|
||||||
|
|
||||||
|
** Enable editing textareas in browsers with Emacs
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package edit-server
|
||||||
|
:ensure t
|
||||||
|
:commands edit-server-start
|
||||||
|
:init (if after-init-time
|
||||||
|
(edit-server-start)
|
||||||
|
(add-hook 'after-init-hook
|
||||||
|
#'(lambda() (edit-server-start))))
|
||||||
|
:config (setq edit-server-new-frame-alist
|
||||||
|
'((name . "Edit with Emacs FRAME")
|
||||||
|
(top . 200)
|
||||||
|
(left . 200)
|
||||||
|
(width . 80)
|
||||||
|
(height . 25)
|
||||||
|
(minibuffer . t)
|
||||||
|
(menu-bar-lines . t)
|
||||||
|
(window-system . x))))
|
||||||
|
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
#+RESULTS:
|
||||||
|
: [nil 26383 36877 803383 nil elpaca-process-queues nil nil 768000 nil]
|
||||||
|
|
||||||
|
|
||||||
* Editor Features
|
* Editor Features
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
@ -542,34 +569,38 @@ screen.
|
||||||
|
|
||||||
*** Set Theme
|
*** Set Theme
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
;; Set theme
|
;; Set theme
|
||||||
(use-package modus-themes
|
|
||||||
:ensure t
|
|
||||||
:demand t
|
|
||||||
:custom
|
|
||||||
(modus-themes-italic-constructs t)
|
|
||||||
(modus-themes-bold-constructs t)
|
|
||||||
(modus-themes-mixed-fonts t "enable mixed fonts in org and markdown et al.")
|
|
||||||
|
|
||||||
(modus-themes-to-toggle '(modus-operandi-tinted modus-vivendi-tinted))
|
(use-package catppuccin-theme
|
||||||
|
:ensure t
|
||||||
|
:demand t)
|
||||||
|
(use-package modus-themes
|
||||||
|
:ensure t
|
||||||
|
:demand t
|
||||||
|
:custom
|
||||||
|
(modus-themes-italic-constructs t)
|
||||||
|
(modus-themes-bold-constructs t)
|
||||||
|
(modus-themes-mixed-fonts t "enable mixed fonts in org and markdown et al.")
|
||||||
|
|
||||||
(modus-themes-completions '((matches . (extrabold background intense))
|
(modus-themes-to-toggle '(modus-operandi-tinted modus-vivendi-tinted))
|
||||||
(selection . (semibold accented intense))))
|
|
||||||
(modus-themes-org-blocks 'tinted-background)
|
|
||||||
(modus-themes-mixed-fonts t)
|
|
||||||
|
|
||||||
(modus-themes-headings '((1 . (monochrome extrabold background overline variable-pitch 1.6))
|
(modus-themes-completions '((matches . (extrabold background intense))
|
||||||
(2 . (monochrome bold overline 1.4))
|
(selection . (semibold accented intense))))
|
||||||
(3 . (monochrome semibold overline 1.3))
|
(modus-themes-org-blocks 'tinted-background)
|
||||||
(4 . (monochrome 1.2))
|
(modus-themes-mixed-fonts t)
|
||||||
(5 . (monochrome 1.1))
|
|
||||||
(agenda-date . (semilight 1.5))
|
(modus-themes-headings '((1 . (monochrome extrabold background overline variable-pitch 1.6))
|
||||||
(agenda-structure . (variable-pitch light 1.9))
|
(2 . (monochrome bold overline 1.4))
|
||||||
(t . (monochrome light))))
|
(3 . (monochrome semibold overline 1.3))
|
||||||
:config
|
(4 . (monochrome 1.2))
|
||||||
(load-theme 'modus-operandi-tinted :no-confirm)
|
(5 . (monochrome 1.1))
|
||||||
:bind
|
(agenda-date . (semilight 1.5))
|
||||||
(("<f5>" . #'modus-themes-toggle)))
|
(agenda-structure . (variable-pitch light 1.9))
|
||||||
|
(t . (monochrome light))))
|
||||||
|
:config
|
||||||
|
(load-theme 'modus-operandi-tinted :no-confirm)
|
||||||
|
:bind
|
||||||
|
(("<f5>" . #'modus-themes-toggle)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
There is a keybinding on *<F5>* to toggle between light and dark mode.
|
There is a keybinding on *<F5>* to toggle between light and dark mode.
|
||||||
|
@ -653,7 +684,7 @@ whether to put it under writing, comms or programming as it is equally
|
||||||
:key (auth-source-pass-get 'secret "snamellit/openai-api-key")
|
:key (auth-source-pass-get 'secret "snamellit/openai-api-key")
|
||||||
:chat-model "gpt-4o"
|
:chat-model "gpt-4o"
|
||||||
))
|
))
|
||||||
(ellama-sessions-directory (expand-file-name "~/Dropbox/ellama-sessions"))
|
(ellama-sessions-directory (expand-file-name "~/Nextcloud/ellama-sessions"))
|
||||||
:config
|
:config
|
||||||
(report-time-since-load "Ellama is available"))
|
(report-time-since-load "Ellama is available"))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
@ -803,7 +834,7 @@ Currently already loaded by crafted emacs
|
||||||
(left-margin-width 2)
|
(left-margin-width 2)
|
||||||
(right-margin-width 2)
|
(right-margin-width 2)
|
||||||
(org-hide-emphasis-markers t)
|
(org-hide-emphasis-markers t)
|
||||||
(org-agenda-files (list "~/Dropbox/org/" "~/org/snamellit/" "~/org/customer/" "~/org/personal/"))
|
(org-agenda-files (list "~/Nextcloud/org/" "~/org/snamellit/" "~/org/customer/" "~/org/personal/"))
|
||||||
(org-refile-targets '(
|
(org-refile-targets '(
|
||||||
(org-agenda-files . (:level . 1))
|
(org-agenda-files . (:level . 1))
|
||||||
("~/org/personal/bijen.org" . (:level . 1))
|
("~/org/personal/bijen.org" . (:level . 1))
|
||||||
|
@ -811,10 +842,10 @@ Currently already loaded by crafted emacs
|
||||||
))
|
))
|
||||||
:config
|
:config
|
||||||
;; set files for agenda views
|
;; set files for agenda views
|
||||||
(setq +org-capture-todo-file "~/Dropbox/org/inbox.org"
|
(setq +org-capture-todo-file "~/Nextcloud/org/inbox.org"
|
||||||
+org-capture-notes-file "~/Dropbox/org/inbox.org"
|
+org-capture-notes-file "~/Nextcloud/org/inbox.org"
|
||||||
+org-capture-journal-file "~/Dropbox/org/journal.org"
|
+org-capture-journal-file "~/Nextcloud/org/journal.org"
|
||||||
+org-capture-projects-file "~/Dropbox/org/projects.org")
|
+org-capture-projects-file "~/Nextcloud/org/projects.org")
|
||||||
:hook
|
:hook
|
||||||
(org-mode . pti-org-mode-config)
|
(org-mode . pti-org-mode-config)
|
||||||
:bind (
|
:bind (
|
||||||
|
@ -1412,12 +1443,12 @@ We can add a list of queries
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq org-agenda-custom-commands
|
(setq org-agenda-custom-commands
|
||||||
'(("i" "Inbox" ((todo ".*"
|
'(("i" "Inbox" ((todo ".*"
|
||||||
((org-agenda-files '("~/Dropbox/org/inbox.org"))
|
((org-agenda-files '("~/Nextcloud/org/inbox.org"))
|
||||||
(org-agenda-overriding-header "Unprocessed Inbox Items")))))))
|
(org-agenda-overriding-header "Unprocessed Inbox Items")))))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
#+RESULTS:
|
#+RESULTS:
|
||||||
| i | Inbox | ((todo .* ((org-agenda-files '(~/Dropbox/org/inbox.org)) (org-agenda-overriding-header Unprocessed Inbox Items)))) |
|
| i | Inbox | ((todo .* ((org-agenda-files '(~/Nextcloud/org/inbox.org)) (org-agenda-overriding-header Unprocessed Inbox Items)))) |
|
||||||
|
|
||||||
|
|
||||||
**** Daily Agenda
|
**** Daily Agenda
|
||||||
|
@ -1465,7 +1496,7 @@ We can add a list of queries
|
||||||
(use-package denote
|
(use-package denote
|
||||||
:ensure t
|
:ensure t
|
||||||
:init
|
:init
|
||||||
(setq denote-directory (file-name-concat (expand-file-name "~") "Dropbox/denote"))
|
(setq denote-directory (file-name-concat (expand-file-name "~") "Nextcloud/denote"))
|
||||||
(setq denote-dired-directories
|
(setq denote-dired-directories
|
||||||
(list denote-directory
|
(list denote-directory
|
||||||
(expand-file-name "~/Documents/denote")))
|
(expand-file-name "~/Documents/denote")))
|
||||||
|
@ -1538,6 +1569,7 @@ We can add a list of queries
|
||||||
(rust-ts-mode . eglot-ensure)
|
(rust-ts-mode . eglot-ensure)
|
||||||
(java-ts-mode . eglot-ensure)
|
(java-ts-mode . eglot-ensure)
|
||||||
(python-ts-mode . eglot-ensure)
|
(python-ts-mode . eglot-ensure)
|
||||||
|
(zig-mode . eglot-ensure)
|
||||||
)
|
)
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
@ -1874,6 +1906,18 @@ Configure Geiser and Scheme
|
||||||
|
|
||||||
Map the keymap consistently to the eglot mappings.
|
Map the keymap consistently to the eglot mappings.
|
||||||
|
|
||||||
|
*** Zig Support
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
;; configure zig support
|
||||||
|
(use-package zig-mode
|
||||||
|
:ensure t
|
||||||
|
:hook
|
||||||
|
(zig-mode . eglot-ensure))
|
||||||
|
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
|
||||||
** Debugger Support
|
** Debugger Support
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(report-time-since-load "Programming - Debugger Support")
|
(report-time-since-load "Programming - Debugger Support")
|
||||||
|
|
Loading…
Reference in a new issue