From 9a6a5af1ced9297fb1b60ec59d44960293fa5043 Mon Sep 17 00:00:00 2001 From: contrapunctus Date: Fri, 10 Jun 2022 18:52:14 +0530 Subject: [PATCH] Add new bindings My right Alt sends Backspace when tapped, thanks to kmonad. Backspace is unbound in boon-command-map, making it ideal to use for quick buffer switching instead of the existing `m m` Hydra. --- init.org | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/init.org b/init.org index fc337ab..f82e56c 100644 --- a/init.org +++ b/init.org @@ -1825,7 +1825,8 @@ Suggestion by lampilelo for extending =iso-transl-ctl-x-8-map= (https://dpaste.c ;; these I prefer in their Dvorak positions rather than their QWERTY positions ("/" . undo-tree-undo) ("?" . undo-tree-redo) - ("z" . boon-repeat-command)) + ("z" . boon-repeat-command) + ("DEL" . #'my-buffer-switch)) (:map boon-x-map ("," . 'write-file) ("o" . 'save-buffer) @@ -2653,6 +2654,7 @@ An example of querying the Chronometrist file data - finding out how much time I ("v" . nil)) (:map eww-mode-map ("h" . #'eww-back-url) + ([mouse-3] . eww-back-url) ("s" . #'eww-forward-url) ("c" . #'shr-previous-link) ("r" . #'shr-next-link) @@ -3543,7 +3545,9 @@ But with =initials=, the desired completion is often buried in the results. That ("C-w" . #'vertico-directory-delete-word) ("" . #'vertico-directory-delete-word) ("" . #'vertico-scroll-down) - ("" . #'vertico-scroll-up)) + ("" . #'vertico-scroll-up) + ("C-RET" . #'vertico-exit-input) + ("" . #'vertico-exit-input)) :config (setq completion-category-defaults nil completion-category-overrides nil