diff options
author | Marc Coquand <marc@mccd.space> | 2024-10-08 13:47:38 +0200 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-10-08 13:47:38 +0200 |
commit | 10f33e65720915b4bc1c55bf4528139450731b48 (patch) | |
tree | 5e58d0d2f8eeacecc331ebf06317d4d652fd6cec /emacs | |
parent | e95a9c1992b978183b7461f38165aa7e403bf0da (diff) | |
download | bsd-10f33e65720915b4bc1c55bf4528139450731b48.tar.gz bsd-10f33e65720915b4bc1c55bf4528139450731b48.tar.bz2 bsd-10f33e65720915b4bc1c55bf4528139450731b48.zip |
.
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -33,7 +33,6 @@ kept-new-versions 6 kept-old-versions 2 version-control t - make-backup-files nil auto-save-list-file-prefix emacs-tmp-dir auto-save-file-name-transforms `((".*" ,emacs-tmp-dir t)) ; Change autosave dir to tmp backup-directory-alist `((".*" . ,emacs-tmp-dir)) @@ -180,7 +179,7 @@ ((flymake-mode . (lambda () (define-key flymake-mode-map (kbd "C-c ]") 'flymake-goto-next-error) - (define-key flymake-mode-map (kbd "C-c [") 'flymake-goto-previous-error))))) + (define-key flymake-mode-map (kbd "C-c [") 'flymake-goto-prev-error))))) (use-package expand-region :ensure t @@ -249,8 +248,7 @@ "Insert a timestamp at the current point. Uses `marcc/timestamp-format' for formatting the date/time." (interactive) - (insert (format-time-string marcc/timestamp-format (current-time))) - ) + (insert (format-time-string marcc/timestamp-format (current-time)))) (use-package calendar :defer t @@ -259,6 +257,7 @@ Uses `marcc/timestamp-format' for formatting the date/time." :hook ((diary-mode . variable-pitch-mode) (diary-fancy-display-mode . variable-pitch-mode) + (diary-mode . org-link-minor-mode) (diary-fancy-display-mode . org-link-minor-mode) (diary-mode . flyspell-mode)) :config @@ -269,7 +268,6 @@ Uses `marcc/timestamp-format' for formatting the date/time." calendar-mark-diary-entries-flag t calendar-week-start-day 1)) - (use-package nix-mode :ensure t :hook @@ -364,10 +362,11 @@ Uses `marcc/timestamp-format' for formatting the date/time." (global-set-key (kbd "C-c l") #'org-store-link) (global-set-key (kbd "C-c a") #'org-agenda) (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 =") #'org-open-at-point-global) :hook - ((org-mode . auto-save-mode)) + ((org-mode . auto-save-visited-mode)) (org-mode . org-indent-mode) (org-mode . flyspell-mode) (org-mode . visual-line-mode) @@ -523,6 +522,8 @@ Uses `marcc/timestamp-format' for formatting the date/time." ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. + '(calendar-weekend-header ((t (:inherit nil)))) + '(diary ((t (:inherit fixed-pitch :foreground "red1")))) '(eglot-highlight-symbol-face ((t (:weight bold)))) '(eglot-mode-line ((t (:weight regular)))) '(erc-timestamp-face ((t (:foreground "blue" :weight bold)))) @@ -542,6 +543,7 @@ Uses `marcc/timestamp-format' for formatting the date/time." '(info-header-xref ((t (:inherit info-xref :underline (:color "RoyalBlue3" :style line :position t))))) '(info-node ((t (:foreground "brown" :box (:line-width (4 . 4) :color "white") :slant italic :weight bold)))) '(link ((t (:foreground "royalblue" :underline t)))) + '(magit-branch-remote ((t (:foreground "royalblue")))) '(markdown-inline-code-face ((t (:inherit markdown-code-face)))) '(markdown-pre-face ((t (:inherit markdown-code-face)))) '(mastodon-display-name-face ((t (:inherit nil :weight bold)))) @@ -550,7 +552,7 @@ Uses `marcc/timestamp-format' for formatting the date/time." '(mu4e-header-highlight-face ((t (:inherit hl-line :extend t :weight bold)))) '(mu4e-highlight-face ((t (:inherit highlight)))) '(org-date ((t (:inherit fixed-pitch :foreground "gray40" :underline t)))) - '(org-headline-done ((t (:foreground "gray60")))) + '(org-headline-done ((t (:foreground "black")))) '(org-level-1 ((t (:inherit outline-1 :extend nil :weight regular)))) '(org-tag ((t (:inherit fixed-pitch :foreground "gray40" :weight regular)))) '(org-time-grid ((t (:foreground "gray")))) @@ -569,6 +571,7 @@ Uses `marcc/timestamp-format' for formatting the date/time." ;; If there is more than one, they won't work right. '(custom-safe-themes '("cbd85ab34afb47003fa7f814a462c24affb1de81ebf172b78cb4e65186ba59d2" default)) + '(magit-section-visibility-indicator '("..." . t)) '(markdown-list-item-bullets '("-")) '(mastodon-tl--enable-proportional-fonts t) '(mastodon-use-emojify t) @@ -587,7 +590,7 @@ Uses `marcc/timestamp-format' for formatting the date/time." '("~/builds/sustainably/piva.org" "/home/mccd/personal-db/todo.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/frugal.org" "/home/mccd/personal-db/notes/inbox.org")) '(org-fold-core-style 'overlays) '(package-selected-packages - '(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)) + '(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)) |