commit 3f47b4db7cfea8e12b7c2f04f30f40323aaa5e14
parent 092daf0733eca78eb52addaf24fa3e546f8e0a09
Author: dwrz <dwrz@dwrz.net>
Date: Sat, 17 Feb 2024 03:07:39 +0000
Update Emacs init
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/emacs/init.el b/emacs/init.el
@@ -798,6 +798,7 @@
:hook (visual-line-mode . visual-fill-column-mode))
(use-package vterm
+ :bind (:map vterm-mode-map ("C-q" . vterm-send-next-key))
:config (setq vterm-max-scrollback 32767)
:defer t
:ensure t)
@@ -905,6 +906,8 @@
:name "Org"
"L" #'org-insert-link
"a" #'org-agenda
+ "b" #'org-archive-set-tag
+ "B" #'org-archive-to-archive-sibling
"c" #'dwrz-org-capture-at-point
"i" #'org-insert-structure-template
"l" #'org-store-link
@@ -1002,7 +1005,6 @@
"<left>" #'windmove-swap-states-left
"<right>" #'windmove-swap-states-right
"<up>" #'windmove-swap-states-up
- "=" (cons "reset" #'(lambda () (interactive) (text-scale-increase 0)))
"B" #'balance-windows-area
"E" #'enlarge-window-horizontally
"S" #'shrink-window-horizontally
@@ -1017,7 +1019,8 @@
:name "Zoom"
:repeat t
"+" #'text-scale-increase
- "-" #'text-scale-decrease)
+ "-" #'text-scale-decrease
+ "=" (cons "reset" #'(lambda () (interactive) (text-scale-increase 0))))
(defvar-keymap dwrz-prefix-map
:doc "Prefix keymap with multiple subkeymaps."