commit eaa9f011134685702ddb0684f48c096de10367f5
parent 0323dffd9e680cfee8bcb88bcae6259cc203053a
Author: dwrz <dwrz@dwrz.net>
Date: Sun, 4 Feb 2024 14:20:10 +0000
Update Emacs init
Diffstat:
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/emacs/init.el b/emacs/init.el
@@ -168,7 +168,7 @@
("C-x b" . consult-buffer)
("C-x p b" . consult-project-buffer)
("C-x r b" . consult-bookmark)
- ("C-y" . consult-yank-pop)
+ ([remap yank-pop] . consult-yank-pop)
("M-g I" . consult-imenu-multi)
("M-g M-g" . consult-goto-line)
("M-g g" . consult-goto-line)
@@ -592,13 +592,6 @@
(file "")
(file "~/org/templates/log-entry.org")
:jump-to-captured t)
- ("j" "journal" entry
- (file "")
- (file "~/org/templates/journal.org")
- :prepend t
- :jump-to-captured t
- :empty-lines-before 1
- :empty-lines-after 1)
("l" "log" entry
(file "")
(file "~/org/templates/log.org")
@@ -909,7 +902,7 @@
"c" (cons "cape" dwrz-cape-map)
"e" (cons "exec" #'execute-extended-command)
"h" (cons "highlight" dwrz-highlight-map)
- "j" (cons "jump" #'jump-to-register)
+ "j" (cons "jump" #'consult-register)
"o" (cons "org" dwrz-org-map)
"p" (cons "point" dwrz-point-map)
"r" (cons "region" dwrz-region-map)
@@ -918,7 +911,7 @@
"w" (cons "window" dwrz-windows-map))
;; KEYBINDINGS
-(global-set-key (kbd "C-;") dwrz-prefix-map)
+(global-set-key (kbd "C-z") dwrz-prefix-map)
(global-set-key (kbd "C-c b") 'ibuffer)
(global-set-key (kbd "C-c c") 'dwrz-org-capture-at-point)
(global-set-key (kbd "C-c l") 'org-store-link)