Compare commits
5 Commits
3d09e4dad9
...
15851b1a97
Author | SHA1 | Date | |
---|---|---|---|
15851b1a97 | |||
0ea62ca771 | |||
363a52f72f | |||
67dc2ed154 | |||
89a4e5b947 |
@ -208,6 +208,7 @@ single certifcate used for local development with caddy.")
|
|||||||
"emacs-restclient"
|
"emacs-restclient"
|
||||||
"emacs-ripgrep"
|
"emacs-ripgrep"
|
||||||
"emacs-rust-mode"
|
"emacs-rust-mode"
|
||||||
|
"emacs-scad-mode"
|
||||||
"emacs-scribble-mode"
|
"emacs-scribble-mode"
|
||||||
"emacs-slime"
|
"emacs-slime"
|
||||||
"emacs-string-inflection"
|
"emacs-string-inflection"
|
||||||
@ -300,6 +301,7 @@ single certifcate used for local development with caddy.")
|
|||||||
"scrot"
|
"scrot"
|
||||||
"trayer-srg" ;; used in xmonad as system tray
|
"trayer-srg" ;; used in xmonad as system tray
|
||||||
"dmenu"
|
"dmenu"
|
||||||
|
"prusa-slicer"
|
||||||
"unclutter"
|
"unclutter"
|
||||||
"virt-manager"
|
"virt-manager"
|
||||||
"virt-viewer"
|
"virt-viewer"
|
||||||
@ -386,6 +388,7 @@ single certifcate used for local development with caddy.")
|
|||||||
"pass-otp"
|
"pass-otp"
|
||||||
"password-store"
|
"password-store"
|
||||||
"recutils"
|
"recutils"
|
||||||
|
"rsync"
|
||||||
"rhash"
|
"rhash"
|
||||||
"skopeo"
|
"skopeo"
|
||||||
"texlive"
|
"texlive"
|
||||||
@ -395,6 +398,8 @@ single certifcate used for local development with caddy.")
|
|||||||
"wget"
|
"wget"
|
||||||
"youtube-dl"
|
"youtube-dl"
|
||||||
|
|
||||||
|
"openscad"
|
||||||
|
|
||||||
"kicad"
|
"kicad"
|
||||||
"kicad-templates"
|
"kicad-templates"
|
||||||
"kicad-symbols"
|
"kicad-symbols"
|
||||||
|
@ -5,8 +5,6 @@
|
|||||||
#+PROPERTY: header-args:emacs-lisp :tangle yes :tangle-mode (identity #o444)
|
#+PROPERTY: header-args:emacs-lisp :tangle yes :tangle-mode (identity #o444)
|
||||||
#+PROPERTY: header-args:shell :tangle no
|
#+PROPERTY: header-args:shell :tangle no
|
||||||
|
|
||||||
#+CATEGORY: emacs
|
|
||||||
|
|
||||||
* Overview
|
* Overview
|
||||||
|
|
||||||
This is a literate emacs configuration which leverages [[https://orgmode.org/][org-mode]].
|
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
|
#+begin_src emacs-lisp
|
||||||
;; Load customization's made by customize
|
;; Load customization's made by customize
|
||||||
(setq custom-file (no-littering-expand-var-file-name "custom.el"))
|
(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
|
#+end_src
|
||||||
|
|
||||||
* Set Language Environment
|
* 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
|
;; Turn hl-line-mode on globally
|
||||||
;;(global-hl-line-mode)
|
;;(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)
|
(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
|
;; 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")
|
(file "~/.org/roam/20220908170736-software.org")
|
||||||
"* %^{name}\n%?")))
|
"* %^{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
|
;; Automatically give all capture entries an id
|
||||||
(add-hook 'org-capture-mode-hook #'org-id-get-create)
|
(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)
|
(sqlite . t)
|
||||||
(shell . 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)
|
:bind (("C-c c" . org-capture)
|
||||||
("C-c l" . org-store-link)
|
("C-c l" . org-store-link)
|
||||||
("C-c a" . org-agenda)
|
("C-c a" . org-agenda)
|
||||||
@ -2092,6 +2105,7 @@ Use [[http://gnuplot.sourceforge.net/][gnuplot]] alongside org-mode to generate
|
|||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package org-projectile
|
(use-package org-projectile
|
||||||
|
:after org
|
||||||
:bind (("C-c f p" . org-projectile-project-todo-completing-read))
|
:bind (("C-c f p" . org-projectile-project-todo-completing-read))
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
|
Loading…
Reference in New Issue
Block a user