Compare commits
3 Commits
8a347a9b20
...
59a4ef9c5e
Author | SHA1 | Date | |
---|---|---|---|
|
59a4ef9c5e | ||
|
9fb96c18aa | ||
|
c22a39f751 |
31
config.el
31
config.el
@@ -27,12 +27,12 @@
|
|||||||
(setq avy-all-windows nil)
|
(setq avy-all-windows nil)
|
||||||
(setq avy-timeout-seconds 0.2)
|
(setq avy-timeout-seconds 0.2)
|
||||||
(setq avy-keys '(?a ?s ?d ?f ?k ?l ?; ?g ?h
|
(setq avy-keys '(?a ?s ?d ?f ?k ?l ?; ?g ?h
|
||||||
?q ?w ?e ?r ?t ?y ?i ?p
|
?q ?w ?e ?r ?t ?y ?i ?p
|
||||||
?A ?S ?D ?F ?J ?K ?L))
|
?A ?S ?D ?F ?J ?K ?L))
|
||||||
(define-key evil-normal-state-map (kbd "C-.") #'avy-goto-char-timer)
|
(define-key evil-normal-state-map (kbd "C-.") #'avy-goto-char-timer)
|
||||||
(setq aw-keys '(?a ?s ?d ?f ?k ?l ?; ?g ?h
|
(setq aw-keys '(?a ?s ?d ?f ?k ?l ?; ?g ?h
|
||||||
?q ?w ?e ?r ?t ?y ?i ?p
|
?q ?w ?e ?r ?t ?y ?i ?p
|
||||||
?A ?S ?D ?F ?J ?K ?L))
|
?A ?S ?D ?F ?J ?K ?L))
|
||||||
|
|
||||||
(define-key evil-normal-state-map (kbd ";") 'evil-ex)
|
(define-key evil-normal-state-map (kbd ";") 'evil-ex)
|
||||||
(define-key evil-normal-state-map (kbd "g a") 'paste-above)
|
(define-key evil-normal-state-map (kbd "g a") 'paste-above)
|
||||||
@@ -189,7 +189,7 @@
|
|||||||
entry
|
entry
|
||||||
(org-publish-find-title entry project)))
|
(org-publish-find-title entry project)))
|
||||||
((eq style 'tree)
|
((eq style 'tree)
|
||||||
(capitalize (file-name-nondirectory (directory-file-name entry))))
|
(capitalize (file-name-nondirectory (directory-file-name entry))))
|
||||||
(t entry)))
|
(t entry)))
|
||||||
|
|
||||||
:headline-levels 4
|
:headline-levels 4
|
||||||
@@ -222,7 +222,7 @@
|
|||||||
|
|
||||||
("blog" :components ("pages" "static")))))
|
("blog" :components ("pages" "static")))))
|
||||||
|
|
||||||
(setq org-publish-project-alist (akko/blog-spec))
|
(setq org-publish-project-alist (akko/blog-spec))
|
||||||
|
|
||||||
(defun akko/publish-blog ()
|
(defun akko/publish-blog ()
|
||||||
(interactive)
|
(interactive)
|
||||||
@@ -248,10 +248,10 @@
|
|||||||
:trigger "__blog")
|
:trigger "__blog")
|
||||||
|
|
||||||
(defun akko/org-current-time-string ()
|
(defun akko/org-current-time-string ()
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(org-mode)
|
(org-mode)
|
||||||
(org-time-stamp '(16))
|
(org-time-stamp '(16))
|
||||||
(buffer-substring (point-min) (point-max))))
|
(buffer-substring (point-min) (point-max))))
|
||||||
|
|
||||||
(add-to-list 'auto-mode-alist '("\\.tsx\\'" . typescript-tsx-mode))
|
(add-to-list 'auto-mode-alist '("\\.tsx\\'" . typescript-tsx-mode))
|
||||||
|
|
||||||
@@ -263,10 +263,6 @@
|
|||||||
python-shell-interpreter-args "-i --simple-prompt")
|
python-shell-interpreter-args "-i --simple-prompt")
|
||||||
(setq python-shell-completion-native-disabled-interpreters '("ipython"))
|
(setq python-shell-completion-native-disabled-interpreters '("ipython"))
|
||||||
|
|
||||||
(use-package! org-roam
|
|
||||||
:config
|
|
||||||
(setq org-roam-database-connector 'sqlite3))
|
|
||||||
|
|
||||||
(setq org-roam-directory (file-truename "/mnt/tenma/srv/boymind"))
|
(setq org-roam-directory (file-truename "/mnt/tenma/srv/boymind"))
|
||||||
(org-roam-db-autosync-mode)
|
(org-roam-db-autosync-mode)
|
||||||
|
|
||||||
@@ -275,6 +271,13 @@
|
|||||||
'((ledger . t)
|
'((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")
|
(add-to-list 'org-agenda-files "/mnt/tenma/srv/boymind/20230727221433-agenda_akko.org")
|
||||||
|
|
||||||
(setq org-roam-capture-templates '(("d" "default" plain "%?"
|
(setq org-roam-capture-templates '(("d" "default" plain "%?"
|
||||||
|
@@ -3,6 +3,9 @@
|
|||||||
;; 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.
|
||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
|
'(elcord-editor-icon "emacs_icon")
|
||||||
|
'(elcord-idle-message "Conquering the Pyu city-states...")
|
||||||
|
'(elcord-mode t nil (elcord))
|
||||||
'(org-agenda-files '("~/org/tasks.org" "~/todo.org"))
|
'(org-agenda-files '("~/org/tasks.org" "~/todo.org"))
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
'(polymode fish-mode solidity-mode yaml-mode bison-mode graphql-mode arduino-mode gdscript-mode speed-type ivy-posframe lsp-haskell treemacs key-chord))
|
'(polymode fish-mode solidity-mode yaml-mode bison-mode graphql-mode arduino-mode gdscript-mode speed-type ivy-posframe lsp-haskell treemacs key-chord))
|
||||||
|
2
init.el
2
init.el
@@ -112,7 +112,7 @@
|
|||||||
;;assembly ; assembly for fun or debugging
|
;;assembly ; assembly for fun or debugging
|
||||||
cc ; C/C++/Obj-C madness
|
cc ; C/C++/Obj-C madness
|
||||||
;;clojure ; java with a lisp
|
;;clojure ; java with a lisp
|
||||||
;;common-lisp ; if you've seen one lisp, you've seen them all
|
common-lisp ; if you've seen one lisp, you've seen them all
|
||||||
;;coq ; proofs-as-programs
|
;;coq ; proofs-as-programs
|
||||||
;;crystal ; ruby at the speed of c
|
;;crystal ; ruby at the speed of c
|
||||||
;;csharp ; unity, .NET, and mono shenanigans
|
;;csharp ; unity, .NET, and mono shenanigans
|
||||||
|
@@ -8,9 +8,9 @@
|
|||||||
|
|
||||||
(package! key-chord)
|
(package! key-chord)
|
||||||
(package! which-key)
|
(package! which-key)
|
||||||
(package! org-mode :recipe (:repo "https://code.orgmode.org/bzg/org-mode.git"))
|
|
||||||
(add-to-list 'load-path "./elfiles")
|
(add-to-list 'load-path "./elfiles")
|
||||||
|
|
||||||
(package! ledger-mode)
|
(package! ledger-mode)
|
||||||
(package! ob-ledger :recipe (:local-repo "lisp/ob-ledger"))
|
(package! ob-ledger :recipe (:local-repo "lisp/ob-ledger"))
|
||||||
|
(package! elcord)
|
||||||
(package! emacsql-sqlite3)
|
(package! emacsql-sqlite3)
|
||||||
|
Reference in New Issue
Block a user