Idunnolol

This commit is contained in:
Akko
2023-08-09 14:50:07 +02:00
parent 2ce9e9ccc3
commit c22a39f751
5 changed files with 115 additions and 13 deletions

View File

@@ -27,12 +27,12 @@
(setq avy-all-windows nil)
(setq avy-timeout-seconds 0.2)
(setq avy-keys '(?a ?s ?d ?f ?k ?l ?; ?g ?h
?q ?w ?e ?r ?t ?y ?i ?p
?A ?S ?D ?F ?J ?K ?L))
?q ?w ?e ?r ?t ?y ?i ?p
?A ?S ?D ?F ?J ?K ?L))
(define-key evil-normal-state-map (kbd "C-.") #'avy-goto-char-timer)
(setq aw-keys '(?a ?s ?d ?f ?k ?l ?; ?g ?h
?q ?w ?e ?r ?t ?y ?i ?p
?A ?S ?D ?F ?J ?K ?L))
?q ?w ?e ?r ?t ?y ?i ?p
?A ?S ?D ?F ?J ?K ?L))
(define-key evil-normal-state-map (kbd ";") 'evil-ex)
(define-key evil-normal-state-map (kbd "g a") 'paste-above)
@@ -187,7 +187,7 @@
entry
(org-publish-find-title entry project)))
((eq style 'tree)
(capitalize (file-name-nondirectory (directory-file-name entry))))
(capitalize (file-name-nondirectory (directory-file-name entry))))
(t entry)))
:headline-levels 4
@@ -213,14 +213,14 @@
("static"
:base-directory "~/Blog/static"
:base-extension "css\\|txt\\|jpg\\|gif\\|png\\|ttf"
:base-extension "css\\|txt\\|jpg\\|gif\\|png\\|ttf\\|js"
:recursive t
:publishing-directory "~/Blog/html/static"
:publishing-function org-publish-attachment)
("blog" :components ("pages" "static")))))
(setq org-publish-project-alist (akko/blog-spec))
(setq org-publish-project-alist (akko/blog-spec))
(defun akko/publish-blog ()
(interactive)
@@ -246,10 +246,10 @@
:trigger "__blog")
(defun akko/org-current-time-string ()
(with-temp-buffer
(org-mode)
(org-time-stamp '(16))
(buffer-substring (point-min) (point-max))))
(with-temp-buffer
(org-mode)
(org-time-stamp '(16))
(buffer-substring (point-min) (point-max))))
(add-to-list 'auto-mode-alist '("\\.tsx\\'" . typescript-tsx-mode))
@@ -260,3 +260,28 @@
(setq python-shell-interpreter "ipython"
python-shell-interpreter-args "-i --simple-prompt")
(setq python-shell-completion-native-disabled-interpreters '("ipython"))
(setq org-roam-directory (file-truename "/mnt/tenma/srv/boymind"))
(org-roam-db-autosync-mode)
(org-babel-do-load-languages
'org-babel-load-languages
'((ledger . t)
))
(require 'elcord)
(elcord-mode)
(use-package! org-roam
:config
(setq org-roam-database-connector 'sqlite3))
(add-to-list 'org-agenda-files "/mnt/tenma/srv/boymind/20230727221433-agenda_akko.org")
(setq org-roam-capture-templates '(("d" "default" plain "%?"
:target (file+head "%<%Y%m%d%H%M%S>-${slug}.org"
"#+title: ${title}\n")
:unnarrowed t)
("i" "inbox" plain "* TODO %?"
:target (node "inbox")
:unnarrowed t)))