UHHHHH
This commit is contained in:
61
config.org
61
config.org
@@ -26,12 +26,16 @@ Honestly I barely remember what some of this stuff is supposed to do, this is th
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(if (string= (system-name) "illya")
|
||||
(set-frame-font "Monoflow 12" nil t)
|
||||
(set-frame-font "Monoflow Medium 20" nil t))
|
||||
(set-frame-font "Mononoki Medium 12")
|
||||
(set-frame-font "Mononoki 12" nil t))
|
||||
(set-frame-font "Mononoki 13")
|
||||
#+END_SRC
|
||||
** Theme
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq doom-theme 'doom-ayu-mirage)
|
||||
(add-to-list 'custom-theme-load-path
|
||||
(expand-file-name "themes" doom-user-dir))
|
||||
(add-to-list 'custom-theme-load-path
|
||||
(expand-file-name "themes" "~/.emacs.d"))
|
||||
#+END_SRC
|
||||
** Other
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
@@ -44,12 +48,12 @@ Honestly I barely remember what some of this stuff is supposed to do, this is th
|
||||
(define-key evil-normal-state-map (kbd "g a") 'paste-above)
|
||||
(define-key evil-normal-state-map (kbd "g p") 'paste-below)
|
||||
|
||||
(global-set-key (kbd "C-x C-f") #'counsel-find-file)
|
||||
(global-set-key (kbd "C-x C-f") #'find-file)
|
||||
(map! :leader
|
||||
"." #'counsel-find-file)
|
||||
"." #'find-file)
|
||||
|
||||
; TODO fix
|
||||
(map! :after counsel "C-s" #'swiper)
|
||||
; TODO fix
|
||||
(map! :after vertico "C-s" #'+default/search-buffer)
|
||||
|
||||
(after! evil-escape
|
||||
(setq evil-escape-key-sequence "jj")
|
||||
@@ -58,7 +62,7 @@ Honestly I barely remember what some of this stuff is supposed to do, this is th
|
||||
(which-key-mode 1)
|
||||
(setq which-key-idle-delay 0.25)
|
||||
|
||||
(defun doom/find-file-in-private-config () (interactive) (counsel-find-file doom-user-dir))
|
||||
;(defun doom/find-file-in-private-config () (interactive) (find-file doom-user-dir))
|
||||
#+END_SRC
|
||||
|
||||
* Completion
|
||||
@@ -130,10 +134,10 @@ Make ace-window work across frames
|
||||
*** Roam
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq org-roam-directory (file-truename "/mnt/tenma/srv/boymind"))
|
||||
; this seems to be broken right now
|
||||
;(use-package! org-roam
|
||||
; :config
|
||||
; (setq org-roam-database-connector 'sqlite3))
|
||||
; this seems to be broken right now
|
||||
;(use-package! org-roam
|
||||
; :config
|
||||
; (setq org-roam-database-connector 'sqlite3))
|
||||
(condition-case nil
|
||||
(org-roam-db-autosync-mode)
|
||||
(file-error (progn
|
||||
@@ -171,6 +175,16 @@ Make ace-window work across frames
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq lsp-enable-links nil)
|
||||
#+END_SRC
|
||||
* IRC
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(after! circe
|
||||
(set-irc-server! "irc.rizon.net"
|
||||
'(:tls t
|
||||
:port 6697
|
||||
:nick "akk0"
|
||||
:channels ("#r/a/dio"))))
|
||||
#+END_SRC
|
||||
|
||||
* Blog
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(require 'ox-publish)
|
||||
@@ -252,7 +266,7 @@ Make ace-window work across frames
|
||||
|
||||
("static"
|
||||
:base-directory "~/Blog/static"
|
||||
:base-extension "css\\|txt\\|jpg\\|gif\\|png\\|ttf\\|js"
|
||||
:base-extension "css\\|txt\\|jpg\\|gif\\|png\\|ttf\\|js\\|mp4\\|webm"
|
||||
:recursive t
|
||||
:publishing-directory "~/Blog/html/static"
|
||||
:publishing-function org-publish-attachment)
|
||||
@@ -264,7 +278,7 @@ Make ace-window work across frames
|
||||
(defun akko/publish-blog ()
|
||||
(interactive)
|
||||
(setq org-publish-project-alist (akko/blog-spec))
|
||||
(org-publish-all))
|
||||
(org-publish-all))
|
||||
|
||||
(defun akko/force-publish-blog ()
|
||||
(interactive)
|
||||
@@ -299,4 +313,25 @@ Make ace-window work across frames
|
||||
(setq-default vterm-shell (executable-find "fish"))
|
||||
(setq-default explicit-shell-file-name (executable-find "fish"))
|
||||
|
||||
#+END_SRC
|
||||
* Antichrist
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(after! auth-source
|
||||
(setq auth-sources (append '("~/.authinfo") auth-sources)))
|
||||
|
||||
(use-package! gptel
|
||||
:config
|
||||
(gptel-make-openai "OpenRouter" ;Any name you want
|
||||
:host "openrouter.ai"
|
||||
:endpoint "/api/v1/chat/completions"
|
||||
:stream t
|
||||
:key #'gptel-api-key-from-auth-source
|
||||
:models '(anthropic/claude-3.7-sonnet:beta))
|
||||
(map! :leader
|
||||
(:prefix-map ("z" . "AI")
|
||||
:desc "Send to GPT" "z" #'gptel-send
|
||||
:desc "GPT menu" "m" #'gptel-menu))
|
||||
(setq gptel-default-mode #'org-mode))
|
||||
|
||||
|
||||
#+END_SRC
|
||||
|
||||
Reference in New Issue
Block a user