summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-10-13 10:06:47 +0200
committerMarc Coquand <marc@mccd.space>2024-10-13 10:06:47 +0200
commitfc8b49dc60c2813f2a074f93ac22da91b5ac1ec4 (patch)
tree82763b8b7fe16b90e99dcee676a6984a03777337
parent619c6b08aa8cf98e102bb68d9b205762cbc898c6 (diff)
downloadbsd-fc8b49dc60c2813f2a074f93ac22da91b5ac1ec4.tar.gz
bsd-fc8b49dc60c2813f2a074f93ac22da91b5ac1ec4.tar.bz2
bsd-fc8b49dc60c2813f2a074f93ac22da91b5ac1ec4.zip
.
Diffstat (limited to '')
-rw-r--r--emacs18
1 files changed, 14 insertions, 4 deletions
diff --git a/emacs b/emacs
index faf897c..31d8cc8 100644
--- a/emacs
+++ b/emacs
@@ -10,7 +10,7 @@
display-time-format "%a, %d/%m/%Y %H:%M"
default-frame-alist '((font . "Iosevka SS13 Extended")
(line-spacing . 0.5))
- shr-max-image-proportion 0.3
+
;; undo
undo-limit 10000000
@@ -54,6 +54,7 @@
tldr
elfeed
elfeed-protocol
+ exwm
emms
mastodon
lem
@@ -197,6 +198,7 @@
(global-set-key (kbd "C-h D") 'devdocs-lookup))
+
(use-package sgml-mode
:init
(add-to-list 'auto-mode-alist '("\\.njk\\'" . html-mode))
@@ -321,6 +323,9 @@ Uses `marcc/timestamp-format' for formatting the date/time."
"irc.libera.chat" :port "6667" :nick "mccd"
:password (shell-command-to-string "pass show libera.chat")))))
+(use-package ob-rec
+ :ensure nil)
+
;; Org
(use-package org
:ensure t
@@ -328,7 +333,8 @@ Uses `marcc/timestamp-format' for formatting the date/time."
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
(org-babel-do-load-languages
'org-babel-load-languages
- '((shell . t)))
+ '((shell . t)
+ (rec .t)))
:config
(setq org-refile-targets
@@ -368,7 +374,8 @@ Uses `marcc/timestamp-format' for formatting the date/time."
(global-set-key (kbd "C-c c") #'org-capture)
(global-set-key (kbd "C-c j") #'org-goto)
(global-set-key (kbd "C-c s") #'project-find-regexp)
- (global-set-key (kbd "C-c C-o") #'org-open-at-point-global)
+ (global-set-key (kbd "C-c C-o") #'org-open-at-point-global)
+ (global-set-key (kbd "C-c C-s") (lambda () (interactive) (shell-command "org-sync")))
:hook
((org-mode . auto-save-visited-mode))
(org-mode . org-indent-mode)
@@ -376,6 +383,8 @@ Uses `marcc/timestamp-format' for formatting the date/time."
(org-mode . visual-line-mode)
(org-mode . variable-pitch-mode))
+(use-package rec-mode
+ :ensure t)
(use-package magit
:ensure t)
@@ -518,6 +527,7 @@ Uses `marcc/timestamp-format' for formatting the date/time."
(setq
browse-url-browser-function 'eww-browse-url ; Use eww as the default browser
eww-search-prefix "https://lite.duckduckgo.com/lite/?q="
+ shr-max-image-proportion 0.3
shr-width 70))
;; Can play youtube urls and music.
@@ -607,7 +617,7 @@ Uses `marcc/timestamp-format' for formatting the date/time."
'("~/personal-db/notes/reminders.org" "/home/mccd/builds/sustainably/piva.org" "/home/mccd/personal-db/notes/programming.org" "/home/mccd/personal-db/notes/unix.org" "/home/mccd/personal-db/notes/sustainable-software.org" "/home/mccd/personal-db/notes/agency-and-tech.org" "/home/mccd/personal-db/notes/carving-my-own-road.org" "/home/mccd/personal-db/notes/emacs-teaches.org" "/home/mccd/personal-db/notes/emacs.org" "/home/mccd/personal-db/notes/inbox.org" "/home/mccd/personal-db/notes/todo.org"))
'(org-fold-core-style 'overlays)
'(package-selected-packages
- '(emms company orglink web-mode flycheck nix-mode nix-ts-mode avy pdf-tools elfeed-protocol lem yasnippet-snippets elfeed yasnippet smartparens markdown-mode mastodon tldr almost-mono-themes rec-mode magit go-mode expand-region devdocs))
+ '(exwm emms company orglink web-mode flycheck nix-mode nix-ts-mode avy pdf-tools elfeed-protocol lem yasnippet-snippets elfeed yasnippet smartparens markdown-mode mastodon tldr almost-mono-themes rec-mode magit go-mode expand-region devdocs))
'(tab-bar-format
'(tab-bar-separator tab-bar-format-align-right tab-bar-format-global))
'(yank-from-kill-ring-rotate t))