Updates to init.org, add init.el

This commit is contained in:
Ian Keane 2024-01-15 21:06:59 -05:00
parent 7d28feb884
commit 209825d3c4
2 changed files with 34 additions and 4 deletions

6
guix/init.el Normal file
View file

@ -0,0 +1,6 @@
(defun dotfiles/org-babel-tangle-config ()
(when (string-equal (buffer-file-name)
(expand-file-name "~/dotfiles/guix/init.org"))
(let ((org-confirm-babel-evaluate nil))
(org-babel-tangle))))

View file

@ -484,7 +484,7 @@ I know these could be bound on a per-package basis, but since this is my primary
#+begin_src emacs-lisp
(use-package general
:ensure t
:after nov evil evil-collection
:after nov evil evil-collection treemacs
:config
(general-create-definer general-definition
@ -834,6 +834,17 @@ I know these could be bound on a per-package basis, but since this is my primary
(setq ob-mermaid-cli-path "/usr/local/bin/mmdc")
(use-package org-download)
#+end_src
** Agenda
#+begin_src emacs-lisp
(setq org-agenda-start-with-log-mode t)
(setq org-agenda-files '("~/notes/deft/tasks.org" "~/notes/roam/daily"))
(setq org-agenda-span 10)
(setq org-todo-keywords '((sequence "TODO(t)" "NEXT(n)" "EVENT(e)" "|" "DONE(d!)" "CANCELLED(c@)")))
#+end_src
* Project management
#+begin_src emacs-lisp
@ -852,8 +863,10 @@ I know these could be bound on a per-package basis, but since this is my primary
#+begin_src emacs-lisp
(use-package consult
:bind (:map minibuffer-local-map ("C-r" . consult-history)))
(setq consult-rpigrep-args "rg --nul --line buffered --color=never --max-columns=1000 --path-separator / --smart-case --no-heading --with-filename --line-number --search-zip --hidden")
(setq consult-ripgrep-args "rg --null --line-buffered --color=never --max-columns=1000 --path-separator / --smart-case --no-heading --with-filename --line-number --search-zip --hidden")
#+end_src
** Generic completion
Idk I think this came from the vertico readme
#+begin_src emacs-lisp
@ -1261,6 +1274,8 @@ Scrutinize which processes are gumming up emacs
- no tabs for yaml-mode (wtf?)
** One-offs
- 'ex' snippet for the most common example of a thing I do per filetype
- docker-compose example
- hl-todo
- persistent undo
- commentary
@ -1275,8 +1290,13 @@ Scrutinize which processes are gumming up emacs
- gpt popup
- org-roam-buffer popup
- conflicts with global popup buffers
- init popup buffer binding? spc r i?
- org-roam buffer in popup (follow)
- [[https://old.reddit.com/r/emacs/comments/o04it0/share_your_prettifysymbolsalist/][prettify-symbols-mode]]
** Embark
- open file in other window
** NFS stuff
- map music from nfs
- map books from nfs with nov.el
@ -1294,10 +1314,14 @@ Scrutinize which processes are gumming up emacs
- get vertico as completion box
** Keybindings
- bind (custom?) git-view-from-other-branch
- want to be able to view a file as it is in another branch
- bind (custom?) git diff from other branch
- bind capture to init todo
- bind capture to project todo
- bind org-set-property
- treemacs-open-other-window
- treemacs | to open in split
- init popup buffer binding? spc r i?
- org-roam buffer in popup (follow)
- create-tab-with-name function
- buffer to spc b b local, spc b B global
- do somthing useful with ','