commit 0b641bb8a2c257e8dc9b013dbd857f9a8e3b965c
parent f84c30c14ae7076a0488e2fb3f6426ec2c08f5c1
Author: dwrz <dwrz@dwrz.net>
Date: Thu, 27 Jun 2024 13:09:29 +0000
Update Emacs init
Diffstat:
1 file changed, 8 insertions(+), 15 deletions(-)
diff --git a/emacs/init.el b/emacs/init.el
@@ -115,7 +115,7 @@
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
-(use-package abbrev :ensure nil :init (abbrev-mode t))
+(use-package abbrev :ensure nil :init (setq-default abbrev-mode t))
(use-package autorevert
:config (setq auto-revert-verbose nil
@@ -534,9 +534,6 @@
org-tags-column 0
org-todo-keywords '((sequence "|" "MAYBE(m)")
(sequence "|" "EVENT(v)")
- (sequence "PROJECT(p)"
- "|"
- "COMPLETE(o)")
(sequence "NEXT(n)"
"IN-PROGRESS(i)"
"WAITING(w)"
@@ -570,7 +567,6 @@
"~/projects/home/home.org"
"~/projects/net/net.org"
"~/projects/rz/rz.org"
- "~/projects/rz/delivery/delivery.org"
"~/projects/rz/elrz/elrz.org"
"~/projects/rz/mwb/mwb.org"
"~/projects/src/src.org")
@@ -603,9 +599,7 @@
org-agenda-use-time-grid nil
org-agenda-window-setup 'current-window
org-archive-location "~/org/archive.org::"
- org-agenda-show-all-dates nil
- org-stuck-projects
- '("+PROJECT" ("NEXT" "IN-PROGRESS" "WAITING") nil nil))
+ org-agenda-show-all-dates nil)
:defer t
:defines chimerical-agenda-files dwrz-agenda-files eti-agenda-files
:functions dwrz-switch-org-ctx
@@ -646,13 +640,7 @@
("EVENT" . (:foreground "#3e999f" :weight bold))
("DELEGATED" . (:foreground "#969896" :weight bold))
("CANCELED" . (:foreground "#a3685a" :weight bold))
- ("MAYBE" . (:foreground "#8959a8" :weight bold))
- ("PROJECT" . (:background "#c82829"
- :foreground "#ffffff"
- :weight bold))
- ("COMPLETE" . (:background "#718c00"
- :foreground "#ffffff"
- :weight bold ))))
+ ("MAYBE" . (:foreground "#8959a8" :weight bold))))
:defer t
:ensure nil)
@@ -796,6 +784,8 @@
(use-package tool-bar :config (tool-bar-mode -1) :ensure nil)
+(use-package tramp :config (setq tramp-default-method "rsync"))
+
(use-package vertico
:config
(setq vertico-cycle t
@@ -1078,6 +1068,7 @@
"?" (cons "help" help-map)
"@" (cons "time" dwrz-time-map)
"E" #'hippie-expand
+ "F" #'consult-find
"H" (cons "highlight" dwrz-highlight-map)
"P" (cons "project" project-prefix-map)
"Q" #'save-buffers-kill-emacs
@@ -1090,12 +1081,14 @@
"h" #'hippie-expand
"i" (cons "insert" dwrz-insert-map)
"j" (cons "jump" #'jump-to-register)
+ "l" (cons "line" #'avy-goto-line)
"m" (cons "move" dwrz-movement-map)
"M" (cons "macro" dwrz-macro-map)
"n" (cons "narrow" narrow-map)
"o" (cons "org" dwrz-org-map)
"p" (cons "password" dwrz-password-map)
"r" (cons "region" dwrz-region-map)
+ "R" (cons "replace" #'query-replace)
"s" (cons "search" dwrz-search-map)
"t" (cons "transpose" dwrz-transpose-map)
"u" #'universal-argument