Compare commits

...

5 Commits

2 changed files with 24 additions and 5 deletions

View File

@ -208,6 +208,7 @@ single certifcate used for local development with caddy.")
"emacs-restclient"
"emacs-ripgrep"
"emacs-rust-mode"
"emacs-scad-mode"
"emacs-scribble-mode"
"emacs-slime"
"emacs-string-inflection"
@ -300,6 +301,7 @@ single certifcate used for local development with caddy.")
"scrot"
"trayer-srg" ;; used in xmonad as system tray
"dmenu"
"prusa-slicer"
"unclutter"
"virt-manager"
"virt-viewer"
@ -386,6 +388,7 @@ single certifcate used for local development with caddy.")
"pass-otp"
"password-store"
"recutils"
"rsync"
"rhash"
"skopeo"
"texlive"
@ -395,6 +398,8 @@ single certifcate used for local development with caddy.")
"wget"
"youtube-dl"
"openscad"
"kicad"
"kicad-templates"
"kicad-symbols"

View File

@ -5,8 +5,6 @@
#+PROPERTY: header-args:emacs-lisp :tangle yes :tangle-mode (identity #o444)
#+PROPERTY: header-args:shell :tangle no
#+CATEGORY: emacs
* Overview
This is a literate emacs configuration which leverages [[https://orgmode.org/][org-mode]].
@ -184,7 +182,8 @@ as a TODO item.
#+begin_src emacs-lisp
;; Load customization's made by customize
(setq custom-file (no-littering-expand-var-file-name "custom.el"))
(load custom-file)
(if (file-exists-p custom-file)
(load custom-file))
#+end_src
* Set Language Environment
@ -1381,7 +1380,7 @@ settings can likely be replaced by the [[https://github.com/hrs/sensible-default
;; Turn hl-line-mode on globally
;;(global-hl-line-mode)
;; Activate linum-mode in all buffers used for programming
;; Activate display-line-numbers-mode in all buffers used for programming
(activate-mode-with-hooks (lambda () (display-line-numbers-mode 1)) code-modes)
;; Add little indicators to fringe indicating the location of point in the given window
@ -2020,6 +2019,12 @@ Use [[http://gnuplot.sourceforge.net/][gnuplot]] alongside org-mode to generate
(file "~/.org/roam/20220908170736-software.org")
"* %^{name}\n%?")))
(defun rkd/org-capture-add-created-at ()
(org-set-property "CREATED_AT" (format-time-string "[%Y-%m-%d %a %H:%M]")))
;; Automatically give all capture entries a CREATED_AT property
(add-hook 'org-capture-mode-hook #'rkd/org-capture-add-created-at)
;; Automatically give all capture entries an id
(add-hook 'org-capture-mode-hook #'org-id-get-create)
@ -2059,7 +2064,15 @@ Use [[http://gnuplot.sourceforge.net/][gnuplot]] alongside org-mode to generate
(sqlite . t)
(shell . t)))
(setq org-plantuml-exec-mode 'plantuml))
(setq org-plantuml-exec-mode 'plantuml)
(defun rkd/display-ansi-colors ()
"Display's ansi colors between two points."
(interactive)
(ansi-color-apply-on-region (point-min) (point-max)))
;; Render ansi-colors after command has finished, gibberish during execution
(add-hook 'org-babel-after-execute-hook #'rkd/display-ansi-colors))
:bind (("C-c c" . org-capture)
("C-c l" . org-store-link)
("C-c a" . org-agenda)
@ -2092,6 +2105,7 @@ Use [[http://gnuplot.sourceforge.net/][gnuplot]] alongside org-mode to generate
#+begin_src emacs-lisp
(use-package org-projectile
:after org
:bind (("C-c f p" . org-projectile-project-todo-completing-read))
:config
(progn